Commit Graph

6103 Commits

Author SHA1 Message Date
Ryan Boren d440214a7b Export post <-> term relationships for all taxonomies. fixes #12180
git-svn-id: https://develop.svn.wordpress.org/trunk@13055 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-11 19:17:00 +00:00
Ryan Boren d204fd6215 Test explicitly for false from insert()/update(). Fixes early return that preventing link categories from being saved. fixes #12196
git-svn-id: https://develop.svn.wordpress.org/trunk@13053 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-11 16:17:12 +00:00
Ryan Boren 2f7ef8196b Pass the default post to default_content, default_title, and default_excerpt filters. Allows filtering by post_type and other attributes. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13051 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-10 22:20:36 +00:00
Ryan Boren 1e2b47d4f6 Use show_ui instead of _show. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13046 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-10 17:43:29 +00:00
Ryan Boren 6a5c43f5fc Fix screen layout options for custom post types. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13045 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-10 17:41:07 +00:00
Ryan Boren d22d07e1f2 Use switch_themes instead of edit_themes so that non super admins on multisite installs can customize headers and backgrounds. Add CYA cap checks.
git-svn-id: https://develop.svn.wordpress.org/trunk@13043 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-10 16:49:16 +00:00
Dion Hulse 718fa1b6e8 Fix off-by-one substr() error. Props blepoxp. See #12159
git-svn-id: https://develop.svn.wordpress.org/trunk@13042 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-10 10:59:45 +00:00
Ryan Boren 8bc11462e3 First pass at custom background support. Needs UI love. see #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13041 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-09 20:37:12 +00:00
Ron Rennick 62690f100c prevent editing site domain/path on multisite main site, see #12177
git-svn-id: https://develop.svn.wordpress.org/trunk@13039 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-09 18:03:46 +00:00
Ron Rennick 9d74c95ed8 do not add /index.php permalink base in multisite, see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13036 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-09 16:10:43 +00:00
Dion Hulse e5b17da3fb Rename new taxonomy page hooks to prevent hook conflicts. See #12171
git-svn-id: https://develop.svn.wordpress.org/trunk@13035 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-09 10:56:39 +00:00
Ryan Boren 883cad6a6f Setup some default widgets for the default theme at install. Props azaozz. see #12163
git-svn-id: https://develop.svn.wordpress.org/trunk@13033 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-08 22:17:18 +00:00
Ryan Boren fc60118ff7 Update keys and salts with random values from api.wordpress.org. Props nacin. see #12159
git-svn-id: https://develop.svn.wordpress.org/trunk@13026 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-08 18:15:44 +00:00
Ryan Boren 86d7ef0b69 Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@13025 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-08 18:02:23 +00:00
Ryan Boren e2cd2290f4 Change wording in string to make translation easier. Props simosx. fixes #12173
git-svn-id: https://develop.svn.wordpress.org/trunk@13022 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-08 16:18:13 +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
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
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 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 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 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
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 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
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
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
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
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
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 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
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
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
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 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
Ron Rennick e7a9f2503b move ms css to ms.dev.css, see #11790
git-svn-id: https://develop.svn.wordpress.org/trunk@12950 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 19:10:29 +00:00
Ron Rennick 76363455c4 move ms css to ms.css, fixes #11790
git-svn-id: https://develop.svn.wordpress.org/trunk@12949 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 19:03:08 +00:00
Ryan Boren 0399d5c023 ms-functions pruning and cleanup. Props nacin. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12948 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 18:57:32 +00:00
Ryan Boren 3bc5c8975b Sitewide plugins cleanup. Props nacin. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12947 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 18:50:36 +00:00
Ryan Boren 529156a002 Introduce get_available_languages(). Validate WPLANG. fixes #11774
git-svn-id: https://develop.svn.wordpress.org/trunk@12946 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 18:46:25 +00:00
Ryan Boren f8c7cafbf4 Fix warnings. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12945 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 18:19:21 +00:00
Ryan Boren eeaa9c307e Add lrm to fix bidi test display in RTL languages. Props ramiy. fixes #11919
git-svn-id: https://develop.svn.wordpress.org/trunk@12944 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 16:45:55 +00:00
Dion Hulse 890ed9561d Remove redundant Category forms/code/ajax. See #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@12942 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 11:01:07 +00:00
Dion Hulse d2f30e5762 Migrate Category Edit UI hooks, Standardise on custom-taxonomies hooks, add custom-fields for taxonomies UI hooks. See #11838, Fixes #11191
git-svn-id: https://develop.svn.wordpress.org/trunk@12941 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 10:51:58 +00:00
Ron Rennick 04c99ec671 add closing table cell tag to dashboard right now, props Simek, fixes #12121
git-svn-id: https://develop.svn.wordpress.org/trunk@12940 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-03 23:06:27 +00:00
Mark Jaquith cb141f847f Use $required_php_version. Props nacin. fixes #11637
git-svn-id: https://develop.svn.wordpress.org/trunk@12939 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-03 21:38:09 +00:00
Ryan Boren 5bc5965535 Allow registering a meta box callback for setting up meta boxes when creating the edit form for a custom post type. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12937 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-03 18:54:42 +00:00
Ron Rennick 012732f59d improvements to custom content dir support, props nacin, see #11742
git-svn-id: https://develop.svn.wordpress.org/trunk@12936 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-03 18:19:56 +00:00
Ryan Boren 4f04f80237 Use API to retrieve user. fixes #11776
git-svn-id: https://develop.svn.wordpress.org/trunk@12935 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-03 17:37:15 +00:00
Ryan Boren e4f0869fb9 Use Network and Site for labels. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12934 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-03 17:23:29 +00:00
Ron Rennick 9cfbad8ba3 fix potential global terms inconsistency, props rboren, see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12933 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-03 01:00:57 +00:00
Ryan Boren 3b613d9aa5 Give network level upgrades separate API that is run when upgrading the main blog. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12931 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 21:53:26 +00:00
Ryan Boren 2b1691cdf4 Cleanup network plugin loading. Props nacin. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12930 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 21:41:17 +00:00
Ryan Boren 1d85da4417 Move functions to ms-deprecated.php
git-svn-id: https://develop.svn.wordpress.org/trunk@12929 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 18:05:01 +00:00
Ryan Boren 10dd8c858f Integrate update_profile_email() into user-edit.php. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12928 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 18:00:45 +00:00
Ryan Boren 12c49c44f4 Allow customizing capabilities for custom post types. Always check caps against those in the post type object instead of contructing them manually. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12927 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 17:37:03 +00:00
Ron Rennick 45c254ac94 pass #2 change uploaded media rewrite rule, props nacin, see #11742
git-svn-id: https://develop.svn.wordpress.org/trunk@12926 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 16:32:19 +00:00
Ron Rennick 454cf82301 minor fixes to populate_options(), UI tweaks, see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12920 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-01 20:01:14 +00:00
Ron Rennick b78a8cd218 minor fixes/improvements to populate_network(), see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12919 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-01 18:01:23 +00:00
Ryan Boren 06c33bcfc5 options-reading.php cleanup. Props nacin. fixes #12058
git-svn-id: https://develop.svn.wordpress.org/trunk@12918 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-01 16:42:19 +00:00
Dion Hulse 4dd3d0c6be Revert [12908]. Update Users cap to use a capability. See #12098. Props nacin
git-svn-id: https://develop.svn.wordpress.org/trunk@12916 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-01 08:12:56 +00:00
Peter Westwood 35677e6860 Add phpdoc to all the add_*_page functions.
Rename arguments to empasise that people should be using Capabilities not User Levels and named hooks not __FILE__.
See #12101.

git-svn-id: https://develop.svn.wordpress.org/trunk@12914 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-31 17:36:00 +00:00
Peter Westwood 95b956bfb9 Fix add_pages_page to use the correct parent menu. Fixes #12100.
git-svn-id: https://develop.svn.wordpress.org/trunk@12913 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-31 17:16:00 +00:00
Dion Hulse 25878de823 Fix PHP Notices: Use checked() template function & initialise variables. s/WP/WordPress/ & some code formatting. See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12911 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-31 12:23:50 +00:00
Dion Hulse 22eeec9f05 set svn:eol-style native on new files
git-svn-id: https://develop.svn.wordpress.org/trunk@12910 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-31 11:55:39 +00:00
Dion Hulse eab8af1feb Bring Server Name field into style lines with rest of page. See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12909 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-31 11:47:53 +00:00
Dion Hulse eca137d68f Hide Users -> Add New on MultiSite unless admin has enabled access to the page. See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12908 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-31 11:39:34 +00:00
Dion Hulse 3f48304cc8 Remove duplicate current_user_can() check.
git-svn-id: https://develop.svn.wordpress.org/trunk@12907 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-31 11:36:58 +00:00
Dion Hulse 0f51431087 Check for existence of the query var before switch(). Fixes a notice on Multisite users page.
git-svn-id: https://develop.svn.wordpress.org/trunk@12906 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-31 11:11:45 +00:00
Ryan Boren a60c842ba6 Move 'My Blogs' into its own file. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12905 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-29 23:21:33 +00:00
Ryan Boren f6878865b5 Move 'My Blogs' into its own file. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12904 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-29 23:21:01 +00:00
Ryan Boren d70d1ab100 Integrate sitewide plugin handling into activate_plugins(), deactivate_plugins(), and plugins.php. fixes #11767 see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12903 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-29 21:45:32 +00:00
Ryan Boren 402b998100 Remove remove_edit_plugin_link(). Rely on cap checks. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12902 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-29 19:29:31 +00:00
Ryan Boren 739fd7a3b8 ms-sites cleanup. Add escaping. Use API instead of direct queries. Add blog status label to row title. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12897 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-29 17:36:57 +00:00
Dion Hulse ea82d93624 Use !empty() for Link searching title.
git-svn-id: https://develop.svn.wordpress.org/trunk@12895 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-29 08:11:20 +00:00
Dion Hulse cfb58236dd Add text to 'Add New' button in link manager. Props scribu. Fixes #12071
git-svn-id: https://develop.svn.wordpress.org/trunk@12894 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-29 07:27:11 +00:00
Peter Westwood c4b63151a5 Don't both hooking in menu functions which will never get called. See #11922 props miqrogroove.
git-svn-id: https://develop.svn.wordpress.org/trunk@12891 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-28 20:20:18 +00:00
Ryan Boren 93fc30b2a0 Send user back to main custom header page after cropping and setting image. Add support for a custom image div callback for greather theme flexibility. Props dphiffer. see #11855
git-svn-id: https://develop.svn.wordpress.org/trunk@12890 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-28 19:00:16 +00:00
Ryan Boren 8d029acd42 Don't hardcode post type. Props typeomedia. fixes #12067
git-svn-id: https://develop.svn.wordpress.org/trunk@12887 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-28 17:21:26 +00:00
Ron Rennick 4e0bcbb98e change wp- rewrite more specific rewrite rule, see #11994
git-svn-id: https://develop.svn.wordpress.org/trunk@12884 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-28 15:29:23 +00:00
Ron Rennick 334a3e294a block multisite enable on localhost and ip address, see #11816
git-svn-id: https://develop.svn.wordpress.org/trunk@12883 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 22:10:41 +00:00
Ron Rennick 4bcd7b3afd Improvements to queries in populate_network(), also gettext, props nacin, see #11816
git-svn-id: https://develop.svn.wordpress.org/trunk@12880 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 19:13:00 +00:00
Ryan Boren 19136bb073 Don't use deprecated functions. Props filosofo. fixes #11807
git-svn-id: https://develop.svn.wordpress.org/trunk@12878 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 17:55:39 +00:00
Ryan Boren 995576fbdc Fix attachment view link title attribute. Props chdorner. fixes #10571
git-svn-id: https://develop.svn.wordpress.org/trunk@12876 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 14:44:47 +00:00
Ryan Boren bdb3f1ee81 Set post_type for QuickPress publishing. Props nacin. fixes #12049
git-svn-id: https://develop.svn.wordpress.org/trunk@12874 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 14:36:17 +00:00
Ryan Boren 783902b5d2 Fix notices when publishing with QuickPress. Props nacin, hakre. fixes #11504
git-svn-id: https://develop.svn.wordpress.org/trunk@12873 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 14:34:11 +00:00
Ryan Boren 0a04925b33 Show td attributes for custon coolumns. Props camiloclc. fixes #12050
git-svn-id: https://develop.svn.wordpress.org/trunk@12872 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 14:28:03 +00:00
Ryan Boren 5fd2d9c671 Move deprecated admin functions to wp-admin/includes/deprecated.php. Props nacin. fixes #12024
git-svn-id: https://develop.svn.wordpress.org/trunk@12871 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 14:10:32 +00:00
Ryan Boren 63ed4250a9 Don't load deprecated magpie for dashboard. Props nacin. fixes #12051
git-svn-id: https://develop.svn.wordpress.org/trunk@12869 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 14:02:16 +00:00
Ryan Boren 60566f5b1b Minify RTL CSS
git-svn-id: https://develop.svn.wordpress.org/trunk@12867 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 13:57:15 +00:00
Ryan Boren e56bfc028b RTL CSS fix. Props yoavf. fixes #12053
git-svn-id: https://develop.svn.wordpress.org/trunk@12866 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 13:50:06 +00:00
Ryan Boren 7da5c09cdc Whitespace cleanup and inline docs. Props nacin. see #12027
git-svn-id: https://develop.svn.wordpress.org/trunk@12865 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 13:48:37 +00:00
Ron Rennick 08d4201a21 allow initial site_id to be assigned by MySQL, fixes #12021
git-svn-id: https://develop.svn.wordpress.org/trunk@12862 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 00:20:10 +00:00
Ron Rennick fe0315b184 Add beginning of string to regex in [12860], See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12861 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 23:38:23 +00:00
Ron Rennick 7744ae6091 Change options-permalinks to use is_main_site(), fix /blog offset display, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12860 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 23:02:49 +00:00
Ryan Boren 72adbb470e Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@12859 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 22:49:05 +00:00
Ryan Boren 909191a37d Deprecate is_main_blog() for is_main_site(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12858 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 22:46:09 +00:00
Ryan Boren 4fa746310c Remove first page and first comment filters. They're no longer needed. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12854 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 20:42:37 +00:00
Ryan Boren 94a9904b69 Remove fix_actve_plugins(). Props hakre. fixes #11750
git-svn-id: https://develop.svn.wordpress.org/trunk@12848 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 18:39:12 +00:00
Ryan Boren 708c01dd15 unset temp vars so they don't pollute the global namespace. Formatting cleanups
git-svn-id: https://develop.svn.wordpress.org/trunk@12846 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 18:16:53 +00:00
Ryan Boren 08da5196a3 unset temp vars in menu.php so they don't pollute the global namespace.
git-svn-id: https://develop.svn.wordpress.org/trunk@12845 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 18:09:45 +00:00
Ryan Boren e98eb23a38 Unset menu_perms once we're done with it. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12844 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 17:55:51 +00:00
Ryan Boren 8dd260e7cf Fix warning. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12843 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 17:54:45 +00:00
Ryan Boren 7acbca8e8e Move update_signup_email_from_profile() logic into user-edit.php. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12842 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 17:51:50 +00:00
Ryan Boren 1f7356af5b Remove profile_page_email_warning_ob_start() and profile_page_email_warning_ob_content(). fixes #11759
git-svn-id: https://develop.svn.wordpress.org/trunk@12841 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 17:34:36 +00:00
Ron Rennick 29616c3ad9 Change link from wpmu-themes.php to ms-themes.php, Fixes #12034
git-svn-id: https://develop.svn.wordpress.org/trunk@12837 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 15:27:35 +00:00
Dion Hulse a03409e0af Display correct Taxonomy heading. See #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@12835 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 12:13:24 +00:00
Dion Hulse 8c6e15b457 First scratch at Taxonomy Capabilities. See #12035
git-svn-id: https://develop.svn.wordpress.org/trunk@12833 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 11:32:04 +00:00
Dion Hulse 3547993b28 First scratch at Bulk plugin upgrade from Plugins page. Props nacin for cleanups. See #11542
git-svn-id: https://develop.svn.wordpress.org/trunk@12832 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 06:53:47 +00:00
Mark Jaquith 5aae2baff3 Better wp_reset_vars() behavior when var is already set. props scribu. fixes #11974
git-svn-id: https://develop.svn.wordpress.org/trunk@12831 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 06:06:14 +00:00
Ron Rennick 795bbaaf79 Move network screen to the tools menu, See #12027
git-svn-id: https://develop.svn.wordpress.org/trunk@12830 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-25 23:07:49 +00:00
Ryan Boren 39c598f7f6 add a cap check at the top of ms-delete-site.php. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12829 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-25 22:50:36 +00:00
Ryan Boren 5a13380cf4 Move blog deletion to ms-delete-site.php. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12828 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-25 22:46:41 +00:00
Ryan Boren d33c4ae2ca phpdoc and cleanup. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12826 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-25 22:01:43 +00:00
Ryan Boren 0d90882b71 Deprecate mu_options. Integrate directly into options.php. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12825 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-25 21:33:49 +00:00
Ryan Boren e0254c7917 Add wp-admin/includes/ms-deprecated.php. Deprecate wpmu_checkAvailableSpace. Introduce is_upload_space_available(). see #11762
git-svn-id: https://develop.svn.wordpress.org/trunk@12824 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-25 19:46:24 +00:00
Ryan Boren c01fb90ff1 Deprecate wp_shrink_dimension(), add wp-admin/includes/deprecated.php. Props filosofo. fixes #11967
git-svn-id: https://develop.svn.wordpress.org/trunk@12823 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-25 18:50:01 +00:00
Mark Jaquith ba857dbae9 Include post_type= when redirecting after "Trash" click from item individual edit screen, to avoid going to Post edit screen for other post_types
git-svn-id: https://develop.svn.wordpress.org/trunk@12820 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-24 20:50:50 +00:00
Mark Jaquith b0898268c3 Include the post type, or else clicking All from pages will give you "all POSTS"
git-svn-id: https://develop.svn.wordpress.org/trunk@12819 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-24 20:33:45 +00:00
Dion Hulse bc3fbede7f Merge Categories/Hierarchical taxonomies into edit-tags.php. See #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@12818 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-24 11:00:27 +00:00
Dion Hulse f022897182 Fix Tag paging number whilst searching. Fixes #11989
git-svn-id: https://develop.svn.wordpress.org/trunk@12816 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-24 02:07:13 +00:00
Ryan Boren 55030a165b gettext for options-network. Props nacin. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12813 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-23 19:06:15 +00:00
Ryan Boren 5f968eaba5 Fix taxonomy check so categories show in post quick edit. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12812 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-23 18:27:26 +00:00
Ryan Boren 4085e644a6 Update new page link. fixes #11958
git-svn-id: https://develop.svn.wordpress.org/trunk@12809 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-23 17:59:06 +00:00
Ron Rennick 0568f3a78d Fix table prefix on upgrade for 3.0 main site, Fixes #11970
git-svn-id: https://develop.svn.wordpress.org/trunk@12808 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-23 00:33:10 +00:00
Ryan Boren 325e92da49 Introduce update_blog_details(). Add some phpdoc. Fix some warnings. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12806 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-22 23:35:59 +00:00
Ryan Boren e28471d816 Fix warnings. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12805 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-22 22:38:43 +00:00
Ryan Boren 345b2656c5 Remove raquo. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12804 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-22 22:34:54 +00:00
Ryan Boren 6819c81f3d Remove raquo. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12803 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-22 22:30:52 +00:00
Ryan Boren d920a565f5 Fix warnings. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12802 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-22 22:28:48 +00:00
Ryan Boren 70d313d227 Fix warnings. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12801 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-22 22:27:26 +00:00
Ryan Boren fcb15685d5 Fix warnings
git-svn-id: https://develop.svn.wordpress.org/trunk@12800 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-22 22:14:22 +00:00
Ryan Boren dbdce87047 Set proper class so quick edit works. Props nacin. fixes #11977
git-svn-id: https://develop.svn.wordpress.org/trunk@12799 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-22 21:46:35 +00:00
Ryan Boren e5a67cebd5 Create metaboxes for hierarchical taxonomies. Props prettyboymp. fixes #10122
git-svn-id: https://develop.svn.wordpress.org/trunk@12798 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-22 19:30:05 +00:00
Ryan Boren 8f1e29abd1 Introduce set_current_screen(). Set current screen for inline edit ajax requests so post rows can be properly displayed. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12797 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-22 18:27:54 +00:00
Ryan Boren 57577592b6 Introduce WP_User::for_blog() and current_user_can_for_blog() to avoid calls to WP_User::_init_caps(). fixes #11781
git-svn-id: https://develop.svn.wordpress.org/trunk@12796 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-22 17:27:28 +00:00
Dion Hulse bdc99b016a Optimised unzip_file(), reduces is_dir() IO calls. See #10779
git-svn-id: https://develop.svn.wordpress.org/trunk@12794 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-22 11:02:09 +00:00
Ryan Boren 2e46e81309 i18n fixes. Props nbachiyski. fixes #11954
git-svn-id: https://develop.svn.wordpress.org/trunk@12789 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-21 21:37:43 +00:00
Ryan Boren face61bb06 Typo fix. Props nacin. fixes #11715
git-svn-id: https://develop.svn.wordpress.org/trunk@12788 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-21 20:31:21 +00:00
Ron Rennick 7028f64e49 allow www installs to enable multisite, see #11945
git-svn-id: https://develop.svn.wordpress.org/trunk@12787 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-21 17:20:23 +00:00
Ron Rennick f1494b0248 add real parent file for wpmu-admin.php, fixes #11961
git-svn-id: https://develop.svn.wordpress.org/trunk@12786 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-21 16:03:29 +00:00
Ryan Boren 45b2e6b3af Sanitize translation of default post slug. Props nbachiyski. fixes #11952
git-svn-id: https://develop.svn.wordpress.org/trunk@12784 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-21 07:19:23 +00:00
Ryan Boren efb7966619 Update trash and right now links for pages. fixes #11958
git-svn-id: https://develop.svn.wordpress.org/trunk@12783 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-21 06:53:33 +00:00
Ryan Boren 91732dc4f1 Clear some warnings. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12782 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-20 23:01:09 +00:00
Ryan Boren aaa492bf22 Screen icons for site admin pages. Using temp icon until new ones are done. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12781 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-20 22:35:21 +00:00
Ryan Boren 467e54c2b3 Print footer instead of dying immediately. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12780 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-20 22:11:02 +00:00
Ryan Boren 5f298002bb Start adding gettext to options-network. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12779 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-20 22:08:50 +00:00
Ryan Boren d6ea7c7bde Add email and login dupe checking down into wp_insert_user(). Tidy up user-new.php. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12778 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-20 21:58:13 +00:00
Ron Rennick 40b69eb90c make server address in network settings a label, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12777 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-20 20:42:20 +00:00
Ryan Boren a9b7e7f7fa Deprecate wp_install_blog_defaults(). Use wp_install_defaults() instead. fixes #11747 see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12776 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-20 20:09:41 +00:00
Ron Rennick f2736aa1ab set default empty message, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12775 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-20 18:25:08 +00:00
Ryan Boren f12c5fdd6e Use update. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12774 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-20 16:50:09 +00:00
Ron Rennick a5d7344d4f sync single and multisite cookie hash, remove extraneous code, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12771 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-20 01:14:05 +00:00
Ryan Boren 21c4d151e2 Use API to set the user's role. see #11781
git-svn-id: https://develop.svn.wordpress.org/trunk@12770 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 20:12:04 +00:00
Ron Rennick 1a8f8ca039 add multisite theme admin, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12769 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 20:03:11 +00:00
Ryan Boren 09aaaaaa23 Use SimplePie in admin_notice_feed(). Props garyc40. fixes #11765
git-svn-id: https://develop.svn.wordpress.org/trunk@12767 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 19:33:21 +00:00
Ryan Boren aceedd977d Introduce clean_user_cache(). fixes #11761
git-svn-id: https://develop.svn.wordpress.org/trunk@12766 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 19:23:11 +00:00
Ryan Boren 4dabd01ce6 Remove mu_dashboard(). Rely on cap checks to customize dash for multisite.
git-svn-id: https://develop.svn.wordpress.org/trunk@12765 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 18:15:53 +00:00
Ryan Boren 411594ffd8 Remove disable_some_pages(). Rely on cap checks. fixes #11770
git-svn-id: https://develop.svn.wordpress.org/trunk@12764 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 18:11:33 +00:00
Ryan Boren 59d31d8c5e Formatting cleanups
git-svn-id: https://develop.svn.wordpress.org/trunk@12760 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 17:01:39 +00:00
Ryan Boren 179e1c6d15 Formatting cleanups
git-svn-id: https://develop.svn.wordpress.org/trunk@12759 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 16:14:06 +00:00
Dion Hulse cd9ec93ec6 Fix is_multisite() typo. See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12758 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 10:59:43 +00:00
Ron Rennick cb779b4655 options network page, db variable change, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12757 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 00:18:52 +00:00
Ron Rennick ef5e6e9ad2 implement multisite schema, upgrade, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12756 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 00:04:25 +00:00
Ryan Boren ee5efb4187 Multisite and formatting cleanups. Introduce get_allowed_themes(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12755 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 23:34:36 +00:00
Ryan Boren dbb773aa8e Fix inverted logic. phpdoc update. Props nacin. fixes #11935
git-svn-id: https://develop.svn.wordpress.org/trunk@12754 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 22:34:16 +00:00
Ryan Boren f260b32d25 Use cap checks instead of multisite and super admin checks. Add some new caps. Merge cleanup. see #11644.
git-svn-id: https://develop.svn.wordpress.org/trunk@12753 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 22:21:36 +00:00
Ryan Boren e2adfc832a Coding standards, space after if
git-svn-id: https://develop.svn.wordpress.org/trunk@12752 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 20:34:48 +00:00
Dion Hulse 333b3c517c Introduce Revisioning for custom Post Types, Introduce 'supports' argument to register_post_type() to wrap add_post_type_support(), Whitespace additions to create_initial_post_types(). See #9674. Fixes #11703
git-svn-id: https://develop.svn.wordpress.org/trunk@12751 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 11:44:51 +00:00
Dion Hulse 27ef947141 Always set a goback link on upgrade page. Props filosofo. Fixes #10986
git-svn-id: https://develop.svn.wordpress.org/trunk@12744 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-17 07:38:27 +00:00
Dion Hulse a9ecf3f4be Correct the Theme update package check. Props Denis-de-Bernardy. Fixes #11908 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12743 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-17 07:04:31 +00:00
Dion Hulse 97fb7fdd8b Add extra error checking to the Plugin Browser and Plugin API function. Fixes #11640
git-svn-id: https://develop.svn.wordpress.org/trunk@12742 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-17 03:26:50 +00:00
Dion Hulse ee11169862 Fix WP_Filesystem_Direct::mkdir() when running under safe_mode on certain versions of PHP. Props remi. Fixes #10497
git-svn-id: https://develop.svn.wordpress.org/trunk@12741 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-17 02:57:59 +00:00
Peter Westwood 2406039676 Ensure that inaccessible parent menus are marked as such even if they have accessible children. See #11922.
git-svn-id: https://develop.svn.wordpress.org/trunk@12738 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-16 22:59:27 +00:00
Ryan Boren 6e875ec562 Coding style
git-svn-id: https://develop.svn.wordpress.org/trunk@12736 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 23:49:09 +00:00
Ryan Boren 8ef8b7bad5 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@12733 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 22:11:12 +00:00
Ryan Boren 42292a8c4d Cleanup wp-settings. Move functions needed at startup into load.php. Props nacin. see #11881
git-svn-id: https://develop.svn.wordpress.org/trunk@12732 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 22:03:41 +00:00
Ryan Boren 482284d02f Move current_screen setup before plugin page handling so it is defined for all cases. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12731 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 20:21:18 +00:00
Ryan Boren b74bea8a2c Merge edit-pages.php into edit.php. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12728 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 16:58:36 +00:00