Commit Graph

11488 Commits

Author SHA1 Message Date
ryan
227168b639 Remove remove_edit_plugin_link(). Rely on cap checks. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-29 19:29:31 +00:00
ryan
19c9d0bb79 Remove db error show/hide, suppress/unsuppress in ms bootstrap. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-29 19:16:07 +00:00
ryan
1de8e037c8 Integrate mu_locale() into get_locale(). see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-29 19:03:51 +00:00
ryan
4e9de8d231 Code style cleanups
git-svn-id: http://svn.automattic.com/wordpress/trunk@12899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-29 18:53:32 +00:00
ryan
7cf294e0e1 Update phpdoc to note that the default for public is false. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-29 18:26:33 +00:00
ryan
bbae1e98fd ms-sites cleanup. Add escaping. Use API instead of direct queries. Add blog status label to row title. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-29 17:36:57 +00:00
ryan
1b9caf7846 ms-settings cleanup. Props nacin. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-29 16:26:46 +00:00
dd32
34a88119f8 Use !empty() for Link searching title.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-29 08:11:20 +00:00
dd32
92835977c3 Add text to 'Add New' button in link manager. Props scribu. Fixes #12071
git-svn-id: http://svn.automattic.com/wordpress/trunk@12894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-29 07:27:11 +00:00
westi
3a5e6ea7d0 Don't both hooking in menu functions which will never get called. See #11922 props miqrogroove.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-28 20:20:18 +00:00
ryan
bdfb0460da 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: http://svn.automattic.com/wordpress/trunk@12890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-28 19:00:16 +00:00
ryan
59e57dd6af User correct var. Props nacin. fixes #12066
git-svn-id: http://svn.automattic.com/wordpress/trunk@12889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-28 17:30:50 +00:00
ryan
394eba5eb1 Clean up cache re-init code in Multisite. Props nacin. fixes #12065
git-svn-id: http://svn.automattic.com/wordpress/trunk@12888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-28 17:28:44 +00:00
ryan
6eb6fbf151 Don't hardcode post type. Props typeomedia. fixes #12067
git-svn-id: http://svn.automattic.com/wordpress/trunk@12887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-28 17:21:26 +00:00
ryan
39957f273e Add ms-default-constants.php. Props nacin. see #11881
git-svn-id: http://svn.automattic.com/wordpress/trunk@12886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-28 17:16:58 +00:00
wpmuguru
493a307cf7 rearrage multisite initialization, remove deprecated $wpmuBaseTablePrefix, props nacin, see #11881
git-svn-id: http://svn.automattic.com/wordpress/trunk@12885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-28 16:09:52 +00:00
wpmuguru
696a6815cf change wp- rewrite more specific rewrite rule, see #11994
git-svn-id: http://svn.automattic.com/wordpress/trunk@12884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-28 15:29:23 +00:00
wpmuguru
74dd287bd0 block multisite enable on localhost and ip address, see #11816
git-svn-id: http://svn.automattic.com/wordpress/trunk@12883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 22:10:41 +00:00
ryan
0b2eaf01c5 Add id arg to wp_dropdown_pages(). Props jeremyclarke. fixes #11433
git-svn-id: http://svn.automattic.com/wordpress/trunk@12882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 21:29:07 +00:00
ryan
40e61f93e5 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: http://svn.automattic.com/wordpress/trunk@12881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 19:42:23 +00:00
wpmuguru
cda3031b06 Improvements to queries in populate_network(), also gettext, props nacin, see #11816
git-svn-id: http://svn.automattic.com/wordpress/trunk@12880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 19:13:00 +00:00
ryan
65ac9b6827 Integrate wordpressmu_authenticate_siteadmin() into wp_authenticate_username_password(). see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 18:11:17 +00:00
ryan
fc204c952d Don't use deprecated functions. Props filosofo. fixes #11807
git-svn-id: http://svn.automattic.com/wordpress/trunk@12878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 17:55:39 +00:00
ryan
01b992c457 Avoid call to setup_postdata(). Use get_queried_object_id(). Props filosofo. fixes #11439
git-svn-id: http://svn.automattic.com/wordpress/trunk@12877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 17:45:49 +00:00
ryan
b99372f363 Fix attachment view link title attribute. Props chdorner. fixes #10571
git-svn-id: http://svn.automattic.com/wordpress/trunk@12876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 14:44:47 +00:00
ryan
8fbdf18a6b Respect maximum embed height. Props Viper007Bond. fixes #11980
git-svn-id: http://svn.automattic.com/wordpress/trunk@12875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 14:38:48 +00:00
ryan
012ef7a259 Set post_type for QuickPress publishing. Props nacin. fixes #12049
git-svn-id: http://svn.automattic.com/wordpress/trunk@12874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 14:36:17 +00:00
ryan
03a643de52 Fix notices when publishing with QuickPress. Props nacin, hakre. fixes #11504
git-svn-id: http://svn.automattic.com/wordpress/trunk@12873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 14:34:11 +00:00
ryan
b1a242078a Show td attributes for custon coolumns. Props camiloclc. fixes #12050
git-svn-id: http://svn.automattic.com/wordpress/trunk@12872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 14:28:03 +00:00
ryan
1b98b9c106 Move deprecated admin functions to wp-admin/includes/deprecated.php. Props nacin. fixes #12024
git-svn-id: http://svn.automattic.com/wordpress/trunk@12871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 14:10:32 +00:00
ryan
ca04c9d349 Cast length to int. Props josephscott. fixes #12046
git-svn-id: http://svn.automattic.com/wordpress/trunk@12870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 14:06:06 +00:00
ryan
19aa0c798c Don't load deprecated magpie for dashboard. Props nacin. fixes #12051
git-svn-id: http://svn.automattic.com/wordpress/trunk@12869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 14:02:16 +00:00
ryan
4d5e716f1c Mark validate_email() with _deprecated_function(). Props ShaneF. fixes #11745
git-svn-id: http://svn.automattic.com/wordpress/trunk@12868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 13:58:29 +00:00
ryan
15579ed49a Minify RTL CSS
git-svn-id: http://svn.automattic.com/wordpress/trunk@12867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 13:57:15 +00:00
ryan
c0bda375a5 RTL CSS fix. Props yoavf. fixes #12053
git-svn-id: http://svn.automattic.com/wordpress/trunk@12866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 13:50:06 +00:00
ryan
b7bde3492d Whitespace cleanup and inline docs. Props nacin. see #12027
git-svn-id: http://svn.automattic.com/wordpress/trunk@12865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 13:48:37 +00:00
wpmuguru
54d1dfeccf apply xmlrpc patch 2056 from MU 2.9.1.1, fixes #11999
git-svn-id: http://svn.automattic.com/wordpress/trunk@12864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 02:59:26 +00:00
wpmuguru
ecda3f2745 deprecate validate_email(), fixes #11745
git-svn-id: http://svn.automattic.com/wordpress/trunk@12863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 01:27:25 +00:00
wpmuguru
301dc6dbf0 allow initial site_id to be assigned by MySQL, fixes #12021
git-svn-id: http://svn.automattic.com/wordpress/trunk@12862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 00:20:10 +00:00
wpmuguru
793ba21ad1 Add beginning of string to regex in [12860], See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 23:38:23 +00:00
wpmuguru
f465b2f23e Change options-permalinks to use is_main_site(), fix /blog offset display, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 23:02:49 +00:00
ryan
699387f747 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@12859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 22:49:05 +00:00
ryan
cd57004569 Deprecate is_main_blog() for is_main_site(). see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 22:46:09 +00:00
wpmuguru
70940e965c Redirect wp-activate.php to register when not multisite, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 21:39:06 +00:00
wpmuguru
075821896d Redirect wp-signup.php to register when not multisite, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 21:22:44 +00:00
ryan
9f1aa91f37 Integrate maybe_cancel_post_by_email() into wp-mail.php. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 20:53:59 +00:00
ryan
212533c466 Remove first page and first comment filters. They're no longer needed. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 20:42:37 +00:00
ryan
ab33443daf Integrate login_spam_check() into wp_authenticate_username_password(). see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 20:25:34 +00:00
ryan
9b79d3d516 Integrate wpmu_blogger_getUsersBlogs() directly into xmlrpc.php. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 20:15:43 +00:00
ryan
e6b0d64b4e Integrate fix_upload_details() into wp_upload_dir(). see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 20:02:11 +00:00