Commit Graph

11586 Commits

Author SHA1 Message Date
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
Dion Hulse b48695661a Allow viewing of Attached hierarchical Terms when the user doesnt have Manage capability of the taxonomy, Only set terms if user has Management capability. See #12035
git-svn-id: https://develop.svn.wordpress.org/trunk@12967 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 14:33:29 +00:00
Dion Hulse 317b630173 update wp_popular_terms_checklist() to handle custom taxonomies. See #10122
git-svn-id: https://develop.svn.wordpress.org/trunk@12966 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 14:16:31 +00:00
Dion Hulse 23de0ed686 Cleanup admin_notice_feed(). Props nacin. Fixes #12138
git-svn-id: https://develop.svn.wordpress.org/trunk@12965 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 14:00:18 +00:00
Dion Hulse f9361ef7f5 Simplify https:// conversion in plugins_url()/content_url() functions
git-svn-id: https://develop.svn.wordpress.org/trunk@12964 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 12:45:21 +00:00
Dion Hulse 811cd495e6 Fix plugins_url() for MU-plugins when running on Windows. Fixes #12080
git-svn-id: https://develop.svn.wordpress.org/trunk@12963 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 12:39:04 +00:00
Ron Rennick 6db43aef8c remove mod_security upload rewrite in ms htaccess, see [7563] for details
git-svn-id: https://develop.svn.wordpress.org/trunk@12962 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 23:24:15 +00:00
Mark Jaquith 5539653109 Use addslashes() instead of esc_sql() in add_magic_quotes() to avoid the pretense of DB association. props miqrogroove
git-svn-id: https://develop.svn.wordpress.org/trunk@12961 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 23:05:13 +00:00
Ryan Boren e96e6f0d8c Update real parent file back compat for pages menus. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12960 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 22:09:35 +00:00
Peter Westwood 94762869e2 Fix bug in _search_terms_tidy. Fixes #12060 for trunk props miqrogroove.
git-svn-id: https://develop.svn.wordpress.org/trunk@12958 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 21:54:24 +00:00
Peter Westwood ec9016aaca Revert [12460] for now while we consider a better fix. See #10041
git-svn-id: https://develop.svn.wordpress.org/trunk@12957 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 21:40:02 +00:00
Ryan Boren 55223d6753 Move Network menu to the top. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12956 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 20:32:06 +00:00
Ryan Boren ef25305270 Merge mu_media_buttons() into media_buttons(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12955 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 20:28:52 +00:00
Ryan Boren 7ea506e02a Integrate remove_tinymce_media_button() into wp_tiny_mce(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12954 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 20:00:18 +00:00
Ron Rennick d8e029950c close dir in recurse_dirsize(), props ddebernardy, fixes #11749
git-svn-id: https://develop.svn.wordpress.org/trunk@12953 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 19:56:36 +00:00
Ron Rennick b21acae7f0 add siteurl filter for ms upgrades, props nacin, fixes #12069
git-svn-id: https://develop.svn.wordpress.org/trunk@12952 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 19:26:38 +00:00
Ryan Boren 071c7a8290 Minify ms css. see #11790
git-svn-id: https://develop.svn.wordpress.org/trunk@12951 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 19:11:51 +00:00