Commit Graph

6630 Commits

Author SHA1 Message Date
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
ryan
7d01ad3a49 Check for siblings only if term already exists in the same taxonomy. see #13119
git-svn-id: http://svn.automattic.com/wordpress/trunk@14783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 16:03:35 +00:00
nacin
f9783ba838 Some sanity checks -- make sure we have a valid post author user object before checking if the current user is the author.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 15:15:32 +00:00
nacin
e85693b8a9 False alarm, something else is going on here. Revert [14780], restore [14695]. see #13317.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 15:08:07 +00:00
nacin
39af37992a Revert [14695]. We need to be a bit less strict. see #13317.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 15:03:54 +00:00
ryan
bc596e1533 Fix showing selected for none. Props johnbillion. fixes #13468
git-svn-id: http://svn.automattic.com/wordpress/trunk@14779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 14:35:39 +00:00
dd32
bde0019142 Clone Objects in add_option()/update_option() to prevent storing PHP5 object references in memory cache. See [9740]. Fixes #13480
git-svn-id: http://svn.automattic.com/wordpress/trunk@14777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 14:15:59 +00:00
nacin
79f077c6f6 Custom background UI updates. Add padding to radio buttons, also convert repeat/title to radio buttons. props JohnONolan, see #12186.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 03:31:35 +00:00
nacin
870f3ab1c8 New screen options tab design. props JohnONolan, fixes #13477.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 03:20:25 +00:00
nacin
49437c3491 Fix nav menu locations sorting. props jorbin, koopersmith with assists. see #13378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-20 22:43:14 +00:00
westi
f268a16a8b First pass of conversion of theme-compat to the I18N version of the files. See #12425
git-svn-id: http://svn.automattic.com/wordpress/trunk@14771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-20 21:53:11 +00:00
nacin
acf5d97586 Shake away old files during the upgrade process. see #13307.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-20 21:44:33 +00:00
westi
82f53de54b bumpity
git-svn-id: http://svn.automattic.com/wordpress/trunk@14769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-20 21:43:18 +00:00
westi
e8b8361ffe Attempt to make stripslashes_deep object safe. See #12860
git-svn-id: http://svn.automattic.com/wordpress/trunk@14766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-20 21:16:44 +00:00
nacin
3f443689ed Remove non-gzipped version of tinymce. Brace for impact. props azaozz. see #13307.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-20 21:05:16 +00:00
nacin
337df6e337 Remove AYS for deleting a menu item. fixes #13330.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-20 14:55:11 +00:00
nacin
8475725f54 Context and translator comments for revisions column names. props dimadin, fixes #13434.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-19 19:20:22 +00:00
ryan
f1f5f4f8f7 Order menu tabs by name. Allow passing args to wp_get_nav_menus() which are passed on to get_terms(). Default orderby for wo_get_nav_menus() to none since most requests won't care about order. fixes #13334
git-svn-id: http://svn.automattic.com/wordpress/trunk@14751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-19 18:52:37 +00:00
ryan
b5619ffd0c Fix pages setup in setup_postdata(). Props misterbisson. fixes #12651
git-svn-id: http://svn.automattic.com/wordpress/trunk@14750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-19 18:39:48 +00:00
ryan
caf573b721 Fix viewing autosave revision for custom post types. Props duck_. fixes #13110
git-svn-id: http://svn.automattic.com/wordpress/trunk@14749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-19 18:36:52 +00:00
westi
b5b2fd3c8f Mark the ULs containing child pages in the page Walker. Fixes #13254 props GDragoN.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-19 17:24:28 +00:00
ryan
e7f50f9bfe Add docs for ->insert_id. Props scribu. fixes #13439
git-svn-id: http://svn.automattic.com/wordpress/trunk@14745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-19 16:07:42 +00:00
markjaquith
31dd323f01 Add AYS notice on unsaved menu changes. see #12472
git-svn-id: http://svn.automattic.com/wordpress/trunk@14741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-19 09:56:02 +00:00
markjaquith
1ba9fe08af Add missing border to media upload frame. fixes #13430. props ocean90
git-svn-id: http://svn.automattic.com/wordpress/trunk@14739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-19 07:03:24 +00:00
markjaquith
20cb3ed21b Add nonce protection for setting/removing featured post image. fixes #13438
git-svn-id: http://svn.automattic.com/wordpress/trunk@14730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 22:08:49 +00:00
ryan
af59c18f45 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@14729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 20:14:03 +00:00
ryan
d9da871cbd Remove interface.js. Unmaintained, doesn't work with jQuery 1.3, old, crusty, starting to smell like Miss Havisham's cake. fixes #13442
git-svn-id: http://svn.automattic.com/wordpress/trunk@14728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 18:34:36 +00:00
ryan
e070242b59 Remove old metaboxorder settings. see #13424
git-svn-id: http://svn.automattic.com/wordpress/trunk@14726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 15:30:05 +00:00
ryan
bc1bf148e4 Add nonce to menu-locations-save. Props koopersmith. see #13378
git-svn-id: http://svn.automattic.com/wordpress/trunk@14725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 15:16:58 +00:00
nacin
77a67b3fed Inline docs for menu location functions. props jorbin, see #13378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 05:59:25 +00:00
nacin
c370c84d19 Remove autocomplete and codepress. for autocomplete, see #13283. for codepress, see #13307.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 03:48:22 +00:00
nacin
f02fddce86 Save menu locations meta box via ajax. see #13378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-17 23:58:56 +00:00
ryan
f0076eed1c Set show_ui to true for post and page. Exclude _builtin = true from areas where we need to special case builtin types. fixes #13403
git-svn-id: http://svn.automattic.com/wordpress/trunk@14713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-17 16:39:36 +00:00