Commit Graph

11802 Commits

Author SHA1 Message Date
Peter Westwood 685bd009b5 Ensure we don't mangle the array of link categories when sanitising a link for editing. See #12168.
git-svn-id: https://develop.svn.wordpress.org/trunk@13017 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 21:59:24 +00:00
Peter Westwood 06d6e8e094 Ensure we don't mangle the array of post ancestors when sanitising a post for editing. Fixes #12168.
git-svn-id: https://develop.svn.wordpress.org/trunk@13016 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 21:49:00 +00:00
Peter Westwood 77e592fead Make _unzip_file_ziparchive() PHP4 safe. See #10403.
git-svn-id: https://develop.svn.wordpress.org/trunk@13015 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 21:28:05 +00:00
Peter Westwood 085e0c3487 Ensure we are PHP4 compat. Fixes #12167 props blepoxp.
git-svn-id: https://develop.svn.wordpress.org/trunk@13014 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 21:07:35 +00:00
Ryan Boren 268d39dce7 Fix warning when installing.
git-svn-id: https://develop.svn.wordpress.org/trunk@13013 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 16:51:35 +00:00
Ryan Boren 82e3b2f8f4 Twenty Ten initial import. Props Ian Stewart, Matt Thomas, and others. see #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13012 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 16:16:26 +00:00
Ryan Boren dc46453810 jQuery 1.4.1. Props Simek. fixes #11900
git-svn-id: https://develop.svn.wordpress.org/trunk@13011 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 15:19:45 +00:00
Dion Hulse 5aacc9a839 $term is an array not object, Fixes Notice on duplicate term checking. See #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@13010 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 06:51:05 +00:00
Dion Hulse 2a4403812a Remove hierarchical taxonomy parent support from Quick Edit (field added in error). See #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@13009 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 06:40:51 +00:00
Dion Hulse 19fc6eaf94 Remove cat_rows() admin template functions. See #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@13008 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 05:54:33 +00:00
Dion Hulse 142262150e PHPdoc for _unzip_file_pclzip & _unzip_file_ziparchive. See #10403
git-svn-id: https://develop.svn.wordpress.org/trunk@13007 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 05:07:36 +00:00
Dion Hulse b8ebf2ee2c Better error checking for ZipArchive extraction. See #10403
git-svn-id: https://develop.svn.wordpress.org/trunk@13006 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 05:02:24 +00:00
Dion Hulse 1419d92ddf Introduce ZipArchive version of unzip_file(), More efficient on memory usage for supporting hosts. See #10403
git-svn-id: https://develop.svn.wordpress.org/trunk@13005 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 04:52:35 +00:00
Ron Rennick c16facefa4 Call class function in xmlrpc.php, fixes #12155
git-svn-id: https://develop.svn.wordpress.org/trunk@13004 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 04:21:53 +00:00
Ron Rennick f2ade7aa6d Add rounded top corners to dashboard menu when there is no network menu, fixes #12151
git-svn-id: https://develop.svn.wordpress.org/trunk@13003 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 04:13:22 +00:00
Dion Hulse d4dce39218 Add missing filter to sy:updateFrequency in RDF feed. Props ramiy. Fixes #12156
git-svn-id: https://develop.svn.wordpress.org/trunk@13002 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 03:43:52 +00:00
Dion Hulse 8f6db1c96f Use rename() if possible in WP_Filesystem_Direct::move(). Props reaperhulk. Fixes #12150
git-svn-id: https://develop.svn.wordpress.org/trunk@13001 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 02:15:27 +00:00
Ron Rennick ac720d22ea Allow network install to be restarted, see #11881
git-svn-id: https://develop.svn.wordpress.org/trunk@13000 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 02:13:20 +00:00
Dion Hulse eff9f9e25b Standardise return values in WP_Filesystem::dirlist(), ::chmod() and ::exists()
git-svn-id: https://develop.svn.wordpress.org/trunk@12999 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 01:59:30 +00:00
Dion Hulse c6aa08558a Reduce code duplication, Formatting cleanups, Reduce Chmod IO calls. See #10913 for excess IO calls.
git-svn-id: https://develop.svn.wordpress.org/trunk@12998 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 01:31:40 +00:00
Dion Hulse bb80851161 Fix recursive chmod for WP_Filesystem. Props reaperhulk for FtpExt. Fixes #11261
git-svn-id: https://develop.svn.wordpress.org/trunk@12997 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 01:12:29 +00:00
Ron Rennick d59cf38464 Add activate link for network plugins in single site install, props nacin, fixes #12139
git-svn-id: https://develop.svn.wordpress.org/trunk@12996 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 00:03:10 +00:00
Ryan Boren a14ee51cad Use canonical status list. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12995 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 17:51:24 +00:00
Ryan Boren 68db07fb9b Add more visibility args to post status registration. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12994 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 17:46:00 +00:00
Ryan Boren 8be3a24819 Add a separate show_ui flag for post types. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12993 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 17:27:30 +00:00
Ryan Boren 0b7de0491f Register the auto-draft post status. see #11889
git-svn-id: https://develop.svn.wordpress.org/trunk@12992 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 17:09:34 +00:00
Peter Westwood 13b54b44d8 Check that $_POST['auto_draft'] is set before accessing it. See #11889.
git-svn-id: https://develop.svn.wordpress.org/trunk@12991 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 14:56:10 +00:00
Peter Westwood 1cec5d58ef Add defaults for 'post_content' and 'post_title' in wp_insert_post(). See #11889.
git-svn-id: https://develop.svn.wordpress.org/trunk@12990 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 14:49:54 +00:00
Peter Westwood 86233c4dbd Allow plugins to modify the query run by WP_User_Search. Fixes #10781 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@12989 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 12:35:15 +00:00
Peter Westwood c45f4d2905 Ignore the continents-cities mo files when searching for the list of installed language packs. Fixes #12019
git-svn-id: https://develop.svn.wordpress.org/trunk@12988 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 11:42:20 +00:00
Mark Jaquith 2d54780d5e Create post_status=auto-draft when creating a new post item. status changes to draft on first auto-save. now we always have a real post ID to work with. see #11889. fixes #11145. fixes #11990
git-svn-id: https://develop.svn.wordpress.org/trunk@12987 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 10:07:57 +00:00
Mark Jaquith 4c3fbea45a Revert quote swap from [12955]. Fixes media upload links.
git-svn-id: https://develop.svn.wordpress.org/trunk@12986 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 07:31:38 +00:00
Dion Hulse 96578ed6b8 Remove < PHP 4.3 compat functions from importers. Props nacin. Fixes #11636
git-svn-id: https://develop.svn.wordpress.org/trunk@12985 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 07:19:25 +00:00
Dion Hulse d9281a3e46 Enable Plugin/Theme editor menu item for Super Admins. See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12984 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 06:49:11 +00:00
Dion Hulse 8fbe3333b0 Switch to *_user_option() for default password nag to avoid extra DB queries. Fixes #11380
git-svn-id: https://develop.svn.wordpress.org/trunk@12983 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 06:20:38 +00:00
Dion Hulse 8b38dceeca Move admin CSS colour themes to the admin_init hook. Fixes #11625
git-svn-id: https://develop.svn.wordpress.org/trunk@12982 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 05:15:26 +00:00
Dion Hulse 28637f0de3 Show login form upon email-sent for recover/reset passwords. Props nacin. Fixes #11141
git-svn-id: https://develop.svn.wordpress.org/trunk@12981 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 04:42:14 +00:00
Dion Hulse 76dda2b570 Redirect ?page_id=xx for the Posts page to the posts page. Fixes #11991
git-svn-id: https://develop.svn.wordpress.org/trunk@12980 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 03:50:55 +00:00
Dion Hulse b385071e76 Redirect home_url variants to home_url(). See #11991
git-svn-id: https://develop.svn.wordpress.org/trunk@12979 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 03:40:24 +00:00
Ryan Boren 65b3f1e5e3 Introduce get_home_url(), get_site_url(), and get_admin_url() for fetching urls by blog id. see #12119
git-svn-id: https://develop.svn.wordpress.org/trunk@12978 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 21:49:19 +00:00
Ron Rennick fdcbef3e84 restore shell wp-content/blogs.php & add deprecated warnings, props nacin, see #11742
git-svn-id: https://develop.svn.wordpress.org/trunk@12977 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 21:40:22 +00:00
Ryan Boren 1e9a464f69 Use get_plugin_data() to fetch Network header for is_network_only_plugin(). Props nacin. fixes #12139
git-svn-id: https://develop.svn.wordpress.org/trunk@12976 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 21:33:53 +00:00
Ron Rennick 96665140d5 Change Network Only to Network for network plugins, props nacin, see #12139
git-svn-id: https://develop.svn.wordpress.org/trunk@12975 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 18:33:35 +00:00
Ryan Boren 49bce47b8d Network plugin activation cleanup. Props nacin. see #12139
git-svn-id: https://develop.svn.wordpress.org/trunk@12974 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 18:10:30 +00:00
Ron Rennick 9db8d54976 Reduce DB queries by half during MU signup, props donncha, see #12140
git-svn-id: https://develop.svn.wordpress.org/trunk@12973 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 17:59:24 +00:00
Ryan Boren 107f08638f Fix delete media nonces. Props nacin. fixes #12085
git-svn-id: https://develop.svn.wordpress.org/trunk@12972 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 17:59:18 +00:00
Ryan Boren 90c662f378 Pass to post_type_link filter. Props prettyboymp. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12971 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 17:54:40 +00:00
Ron Rennick 66f5d7e74e add support for network only to identify network plugins, see #12139
git-svn-id: https://develop.svn.wordpress.org/trunk@12970 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 16:33:35 +00:00
Dion Hulse d8e395f8fb Do not use deprecated user levels in XMLRPC (s/level_8/manage_options/). Props nacin. Fixes #10806
git-svn-id: https://develop.svn.wordpress.org/trunk@12969 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 14:43:08 +00:00
Dion Hulse cbe9380b41 Revert accidental case changes in [12966]. See #12035
git-svn-id: https://develop.svn.wordpress.org/trunk@12968 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 14:37:58 +00:00