dd32
95fcd6b7ee
Remove redundant Category forms/code/ajax. See #11838
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 11:01:07 +00:00
dd32
fc39e39397
Migrate Category Edit UI hooks, Standardise on custom-taxonomies hooks, add custom-fields for taxonomies UI hooks. See #11838 , Fixes #11191
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 10:51:58 +00:00
wpmuguru
059e60a37c
add closing table cell tag to dashboard right now, props Simek, fixes #12121
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-03 23:06:27 +00:00
markjaquith
32d18323de
Use $required_php_version. Props nacin. fixes #11637
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-03 21:38:09 +00:00
ryan
d45311c9fb
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: http://svn.automattic.com/wordpress/trunk@12937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-03 18:54:42 +00:00
wpmuguru
d1069acd38
improvements to custom content dir support, props nacin, see #11742
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-03 18:19:56 +00:00
ryan
a62e167391
Use API to retrieve user. fixes #11776
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-03 17:37:15 +00:00
ryan
559888b3ac
Use Network and Site for labels. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-03 17:23:29 +00:00
wpmuguru
3ff2ace58a
fix potential global terms inconsistency, props rboren, see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-03 01:00:57 +00:00
ryan
e215f4b963
Give network level upgrades separate API that is run when upgrading the main blog. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-02 21:53:26 +00:00
ryan
1592ca9ff2
Cleanup network plugin loading. Props nacin. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-02 21:41:17 +00:00
ryan
7a4d409064
Move functions to ms-deprecated.php
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-02 18:05:01 +00:00
ryan
8caab555bd
Integrate update_profile_email() into user-edit.php. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-02 18:00:45 +00:00
ryan
5922f7e2c4
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: http://svn.automattic.com/wordpress/trunk@12927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-02 17:37:03 +00:00
wpmuguru
998704b8d7
pass #2 change uploaded media rewrite rule, props nacin, see #11742
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-02 16:32:19 +00:00
wpmuguru
cfbffea85e
minor fixes to populate_options(), UI tweaks, see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-01 20:01:14 +00:00
wpmuguru
c26805d326
minor fixes/improvements to populate_network(), see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-01 18:01:23 +00:00
ryan
1425f78663
options-reading.php cleanup. Props nacin. fixes #12058
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-01 16:42:19 +00:00
dd32
94af70dea8
Revert [12908]. Update Users cap to use a capability. See #12098 . Props nacin
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-01 08:12:56 +00:00
westi
1d30c846c6
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: http://svn.automattic.com/wordpress/trunk@12914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-31 17:36:00 +00:00
westi
398a8ca6ac
Fix add_pages_page to use the correct parent menu. Fixes #12100 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-31 17:16:00 +00:00
dd32
237fac7bd6
Fix PHP Notices: Use checked() template function & initialise variables. s/WP/WordPress/ & some code formatting. See #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-31 12:23:50 +00:00
dd32
1dd9728029
set svn:eol-style native on new files
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-31 11:55:39 +00:00
dd32
b326637c82
Bring Server Name field into style lines with rest of page. See #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-31 11:47:53 +00:00
dd32
6b5cba1de8
Hide Users -> Add New on MultiSite unless admin has enabled access to the page. See #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-31 11:39:34 +00:00
dd32
72a4e7a350
Remove duplicate current_user_can() check.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-31 11:36:58 +00:00
dd32
a950dbf3f6
Check for existence of the query var before switch(). Fixes a notice on Multisite users page.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-31 11:11:45 +00:00
ryan
1bfbe0dde2
Move 'My Blogs' into its own file. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-29 23:21:33 +00:00
ryan
0f2060ef5d
Move 'My Blogs' into its own file. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-29 23:21:01 +00:00
ryan
363da801f5
Integrate sitewide plugin handling into activate_plugins(), deactivate_plugins(), and plugins.php. fixes #11767 see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-29 21:45:32 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
5d2365a499
Remove fix_actve_plugins(). Props hakre. fixes #11750
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 18:39:12 +00:00
ryan
ef301b7489
unset temp vars so they don't pollute the global namespace. Formatting cleanups
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 18:16:53 +00:00
ryan
055f3db3a3
unset temp vars in menu.php so they don't pollute the global namespace.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 18:09:45 +00:00
ryan
943f69cb1f
Unset menu_perms once we're done with it. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 17:55:51 +00:00
ryan
7991402038
Fix warning. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 17:54:45 +00:00
ryan
389093009f
Move update_signup_email_from_profile() logic into user-edit.php. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 17:51:50 +00:00
ryan
416b218ef1
Remove profile_page_email_warning_ob_start() and profile_page_email_warning_ob_content(). fixes #11759
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 17:34:36 +00:00
wpmuguru
e8ada723f0
Change link from wpmu-themes.php to ms-themes.php, Fixes #12034
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 15:27:35 +00:00
dd32
bebd9a060a
Display correct Taxonomy heading. See #11838
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 12:13:24 +00:00
dd32
32adec13a9
First scratch at Taxonomy Capabilities. See #12035
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 11:32:04 +00:00
dd32
01f0afcd21
First scratch at Bulk plugin upgrade from Plugins page. Props nacin for cleanups. See #11542
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 06:53:47 +00:00
markjaquith
927472de19
Better wp_reset_vars() behavior when var is already set. props scribu. fixes #11974
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 06:06:14 +00:00
wpmuguru
6690680e9c
Move network screen to the tools menu, See #12027
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-25 23:07:49 +00:00
ryan
8c256e5560
add a cap check at the top of ms-delete-site.php. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-25 22:50:36 +00:00
ryan
9fc2bef3d1
Move blog deletion to ms-delete-site.php. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-25 22:46:41 +00:00
ryan
63f9a62af6
phpdoc and cleanup. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-25 22:01:43 +00:00
ryan
9469c9f02a
Deprecate mu_options. Integrate directly into options.php. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-25 21:33:49 +00:00
ryan
f3939dd8fd
Add wp-admin/includes/ms-deprecated.php. Deprecate wpmu_checkAvailableSpace. Introduce is_upload_space_available(). see #11762
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-25 19:46:24 +00:00
ryan
a7c1b164f6
Deprecate wp_shrink_dimension(), add wp-admin/includes/deprecated.php. Props filosofo. fixes #11967
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-25 18:50:01 +00:00
markjaquith
bc62f53df4
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: http://svn.automattic.com/wordpress/trunk@12820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-24 20:50:50 +00:00
markjaquith
639078ecf0
Include the post type, or else clicking All from pages will give you "all POSTS"
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-24 20:33:45 +00:00
dd32
34cc6ab57e
Merge Categories/Hierarchical taxonomies into edit-tags.php. See #11838
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-24 11:00:27 +00:00
dd32
5d46993b15
Fix Tag paging number whilst searching. Fixes #11989
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-24 02:07:13 +00:00
ryan
bcf5e12b82
gettext for options-network. Props nacin. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-23 19:06:15 +00:00
ryan
06f947e804
Fix taxonomy check so categories show in post quick edit. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-23 18:27:26 +00:00
ryan
4ba525986a
Update new page link. fixes #11958
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-23 17:59:06 +00:00
wpmuguru
bb8c644797
Fix table prefix on upgrade for 3.0 main site, Fixes #11970
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-23 00:33:10 +00:00
ryan
3609f388f5
Introduce update_blog_details(). Add some phpdoc. Fix some warnings. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 23:35:59 +00:00
ryan
5cfb383abe
Fix warnings. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 22:38:43 +00:00
ryan
f221b0cfdc
Remove raquo. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 22:34:54 +00:00
ryan
4f04aad2db
Remove raquo. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 22:30:52 +00:00
ryan
902bfdba21
Fix warnings. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 22:28:48 +00:00
ryan
4b6278340c
Fix warnings. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 22:27:26 +00:00
ryan
96b459d0b4
Fix warnings
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 22:14:22 +00:00
ryan
56fc7d5471
Set proper class so quick edit works. Props nacin. fixes #11977
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 21:46:35 +00:00
ryan
b1b44019ff
Create metaboxes for hierarchical taxonomies. Props prettyboymp. fixes #10122
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 19:30:05 +00:00
ryan
a731cbed8e
Introduce set_current_screen(). Set current screen for inline edit ajax requests so post rows can be properly displayed. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 18:27:54 +00:00
ryan
92bf8d124c
Introduce WP_User::for_blog() and current_user_can_for_blog() to avoid calls to WP_User::_init_caps(). fixes #11781
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 17:27:28 +00:00
dd32
4e5292e08f
Optimised unzip_file(), reduces is_dir() IO calls. See #10779
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 11:02:09 +00:00
ryan
94859834fc
i18n fixes. Props nbachiyski. fixes #11954
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 21:37:43 +00:00
ryan
9559d58e67
Typo fix. Props nacin. fixes #11715
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 20:31:21 +00:00
wpmuguru
2f3f5b351f
allow www installs to enable multisite, see #11945
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 17:20:23 +00:00
wpmuguru
3c70028227
add real parent file for wpmu-admin.php, fixes #11961
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 16:03:29 +00:00
ryan
5ebbe4bad2
Sanitize translation of default post slug. Props nbachiyski. fixes #11952
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 07:19:23 +00:00
ryan
decf135295
Update trash and right now links for pages. fixes #11958
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 06:53:33 +00:00
ryan
74a86506f6
Clear some warnings. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 23:01:09 +00:00
ryan
4ef834c4b1
Screen icons for site admin pages. Using temp icon until new ones are done. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 22:35:21 +00:00
ryan
f05930b979
Print footer instead of dying immediately. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 22:11:02 +00:00
ryan
6b0f3a88d5
Start adding gettext to options-network. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 22:08:50 +00:00
ryan
c679e65c9c
Add email and login dupe checking down into wp_insert_user(). Tidy up user-new.php. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 21:58:13 +00:00
wpmuguru
0d6a380bd2
make server address in network settings a label, See #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 20:42:20 +00:00
ryan
af9c401d97
Deprecate wp_install_blog_defaults(). Use wp_install_defaults() instead. fixes #11747 see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 20:09:41 +00:00
wpmuguru
629dcd1861
set default empty message, See #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 18:25:08 +00:00
ryan
9aa40449a9
Use update. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 16:50:09 +00:00
wpmuguru
515d1354da
sync single and multisite cookie hash, remove extraneous code, See #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 01:14:05 +00:00
ryan
aac0a1230a
Use API to set the user's role. see #11781
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 20:12:04 +00:00
wpmuguru
5c5be8cd43
add multisite theme admin, See #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 20:03:11 +00:00
ryan
89c4e9f15d
Use SimplePie in admin_notice_feed(). Props garyc40. fixes #11765
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 19:33:21 +00:00
ryan
57c4b79b91
Introduce clean_user_cache(). fixes #11761
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 19:23:11 +00:00
ryan
7f699e5857
Remove mu_dashboard(). Rely on cap checks to customize dash for multisite.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 18:15:53 +00:00
ryan
9746d095d5
Remove disable_some_pages(). Rely on cap checks. fixes #11770
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 18:11:33 +00:00
ryan
a06a4c6b70
Formatting cleanups
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 17:01:39 +00:00
ryan
a7e588ae16
Formatting cleanups
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 16:14:06 +00:00
dd32
92b9b61c78
Fix is_multisite() typo. See #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 10:59:43 +00:00
wpmuguru
fe7b362bd1
options network page, db variable change, See #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 00:18:52 +00:00
wpmuguru
fca602d414
implement multisite schema, upgrade, See #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 00:04:25 +00:00
ryan
e52de33dc2
Multisite and formatting cleanups. Introduce get_allowed_themes(). see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 23:34:36 +00:00
ryan
d0e599c50b
Fix inverted logic. phpdoc update. Props nacin. fixes #11935
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 22:34:16 +00:00
ryan
f7d7bc2dd0
Use cap checks instead of multisite and super admin checks. Add some new caps. Merge cleanup. see #11644 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 22:21:36 +00:00
ryan
8760e7da1b
Coding standards, space after if
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 20:34:48 +00:00
dd32
7f34057330
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: http://svn.automattic.com/wordpress/trunk@12751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 11:44:51 +00:00
dd32
32ac56eaa8
Always set a goback link on upgrade page. Props filosofo. Fixes #10986
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-17 07:38:27 +00:00
dd32
97c8150bbd
Correct the Theme update package check. Props Denis-de-Bernardy. Fixes #11908 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-17 07:04:31 +00:00
dd32
72ffe9d28b
Add extra error checking to the Plugin Browser and Plugin API function. Fixes #11640
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-17 03:26:50 +00:00
dd32
fc2c5fd21b
Fix WP_Filesystem_Direct::mkdir() when running under safe_mode on certain versions of PHP. Props remi. Fixes #10497
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-17 02:57:59 +00:00
westi
795ce48b83
Ensure that inaccessible parent menus are marked as such even if they have accessible children. See #11922 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-16 22:59:27 +00:00
ryan
c2873bbab3
Coding style
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 23:49:09 +00:00
ryan
6da55f7792
Trailing whitespace cleanup
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 22:11:12 +00:00
ryan
439d50d655
Cleanup wp-settings. Move functions needed at startup into load.php. Props nacin. see #11881
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 22:03:41 +00:00
ryan
e7bfd5f2dd
Move current_screen setup before plugin page handling so it is defined for all cases. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 20:21:18 +00:00
ryan
05bf7382ff
Merge edit-pages.php into edit.php. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 16:58:36 +00:00
wpmuguru
2653342f43
merge multisite wp-admin/includes except schema, See #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 00:21:13 +00:00
wpmuguru
04803e826d
change ms-blogs.php refs to ms-sites.php, remove extraneous character, See #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-14 19:42:55 +00:00
wpmuguru
e5b11f300a
revert permission check in [12722], props ddebernardy, See #11894
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-14 19:15:00 +00:00
dd32
41e561b941
Standardise WP_Filesystem_*::put_contents() arguments to support chmod reliably across all transports. Fixes #10889
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-14 09:23:53 +00:00
wpmuguru
9d2762f279
merge wp-admin user, plugins, themes, upgrade , See #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-14 02:02:19 +00:00
ryan
ee1488ea60
RTL fix. Props yoavf. fixes #11886
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-13 19:06:47 +00:00
ryan
0fbb0fd093
Revert line accidentally added during merge. Props nacin. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-13 19:04:30 +00:00
ryan
c6737c2f02
register_post_type(). see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-13 18:49:56 +00:00
ryan
b323e4b9e6
Typo fix. Props nacin. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-13 17:03:14 +00:00
wpmuguru
68eb3f5632
fix multisite logic in changeset 12712, See #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 22:51:41 +00:00
westi
2fabcf53fe
Improve get_pending_comments_num() to be a little more predictable and revert the erroneous change in [12596]. See #11882 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 22:38:26 +00:00
wpmuguru
346f859e12
merge multisite admin - edit links,tags,cats,options, See #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 21:11:52 +00:00
ryan
6ce726545b
Always use post.php for form action. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 19:03:03 +00:00
ryan
c616e65733
Merge page.php into post.php. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 16:50:37 +00:00
ryan
8e9f48b472
Allow per_page settings for custom post type edit screens. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 15:41:10 +00:00
ryan
252e24395f
Make wp_edit_posts_query() more post_type aware. Use array calling style. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 15:23:10 +00:00
ryan
a9ff034bf4
Remove file
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 00:18:31 +00:00
ryan
66fce24ad1
Remove file
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 00:17:55 +00:00
ryan
5316b4fc2d
Merge page-new.php into post-new.php. Start abstracting column headers and prefs. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 00:14:27 +00:00
ryan
ad30e86462
Merge edit-page-form.php into edit-form-advanced.php. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-11 21:42:45 +00:00
ryan
58d3776667
Show custom hierarchical taxonomies in the menus. Props dd32. see #11838
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-11 19:27:44 +00:00
markjaquith
9ad08bb69f
Enable custom taxonomy UI for pages as well as for posts. fixes #11290
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-10 18:29:37 +00:00
ryan
2ff7f83b99
Add post_type inputs. Fix submenu highlighting. Props dd32. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-10 01:24:56 +00:00
ryan
25e152a58b
Post type caps. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-10 01:23:14 +00:00
wpmuguru
0ec6df5f61
remove hardcoded wp_ prefix, props ddebernardy, Fixes #11785
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-09 19:19:55 +00:00
westi
bf4a5241e1
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: http://svn.automattic.com/wordpress/trunk@12680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-09 10:03:55 +00:00
azaozz
9a58ea0649
Fix height of input and link buttons for all latest browsers.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-09 08:51:24 +00:00
azaozz
70c195833c
Fix invalid HTML in edit-category-form.php, props nacin, fixes #11736 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-09 00:19:09 +00:00
wpmuguru
4b8c87da92
Add is_subdomain_install() to ms code - Fixes #11796
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 21:25:01 +00:00
ryan
166435891c
Convert update_themes, update_plugins, update_core, and dismissed_update_core into site transients/plugins. Remove no longer need compat code.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 20:49:55 +00:00
ryan
dea7019303
Use is_super_admin() instead of is_site_admin(). Props GIGALinux see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 20:29:56 +00:00
ryan
0c95b3b457
Disable sitewide plugin actions that use unfiltered GET and generate warnings pending further scrutiny. see #11767
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 20:15:22 +00:00
ryan
28677c6b00
Don't break UTF-8 strings in setup-config.php. Props SergeyBiryukov fixes #11821
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 18:40:00 +00:00
ryan
26ade42134
Pass parent to category_exists(). Props thetoine. fixes #11825
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 17:58:13 +00:00
westi
cc30f8ad98
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: http://svn.automattic.com/wordpress/trunk@12659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 08:51:12 +00:00
westi
f05ee1844f
Switch to passing arrays instead of query strings to functions. Fixes #6647 props filosofo and hakre.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 08:34:39 +00:00
azaozz
eb130cc23e
Optimize scan for lost attachments, props johnjosephbachir, fixes #10911
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 05:23:22 +00:00
azaozz
9532a2a4bb
Don't let "Crunching" overlap image name while uploading, props hakre, fixes #11447
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 01:01:52 +00:00
ryan
0d31c12db6
Use update and insert. Props DD32. fixes #6836
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 20:13:54 +00:00
ryan
083064e628
Revert extra bits that snuck in with [12650]
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 19:55:48 +00:00
ryan
8c875db5b4
Assume current user of user ID is not passed. Props filosofo. fixes #11808
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 19:45:57 +00:00
ryan
4c92a634a3
User is_super_admin(). Props GIGALinux. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 15:52:22 +00:00
westi
a3e49fff6e
Use like_escape to make safe search string for like queries.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 08:02:52 +00:00
westi
f1e8a2107a
Search using blog_id = blog_id not blog_id = search string . Fixes #11787 props Denis-de-Bernardy.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 07:58:04 +00:00
azaozz
d4a604aaad
Bring over the site admin menu icon
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 07:55:09 +00:00
westi
d759368680
Ensure that apage and num cannot have negative values. Fixes #11786 props Denis-de-Bernardy.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 07:54:15 +00:00
westi
197cdd2bbb
Switch from create_function to a fixed function for the plugin page activation admin notice. Fixes #11763 props dd32.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 07:41:13 +00:00
ryan
04c6f96f3f
Include ms.php if multisite
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 04:33:41 +00:00
ryan
adf017f6b9
Strip trailing whites from ms files. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 04:27:46 +00:00
ryan
7725ad61f6
Minifiy ms.css. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 04:23:23 +00:00
ryan
61d66570c8
Fix blogs menu item. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 03:43:54 +00:00
ryan
49cda5fdb6
Remove raquo. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 03:40:03 +00:00
ryan
92257b49ec
Cleanup titles. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 03:24:24 +00:00
ryan
2e2c820d20
Queue ms.css if multisite. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 02:33:53 +00:00
ryan
9b721a32c6
Queue ms.css if multisite. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 02:33:23 +00:00
ryan
ce33a91f95
Deprecate generate_random_password(). fixes #11746
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 02:22:51 +00:00
ryan
fd475d2b38
s/wpmu/ms/ in file refs. Props Denis-de-Bernardy. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 00:30:53 +00:00
ryan
b13380665b
Add esc_attr to ms-users.php. see #11792
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 00:25:02 +00:00
wpmuguru
8ab77e04e7
Change references to wpmu-edit.php - See #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 00:24:03 +00:00
ryan
eb8636f479
Add esc_attr to ms-options.php. see #11782
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 00:21:19 +00:00
ryan
dbe9b17271
Move wpmu_menu() logic into menu.php. Props Denis-de-Bernardy. fixes #11763
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 00:17:13 +00:00
ryan
e0de5aa0a0
Add esc_attr to ms-sites.php. see #11782
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 00:13:35 +00:00
ryan
45ec04e3e9
Deprecate argument. Never fallback to options table for user option requests. Props nacin. fixes #11615
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 00:01:52 +00:00
ryan
dafffcae58
Show theme installer only to super admins. Props Denis-de-Bernardy. see #11763
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-06 23:48:46 +00:00
ryan
fc23a88df8
Move some multisite menu checks directly into menu.php. see #11763
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-06 23:41:03 +00:00
westi
53d810f260
Remove svn:executable property on new files. Fixes #11743 props Denis-de-Bernardy.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-06 22:22:45 +00:00
ryan
f5e12260d4
Introduce is_multisite(). see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-06 20:19:35 +00:00
ryan
5fb2415de1
Remove link-import.php. fixes #11755
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-06 20:10:37 +00:00
ryan
58148f6718
Remove edit-form.php again. fixes #11756
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-06 20:09:39 +00:00
wpmuguru
d07d6c5717
Add mu only (inactive) files
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-06 04:02:57 +00:00
ryan
da89de4958
More custom post type support. Props scribu. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-04 16:58:43 +00:00
westi
e51341dc1d
Fix a notice when replying to comments in the admin.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-02 17:16:26 +00:00
westi
99709adb4e
phpDoc for get_pending_comments_num().
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-02 17:15:11 +00:00
azaozz
84f90c704a
Fix Press This entity encoding, props noel, fixes #11390
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-31 04:57:54 +00:00
azaozz
8368df8c17
Add AYS popup when deleting media, fixes #11673
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-31 02:37:56 +00:00
ryan
d375ef7d54
Use current_time() to calculate current time. Props filosofo. fixes #10915
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-30 17:56:09 +00:00
westi
ff7831207c
Updates and improvements to _depreceated_argument. See #11386 props nacin.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-30 16:23:39 +00:00
westi
7d2e5130f6
Use a more reliable method of locating wp-load.php in the admin bootstrap. Fixes #11120 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-30 10:15:10 +00:00
azaozz
3f3846e2fc
Remove unneeded empty span and add form closing tag in media.php, props Simek and hakre, fixes #11569
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-30 08:19:34 +00:00
ryan
459326c932
Check PHP and MySQL versions in install.php. see #11666
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-29 22:07:35 +00:00
ryan
713940a056
Check PHP and MySQL versions in upgrade.php. see #11666
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-29 21:56:48 +00:00
ryan
880ce66f34
Remove extraneous br. Props nacin. fixes #11582 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-29 15:36:16 +00:00
azaozz
c34d5345a1
Fix alignment of checkbox in table.widefat, fixes #11610
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-29 13:16:16 +00:00
ryan
19168c8238
Cleanup after bailing when php or mysql versions are not compat. Props nacin. fixes #11638 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-28 17:19:04 +00:00
ryan
2819ce72d4
Better duplicate option delete query. Props miqrogroove. fixes #11649 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-28 16:25:56 +00:00
azaozz
a6c8080b61
Show disabled image rotation buttons when imagerotate() is missing, props husky and hakre, fixes #11536
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-27 21:24:39 +00:00
azaozz
1ddbdf2a2e
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: http://svn.automattic.com/wordpress/trunk@12553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-27 20:06:57 +00:00
azaozz
e88cf62434
CSS whitespace and color definitions cleanup, props Simek, fixes #11561
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-27 18:17:06 +00:00
westi
5dca5f2d31
Remove unused global posts_per_page. Fixes #11458 props nacin.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-27 09:01:53 +00:00
westi
95b7f66b45
Swap out ;; for ; in js too. See #11618 .
...
No need for a new non .dev. version as YUI stripped them anyway.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-26 17:10:37 +00:00
westi
17c7533b72
Swap out ;; for ;. Fixes #11618 props demetris and nacin.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-26 16:53:17 +00:00
westi
f419654041
phpDoc for wp_reset_vars().
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-26 16:48:24 +00:00
azaozz
4134133d53
Remove unused .fade CSS class, props nacin, fixes #11628
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-26 09:00:58 +00:00
azaozz
b3871f9247
Replace ctype_digit() with is_numeric() for better compatibility, props markup, fixes #11620 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-26 08:47:47 +00:00
matt
1e15d7c64a
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: http://svn.automattic.com/wordpress/trunk@12543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-25 23:04:48 +00:00
matt
6f824a6b3e
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: http://svn.automattic.com/wordpress/trunk@12542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-25 22:22:21 +00:00
matt
4a91f16421
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: http://svn.automattic.com/wordpress/trunk@12541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-25 03:16:25 +00:00
matt
5fb288d031
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: http://svn.automattic.com/wordpress/trunk@12540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-25 02:46:40 +00:00
westi
9ca731eee2
Consitent use of … Fixes #10374 props demetris.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-24 09:46:57 +00:00
westi
9ffd65beb7
Round the corners of the Update nag message. Fixes #10431 props Simek.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-24 08:08:13 +00:00
ryan
9b6bd6bf87
Retunr WP_Error from wp_crop_image() and image_resize(). Props mdwaffe. fixes #9922
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 18:39:31 +00:00
ryan
810bf31f83
Check required php and mysql versions in the update response and notify if the server environment does not meet those requirements. fixes #11562
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 18:35:12 +00:00
ryan
b9dfd1fb4a
Check upload_tmp_dir ini settings for a usable temporary path. Props Denis-de-Bernardy. fixes #6699
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 16:22:26 +00:00
ryan
cedfa0181b
Use array calling style. Props Denis-de-Bernardy. see #6647
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 15:31:02 +00:00
ryan
354607036c
Remove unneeded quotes around vars. Props johnbillion. fixes #10245
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 15:16:53 +00:00
ryan
95835a693a
Do not use deprecated Etc timezones. Props miqrogroove. fixes #11558 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 14:16:36 +00:00
westi
10a5ba6622
Wrap the content of <wp:meta_value></wp:meta_value> in CDATA for WXR exports. Fixes #9633 props hakre.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 13:03:34 +00:00
westi
7ec819d925
Improve the revision comparison user interface to hilight that we compare "old on left" to "new on right". Includes some js to hide the radio buttons to stop you selecting reverse comparisions.
...
Fixes #11088 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 09:15:13 +00:00
ryan
8837d88bfe
Validation fix. Props Simek. fixes #11560 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-22 17:15:54 +00:00
westi
fb04390c01
Use maybe_unserialized on all post_meta values on import to ensure we don't end up with double serialized data in the database. Fixes #10619 props znarfor.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-22 17:05:49 +00:00
ryan
a858edf405
Add escaping to _wp_comment_row(). Props Denis-de-Bernardy. fixes #11492 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-22 17:00:54 +00:00
ryan
4bbaabff55
Increase download_url() timeout to 5 minutes. fixes #11551 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-22 16:42:30 +00:00
westi
1a097b6479
Updated phpDoc for wp-admin/includes/post.php . Fixes #11198 based on a patch from Simek.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-22 12:25:15 +00:00