Commit Graph

6103 Commits

Author SHA1 Message Date
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
Ron Rennick 542f2132ab merge multisite wp-admin/includes except schema, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12726 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 00:21:13 +00:00
Ron Rennick 0e3e18c7f2 change ms-blogs.php refs to ms-sites.php, remove extraneous character, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12725 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-14 19:42:55 +00:00
Ron Rennick d8da09f8f7 revert permission check in [12722], props ddebernardy, See #11894
git-svn-id: https://develop.svn.wordpress.org/trunk@12724 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-14 19:15:00 +00:00
Dion Hulse 76592af8d8 Standardise WP_Filesystem_*::put_contents() arguments to support chmod reliably across all transports. Fixes #10889
git-svn-id: https://develop.svn.wordpress.org/trunk@12723 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-14 09:23:53 +00:00
Ron Rennick c1f8977b95 merge wp-admin user, plugins, themes, upgrade , See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12722 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-14 02:02:19 +00:00
Ryan Boren 648f4516a1 RTL fix. Props yoavf. fixes #11886
git-svn-id: https://develop.svn.wordpress.org/trunk@12721 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-13 19:06:47 +00:00
Ryan Boren 31a41551ae Revert line accidentally added during merge. Props nacin. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12720 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-13 19:04:30 +00:00
Ryan Boren 105573a2f9 register_post_type(). see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12719 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-13 18:49:56 +00:00
Ryan Boren aa1f90af53 Typo fix. Props nacin. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12718 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-13 17:03:14 +00:00
Ron Rennick f0dbd19696 fix multisite logic in changeset 12712, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12716 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 22:51:41 +00:00
Peter Westwood 60d271287e Improve get_pending_comments_num() to be a little more predictable and revert the erroneous change in [12596]. See #11882.
git-svn-id: https://develop.svn.wordpress.org/trunk@12715 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 22:38:26 +00:00
Ron Rennick d0f31a991c merge multisite admin - edit links,tags,cats,options, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12712 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 21:11:52 +00:00
Ryan Boren aa053ad0cc Always use post.php for form action. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12710 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 19:03:03 +00:00
Ryan Boren 9b510ecec4 Merge page.php into post.php. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12708 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 16:50:37 +00:00
Ryan Boren 2a68d3919d Allow per_page settings for custom post type edit screens. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12707 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 15:41:10 +00:00
Ryan Boren 0e4bc929a1 Make wp_edit_posts_query() more post_type aware. Use array calling style. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12706 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 15:23:10 +00:00
Ryan Boren 13c187210d Remove file
git-svn-id: https://develop.svn.wordpress.org/trunk@12704 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 00:18:31 +00:00
Ryan Boren e26302b030 Remove file
git-svn-id: https://develop.svn.wordpress.org/trunk@12703 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 00:17:55 +00:00
Ryan Boren 4e3864bd28 Merge page-new.php into post-new.php. Start abstracting column headers and prefs. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12702 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 00:14:27 +00:00
Ryan Boren 397ae0d74b Merge edit-page-form.php into edit-form-advanced.php. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12695 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-11 21:42:45 +00:00
Ryan Boren c64564251a Show custom hierarchical taxonomies in the menus. Props dd32. see #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@12694 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-11 19:27:44 +00:00
Mark Jaquith 20c7f2963e Enable custom taxonomy UI for pages as well as for posts. fixes #11290
git-svn-id: https://develop.svn.wordpress.org/trunk@12690 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-10 18:29:37 +00:00
Ryan Boren 5656bbea87 Add post_type inputs. Fix submenu highlighting. Props dd32. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12683 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-10 01:24:56 +00:00
Ryan Boren c4c46a3070 Post type caps. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12682 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-10 01:23:14 +00:00
Ron Rennick 00664f3d77 remove hardcoded wp_ prefix, props ddebernardy, Fixes #11785
git-svn-id: https://develop.svn.wordpress.org/trunk@12681 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-09 19:19:55 +00:00
Peter Westwood 2e2ad12171 Add missing version numbers to _deprecated_argument() calls.
Remove deprecated argument from xfn_check() calls.
Pass version number to deprecated_file_included, deprecated_function_run and deprecated_argument_run actions.
Fixes #11386 props nacin.

git-svn-id: https://develop.svn.wordpress.org/trunk@12680 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-09 10:03:55 +00:00
Andrew Ozz 1ef5b387cf Fix height of input and link buttons for all latest browsers.
git-svn-id: https://develop.svn.wordpress.org/trunk@12678 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-09 08:51:24 +00:00
Andrew Ozz cb0ee5b478 Fix invalid HTML in edit-category-form.php, props nacin, fixes #11736 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12675 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-09 00:19:09 +00:00
Ron Rennick 436316a4a8 Add is_subdomain_install() to ms code - Fixes #11796
git-svn-id: https://develop.svn.wordpress.org/trunk@12674 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 21:25:01 +00:00
Ryan Boren 71bef9fe26 Convert update_themes, update_plugins, update_core, and dismissed_update_core into site transients/plugins. Remove no longer need compat code.
git-svn-id: https://develop.svn.wordpress.org/trunk@12673 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 20:49:55 +00:00
Ryan Boren b153c75949 Use is_super_admin() instead of is_site_admin(). Props GIGALinux see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12672 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 20:29:56 +00:00
Ryan Boren 6a4dae4be0 Disable sitewide plugin actions that use unfiltered GET and generate warnings pending further scrutiny. see #11767
git-svn-id: https://develop.svn.wordpress.org/trunk@12670 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 20:15:22 +00:00
Ryan Boren f121906d10 Don't break UTF-8 strings in setup-config.php. Props SergeyBiryukov fixes #11821
git-svn-id: https://develop.svn.wordpress.org/trunk@12663 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 18:40:00 +00:00
Ryan Boren 70c55846ac Pass parent to category_exists(). Props thetoine. fixes #11825
git-svn-id: https://develop.svn.wordpress.org/trunk@12662 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 17:58:13 +00:00
Peter Westwood b5a43efa73 Introduce a single function for getting all the intermediate image sizes to be used both when adding attachements and deleting. Fixes #10263 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@12659 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 08:51:12 +00:00
Peter Westwood 2a93c55f43 Switch to passing arrays instead of query strings to functions. Fixes #6647 props filosofo and hakre.
git-svn-id: https://develop.svn.wordpress.org/trunk@12657 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 08:34:39 +00:00
Andrew Ozz f3a95270ad Optimize scan for lost attachments, props johnjosephbachir, fixes #10911
git-svn-id: https://develop.svn.wordpress.org/trunk@12655 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 05:23:22 +00:00
Andrew Ozz 4b7556c1db Don't let "Crunching" overlap image name while uploading, props hakre, fixes #11447
git-svn-id: https://develop.svn.wordpress.org/trunk@12654 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 01:01:52 +00:00
Ryan Boren 7b580bf8e8 Use update and insert. Props DD32. fixes #6836
git-svn-id: https://develop.svn.wordpress.org/trunk@12652 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 20:13:54 +00:00
Ryan Boren 7e6f603296 Revert extra bits that snuck in with [12650]
git-svn-id: https://develop.svn.wordpress.org/trunk@12651 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 19:55:48 +00:00
Ryan Boren d93a81bd35 Assume current user of user ID is not passed. Props filosofo. fixes #11808
git-svn-id: https://develop.svn.wordpress.org/trunk@12650 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 19:45:57 +00:00
Ryan Boren aff9330640 User is_super_admin(). Props GIGALinux. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12646 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 15:52:22 +00:00
Peter Westwood ee63362624 Use like_escape to make safe search string for like queries.
git-svn-id: https://develop.svn.wordpress.org/trunk@12640 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 08:02:52 +00:00
Peter Westwood fc7e0f273b Search using blog_id = blog_id not blog_id = search string . Fixes #11787 props Denis-de-Bernardy.
git-svn-id: https://develop.svn.wordpress.org/trunk@12639 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 07:58:04 +00:00
Andrew Ozz 8d663551af Bring over the site admin menu icon
git-svn-id: https://develop.svn.wordpress.org/trunk@12638 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 07:55:09 +00:00
Peter Westwood 8fc78f4a06 Ensure that apage and num cannot have negative values. Fixes #11786 props Denis-de-Bernardy.
git-svn-id: https://develop.svn.wordpress.org/trunk@12637 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 07:54:15 +00:00
Peter Westwood 820991ac95 Switch from create_function to a fixed function for the plugin page activation admin notice. Fixes #11763 props dd32.
git-svn-id: https://develop.svn.wordpress.org/trunk@12636 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 07:41:13 +00:00
Ryan Boren 7196d7fbe8 Include ms.php if multisite
git-svn-id: https://develop.svn.wordpress.org/trunk@12633 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 04:33:41 +00:00
Ryan Boren 18e6d905c5 Strip trailing whites from ms files. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12632 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 04:27:46 +00:00
Ryan Boren 6a99014d81 Minifiy ms.css. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12631 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 04:23:23 +00:00
Ryan Boren e1a37a3563 Fix blogs menu item. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12629 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 03:43:54 +00:00
Ryan Boren 4c8ee2f889 Remove raquo. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12628 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 03:40:03 +00:00
Ryan Boren adca93f6c4 Cleanup titles. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12627 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 03:24:24 +00:00
Ryan Boren 9752cb8705 Queue ms.css if multisite. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12626 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 02:33:53 +00:00
Ryan Boren c62b24a2af Queue ms.css if multisite. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12625 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 02:33:23 +00:00
Ryan Boren b343c9ee06 Deprecate generate_random_password(). fixes #11746
git-svn-id: https://develop.svn.wordpress.org/trunk@12624 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 02:22:51 +00:00
Ryan Boren cf5aae053b s/wpmu/ms/ in file refs. Props Denis-de-Bernardy. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12622 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 00:30:53 +00:00
Ryan Boren 19e3842fc2 Add esc_attr to ms-users.php. see #11792
git-svn-id: https://develop.svn.wordpress.org/trunk@12621 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 00:25:02 +00:00
Ron Rennick 9b84b850c9 Change references to wpmu-edit.php - See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12620 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 00:24:03 +00:00
Ryan Boren 06d845c74c Add esc_attr to ms-options.php. see #11782
git-svn-id: https://develop.svn.wordpress.org/trunk@12619 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 00:21:19 +00:00
Ryan Boren 3054280850 Move wpmu_menu() logic into menu.php. Props Denis-de-Bernardy. fixes #11763
git-svn-id: https://develop.svn.wordpress.org/trunk@12618 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 00:17:13 +00:00
Ryan Boren 37a7d305bf Add esc_attr to ms-sites.php. see #11782
git-svn-id: https://develop.svn.wordpress.org/trunk@12617 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 00:13:35 +00:00
Ryan Boren dfe2e39c2c Deprecate argument. Never fallback to options table for user option requests. Props nacin. fixes #11615
git-svn-id: https://develop.svn.wordpress.org/trunk@12616 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 00:01:52 +00:00
Ryan Boren 3b4c235c3f Show theme installer only to super admins. Props Denis-de-Bernardy. see #11763
git-svn-id: https://develop.svn.wordpress.org/trunk@12614 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-06 23:48:46 +00:00
Ryan Boren d710ef45d0 Move some multisite menu checks directly into menu.php. see #11763
git-svn-id: https://develop.svn.wordpress.org/trunk@12613 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-06 23:41:03 +00:00
Peter Westwood 816ed91f0f Remove svn:executable property on new files. Fixes #11743 props Denis-de-Bernardy.
git-svn-id: https://develop.svn.wordpress.org/trunk@12610 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-06 22:22:45 +00:00
Ryan Boren ca3f286d96 Introduce is_multisite(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12609 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-06 20:19:35 +00:00
Ryan Boren d04182b97c Remove link-import.php. fixes #11755
git-svn-id: https://develop.svn.wordpress.org/trunk@12608 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-06 20:10:37 +00:00
Ryan Boren 9a3919e88b Remove edit-form.php again. fixes #11756
git-svn-id: https://develop.svn.wordpress.org/trunk@12607 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-06 20:09:39 +00:00
Ron Rennick 032de15d5a Add mu only (inactive) files
git-svn-id: https://develop.svn.wordpress.org/trunk@12603 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-06 04:02:57 +00:00
Ryan Boren 9ef2cb198f More custom post type support. Props scribu. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12597 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-04 16:58:43 +00:00
Peter Westwood 170b14f97d Fix a notice when replying to comments in the admin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12596 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-02 17:16:26 +00:00
Peter Westwood 5b481ca51a phpDoc for get_pending_comments_num().
git-svn-id: https://develop.svn.wordpress.org/trunk@12595 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-02 17:15:11 +00:00
Andrew Ozz 21e45219f5 Fix Press This entity encoding, props noel, fixes #11390
git-svn-id: https://develop.svn.wordpress.org/trunk@12592 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-31 04:57:54 +00:00
Andrew Ozz e5e9a6686d Add AYS popup when deleting media, fixes #11673
git-svn-id: https://develop.svn.wordpress.org/trunk@12591 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-31 02:37:56 +00:00
Ryan Boren 3d8c08b96a Use current_time() to calculate current time. Props filosofo. fixes #10915
git-svn-id: https://develop.svn.wordpress.org/trunk@12590 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-30 17:56:09 +00:00
Peter Westwood a752e6b561 Updates and improvements to _depreceated_argument. See #11386 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12584 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-30 16:23:39 +00:00
Peter Westwood 256e7e7a07 Use a more reliable method of locating wp-load.php in the admin bootstrap. Fixes #11120.
git-svn-id: https://develop.svn.wordpress.org/trunk@12583 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-30 10:15:10 +00:00
Andrew Ozz 276e9c3b09 Remove unneeded empty span and add form closing tag in media.php, props Simek and hakre, fixes #11569
git-svn-id: https://develop.svn.wordpress.org/trunk@12582 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-30 08:19:34 +00:00
Ryan Boren d04b00c481 Check PHP and MySQL versions in install.php. see #11666
git-svn-id: https://develop.svn.wordpress.org/trunk@12577 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-29 22:07:35 +00:00
Ryan Boren 67f6edc8fa Check PHP and MySQL versions in upgrade.php. see #11666
git-svn-id: https://develop.svn.wordpress.org/trunk@12575 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-29 21:56:48 +00:00
Ryan Boren 5459a227a8 Remove extraneous br. Props nacin. fixes #11582 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12569 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-29 15:36:16 +00:00
Andrew Ozz 87167083cf Fix alignment of checkbox in table.widefat, fixes #11610
git-svn-id: https://develop.svn.wordpress.org/trunk@12567 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-29 13:16:16 +00:00
Ryan Boren 48d6975ae7 Cleanup after bailing when php or mysql versions are not compat. Props nacin. fixes #11638 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12564 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-28 17:19:04 +00:00
Ryan Boren 0a1c83449c Better duplicate option delete query. Props miqrogroove. fixes #11649 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12560 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-28 16:25:56 +00:00
Andrew Ozz 39665b05c3 Show disabled image rotation buttons when imagerotate() is missing, props husky and hakre, fixes #11536
git-svn-id: https://develop.svn.wordpress.org/trunk@12555 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-27 21:24:39 +00:00
Andrew Ozz a464644c00 Move wp-admin.css and rtl.css to the wp-admin/css directory, rename rtl.css to wp-admin-rtl.css to follow naming standard, fixes #10985
git-svn-id: https://develop.svn.wordpress.org/trunk@12553 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-27 20:06:57 +00:00
Andrew Ozz a538de3f8c CSS whitespace and color definitions cleanup, props Simek, fixes #11561
git-svn-id: https://develop.svn.wordpress.org/trunk@12552 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-27 18:17:06 +00:00
Peter Westwood 0f8b3225ed Remove unused global posts_per_page. Fixes #11458 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12551 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-27 09:01:53 +00:00
Peter Westwood b374e062c7 Swap out ;; for ; in js too. See #11618.
No need for a new non .dev. version as YUI stripped them anyway.

git-svn-id: https://develop.svn.wordpress.org/trunk@12549 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-26 17:10:37 +00:00
Peter Westwood 688e340821 Swap out ;; for ;. Fixes #11618 props demetris and nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12548 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-26 16:53:17 +00:00
Peter Westwood 4460ad8e7b phpDoc for wp_reset_vars().
git-svn-id: https://develop.svn.wordpress.org/trunk@12547 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-26 16:48:24 +00:00
Andrew Ozz 060d9185e6 Remove unused .fade CSS class, props nacin, fixes #11628
git-svn-id: https://develop.svn.wordpress.org/trunk@12546 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-26 09:00:58 +00:00
Andrew Ozz c3f5b583bc Replace ctype_digit() with is_numeric() for better compatibility, props markup, fixes #11620 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12544 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-26 08:47:47 +00:00
Matt Mullenweg d94f8b9331 More cleanup of the edit media screen:
* Simplified table to not need rowspan, and other markup where possible.
* Put more elements in a paragraph tag for better spacing.
* Brought edit image buton under the image.
* Everything is now in line with WordPress Coding Standards, particularly with regards to spacing and attribute quotes.
* Minor styling for better alignment.

TODO: We show the file URL here, but for images we should show the URL to each size, with its dimensions.



git-svn-id: https://develop.svn.wordpress.org/trunk@12543 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-25 23:04:48 +00:00
Matt Mullenweg 8fa4b51cb6 Media editing: When you have many custom taxonomies this page can get rather long, or just normally, so adding a "save" button to the top as well, for easy access.
There was no place on this page that actually linked to the item being edited, so I hyperinked the thumbnail.


git-svn-id: https://develop.svn.wordpress.org/trunk@12542 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-25 22:22:21 +00:00
Matt Mullenweg 91bc0d5d3c Some style tweaks to theme editor, fixes #11563. Hat tip: Simek.
I adjusted the padding to be a little heavier and then have a negative margin, so the text stays aligned and the highlight floats around it. As an added tweak I removed the extraneous "Theme Files" heading which didn't really convey any useful information.

"Perfection is achieved perfection not when there is nothing left to add, but when there is nothing left to take away" -- Antoine de Saint-Exupery (and Merry Christmas everybody. :))

git-svn-id: https://develop.svn.wordpress.org/trunk@12541 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-25 03:16:25 +00:00
Matt Mullenweg 8cfe7f8e85 Change to comments UI to show when a comment is replying to another, and link to the parent comment, so you can understand the context of a given comment when moderating from the dashboard.
Long term, I feel like front-end moderation could be really handy if we can make it as AJAXy.

git-svn-id: https://develop.svn.wordpress.org/trunk@12540 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-25 02:46:40 +00:00
Peter Westwood b799f4886e Consitent use of … Fixes #10374 props demetris.
git-svn-id: https://develop.svn.wordpress.org/trunk@12533 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-24 09:46:57 +00:00
Peter Westwood 4bad636a1a Round the corners of the Update nag message. Fixes #10431 props Simek.
git-svn-id: https://develop.svn.wordpress.org/trunk@12530 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-24 08:08:13 +00:00