Commit Graph

5889 Commits

Author SHA1 Message Date
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