Commit Graph

11697 Commits

Author SHA1 Message Date
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 1f8632249d Remove db error show/hide, suppress/unsuppress in ms bootstrap. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12901 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-29 19:16:07 +00:00
Ryan Boren 954968abef Integrate mu_locale() into get_locale(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12900 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-29 19:03:51 +00:00
Ryan Boren c180f69c52 Code style cleanups
git-svn-id: https://develop.svn.wordpress.org/trunk@12899 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-29 18:53:32 +00:00
Ryan Boren 858e02d0d4 Update phpdoc to note that the default for public is false. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12898 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-29 18:26:33 +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
Ryan Boren bdbf075914 ms-settings cleanup. Props nacin. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12896 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-29 16:26:46 +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 22e8867c67 User correct var. Props nacin. fixes #12066
git-svn-id: https://develop.svn.wordpress.org/trunk@12889 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-28 17:30:50 +00:00
Ryan Boren 88024e6674 Clean up cache re-init code in Multisite. Props nacin. fixes #12065
git-svn-id: https://develop.svn.wordpress.org/trunk@12888 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-28 17:28:44 +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
Ryan Boren 3dac74e345 Add ms-default-constants.php. Props nacin. see #11881
git-svn-id: https://develop.svn.wordpress.org/trunk@12886 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-28 17:16:58 +00:00
Ron Rennick 014f5da245 rearrage multisite initialization, remove deprecated $wpmuBaseTablePrefix, props nacin, see #11881
git-svn-id: https://develop.svn.wordpress.org/trunk@12885 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-28 16:09:52 +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
Ryan Boren 0d41ebae21 Add id arg to wp_dropdown_pages(). Props jeremyclarke. fixes #11433
git-svn-id: https://develop.svn.wordpress.org/trunk@12882 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 21:29:07 +00:00
Ryan Boren 61dcf802c7 Change back to an option so that it is always there and regenerate it after cleaning the cache instead of waiting for the next page load. Don't clean taxonomy wide caches when just updating object counts to avoid cleaning when updating a post.
git-svn-id: https://develop.svn.wordpress.org/trunk@12881 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 19:42:23 +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 78f16856c6 Integrate wordpressmu_authenticate_siteadmin() into wp_authenticate_username_password(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12879 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 18:11:17 +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 fd48be5b71 Avoid call to setup_postdata(). Use get_queried_object_id(). Props filosofo. fixes #11439
git-svn-id: https://develop.svn.wordpress.org/trunk@12877 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 17:45:49 +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 9d44dc664c Respect maximum embed height. Props Viper007Bond. fixes #11980
git-svn-id: https://develop.svn.wordpress.org/trunk@12875 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 14:38:48 +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 1709895c3a Cast length to int. Props josephscott. fixes #12046
git-svn-id: https://develop.svn.wordpress.org/trunk@12870 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 14:06:06 +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 2525f1169b Mark validate_email() with _deprecated_function(). Props ShaneF. fixes #11745
git-svn-id: https://develop.svn.wordpress.org/trunk@12868 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 13:58:29 +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 27ae64ead2 apply xmlrpc patch 2056 from MU 2.9.1.1, fixes #11999
git-svn-id: https://develop.svn.wordpress.org/trunk@12864 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 02:59:26 +00:00
Ron Rennick b0b57be325 deprecate validate_email(), fixes #11745
git-svn-id: https://develop.svn.wordpress.org/trunk@12863 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 01:27:25 +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