Commit Graph

6662 Commits

Author SHA1 Message Date
ryan
cf3466579b Menu notice and stlying fixes. Props filosofo. fixes #12812
git-svn-id: http://svn.automattic.com/wordpress/trunk@14905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 21:44:34 +00:00
nacin
16f79e5377 Remove unused/duplicated/undocumented post type object label. see #13539
git-svn-id: http://svn.automattic.com/wordpress/trunk@14903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 19:25:27 +00:00
nacin
479d1d3617 Fix typo. props rovo89, fixes #13494.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 18:59:20 +00:00
nacin
b04dfafeac Use a post type object label for edit_post_link's title attribute. props sc0ttkclark.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 18:55:51 +00:00
ryan
57b34ed1a4 Back compat menu classes. see #12812 #13379
git-svn-id: http://svn.automattic.com/wordpress/trunk@14900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 18:54:42 +00:00
nacin
8aae431b3a Use a filter instead of a new NO404REDIRECT constant. see #12758.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 18:12:14 +00:00
ryan
7d1d1015f5 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@14896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 17:47:52 +00:00
donncha
22305da3a3 Cast "public" as an int to ensure it gets set correctly.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 16:57:32 +00:00
ryan
31b8da5ae5 Classes for posts and terms in the menus. see #13379
git-svn-id: http://svn.automattic.com/wordpress/trunk@14891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 16:51:09 +00:00
nacin
542c648ac5 Give is_singular the ability to provide awareness/context for custom post types. props ryan, scribu. Usage: is_singular('book') or is_singular( array( 'newspapers', 'books' ) ). fixes #12588.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 15:36:23 +00:00
wpmuguru
ec8d5fee12 cleanup $indents, props filosofo, see #12758
git-svn-id: http://svn.automattic.com/wordpress/trunk@14885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 15:31:28 +00:00
ryan
432d56981e Don't set default category when saving an auto-draft. fixes #13531
git-svn-id: http://svn.automattic.com/wordpress/trunk@14883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 14:43:39 +00:00
ryan
3403e7eb8f Add ancestor classes. Props filosofo. see #12812
git-svn-id: http://svn.automattic.com/wordpress/trunk@14881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 14:25:06 +00:00
nacin
913dd27ef5 Allow pages to be added automattically to menus. see #13447.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 13:49:56 +00:00
ryan
c99361e78f Add parent classes to nav menu. Props filosofo. see #12812
git-svn-id: http://svn.automattic.com/wordpress/trunk@14876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 13:30:10 +00:00
wpmuguru
d8fe68385d ensure unique term_id when global terms enabled, see #13482
git-svn-id: http://svn.automattic.com/wordpress/trunk@14872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 07:24:10 +00:00
wpmuguru
6eb9b64e22 update rewrite rules for IIS, props Frumph, see #12758
git-svn-id: http://svn.automattic.com/wordpress/trunk@14871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 05:12:47 +00:00
nacin
5c5a6d4d73 New 'on' state for admin menus. props JohnONolan, see #13486.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 02:47:43 +00:00
ryan
52f05426e0 Allow searching custom post types when attaching media. Props markoheijnen. fixes #13229
git-svn-id: http://svn.automattic.com/wordpress/trunk@14869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 02:18:07 +00:00
wpmuguru
569642dd32 give static var initial value, fixes #13517
git-svn-id: http://svn.automattic.com/wordpress/trunk@14867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 00:31:07 +00:00
wpmuguru
a4e59b62eb eliminate warning in global_terms(), global to static, fixes #13517
git-svn-id: http://svn.automattic.com/wordpress/trunk@14866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 00:13:03 +00:00
westi
6c817a180c New high score!
git-svn-id: http://svn.automattic.com/wordpress/trunk@14860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 21:28:37 +00:00
westi
b5820d2934 phpDoc updates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 21:26:49 +00:00
nacin
10562923ae Remove now-unused post_type_object->labels>edit, which was 'Edit' (with context). see #12968, see #11274.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 21:19:29 +00:00
nacin
7df33632b7 Even better, remove all UI for global terms. Add a filter to global_terms_enabled() and also allow the site option to simply be deleted. fixes #12666.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 20:45:59 +00:00
nacin
7a5d3f2688 First pass on better UX for menu item save. props koopersmith, see #13525.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 19:50:20 +00:00
nacin
64601e97ae Invalidate header/background images for the current theme when the attachment is deleted. props ocean90, fixes #12467.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 19:42:43 +00:00
nacin
9d1d7a20ad s/navigation menu/custom menu/. props jane, duck_. fixes #13519.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 19:31:31 +00:00
donncha
e2edbfc768 Added $meta to "wpmu_new_blog" action
git-svn-id: http://svn.automattic.com/wordpress/trunk@14844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 17:26:21 +00:00
ryan
27015b92ee Fix update label for link categories. Props duck_. fixes #13515
git-svn-id: http://svn.automattic.com/wordpress/trunk@14841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 16:09:52 +00:00
ryan
8b5b7a7e75 Remove already exists check for passed in slug. fixes #12349
git-svn-id: http://svn.automattic.com/wordpress/trunk@14840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 15:56:50 +00:00
ryan
7f96fff66f Don't issue dupe slug error if provided slug matches name derived slug. fixes #12349
git-svn-id: http://svn.automattic.com/wordpress/trunk@14839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 15:49:12 +00:00
nacin
f15cdc78cf Menu tweaks. Save menu locations when saving the menu. Also, centralize theme support checks and add them to menu.php. Improve some branching. Remove some old JS vars, add a missing semicolon, etc. props koopersmith. see #13378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 09:23:56 +00:00
nacin
35a9bc1670 Properly format menu item title attributes and descriptions. props ryan, fixes #12864.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 22:56:51 +00:00
nacin
231be64801 Proper checks for current-menu-item. props duck_, fixes #13409.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 22:01:08 +00:00
westi
75897a5ee3 roll on tomorrow
git-svn-id: http://svn.automattic.com/wordpress/trunk@14822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 21:05:36 +00:00
dd32
6f9650046a Provide some Before/After strings for Bulk Upgrades, Add a spinner whilst a upgrade is in process, Remove scrollbars on update iframe. Props ocean90. See #11232
git-svn-id: http://svn.automattic.com/wordpress/trunk@14819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 12:29:00 +00:00
dd32
9991d1d735 Increase height of Theme install thickbox to remove useless scrollbars. Props ocean90
git-svn-id: http://svn.automattic.com/wordpress/trunk@14818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 12:04:24 +00:00
dd32
0821c7163b Better display handling of error messages during swfupload uploading. Fixes #12225
git-svn-id: http://svn.automattic.com/wordpress/trunk@14816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 10:59:52 +00:00
westi
0c850182dc Ensure that QuickPress media uploads get attached to the auto-draft we create for new posts correctly. Fixes #10917 props ocean90.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 07:58:06 +00:00
dd32
378f68a0a0 Introduce a 'post_updated' action, Fires when a post is updated, Post ID, Current and Previous post objects are passed. Updatewp_check_for_changed_slugs() to use new hook. See #12473
git-svn-id: http://svn.automattic.com/wordpress/trunk@14814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 07:49:21 +00:00
westi
c4e2c65edb bump bump bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@14805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-22 21:11:03 +00:00
ryan
db35b95450 Use filters instead of action in wp_login_form(). see #11172
git-svn-id: http://svn.automattic.com/wordpress/trunk@14804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-22 13:52:25 +00:00
ryan
2a99808ad2 Email messages should be plain text. Props arena. see #13488
git-svn-id: http://svn.automattic.com/wordpress/trunk@14803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-22 13:48:38 +00:00
nacin
c84bc2e846 Pixel sanity check. props filosofo, fixes #13470.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 23:35:37 +00:00
nacin
0eacbe94f6 Script loader bump, and revert new orange that snuck in. see #13441.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 23:32:02 +00:00
ryan
3841acea6c Don't look for a fallback menu when a specific location is requested. Props tinkerpriest. see #13378
git-svn-id: http://svn.automattic.com/wordpress/trunk@14793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 20:28:11 +00:00
nacin
8d4a9a7568 Notice sanity check. fixes #13484, props etiger13.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 19:02:36 +00:00
ryan
5659224918 Update phpdoc for wp_insert_term(). Props prettyboymp. fixes #12482
git-svn-id: http://svn.automattic.com/wordpress/trunk@14785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 18:19:56 +00:00
ryan
a05a51829a If slug and name match an existing term in the same taxonomy at the same hieararchy level return error. fixes #13481
git-svn-id: http://svn.automattic.com/wordpress/trunk@14784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 18:03:53 +00:00