Commit Graph

13313 Commits

Author SHA1 Message Date
Peter Westwood 8d94af2efd Don't return data for user 1 when passed in junk like an array. See #13317.
git-svn-id: https://develop.svn.wordpress.org/trunk@14695 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 20:34:02 +00:00
Ron Rennick c77318be51 observe fileupload_maxk in media uploader, see #12853
git-svn-id: https://develop.svn.wordpress.org/trunk@14694 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 20:09:56 +00:00
Ron Rennick 07bca9ef99 boldly go where no man has gone before, see #12853
git-svn-id: https://develop.svn.wordpress.org/trunk@14693 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 18:44:51 +00:00
Andrew Nacin 719af15b71 @subpackage cannot have spaces.
git-svn-id: https://develop.svn.wordpress.org/trunk@14692 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 17:10:21 +00:00
Peter Westwood 2702a216c4 Fix remaining notice when using closures. Fixes #10493 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@14691 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 13:41:02 +00:00
Peter Westwood bfb56d204b Fix notices/usage of closures as action/filter handlers. Fixes #10493 based on patch from scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@14690 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 08:10:39 +00:00
Andrew Nacin 542dea5b25 Use p instead of definition list for allowed tags in comment_form(). props demetris. Style the new markup in Twenty Ten. see #10910.
git-svn-id: https://develop.svn.wordpress.org/trunk@14689 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 06:38:58 +00:00
Andrew Nacin 9cd335bdcd Remove unnecessary and out-of-place Twenty Ten filter. Also, tabs not spaces. see #13198.
git-svn-id: https://develop.svn.wordpress.org/trunk@14688 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 06:26:18 +00:00
Andrew Nacin 5f287dcb6d Clarify that link_before and link_after text for wp_list_pages also applies to the current page which doesn't actually have a link. fixes #12247.
git-svn-id: https://develop.svn.wordpress.org/trunk@14687 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 06:11:43 +00:00
Andrew Nacin 2839ecfd01 First pass at fixing search for add menu item boxes. props koopersmith, see #13283.
git-svn-id: https://develop.svn.wordpress.org/trunk@14686 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 05:39:53 +00:00
Andrew Nacin d7e1bbb65b Show updated message after resetting or removing the background image. see #12186.
git-svn-id: https://develop.svn.wordpress.org/trunk@14685 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 05:38:14 +00:00
Andrew Nacin ae5af53f10 Custom background UI updates. props ocean90 for initial patch, see #12186.
git-svn-id: https://develop.svn.wordpress.org/trunk@14684 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 05:17:57 +00:00
Andrew Nacin d7130b8341 i18n a string. props zeo, fixes #12896
git-svn-id: https://develop.svn.wordpress.org/trunk@14683 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 03:49:50 +00:00
Ron Rennick 95694cb813 show upload limit in media upload UI, see #12853
git-svn-id: https://develop.svn.wordpress.org/trunk@14682 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 23:57:32 +00:00
Ron Rennick 5e7eb09e19 block creation of 'files' sub site, see #13304
git-svn-id: https://develop.svn.wordpress.org/trunk@14681 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 22:18:40 +00:00
Ron Rennick 9ad643991f don't check upload_path in upgraded MU install, see #12549
git-svn-id: https://develop.svn.wordpress.org/trunk@14680 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 21:53:18 +00:00
Andrew Nacin e6fcc1df7c Don't show unapproved comments in comments widget. props jshreve, fixes #10615.
git-svn-id: https://develop.svn.wordpress.org/trunk@14679 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 21:44:12 +00:00
Andrew Nacin 60c2623599 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: https://develop.svn.wordpress.org/trunk@14678 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 21:36:38 +00:00
Peter Westwood 6979d55fbe Don't trim whitespace from sections of the response in IXR_Client. Fixes #12559 props apeatling.
git-svn-id: https://develop.svn.wordpress.org/trunk@14677 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 21:04:26 +00:00
Peter Westwood 01b1ae4e39 Bumpity
git-svn-id: https://develop.svn.wordpress.org/trunk@14676 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 20:59:02 +00:00
Peter Westwood a441108f91 Fix the column headers title override to use a special name rather than one we use elsewhere.
git-svn-id: https://develop.svn.wordpress.org/trunk@14675 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 20:57:17 +00:00
Andrew Nacin 43959a6f47 Use show_ui instead of public flag to check whether the post type uses post-new and edit.php. see #13403.
git-svn-id: https://develop.svn.wordpress.org/trunk@14674 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 20:49:28 +00:00
Andrew Nacin 23d6bf302c 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: https://develop.svn.wordpress.org/trunk@14673 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 20:36:49 +00:00
Andrew Nacin 904ccf82e8 Validation for ms-sites.php. props Utkarsh, see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14672 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 20:05:24 +00:00
Andrew Nacin 8df4668ce6 Truncate long menu names in the menu locations box. props koopersmith, see #13378.
git-svn-id: https://develop.svn.wordpress.org/trunk@14671 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 20:00:48 +00:00
Andrew Nacin 24ad763cfc Validation and nonce improvements to custom background UI. props ocean90, see #12186.
git-svn-id: https://develop.svn.wordpress.org/trunk@14670 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 19:47:03 +00:00
Andrew Nacin 7db348734e Wrap a label around an inline input. Same tactic we use in options-discussion. see [14668].
git-svn-id: https://develop.svn.wordpress.org/trunk@14669 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 19:27:02 +00:00
Andrew Nacin edb0105e1d Don't have a label overlap two input boxes in ms-options. props ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@14668 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 19:21:56 +00:00
Andrew Nacin 8b490dff76 Don't link active menu tabs. props koopersmith, fixes #13333.
git-svn-id: https://develop.svn.wordpress.org/trunk@14667 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 19:18:35 +00:00
Andrew Nacin 317abe4473 Remove p tag from allowed nav menu container tags. Cannot validly contain block level elements. props Jorbin, fixes #13349.
git-svn-id: https://develop.svn.wordpress.org/trunk@14666 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 15:05:57 +00:00
Ryan Boren 14d8731a49 Don't update_post_caches if a persistent object cache is installed. fixes #12611
git-svn-id: https://develop.svn.wordpress.org/trunk@14665 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 15:00:53 +00:00
Ryan Boren bdc57b2b3f Use the remove_user cap instead of delete_user. fixes #13325
git-svn-id: https://develop.svn.wordpress.org/trunk@14664 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 14:43:13 +00:00
Ryan Boren afc24755fc autosave_update_post_ID() no longer needed. Fix button enable lag. Props duck_. fixes #13400
git-svn-id: https://develop.svn.wordpress.org/trunk@14663 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 14:03:46 +00:00
potbot 48e82adba8 POT, generated from r14661
git-svn-id: https://develop.svn.wordpress.org/trunk@14662 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 12:21:45 +00:00
Mark Jaquith cb34d30d8e 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: https://develop.svn.wordpress.org/trunk@14661 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 10:21:10 +00:00
Mark Jaquith 45dec2e4e8 Do not show dummy default category output when calling the_category on a post_type that does not support the category taxonomy (like pages). Fix TwentyTen theme to not display wrapping text if there are no categories. fixes #10333
git-svn-id: https://develop.svn.wordpress.org/trunk@14660 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 09:59:15 +00:00
Andrew Nacin 83081d3feb Validation for network.php. props dremeda, see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14659 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 06:49:16 +00:00
Andrew Nacin 43c09c9587 Also return raw author name and URI from get_theme_data and get_themes. props blepoxp, fixes #12275.
git-svn-id: https://develop.svn.wordpress.org/trunk@14658 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 06:28:35 +00:00
Andrew Nacin 4861bebf05 Add a form action to network.php. props xibe, see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14657 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 06:19:27 +00:00
Andrew Nacin 8816885c79 Escape slash in inline JS for SWFUploader. props zeo, see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14656 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 06:14:06 +00:00
Andrew Nacin afd9d6320a Validation and some textarea escaping for ms-options. props Utkarsh, see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14655 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 05:58:57 +00:00
Andrew Nacin 932214755c Make sure custom post types have unique IDs in the admin menu. props validBen, fixes #12445.
git-svn-id: https://develop.svn.wordpress.org/trunk@14654 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 05:38:40 +00:00
Andrew Nacin e6ae8c05e8 Always pass post ID, not post object, to the_title filter. Original the_title filter in get_the_title() uses ID only. props filosofo, fixes #12631.
git-svn-id: https://develop.svn.wordpress.org/trunk@14653 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 05:26:25 +00:00
Andrew Nacin 4d594cc798 Use 'Comments' and 'Links' as page title instead of Edit %s. fixes #11274.
git-svn-id: https://develop.svn.wordpress.org/trunk@14652 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 05:07:31 +00:00
Andrew Nacin 7d118a4628 Remove default_comment_status_pages setting from the options table. see #12991.
git-svn-id: https://develop.svn.wordpress.org/trunk@14651 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 05:01:04 +00:00
Andrew Nacin f92765c934 Remove default_comment_status_pages setting. Reverts [14451], [14448] for 3.0. see #12991.
git-svn-id: https://develop.svn.wordpress.org/trunk@14650 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 04:56:56 +00:00
Andrew Nacin 5aa7280d6a Introduce wp_check_filetype_and_ext() to handle mime/ext image comparisons and corrections for upload and sideload. props Viper007Bond, see #11946.
git-svn-id: https://develop.svn.wordpress.org/trunk@14649 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 04:47:03 +00:00
Ryan Boren 35cd94b58c register_post_type phpdoc updates. Props michaelh. fixes #13398
git-svn-id: https://develop.svn.wordpress.org/trunk@14648 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 22:26:07 +00:00
Andrew Nacin 47136b319f Introduce _ex(), a hybrid between _e() and _x() -- translate with context, then echo. props westi, see #13395.
git-svn-id: https://develop.svn.wordpress.org/trunk@14647 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 21:46:25 +00:00
Peter Westwood 7d675404ca Restore the correct behaviour of bloginfo('text_direction'). Fixes #13360. See #13206.
git-svn-id: https://develop.svn.wordpress.org/trunk@14646 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 21:22:14 +00:00