Commit Graph

6850 Commits

Author SHA1 Message Date
nacin b4c50f1b5e Rename wp_save_nav_menu_item to wp_save_nav_menu_items. Though it could handle one item, it expects a mess of post data containing an array of menu items. see #13447.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-19 05:59:43 +00:00
markjaquith 253c82d9b7 Misc HTML validation fixes. see #13383. props jshreve
git-svn-id: http://svn.automattic.com/wordpress/trunk@14737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-19 05:32:39 +00:00
markjaquith 20ac800bd9 Use global_terms_enabled() api function. props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-19 05:23:18 +00:00
markjaquith 3ed394e3af Revert accidental inclusion of another patch in [14734]. Doh. Reviewing that one next!
git-svn-id: http://svn.automattic.com/wordpress/trunk@14735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-19 05:15:06 +00:00
markjaquith dfc9923e59 Cast global_terms_enabled to bool before doing checked() so that FALSE matches as well as 0.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-19 05:12:01 +00:00
wpmuguru 8898f513b2 don't use both /blog & /index.php on main site permalinks, see #13106
git-svn-id: http://svn.automattic.com/wordpress/trunk@14733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-19 03:42:55 +00:00
wpmuguru 8f74fa03a4 restore single WP permalink settings per 2.9.X, related #13106, see #13303
git-svn-id: http://svn.automattic.com/wordpress/trunk@14732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-19 03:15:59 +00:00
markjaquith ee1ced6ba9 Correctly set Featured Post Image link after removing/updating. fixes #13033. props PotterSys
git-svn-id: http://svn.automattic.com/wordpress/trunk@14731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 22:14:52 +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 49214491ab Remove taxonomy children cache purge. see #11866
git-svn-id: http://svn.automattic.com/wordpress/trunk@14727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 15:33:32 +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
ryan 0ce5224be6 Allow removing all categories via quick edit. Props duck_. fixes #13397
git-svn-id: http://svn.automattic.com/wordpress/trunk@14724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 15:08:05 +00:00
ryan 53bff5059f Fix adding categories via bulk edit. Props duck_. see #13397
git-svn-id: http://svn.automattic.com/wordpress/trunk@14723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 15:03:54 +00:00
ryan 4315c69c17 Use check_ajax_referer()
git-svn-id: http://svn.automattic.com/wordpress/trunk@14722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 14:51:15 +00:00
nacin 31b71cd5c0 Use echo esc_html, not esc_html_e, which also translates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 04:58:18 +00:00
nacin d58032d584 Translate some hard-coded strings. props PeteMall.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 04:41:08 +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
wpmuguru a4ff4953aa die in non-async upload in [14716], see #12853
git-svn-id: http://svn.automattic.com/wordpress/trunk@14717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 01:34:01 +00:00
wpmuguru c5aab621a9 only die on async upload error, see #12853
git-svn-id: http://svn.automattic.com/wordpress/trunk@14716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 01:25:13 +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 f3992a551d Don't allow clicking the[+] tab when it is active. Props koopersmith. fixes #13333
git-svn-id: http://svn.automattic.com/wordpress/trunk@14714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-17 16:43:41 +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
wpmuguru f77a0f2bfd more use get_blogaddress_by_name, see #12735
git-svn-id: http://svn.automattic.com/wordpress/trunk@14705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 23:00:48 +00:00
westi bd467ad036 First pass at making the scan for lost attachments custom post type aware. See #10911.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 21:24:40 +00:00
wpmuguru 3d44d70aab observe fileupload_maxk in media uploader, see #12853
git-svn-id: http://svn.automattic.com/wordpress/trunk@14694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 20:09:56 +00:00
wpmuguru 80a8899c0b boldly go where no man has gone before, see #12853
git-svn-id: http://svn.automattic.com/wordpress/trunk@14693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 18:44:51 +00:00
nacin 6c01265794 First pass at fixing search for add menu item boxes. props koopersmith, see #13283.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 05:39:53 +00:00
nacin 4ef2ae30fd Show updated message after resetting or removing the background image. see #12186.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 05:38:14 +00:00
nacin d6e2ef4dbf Custom background UI updates. props ocean90 for initial patch, see #12186.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 05:17:57 +00:00
nacin fa29e51128 i18n a string. props zeo, fixes #12896
git-svn-id: http://svn.automattic.com/wordpress/trunk@14683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 03:49:50 +00:00
wpmuguru be5268eefc show upload limit in media upload UI, see #12853
git-svn-id: http://svn.automattic.com/wordpress/trunk@14682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 23:57:32 +00:00
wpmuguru 3f6a32a5ce block creation of 'files' sub site, see #13304
git-svn-id: http://svn.automattic.com/wordpress/trunk@14681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 22:18:40 +00:00
nacin 64c5bb0a26 Use upgrade_db instead of step=1 in ms-upgrade-network. Also, no need to check spam/deleted/archived as that is in the query. see #11869.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 21:36:38 +00:00
westi 5672ca994e Fix the column headers title override to use a special name rather than one we use elsewhere.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 20:57:17 +00:00
nacin 6d6532bfa1 Use show_ui instead of public flag to check whether the post type uses post-new and edit.php. see #13403.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 20:49:28 +00:00
nacin 051c2814da More validation fixes. Escape some preview=true URLs, also clean up tags in edit-attachment-rows. Slight CSS tweak to match presentation to the formerly invalid HTML. props zeo, see #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 20:36:49 +00:00
nacin 537ea525c6 Validation for ms-sites.php. props Utkarsh, see #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 20:05:24 +00:00
nacin f7d0fcb9d0 Truncate long menu names in the menu locations box. props koopersmith, see #13378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 20:00:48 +00:00
nacin 09f2cbdfa4 Validation and nonce improvements to custom background UI. props ocean90, see #12186.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 19:47:03 +00:00
nacin 946308e3f0 Wrap a label around an inline input. Same tactic we use in options-discussion. see [14668].
git-svn-id: http://svn.automattic.com/wordpress/trunk@14669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 19:27:02 +00:00
nacin 90849388b6 Don't have a label overlap two input boxes in ms-options. props ocean90.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 19:21:56 +00:00
nacin c5801cf36d Don't link active menu tabs. props koopersmith, fixes #13333.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 19:18:35 +00:00
ryan 9d5b96bb30 Use the remove_user cap instead of delete_user. fixes #13325
git-svn-id: http://svn.automattic.com/wordpress/trunk@14664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 14:43:13 +00:00
ryan 7162ca097e autosave_update_post_ID() no longer needed. Fix button enable lag. Props duck_. fixes #13400
git-svn-id: http://svn.automattic.com/wordpress/trunk@14663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 14:03:46 +00:00
markjaquith eba281e281 Update media upload window tabs CSS to support wrapping of tabs when they exceed the available width. props edward mindreantre. fixes #10242
git-svn-id: http://svn.automattic.com/wordpress/trunk@14661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 10:21:10 +00:00
nacin 88bce6a716 Validation for network.php. props dremeda, see #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 06:49:16 +00:00
nacin 81d5ac363d Add a form action to network.php. props xibe, see #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 06:19:27 +00:00
nacin 54a46870d3 Escape slash in inline JS for SWFUploader. props zeo, see #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 06:14:06 +00:00
nacin ef484c0dd0 Validation and some textarea escaping for ms-options. props Utkarsh, see #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 05:58:57 +00:00