Commit Graph

1935 Commits

Author SHA1 Message Date
Andrew Nacin 41ed843027 Be back compat with the contextual_help filter.
git-svn-id: https://develop.svn.wordpress.org/trunk@14091 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-15 16:09:56 +00:00
Ryan Boren 977731745c Map 'index' to 'dashboard' for current screen. Fixes contextual help for the dashboard.
git-svn-id: https://develop.svn.wordpress.org/trunk@14089 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-14 21:55:09 +00:00
Ryan Boren c7eef601d4 Use WP_FALLBACK_THEME instead of default. Props MichaelH. see #12846
git-svn-id: https://develop.svn.wordpress.org/trunk@14080 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-13 21:56:57 +00:00
Dion Hulse 5c178eeef7 Prevent the Slug metabox from being forever hidden when showing all metaboxes. Fixes #12088
git-svn-id: https://develop.svn.wordpress.org/trunk@14065 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-11 02:41:40 +00:00
Dion Hulse af68a811dc Password nag should be a global user option. Fixes #12926
git-svn-id: https://develop.svn.wordpress.org/trunk@14060 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-10 13:05:04 +00:00
Andrew Nacin 240551a9fa Fix notice in get_media_items().
git-svn-id: https://develop.svn.wordpress.org/trunk@14059 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-10 12:49:58 +00:00
Andrew Nacin f6e054f892 Quick edit taxonomy label. props scribu, keighl, fixes #12796
git-svn-id: https://develop.svn.wordpress.org/trunk@14054 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-10 11:54:33 +00:00
Andrew Nacin b8efedcb23 Account for WP_Error from get_terms() in the nav menu tax metabox. fixes #12949, props ptahdunbar.
git-svn-id: https://develop.svn.wordpress.org/trunk@14048 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-10 10:47:31 +00:00
Andrew Nacin acb76fe42d More grant/revoke super admin improvements. fixes #12933.
git-svn-id: https://develop.svn.wordpress.org/trunk@14043 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-09 08:26:16 +00:00
Andrew Nacin 213aca7b04 Fix revoke_super_admin(). see #12933.
git-svn-id: https://develop.svn.wordpress.org/trunk@14042 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-09 07:17:42 +00:00
Andrew Nacin d07cfaff16 Revert [14011]. Add some actions. fixes #12109, see #12460.
git-svn-id: https://develop.svn.wordpress.org/trunk@14040 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-08 04:15:58 +00:00
Andrew Nacin 8fa7ed4573 Remove references to the old .fade class for message divs.
git-svn-id: https://develop.svn.wordpress.org/trunk@14039 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-08 03:36:52 +00:00
Andrew Nacin 67dbb82d69 Stop a dismissed admin notice feed from appearing on the next page load. see #12912.
git-svn-id: https://develop.svn.wordpress.org/trunk@14038 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-08 03:31:51 +00:00
Ron Rennick 46fe5b484f use meta caps in [14032], see #12109
git-svn-id: https://develop.svn.wordpress.org/trunk@14033 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-07 21:04:42 +00:00
Ryan Boren e53c2d4da4 User is_super_admin(). Props ocean90. fixes #12888
git-svn-id: https://develop.svn.wordpress.org/trunk@14032 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-07 15:28:10 +00:00
Ryan Boren 96ea328c0a Nav menu fixes. Props ptahdunbar. see #12896 fixes #12844
git-svn-id: https://develop.svn.wordpress.org/trunk@14031 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-07 15:25:48 +00:00
Andrew Nacin fb9e47a5a9 Use correct var in inline_edit_row(). fixes #12887.
git-svn-id: https://develop.svn.wordpress.org/trunk@14026 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-07 06:01:29 +00:00
Andrew Nacin f11175d631 Check for post type support in quick/bulk edit. props caesarsgrunt for some of the commit. see #12869
git-svn-id: https://develop.svn.wordpress.org/trunk@14025 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-07 05:08:37 +00:00
Andrew Nacin 2bd947fa9c New super admin icons for the blue/classic color scheme from Ben Dunkle. Remove temp icons, implement the new ones. fixes #12374.
git-svn-id: https://develop.svn.wordpress.org/trunk@14024 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-07 03:54:43 +00:00
Andrew Nacin 9e5a7a14f6 Have quick/bulk edit styled per existence of hierarchical taxonomies for that post type. Reintroduce classes that are specific for post types. fixes #12883.
git-svn-id: https://develop.svn.wordpress.org/trunk@14023 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-07 02:58:23 +00:00
Dion Hulse 8cbbe731a2 Replace use of tmpfile() with a safe get_temp_dir(). tmpfile() may use a temporary directly which is not writable. Add static caching to get_temp_dir() & better protect against bad server configs. Fixes #12866
git-svn-id: https://develop.svn.wordpress.org/trunk@14016 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-06 11:20:51 +00:00
Mark Jaquith 7c6b7b0a91 Make thumbnail work for custom post types even if the editor is not being displayed. props scribu. fixes #12792
git-svn-id: https://develop.svn.wordpress.org/trunk@14015 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-06 11:20:47 +00:00
Ron Rennick 71d295f69b set registered datestamp to current time during enable network, see #12747
git-svn-id: https://develop.svn.wordpress.org/trunk@14012 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-06 01:41:34 +00:00
Ron Rennick 4b543dbc76 add permission checks to grant/revoke_super_admin(), see #12109, related #12460
git-svn-id: https://develop.svn.wordpress.org/trunk@14011 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-05 22:28:21 +00:00
Andrew Nacin 5d940a955b Fix broken string.
git-svn-id: https://develop.svn.wordpress.org/trunk@14008 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-05 09:31:38 +00:00
Dion Hulse 028bd4322e Update broken translation. S/post thumbnail/featured image/
git-svn-id: https://develop.svn.wordpress.org/trunk@14007 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-05 09:15:35 +00:00
Andrew Nacin 5bf79d1d8e File-level phpdoc for multisite files.
git-svn-id: https://develop.svn.wordpress.org/trunk@13998 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-04 13:29:35 +00:00
Andrew Nacin 4c2edbc0d7 Adjust get_file_description() to account for absolute paths. see #12843
git-svn-id: https://develop.svn.wordpress.org/trunk@13994 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-04 12:07:27 +00:00
Andrew Nacin 812222bac3 Give names to author.php and tag.php in the theme editor.
git-svn-id: https://develop.svn.wordpress.org/trunk@13993 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-04 11:23:09 +00:00
Andrew Nacin abd47187d1 Give editor-style.css a name in the theme editor.
git-svn-id: https://develop.svn.wordpress.org/trunk@13992 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-04 11:14:29 +00:00
Andrew Nacin 502eb9d1d5 Don't use target="_self" in nav menu links, just omit the attribute. Also fix and run earlier db upgrades. fixes #12808
git-svn-id: https://develop.svn.wordpress.org/trunk@13974 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-03 22:52:30 +00:00
Andrew Nacin b4ae4c89e9 Allow "No role for this blog" to be chosen on user-edit. Add defensive checks for a few potential notices. fixes #10833
git-svn-id: https://develop.svn.wordpress.org/trunk@13961 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-03 08:08:12 +00:00
Andrew Nacin 11396bd92d Initialize some options for the secondary dashboard widget. see #11783
git-svn-id: https://develop.svn.wordpress.org/trunk@13959 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-03 07:31:28 +00:00
Andrew Nacin 0684fcffda Make remove_user a meta capability. see #12793
git-svn-id: https://develop.svn.wordpress.org/trunk@13956 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-03 05:14:34 +00:00
Andrew Nacin 5be7345c1b Use correct cap in get_editable_user_ids(). edit_cap is the meta cap (edit_post) and needs a post id passed, edit_type_cap is the primitive edit_posts cap.
git-svn-id: https://develop.svn.wordpress.org/trunk@13955 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-03 04:38:20 +00:00
Andrew Nacin 5615e1ba93 Add AYS to "Install Now" link in plugin installer. fixes #11050
git-svn-id: https://develop.svn.wordpress.org/trunk@13951 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 23:27:23 +00:00
Andrew Nacin 5cd6b0f327 Change "More Information" link to "Details" in plugin installer. Shorten/clarify a few other strings. see #11050
git-svn-id: https://develop.svn.wordpress.org/trunk@13950 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 23:04:48 +00:00
Ryan Boren a7ef69777b Use wpdb->prefix instead of wpdb->base_prefix(). base_prefix() does not return the correct prefix when a blog ID is not passed.
git-svn-id: https://develop.svn.wordpress.org/trunk@13947 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 17:23:36 +00:00
Andrew Nacin db6a40aa27 Move add/remove super admin out of bulk edit and into user-edit.php. Introduce grant_super_admin() and revoke_super_admin(). Link to profile.php in ms-users user row for current user. Add defensive check by forcing IS_PROFILE_PAGE on user-edit if trying to edit your own user_id. see #12460
git-svn-id: https://develop.svn.wordpress.org/trunk@13941 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 06:46:07 +00:00
Dion Hulse 842e844bc5 Change UI labels from "Post Thumbnails" to "Featured Image". See #12554
git-svn-id: https://develop.svn.wordpress.org/trunk@13940 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 06:12:49 +00:00
Andrew Nacin fb7ea4ea42 Allow MS cape-wearers to demote their blog roles to something without the edit_users cap. see #12387
git-svn-id: https://develop.svn.wordpress.org/trunk@13934 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 04:30:00 +00:00
Ron Rennick c439a5b81c fix caps check on delete user link, props ocean90, see #12793
git-svn-id: https://develop.svn.wordpress.org/trunk@13931 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 03:40:49 +00:00
Dion Hulse 1c542e0281 Correct typos in r13920. Use correct variable name. See #11050
git-svn-id: https://develop.svn.wordpress.org/trunk@13921 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-01 23:38:37 +00:00
Dion Hulse eb6dba1f3a Rename Install to More Information, Add an Install Now action link to the Plugin Installer search results. See #11050
git-svn-id: https://develop.svn.wordpress.org/trunk@13920 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-01 23:17:53 +00:00
Mark Jaquith 9370ab3810 Huge MS refactoring and code cleanup. see #12460. props ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@13918 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-01 21:21:27 +00:00
Mark Jaquith 3ba87e11a2 Deletion link should always show
git-svn-id: https://develop.svn.wordpress.org/trunk@13905 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-31 20:13:04 +00:00
Ryan Boren 154e634767 Use get_home_url() and get_admin_url(). Props andreasnrb. see #12736
git-svn-id: https://develop.svn.wordpress.org/trunk@13896 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-30 19:13:38 +00:00
Andrew Nacin 8d38a2f78e Fix typos in [13729]. edit_type_cap is a primitive cap, not meta. @todo: audit ptype cap calls.
git-svn-id: https://develop.svn.wordpress.org/trunk@13890 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-30 13:16:28 +00:00
Ryan Boren dc9cefd8a5 Use network_*_url(). see #12736
git-svn-id: https://develop.svn.wordpress.org/trunk@13884 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 21:45:31 +00:00
Dion Hulse 6740a74398 Do not add rel="attachment" for direct(File URL, not Post URL) links to non-media files in "Insert into Post". Fixes #7040
git-svn-id: https://develop.svn.wordpress.org/trunk@13875 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 09:57:34 +00:00