Commit Graph

13271 Commits

Author SHA1 Message Date
Ron Rennick cff1c00885 use network_home_url in get_blogaddress_by_name, see #12735
git-svn-id: https://develop.svn.wordpress.org/trunk@14703 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 22:21:06 +00:00
Ron Rennick 179273030a improvements to get_home/site_url, props andreasnrb + code cleanup, see #12735
git-svn-id: https://develop.svn.wordpress.org/trunk@14702 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 21:58:31 +00:00
Peter Westwood 5aa105a6af First pass at making the scan for lost attachments custom post type aware. See #10911.
git-svn-id: https://develop.svn.wordpress.org/trunk@14701 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 21:24:40 +00:00
Peter Westwood fec613607a Use the attachment metadata to get the size infomation rather than making an HTTP request for the image in the attachment template.
git-svn-id: https://develop.svn.wordpress.org/trunk@14700 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 21:02:34 +00:00
Peter Westwood a0740155c5 Make get_attachment_metadata() loop safe.
git-svn-id: https://develop.svn.wordpress.org/trunk@14699 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 21:00:00 +00:00
Andrew Nacin baf3a2a41e Twenty Ten documentation and functions.php improvements. see #12695.
git-svn-id: https://develop.svn.wordpress.org/trunk@14698 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 20:53:36 +00:00
Peter Westwood b0ff90ab6f Bumpity
git-svn-id: https://develop.svn.wordpress.org/trunk@14697 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 20:48:09 +00:00
Peter Westwood fd4a9ffa86 Switch to checking on tt_ids for the category lookup to ensure in_array call is PHP4 compatible. See #13410
git-svn-id: https://develop.svn.wordpress.org/trunk@14696 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 20:47:18 +00:00
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