Commit Graph

2302 Commits

Author SHA1 Message Date
Andrew Nacin c3ec0a0c9c Change the 'per page' screen options strings. fixes #12872, props caesarsgrunt.
git-svn-id: https://develop.svn.wordpress.org/trunk@14157 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 17:15:58 +00:00
Andrew Nacin 1061d2e414 Remove dead code. props azaozz, see #11882.
git-svn-id: https://develop.svn.wordpress.org/trunk@14156 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 16:49:18 +00:00
Andrew Nacin bf00891a05 Use is_post_type_hierarchical and is_taxonomy_hierarchical when we're fetching a post/tax object only to check the hierarchical flag. fixes #12950.
git-svn-id: https://develop.svn.wordpress.org/trunk@14155 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 15:54:45 +00:00
Dion Hulse 5383a45de3 Use correct custom post_type token in get_sample_permalink()
git-svn-id: https://develop.svn.wordpress.org/trunk@14147 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 09:18:20 +00:00
Dion Hulse f72a1d860a Use the correct field when determining if the parent can support the Post Editor. See #12792
git-svn-id: https://develop.svn.wordpress.org/trunk@14146 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 09:09:45 +00:00
Dion Hulse 7a1c3bdf27 Bump the other upgrade check, Fixes r14138. See #11866
git-svn-id: https://develop.svn.wordpress.org/trunk@14140 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 06:18:00 +00:00
Dion Hulse 148e92a58c Delete old hierarchical taxonomy children cache' on upgrade. Fixes #11866
git-svn-id: https://develop.svn.wordpress.org/trunk@14138 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 06:08:40 +00:00
Dion Hulse b0293c96f9 Update _wp_translate_postdata() capability checks to use Post Type API capability fields. Props duck_. Fixes #12987
git-svn-id: https://develop.svn.wordpress.org/trunk@14130 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 04:26:39 +00:00
Dion Hulse 70af67f01c Escape/texturize Admin menu titles. Fixes page titles such as "Foo & Bar" not being entity encoded. Also includes some basic whitespace/standards cleanup to a related function. Fixes #12039
git-svn-id: https://develop.svn.wordpress.org/trunk@14127 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 03:38:47 +00:00
Dion Hulse 2d50f72462 Check $pagenow?post_type=$typenow for submenu titles, Fixes page titles for plugin pages added to custom post_type's. Fixes #12985
git-svn-id: https://develop.svn.wordpress.org/trunk@14126 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 02:56:00 +00:00
Dion Hulse fb623ae0c6 Display the correct Slug in the permalink preview. Props duck_. Fixes #12870
git-svn-id: https://develop.svn.wordpress.org/trunk@14124 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 01:46:28 +00:00
Dion Hulse 04bdc64bc9 Toggle between "Show Details" and "Hide Details" on GUU; Add no-js CSS class support to generic iframe header. Props ocean90. Fixes #12919
git-svn-id: https://develop.svn.wordpress.org/trunk@14123 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-17 12:27:13 +00:00
Dion Hulse 73da12c509 Return false on WP_Filesystem_FTPext::dirlist() for non-existant folders. See #12232. See #12057
git-svn-id: https://develop.svn.wordpress.org/trunk@14120 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-17 04:00:59 +00:00
Andrew Nacin 56c7b309e6 More tweaks for thumbnail support when no editor support for custom post types. see #12792, props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@14118 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 21:45:16 +00:00
Ryan Boren 93e7f711ad Change meta-box-hidden to metaboxhidden to adjust for new key sanitization rules and maintain the same key name as 2.9. fixes #13032
git-svn-id: https://develop.svn.wordpress.org/trunk@14113 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 17:44:38 +00:00
Ryan Boren 4e3da4d6a3 Add edit_theme_options capability
git-svn-id: https://develop.svn.wordpress.org/trunk@14111 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 15:36:44 +00:00
Andrew Nacin e9ce1f2b54 Add $force_delete to get_delete_post_link(). Remove unnecessary argument. props scribu, fixes #12708
git-svn-id: https://develop.svn.wordpress.org/trunk@14099 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 02:29:10 +00:00
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
Dion Hulse 7eeb87b8d2 Fix typo in r13850. See #12232
git-svn-id: https://develop.svn.wordpress.org/trunk@13869 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 08:23:46 +00:00
Dion Hulse ff0e3800bc Add extra hooks to Right Now dashboard widget. Props jfarthing84. See #12202
git-svn-id: https://develop.svn.wordpress.org/trunk@13867 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 06:13:53 +00:00
Dion Hulse b9682621d0 Fix the Permalink editor for custom post_types. Fixes #12742
git-svn-id: https://develop.svn.wordpress.org/trunk@13865 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 05:23:49 +00:00
Dion Hulse c552d48674 Fix image_resize() dependencies by moving wp_load_image() from admin includes to wp-includes. Fixes #7279
git-svn-id: https://develop.svn.wordpress.org/trunk@13860 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 03:39:00 +00:00
Dion Hulse da2927d104 Display the list of Terms in a non-hierarchical taxonomy on the Post Edit page even if they cannot modify them. See #12035
git-svn-id: https://develop.svn.wordpress.org/trunk@13855 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 02:37:10 +00:00
Dion Hulse 244addfc0d Attempt to work around Mac FTP Server security implications of using '-a' in FTP. Props eoinomurchu. See #12232
git-svn-id: https://develop.svn.wordpress.org/trunk@13850 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 01:07:03 +00:00
Andrew Nacin 11dfbcba06 Password nag string cleanup. Could be good to also increase the line-height on div.updated/error at some point.
git-svn-id: https://develop.svn.wordpress.org/trunk@13844 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-27 07:22:05 +00:00
Dion Hulse 9b51769311 Fix Link Category Tab styling. Props ocean90. Fixes #12712
git-svn-id: https://develop.svn.wordpress.org/trunk@13840 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-27 06:21:53 +00:00
Andrew Nacin 7f9b08bdb2 Use correct var in MS dashboard_quota(). props ocean90, see #12710. also fixes sprintf string.
git-svn-id: https://develop.svn.wordpress.org/trunk@13835 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 21:50:54 +00:00
Andrew Nacin 4f5a2095a8 Remove trailing whites and double semicolons.
git-svn-id: https://develop.svn.wordpress.org/trunk@13830 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 19:36:49 +00:00
Andrew Nacin e34ca97ae0 Change @since 3.0 to @since 3.0.0.
git-svn-id: https://develop.svn.wordpress.org/trunk@13827 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 19:13:36 +00:00
Andrew Nacin 2f67d59255 Fix potential notice in wp_handle_sideload().
git-svn-id: https://develop.svn.wordpress.org/trunk@13825 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 17:42:34 +00:00
Andrew Nacin 48c90e9f13 Initialize _wp_page_template for the first page in wp_install_defaults(). fixes #12653, a Webkit/jQuery bug in Quick Edit (see ticket)
git-svn-id: https://develop.svn.wordpress.org/trunk@13817 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 04:42:08 +00:00
Andrew Nacin 5bcb23827d Move send_nosniff_header() into wp-includes so it can be used in wp-ajax.php. props sivel, fixes #12683
git-svn-id: https://develop.svn.wordpress.org/trunk@13806 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-23 19:13:58 +00:00
Andrew Nacin e5f55c5b3d Deprecate add_option_update_handler() and remove_option_update_handler() in favor of register_setting() and unregister_setting(). #11730
git-svn-id: https://develop.svn.wordpress.org/trunk@13805 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 23:03:31 +00:00
Andrew Nacin 94ec7ba0eb Various bug fixes and improvements to menu management. props ptahdunbar, see #11817.
git-svn-id: https://develop.svn.wordpress.org/trunk@13802 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 19:56:16 +00:00
Andrew Nacin 476fcfe595 Check cap before showing comments from private posts in recent comments dashboard widget. fixes #9144.
git-svn-id: https://develop.svn.wordpress.org/trunk@13800 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 14:01:43 +00:00
Andrew Nacin f5262bb86e Fix the MS admin notice feed.
git-svn-id: https://develop.svn.wordpress.org/trunk@13792 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 02:23:45 +00:00
Andrew Nacin 450fa7374f Restore a missing moderate_comments cap check in Right Now dashboard widget. see #12202
git-svn-id: https://develop.svn.wordpress.org/trunk@13791 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 01:31:18 +00:00
Dion Hulse 6f62362b96 Use correct cap checks and nonces for custom post_type's
git-svn-id: https://develop.svn.wordpress.org/trunk@13786 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-21 02:29:11 +00:00
Dion Hulse 9b70561913 Fix Quick edit for non-page Hierarchical post_types. See #12643
git-svn-id: https://develop.svn.wordpress.org/trunk@13779 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-20 03:05:25 +00:00
Dion Hulse f9660db25a Add parent selection support for custom post_types to the Page Attributes metabox. See #12643
git-svn-id: https://develop.svn.wordpress.org/trunk@13778 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-20 02:46:31 +00:00
Dion Hulse 1cf092565c Tabs are better than spaces. Whitespace cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@13777 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-20 02:39:58 +00:00
Dion Hulse 724fc1b7e5 Fix notice in Page Templates when a Template is not set for the current page.
git-svn-id: https://develop.svn.wordpress.org/trunk@13776 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-20 02:37:16 +00:00
Dion Hulse f5795be7af Add additional columns to the Posts Comments view. Props arena. Fixes #11231
git-svn-id: https://develop.svn.wordpress.org/trunk@13775 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-20 02:35:17 +00:00
Andrew Nacin dd306def81 Remove redundant isset() and empty() checks.
git-svn-id: https://develop.svn.wordpress.org/trunk@13770 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 21:29:21 +00:00
Andrew Nacin ddc506f01c Remove unnecessary ternary operators such as (expr) ? true : false.
git-svn-id: https://develop.svn.wordpress.org/trunk@13769 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 21:15:00 +00:00
Ron Rennick 2bcc218df8 add NONCE_SALT to secret_salt_warning(), see #11764
git-svn-id: https://develop.svn.wordpress.org/trunk@13768 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 20:48:59 +00:00
Dion Hulse 12c0c3d475 Highlight correct submenu for Theme Installs. Fix PHP Notice for unset object properties (requires among others may not be set).
git-svn-id: https://develop.svn.wordpress.org/trunk@13763 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 08:03:52 +00:00
Andrew Nacin 13facc3c4c Clear cache of current theme name, if the theme name no longer exists. Fixes failures when an an active theme is renamed in its stylesheet. fixes #12428
git-svn-id: https://develop.svn.wordpress.org/trunk@13762 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 03:09:02 +00:00
Ron Rennick fa5bab87cd force users to re-login after installing network, see #12142
git-svn-id: https://develop.svn.wordpress.org/trunk@13760 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 23:35:04 +00:00
Andrew Nacin c44cd2b999 Correct a copy-paste error in wp_manage_posts_columns().
git-svn-id: https://develop.svn.wordpress.org/trunk@13759 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 22:34:58 +00:00
Andrew Nacin fa0be92d46 Add deprecated notices for Options > Misc settings registrations. see #12437
git-svn-id: https://develop.svn.wordpress.org/trunk@13749 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 17:32:27 +00:00
Dion Hulse 17d50834af Remove Options -> Misc entirely as core as there are no longer options left there. Plugin registered options will be redirected to the General settings page. Fixes #12437
git-svn-id: https://develop.svn.wordpress.org/trunk@13745 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 07:50:43 +00:00
Dion Hulse 0b02d175c5 Remove the now defunct link update checker from core. Fixes #12437
git-svn-id: https://develop.svn.wordpress.org/trunk@13744 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 07:17:55 +00:00
Mark Jaquith 1192ddf4f9 Nav Menus: blur/Focus behavior for Create Menu and Add Custom Links. Route "return" presses in each of those areas to proper button press. Better create/save logic on the PHP side.
git-svn-id: https://develop.svn.wordpress.org/trunk@13739 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 19:57:08 +00:00
Ryan Boren e89d1c5dcb Introduce WP_DEFAULT_THEME
git-svn-id: https://develop.svn.wordpress.org/trunk@13737 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 17:42:49 +00:00
Ryan Boren f5ace6aec1 Use WP_FALLBACK_THEME when creating default stylesheet and template options.
git-svn-id: https://develop.svn.wordpress.org/trunk@13736 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 17:39:38 +00:00
Ryan Boren e61755c853 Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@13733 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 16:27:25 +00:00
Dion Hulse 812419455c post_type edit_cap and edit_type_cap awareness for wp-admin/includes/post.php
git-svn-id: https://develop.svn.wordpress.org/trunk@13729 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 12:35:48 +00:00
Mark Jaquith 3c5e5e8679 Unlimited number of pages and custom links for nav-menu. Todo: AJAX-based autocomplete, so this scales better. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13727 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 06:33:53 +00:00
Mark Jaquith 7b72877a6e Remove half-baked transient caching of nav-menu source results from [13704]. Todo: reimplement with proper cache invalidation. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13726 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 06:10:47 +00:00
Mark Jaquith 8bca8131a6 More pedantry. "Setup" is not a verb. http://notaverb.com/setup
git-svn-id: https://develop.svn.wordpress.org/trunk@13725 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 04:39:50 +00:00
Ryan Boren 5e9792f9f7 Menu item -> append should be a key/name, not a label. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13722 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 22:01:49 +00:00
Ryan Boren d1603a4246 Introduce taxonomies_allowed_in_menus and post_types_allowed_in_menus. Show only pages and categories by default. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13716 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 17:22:24 +00:00
Ron Rennick 9fe9b2390f first pass on optional global terms, see #12589
git-svn-id: https://develop.svn.wordpress.org/trunk@13715 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 17:17:55 +00:00
Ryan Boren 586b69b6f6 Use get_permalink() instead of get_post_permalink(). Limit to published post types. see #11817 #12566
git-svn-id: https://develop.svn.wordpress.org/trunk@13714 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 16:34:30 +00:00
Ron Rennick accb84ed22 introduce global_terms_enabled site option, see #12589
git-svn-id: https://develop.svn.wordpress.org/trunk@13713 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 15:31:50 +00:00
Ryan Boren d710af9830 Menus rework. Props ptahdunbar. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13704 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-15 16:26:46 +00:00
Dion Hulse 34e135fa81 Bulk Theme Upgrades. See #12528 See #11232 for Bulk UI
git-svn-id: https://develop.svn.wordpress.org/trunk@13686 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-13 03:59:40 +00:00
Andrew Nacin e22682a5dc Fix logic and pull static code out of a loop. fixes #12581
git-svn-id: https://develop.svn.wordpress.org/trunk@13662 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 17:21:18 +00:00
Andrew Nacin 8d0a3589c9 Use disabled() form helper. fixes #12581
git-svn-id: https://develop.svn.wordpress.org/trunk@13661 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 17:12:23 +00:00
Ryan Boren e333b6925a Use page icon for page menus. fixes #12583
git-svn-id: https://develop.svn.wordpress.org/trunk@13659 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 16:54:47 +00:00
Andrew Nacin 90182075c0 Introduce the disabled() form helper. Move selected() and checked() out of wp-admin and into full scope. see #12581
git-svn-id: https://develop.svn.wordpress.org/trunk@13658 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 16:34:27 +00:00
Andrew Nacin d6adc0701c First pass at error handling for populate_network() and network.php. see #11816
git-svn-id: https://develop.svn.wordpress.org/trunk@13655 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 01:51:24 +00:00
Andrew Nacin f59126029d Remove unused MU function and unnecessary separate includes file. see #11816
git-svn-id: https://develop.svn.wordpress.org/trunk@13644 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-10 08:46:05 +00:00
Andrew Nacin c2bb5992ee Store subdomain/subdirectory choice in sitemeta. For now, only used in case we return to network.php without constants. see #11816
git-svn-id: https://develop.svn.wordpress.org/trunk@13642 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-10 08:34:42 +00:00
Andrew Nacin 62569595aa Correct subdomain handling in network.php. Pass around boolean values instead of 'yes' and 'no'. see #11816
git-svn-id: https://develop.svn.wordpress.org/trunk@13641 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-10 08:17:07 +00:00
Andrew Nacin 1c91399612 Don't page comments by default. fixes #12562
git-svn-id: https://develop.svn.wordpress.org/trunk@13636 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-09 21:04:41 +00:00
Dion Hulse 969ed4c5f8 Fix inline taxonomy Quick Edit. Props mdawaffe. See #12553
git-svn-id: https://develop.svn.wordpress.org/trunk@13624 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-09 10:23:03 +00:00
Ron Rennick 13aa99629a allow existing media path on main site when converting to multisite, see #12549
git-svn-id: https://develop.svn.wordpress.org/trunk@13619 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-08 19:52:29 +00:00
Ron Rennick 830efa5339 move multisite upgrade functions to upgrade.php, see #11771
git-svn-id: https://develop.svn.wordpress.org/trunk@13618 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-08 16:31:12 +00:00
Andrew Nacin 3b13adaca8 Remove htaccess.ms and wp-config.ms templates. These were brought inline in [13611]. see #11816
git-svn-id: https://develop.svn.wordpress.org/trunk@13613 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 20:11:18 +00:00
Andrew Nacin 8b6b16cb2a s/onClick/onclick/. props TobiasBg, see #12429
git-svn-id: https://develop.svn.wordpress.org/trunk@13612 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 20:06:32 +00:00
Andrew Nacin 8995a960b9 Move $base sanity check to from MS config template to ms-settings. see #11816
git-svn-id: https://develop.svn.wordpress.org/trunk@13610 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 19:36:35 +00:00
Ryan Boren 7850523e62 Update ms-sites UI. Props ocean90. see #12460
git-svn-id: https://develop.svn.wordpress.org/trunk@13609 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 18:31:10 +00:00
Dion Hulse 0dbad6d7b5 First scrape at new UI for Bulk plugin upgrades. See #11232
git-svn-id: https://develop.svn.wordpress.org/trunk@13602 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 08:39:50 +00:00
Dion Hulse 0da34463e7 Display an Attachment Icon if an Attachment thumbnail is not available. Fixes display of Upload edit fields. Fixes #12328
git-svn-id: https://develop.svn.wordpress.org/trunk@13600 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 08:00:42 +00:00
Ron Rennick aca65c0b4b set default value for upload_space_check_disabled, see #12463
git-svn-id: https://develop.svn.wordpress.org/trunk@13595 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-05 21:01:08 +00:00
Dion Hulse 7f001d5aa2 Do not display user specified password during install. Fixes #12479. See #10396 for feedback
git-svn-id: https://develop.svn.wordpress.org/trunk@13592 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-05 12:25:30 +00:00
Ron Rennick 7f8ea354ac UI upgrade -> update, see #12517
git-svn-id: https://develop.svn.wordpress.org/trunk@13590 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-04 23:28:15 +00:00
Ryan Boren 44f26063e8 Remove site admin logged in notice. The new Super Admin menu makes that obvious enough. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13586 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-04 18:59:24 +00:00
Ryan Boren 8aea5863d7 Fix submenus for post types. Props TobiasBg. see #12453
git-svn-id: https://develop.svn.wordpress.org/trunk@13579 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-04 00:15:55 +00:00
Andrew Nacin c7fdac20df Support for extra POST fields in WP_Filesystem. props dd32. see #12094
git-svn-id: https://develop.svn.wordpress.org/trunk@13577 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 19:53:39 +00:00
Ryan Boren 1604a2e58b Improve user listing performance. Props miqrogroove. see #11914
git-svn-id: https://develop.svn.wordpress.org/trunk@13576 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 19:08:30 +00:00
Ron Rennick b921286ce2 add features to export, see #10317
git-svn-id: https://develop.svn.wordpress.org/trunk@13573 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 16:45:40 +00:00
Andrew Nacin 2080b68e12 First pass on network.php improvements. see #12094
git-svn-id: https://develop.svn.wordpress.org/trunk@13571 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 07:43:32 +00:00
Andrew Nacin 4ee4545c85 Switch the multisite constant EDIT_ANY_USER to a filter. Also ensure we're back compat with POST_BY_EMAIL. see #12381
git-svn-id: https://develop.svn.wordpress.org/trunk@13568 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 07:04:25 +00:00
Ron Rennick 08bee6b6db set default value for add_new_users site option, see #12463
git-svn-id: https://develop.svn.wordpress.org/trunk@13564 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 22:57:12 +00:00
Andrew Nacin de7eec68d5 Add some custom taxonomy flags to allow fully customize strings in the taxonomy meta box. see #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@13538 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 21:04:37 +00:00
Ryan Boren 04899b5212 Make favorite actions custom post type aware. Props ptahdunbar. fixes #12433
git-svn-id: https://develop.svn.wordpress.org/trunk@13536 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 16:03:27 +00:00
Ryan Boren 8ef5d73550 Custom taxonomy support for inline edit. Props prettyboymp. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13535 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 15:48:01 +00:00
Dion Hulse 97bd9628d7 Split Right Now widget into Content | Discussion. Props matveb. Fixes #12202
git-svn-id: https://develop.svn.wordpress.org/trunk@13531 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 12:32:00 +00:00
Dion Hulse 38817d572b A Better Flash upload button, Adds a Hover and Active styling, Adds a distinctive border to the button. Props ocean90. Fixes #12420
git-svn-id: https://develop.svn.wordpress.org/trunk@13528 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 11:57:03 +00:00
Andrew Nacin 8ee771f548 Remove "Info" link in plugin installer. The "Install" link already opens a pop-up with information. see #11050
git-svn-id: https://develop.svn.wordpress.org/trunk@13522 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 06:01:00 +00:00
Andrew Nacin a7ddb80402 Rearrange action links in the install plugins browser. First pass on the UI overhaul. see #11050
git-svn-id: https://develop.svn.wordpress.org/trunk@13520 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 00:50:55 +00:00
Andrew Nacin c265d8f1da Boost number of comments allowed in configurable Recent Comments dashboard module. fixes #11891
git-svn-id: https://develop.svn.wordpress.org/trunk@13519 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 00:09:30 +00:00
Andrew Nacin 13d3a5bb5b Remove wp-content/blogs.php and add deprecated warning for MU admins. fixes #11742
git-svn-id: https://develop.svn.wordpress.org/trunk@13514 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 20:29:24 +00:00
Ryan Boren 2dad638a0e Menu enhancements. Props ptahdunbar. fixes #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13512 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 20:00:49 +00:00
Andrew Nacin 1cc5b31283 s/onClick/onclick/. props TobiasBg fixes #12429
git-svn-id: https://develop.svn.wordpress.org/trunk@13510 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 19:39:06 +00:00
Ron Rennick 697d574e68 more ms delete user tweaks, props ocean90, see #12386
git-svn-id: https://develop.svn.wordpress.org/trunk@13506 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 19:24:25 +00:00
Ron Rennick a67e4e0f82 cleanup confirm delete users, props ocean90, fixes #12386
git-svn-id: https://develop.svn.wordpress.org/trunk@13504 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 16:58:17 +00:00
Dion Hulse 28f4212cd2 remove LOWER() in Order by clause for Post Meta. Allows MySQL to use the indexes properly. Props Denis-de-Bernardy. Fixes #11741
git-svn-id: https://develop.svn.wordpress.org/trunk@13503 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 13:15:54 +00:00
Dion Hulse df84c657f9 Fix slashing in Custom fields values. Allow for the meta_key to be updated without changing meta_value. Use wpdb::insert in add_meta(). Fixes #12418
git-svn-id: https://develop.svn.wordpress.org/trunk@13489 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 07:12:05 +00:00
Dion Hulse 1a258ebff7 Fix Author selection for non-post type posts. Props prettyboymp. Fixes #12408
git-svn-id: https://develop.svn.wordpress.org/trunk@13488 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 06:38:15 +00:00
Dion Hulse f937e72ae9 Move Admin Colour Scheme picker to a hook. Props Jick. s/register_admin_color_themes()/register_admin_color_schemes/g. See #11625, Fixes #6837
git-svn-id: https://develop.svn.wordpress.org/trunk@13487 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 06:34:31 +00:00
Dion Hulse 0f8fd11400 PHPDocs update. Props miqrogroove. See #12422
git-svn-id: https://develop.svn.wordpress.org/trunk@13482 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 03:18:40 +00:00
Ron Rennick ed52a823cc more menu improvements, props ptahdunbar, see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13473 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 23:06:56 +00:00
Ron Rennick bff2814d07 warnings cleanup edit user, props dd32, see #12387
git-svn-id: https://develop.svn.wordpress.org/trunk@13463 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 18:07:25 +00:00
Ron Rennick 97da99aa6a warnings cleanup on archived/suspended sites, fixes #12396
git-svn-id: https://develop.svn.wordpress.org/trunk@13461 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 17:48:37 +00:00
Andrew Nacin 3a0b94a917 Fix typos. props TobiasBg fixes #12398
git-svn-id: https://develop.svn.wordpress.org/trunk@13455 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 15:53:06 +00:00
Andrew Nacin bd51cf8b51 add_editor_style() third pass. better performance and better child theme support. see #11512
git-svn-id: https://develop.svn.wordpress.org/trunk@13453 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 07:36:35 +00:00
Andrew Nacin 92c03dc898 Restore manage_pages_columns filter in wp_manage_posts_columns(). Pass post type to manage_posts_columns, and add a manage_{$post_type}_posts_columns filter. fixes #12398
git-svn-id: https://develop.svn.wordpress.org/trunk@13451 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 06:45:23 +00:00
Ron Rennick 6afc78b158 more multisite UI rebranding, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13435 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 19:08:01 +00:00
Andrew Nacin 9b78314c05 A call to arms for grammarians. Fixes #12228 fixes #11875 props kurtmckee, filosofo, jjj
git-svn-id: https://develop.svn.wordpress.org/trunk@13425 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 05:46:08 +00:00
Andrew Nacin 69915544d2 Don't use deprecated functions. Fixes #12377 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@13423 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 00:41:23 +00:00
Peter Westwood a85f6a4122 Just pass the comment object to get_avatar in floated_admin_avatar rather than duplicating logic. Fixes #12291 props Otto42.
git-svn-id: https://develop.svn.wordpress.org/trunk@13420 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 22:19:03 +00:00
Peter Westwood 81e711cf87 Introduce send_nosniff_header() and use it to turn off content sniffing in supported browsers. Fixes #10671 props chrisscott and niallkennedy.
git-svn-id: https://develop.svn.wordpress.org/trunk@13409 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:41:33 +00:00
Ryan Boren 6d3878f6b7 only show tags in inline-edit for post_types that support them. Props prettyboymp. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13389 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 22:13:23 +00:00
Andrew Nacin c9dfb91763 Spelling and grammar fun. Fixes #11875 props cnorris23
git-svn-id: https://develop.svn.wordpress.org/trunk@13382 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 20:13:23 +00:00
Andrew Nacin d7adf00e0e s/existant/existent/
git-svn-id: https://develop.svn.wordpress.org/trunk@13380 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 20:01:37 +00:00
Ryan Boren 66b081abd2 Remove author tags. fixes #12366
git-svn-id: https://develop.svn.wordpress.org/trunk@13377 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 19:07:21 +00:00
Ryan Boren e52fa727be Nav menu cleanups. Props nbachiyski. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13375 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 18:52:54 +00:00
Andrew Nacin af9671d7c5 Add missing </small> tag. see #11891 fixes #12321 props ocean90
git-svn-id: https://develop.svn.wordpress.org/trunk@13373 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 16:45:33 +00:00
Mark Jaquith 0c7e56f2e2 Remove Resetting, remove Enabling, enable deletion, etc. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13369 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 09:43:09 +00:00
Ryan Boren d357c80caf Reorg nav menu files. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13366 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 08:06:36 +00:00
Ryan Boren 03b3692832 Fix trash/untrash/delete links for custom post types. Props jfarthing84. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13359 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 05:43:41 +00:00
Andrew Nacin af187b2759 Switch over to *_user_meta() syntax. The old get_usermeta() would return a string when only one value was found, get_user_meta() requires $single = true. Fixes #10837
git-svn-id: https://develop.svn.wordpress.org/trunk@13329 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 10:42:40 +00:00
Mark Jaquith fc77a1d879 Whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@13316 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 23:12:48 +00:00
Andrew Nacin 8826776ba0 Order link categories by name, not count, on Add/Edit Link page. Fixes #10399 props pnettle, chrisscott.
git-svn-id: https://develop.svn.wordpress.org/trunk@13313 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 21:59:40 +00:00
Andrew Nacin 670b8d8bfb Don't use deprecated *_usermeta() functions. Props technosailor fixes #10837
git-svn-id: https://develop.svn.wordpress.org/trunk@13311 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 21:25:32 +00:00
Andrew Nacin 59167f1593 Remove unused 'secret' option. Fixes #12221
git-svn-id: https://develop.svn.wordpress.org/trunk@13309 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 20:27:02 +00:00
Ron Rennick c7e12e9265 multisite UX, see #11644, add manage_ caps for super_admin, fixes #11803
git-svn-id: https://develop.svn.wordpress.org/trunk@13301 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 18:41:38 +00:00
Andrew Nacin 05a37728b1 Use esc_url() instead of clean_url(). See #12309
git-svn-id: https://develop.svn.wordpress.org/trunk@13297 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 18:15:10 +00:00
Ryan Boren 9e5b6d1f34 Pass overrides. Allow ref array calling. Props tychay. fixes #12278
git-svn-id: https://develop.svn.wordpress.org/trunk@13290 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 16:54:51 +00:00
Dion Hulse c7be408d4a Introduce assign_cap for Taxonomies, Defaults to 'edit_posts'. Allows for Authors/Contributors to tag/categorise their posts. See #12035
git-svn-id: https://develop.svn.wordpress.org/trunk@13289 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 08:36:32 +00:00
Dion Hulse a2c844a939 Links to Comment on Comments page, even for users that cannot modify it.
git-svn-id: https://develop.svn.wordpress.org/trunk@13288 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 08:26:18 +00:00
Mark Jaquith 56d1f114cf Use correct labels for additional hierarchical taxonomies instead of reusing "Categories" text.
git-svn-id: https://develop.svn.wordpress.org/trunk@13285 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 21:24:48 +00:00
Dion Hulse 4df0240736 Allow Deletion of Media Alt text. Props reaperhulk. Fixes #11805
git-svn-id: https://develop.svn.wordpress.org/trunk@13283 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 11:21:32 +00:00
Dion Hulse 3e2114eb0f Link to Posts page on Taxonomy Administration page even for Count == 0. Count does not include Drafts/Scheduled posts, only "published" posts. Props miqrogroove. Fixes #11340
git-svn-id: https://develop.svn.wordpress.org/trunk@13282 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 11:02:14 +00:00
Ron Rennick 02912dcf85 enable threaded comments by default, fixes #11992
git-svn-id: https://develop.svn.wordpress.org/trunk@13272 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 01:02:00 +00:00
Andrew Nacin 5d808fce86 Use admin_url() for images in wp-admin, to allow for filtering. Props mdawaffe, see #12300
git-svn-id: https://develop.svn.wordpress.org/trunk@13256 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 21:09:49 +00:00
Andrew Nacin b7308ebe6c Set svn eol-style native on new files
git-svn-id: https://develop.svn.wordpress.org/trunk@13255 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 21:00:19 +00:00
Andrew Nacin 35eafcfed4 Add links to the codex changelog in update notification strings. props dtoj, see #11739
git-svn-id: https://develop.svn.wordpress.org/trunk@13250 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 12:28:10 +00:00
Andrew Nacin d4854cef04 Use utf8_encode() consistently in wp_read_image_metadata(). Also add some whitespace. props miqrogroove, see #11417, see #12095
git-svn-id: https://develop.svn.wordpress.org/trunk@13249 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 12:09:30 +00:00
Andrew Nacin d824d6bbd4 Improved IPTC and EXIF handling. Drag a wider net and also try to avoid numeric attachment slugs where possible. Props miqrogroove. See #11417
git-svn-id: https://develop.svn.wordpress.org/trunk@13244 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 09:17:34 +00:00
Andrew Nacin 6f1bfe6f0e Allow class/method array pair in wp_iframe() when checking callback name in determining whether to include media stylessheet. Props technosailor, fixes #11976
git-svn-id: https://develop.svn.wordpress.org/trunk@13243 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 08:19:44 +00:00
Dion Hulse 468d0d7cff Variable Cleanup, Unused variables, Typo'd variables, unused code blocks. Fixes #12299
git-svn-id: https://develop.svn.wordpress.org/trunk@13242 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 02:01:46 +00:00
Dion Hulse 8be48fe96a Update wpmu_delete_user() to use wp_delete_user()'s Link Deletion API, ensures that all actions and cleanups are run. See #12298
git-svn-id: https://develop.svn.wordpress.org/trunk@13241 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 01:45:04 +00:00
Andrew Nacin 6634241a48 Fix notice in populate_network(). See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13234 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 21:19:54 +00:00
Andrew Nacin 2b6bcbdd89 Show must-use plugins and drop-ins in the plugins admin panel. First pass. See #11861
git-svn-id: https://develop.svn.wordpress.org/trunk@13233 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 21:16:14 +00:00
Ryan Boren 9cea2b661a Add an index on comment_parent to speed up wp_delete_comment() reparenting queries. fixes #12289
git-svn-id: https://develop.svn.wordpress.org/trunk@13227 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 17:56:40 +00:00
Andrew Nacin 3f2c21e53f Remove debug cruft. Fixes #12230
git-svn-id: https://develop.svn.wordpress.org/trunk@13223 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 14:12:12 +00:00
Dion Hulse 343447e5a0 Fallback to PclZip in the event that ZipArchive cannot handle a given archive properly. Close the Zip handle when we're done as well. Fixes #12230
git-svn-id: https://develop.svn.wordpress.org/trunk@13221 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 10:59:32 +00:00
Dion Hulse 5028f2ccbb Fix $post_type handling/passing in the Taxonomy edit links. Fix the Tag selection query var for edit.php in the Posts links. See #12270, See #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@13213 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 09:54:18 +00:00
Andrew Nacin 4d2c75d785 Assume WP_DEBUG is defined in wpdb. Remove unnecessary constant() calls. Ensure DB_COLLATE defined as empty string doesn't override default Multisite collation. fixes #12041, see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13209 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 01:03:58 +00:00
Ryan Boren 15f2f0bda1 add_settings_error fixes. Props jeremyclarke. fixes #11474
git-svn-id: https://develop.svn.wordpress.org/trunk@13197 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 19:43:44 +00:00
Ryan Boren 0ac0e76299 Option validation error reporting. Props jeremyclarke. see #11474
git-svn-id: https://develop.svn.wordpress.org/trunk@13177 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-17 17:50:42 +00:00
Mark Jaquith 49d4b41207 Detect plugin output on activation, as well as fatal errors. props miqrogroove. fixes #12089
git-svn-id: https://develop.svn.wordpress.org/trunk@13167 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-16 03:44:20 +00:00
Andrew Nacin dc7a5f121c Add "Network Activate" option to Bulk Actions menu on plugins.php. See #11644, #12139
git-svn-id: https://develop.svn.wordpress.org/trunk@13155 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 14:46:38 +00:00
Andrew Nacin d1e195db99 Use an expanded special character set when generating auth keys and salts via wp_generate_password(). Props sivel, see #12159
git-svn-id: https://develop.svn.wordpress.org/trunk@13137 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 04:06:30 +00:00
Dion Hulse ae5ba76658 First pass at allowing username/password selection upon install. Includes some extra cleanup of the patch. Props dancole. See #10396
git-svn-id: https://develop.svn.wordpress.org/trunk@13134 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 03:07:47 +00:00
Andrew Nacin 0fc1312800 Use stripos() instead of strpos() with strtolower(). For PHP < 5 we have stripos() in compat.php. Fixes #11176
git-svn-id: https://develop.svn.wordpress.org/trunk@13132 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 02:27:19 +00:00
Andrew Nacin a93c96ef98 Fix arg order in [13104]
git-svn-id: https://develop.svn.wordpress.org/trunk@13107 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 10:46:38 +00:00
Andrew Nacin d43ba9114b Don't use deprecated functions. see #11388
git-svn-id: https://develop.svn.wordpress.org/trunk@13106 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 10:35:10 +00:00
Andrew Nacin cedafb8a9b Add ?preview=true to edit post rows when draft|pending. Props MMN-o, fixes #11688
git-svn-id: https://develop.svn.wordpress.org/trunk@13104 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 09:49:44 +00:00
Andrew Nacin e139dea4d1 Deprecate old category admin template functions. Deprecate dropdown_categories(), dropdown_link_categories(), wp_dropdown_cats() in favor of wp_category_checklist, wp_link_category_checklist, wp_dropdown_categories. See #11388
git-svn-id: https://develop.svn.wordpress.org/trunk@13097 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 07:42:02 +00:00
Andrew Nacin 49f0af2f42 RTL fixes for new position of QuickPress ajax spinner, also version bumps, see #10680
git-svn-id: https://develop.svn.wordpress.org/trunk@13090 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 06:14:37 +00:00
Dion Hulse d5ced26371 Initialise Variables, Whitespace cleanup, Remove unused variables, Cast start_of_week option to int in sanitization.
git-svn-id: https://develop.svn.wordpress.org/trunk@13089 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 06:08:15 +00:00
Dion Hulse 7a3a38c39b Convert Terms page to use WP_Ajax_Response(), hierarchical terms will now appear under their parent OR have the parents prefixed, Terms will be removed from tag cloud/parent list upon deletion, Terms will be added to Parent list in correct order upon ajax creation, Errors on term creation flow back to UI, clean up _tag_row() alternate class handling, Show None text in Category dropdown if empty and show_if_empty = true. See #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@13086 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 05:40:47 +00:00
Andrew Nacin dc02d03fcb Re-position the QuickPress ajax spinner. Fixes #10680
git-svn-id: https://develop.svn.wordpress.org/trunk@13085 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 05:35:47 +00:00
Andrew Nacin 1a4072f2e7 Make Recent Comments dashboard widget configurable. Allows user to choose how many comments to display, see #11891.
git-svn-id: https://develop.svn.wordpress.org/trunk@13084 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 04:39:39 +00:00
Dion Hulse a719ecc0a2 Add add_plugins_page() function to add a submenu of the Plugins Page. Fixes #11377
git-svn-id: https://develop.svn.wordpress.org/trunk@13082 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 04:04:01 +00:00
Dion Hulse 9da2f26d98 Fix Terms Per Page for taxonomies, Apply old Category filter to value. See #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@13081 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 03:52:33 +00:00
Andrew Nacin b154b4d604 Ensure post titles are consistently sanitized and filtered when displaying them in Bulk Edit, fixes #11307.
git-svn-id: https://develop.svn.wordpress.org/trunk@13079 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 03:17:57 +00:00
Ron Rennick 8abaa3bad4 add WP_FALLBACK_THEME to allowed_themes in populate_network, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13070 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-12 22:45:35 +00:00
Ron Rennick 113a86ebbd add siteurl site option for MU upgrade, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13067 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-12 17:37:17 +00:00
Ron Rennick 930b21a770 fix dashboard right now category links, fixes #12205
git-svn-id: https://develop.svn.wordpress.org/trunk@13057 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-11 20:10:15 +00:00
Ryan Boren d440214a7b Export post <-> term relationships for all taxonomies. fixes #12180
git-svn-id: https://develop.svn.wordpress.org/trunk@13055 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-11 19:17:00 +00:00
Ryan Boren d204fd6215 Test explicitly for false from insert()/update(). Fixes early return that preventing link categories from being saved. fixes #12196
git-svn-id: https://develop.svn.wordpress.org/trunk@13053 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-11 16:17:12 +00:00
Ryan Boren 2f7ef8196b Pass the default post to default_content, default_title, and default_excerpt filters. Allows filtering by post_type and other attributes. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13051 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-10 22:20:36 +00:00
Ryan Boren 6a5c43f5fc Fix screen layout options for custom post types. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13045 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-10 17:41:07 +00:00
Ryan Boren 883cad6a6f Setup some default widgets for the default theme at install. Props azaozz. see #12163
git-svn-id: https://develop.svn.wordpress.org/trunk@13033 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-08 22:17:18 +00:00
Ryan Boren 86d7ef0b69 Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@13025 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-08 18:02:23 +00:00
Peter Westwood 77e592fead Make _unzip_file_ziparchive() PHP4 safe. See #10403.
git-svn-id: https://develop.svn.wordpress.org/trunk@13015 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 21:28:05 +00:00
Ryan Boren 82e3b2f8f4 Twenty Ten initial import. Props Ian Stewart, Matt Thomas, and others. see #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13012 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 16:16:26 +00:00
Dion Hulse 2a4403812a Remove hierarchical taxonomy parent support from Quick Edit (field added in error). See #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@13009 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 06:40:51 +00:00
Dion Hulse 19fc6eaf94 Remove cat_rows() admin template functions. See #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@13008 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 05:54:33 +00:00
Dion Hulse 142262150e PHPdoc for _unzip_file_pclzip & _unzip_file_ziparchive. See #10403
git-svn-id: https://develop.svn.wordpress.org/trunk@13007 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 05:07:36 +00:00
Dion Hulse b8ebf2ee2c Better error checking for ZipArchive extraction. See #10403
git-svn-id: https://develop.svn.wordpress.org/trunk@13006 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 05:02:24 +00:00
Dion Hulse 1419d92ddf Introduce ZipArchive version of unzip_file(), More efficient on memory usage for supporting hosts. See #10403
git-svn-id: https://develop.svn.wordpress.org/trunk@13005 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 04:52:35 +00:00
Dion Hulse 8f6db1c96f Use rename() if possible in WP_Filesystem_Direct::move(). Props reaperhulk. Fixes #12150
git-svn-id: https://develop.svn.wordpress.org/trunk@13001 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 02:15:27 +00:00
Dion Hulse eff9f9e25b Standardise return values in WP_Filesystem::dirlist(), ::chmod() and ::exists()
git-svn-id: https://develop.svn.wordpress.org/trunk@12999 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 01:59:30 +00:00
Dion Hulse c6aa08558a Reduce code duplication, Formatting cleanups, Reduce Chmod IO calls. See #10913 for excess IO calls.
git-svn-id: https://develop.svn.wordpress.org/trunk@12998 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 01:31:40 +00:00
Dion Hulse bb80851161 Fix recursive chmod for WP_Filesystem. Props reaperhulk for FtpExt. Fixes #11261
git-svn-id: https://develop.svn.wordpress.org/trunk@12997 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 01:12:29 +00:00
Peter Westwood 86233c4dbd Allow plugins to modify the query run by WP_User_Search. Fixes #10781 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@12989 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 12:35:15 +00:00
Mark Jaquith 2d54780d5e Create post_status=auto-draft when creating a new post item. status changes to draft on first auto-save. now we always have a real post ID to work with. see #11889. fixes #11145. fixes #11990
git-svn-id: https://develop.svn.wordpress.org/trunk@12987 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 10:07:57 +00:00
Mark Jaquith 4c3fbea45a Revert quote swap from [12955]. Fixes media upload links.
git-svn-id: https://develop.svn.wordpress.org/trunk@12986 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 07:31:38 +00:00
Dion Hulse 8fbe3333b0 Switch to *_user_option() for default password nag to avoid extra DB queries. Fixes #11380
git-svn-id: https://develop.svn.wordpress.org/trunk@12983 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 06:20:38 +00:00
Ryan Boren 1e9a464f69 Use get_plugin_data() to fetch Network header for is_network_only_plugin(). Props nacin. fixes #12139
git-svn-id: https://develop.svn.wordpress.org/trunk@12976 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 21:33:53 +00:00
Ron Rennick 96665140d5 Change Network Only to Network for network plugins, props nacin, see #12139
git-svn-id: https://develop.svn.wordpress.org/trunk@12975 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 18:33:35 +00:00
Ryan Boren 49bce47b8d Network plugin activation cleanup. Props nacin. see #12139
git-svn-id: https://develop.svn.wordpress.org/trunk@12974 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 18:10:30 +00:00
Ryan Boren 107f08638f Fix delete media nonces. Props nacin. fixes #12085
git-svn-id: https://develop.svn.wordpress.org/trunk@12972 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 17:59:18 +00:00
Ron Rennick 66f5d7e74e add support for network only to identify network plugins, see #12139
git-svn-id: https://develop.svn.wordpress.org/trunk@12970 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 16:33:35 +00:00
Dion Hulse cbe9380b41 Revert accidental case changes in [12966]. See #12035
git-svn-id: https://develop.svn.wordpress.org/trunk@12968 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 14:37:58 +00:00
Dion Hulse b48695661a Allow viewing of Attached hierarchical Terms when the user doesnt have Manage capability of the taxonomy, Only set terms if user has Management capability. See #12035
git-svn-id: https://develop.svn.wordpress.org/trunk@12967 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 14:33:29 +00:00
Dion Hulse 317b630173 update wp_popular_terms_checklist() to handle custom taxonomies. See #10122
git-svn-id: https://develop.svn.wordpress.org/trunk@12966 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 14:16:31 +00:00
Dion Hulse 23de0ed686 Cleanup admin_notice_feed(). Props nacin. Fixes #12138
git-svn-id: https://develop.svn.wordpress.org/trunk@12965 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 14:00:18 +00:00
Ron Rennick 6db43aef8c remove mod_security upload rewrite in ms htaccess, see [7563] for details
git-svn-id: https://develop.svn.wordpress.org/trunk@12962 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 23:24:15 +00:00
Ryan Boren ef25305270 Merge mu_media_buttons() into media_buttons(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12955 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 20:28:52 +00:00
Ryan Boren 7ea506e02a Integrate remove_tinymce_media_button() into wp_tiny_mce(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12954 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 20:00:18 +00:00
Ryan Boren 0399d5c023 ms-functions pruning and cleanup. Props nacin. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12948 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 18:57:32 +00:00
Ryan Boren 3bc5c8975b Sitewide plugins cleanup. Props nacin. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12947 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 18:50:36 +00:00
Ryan Boren eeaa9c307e Add lrm to fix bidi test display in RTL languages. Props ramiy. fixes #11919
git-svn-id: https://develop.svn.wordpress.org/trunk@12944 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 16:45:55 +00:00
Ron Rennick 04c99ec671 add closing table cell tag to dashboard right now, props Simek, fixes #12121
git-svn-id: https://develop.svn.wordpress.org/trunk@12940 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-03 23:06:27 +00:00
Ron Rennick 012732f59d improvements to custom content dir support, props nacin, see #11742
git-svn-id: https://develop.svn.wordpress.org/trunk@12936 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-03 18:19:56 +00:00
Ron Rennick 9cfbad8ba3 fix potential global terms inconsistency, props rboren, see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12933 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-03 01:00:57 +00:00
Ryan Boren 3b613d9aa5 Give network level upgrades separate API that is run when upgrading the main blog. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12931 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 21:53:26 +00:00
Ryan Boren 2b1691cdf4 Cleanup network plugin loading. Props nacin. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12930 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 21:41:17 +00:00
Ryan Boren 1d85da4417 Move functions to ms-deprecated.php
git-svn-id: https://develop.svn.wordpress.org/trunk@12929 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 18:05:01 +00:00
Ryan Boren 10dd8c858f Integrate update_profile_email() into user-edit.php. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12928 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 18:00:45 +00:00
Ryan Boren 12c49c44f4 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: https://develop.svn.wordpress.org/trunk@12927 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 17:37:03 +00:00
Ron Rennick 45c254ac94 pass #2 change uploaded media rewrite rule, props nacin, see #11742
git-svn-id: https://develop.svn.wordpress.org/trunk@12926 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 16:32:19 +00:00
Ron Rennick 454cf82301 minor fixes to populate_options(), UI tweaks, see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12920 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-01 20:01:14 +00:00
Ron Rennick b78a8cd218 minor fixes/improvements to populate_network(), see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12919 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-01 18:01:23 +00:00
Peter Westwood 35677e6860 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: https://develop.svn.wordpress.org/trunk@12914 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-31 17:36:00 +00:00
Peter Westwood 95b956bfb9 Fix add_pages_page to use the correct parent menu. Fixes #12100.
git-svn-id: https://develop.svn.wordpress.org/trunk@12913 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-31 17:16:00 +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
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
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 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 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 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
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
Ryan Boren 72adbb470e Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@12859 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 22:49:05 +00:00
Ryan Boren 909191a37d Deprecate is_main_blog() for is_main_site(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12858 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 22:46:09 +00:00
Ryan Boren 4fa746310c Remove first page and first comment filters. They're no longer needed. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12854 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 20:42:37 +00:00
Ryan Boren 94a9904b69 Remove fix_actve_plugins(). Props hakre. fixes #11750
git-svn-id: https://develop.svn.wordpress.org/trunk@12848 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 18:39:12 +00:00
Ryan Boren 7acbca8e8e Move update_signup_email_from_profile() logic into user-edit.php. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12842 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 17:51:50 +00:00
Ryan Boren 1f7356af5b Remove profile_page_email_warning_ob_start() and profile_page_email_warning_ob_content(). fixes #11759
git-svn-id: https://develop.svn.wordpress.org/trunk@12841 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 17:34:36 +00:00
Dion Hulse 8c6e15b457 First scratch at Taxonomy Capabilities. See #12035
git-svn-id: https://develop.svn.wordpress.org/trunk@12833 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 11:32:04 +00:00
Mark Jaquith 5aae2baff3 Better wp_reset_vars() behavior when var is already set. props scribu. fixes #11974
git-svn-id: https://develop.svn.wordpress.org/trunk@12831 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 06:06:14 +00:00
Ryan Boren d33c4ae2ca phpdoc and cleanup. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12826 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-25 22:01:43 +00:00
Ryan Boren 0d90882b71 Deprecate mu_options. Integrate directly into options.php. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12825 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-25 21:33:49 +00:00
Ryan Boren e0254c7917 Add wp-admin/includes/ms-deprecated.php. Deprecate wpmu_checkAvailableSpace. Introduce is_upload_space_available(). see #11762
git-svn-id: https://develop.svn.wordpress.org/trunk@12824 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-25 19:46:24 +00:00
Ryan Boren c01fb90ff1 Deprecate wp_shrink_dimension(), add wp-admin/includes/deprecated.php. Props filosofo. fixes #11967
git-svn-id: https://develop.svn.wordpress.org/trunk@12823 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-25 18:50:01 +00:00
Dion Hulse bc3fbede7f Merge Categories/Hierarchical taxonomies into edit-tags.php. See #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@12818 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-24 11:00:27 +00:00
Ryan Boren 5f968eaba5 Fix taxonomy check so categories show in post quick edit. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12812 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-23 18:27:26 +00:00
Ryan Boren 4085e644a6 Update new page link. fixes #11958
git-svn-id: https://develop.svn.wordpress.org/trunk@12809 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-23 17:59:06 +00:00
Ryan Boren 345b2656c5 Remove raquo. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12804 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-22 22:34:54 +00:00
Ryan Boren e5a67cebd5 Create metaboxes for hierarchical taxonomies. Props prettyboymp. fixes #10122
git-svn-id: https://develop.svn.wordpress.org/trunk@12798 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-22 19:30:05 +00:00
Ryan Boren 8f1e29abd1 Introduce set_current_screen(). Set current screen for inline edit ajax requests so post rows can be properly displayed. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12797 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-22 18:27:54 +00:00
Dion Hulse bdc99b016a Optimised unzip_file(), reduces is_dir() IO calls. See #10779
git-svn-id: https://develop.svn.wordpress.org/trunk@12794 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-22 11:02:09 +00:00
Ryan Boren 2e46e81309 i18n fixes. Props nbachiyski. fixes #11954
git-svn-id: https://develop.svn.wordpress.org/trunk@12789 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-21 21:37:43 +00:00
Ryan Boren 45b2e6b3af Sanitize translation of default post slug. Props nbachiyski. fixes #11952
git-svn-id: https://develop.svn.wordpress.org/trunk@12784 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-21 07:19:23 +00:00
Ryan Boren efb7966619 Update trash and right now links for pages. fixes #11958
git-svn-id: https://develop.svn.wordpress.org/trunk@12783 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-21 06:53:33 +00:00
Ryan Boren 91732dc4f1 Clear some warnings. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12782 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-20 23:01:09 +00:00
Ryan Boren aaa492bf22 Screen icons for site admin pages. Using temp icon until new ones are done. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12781 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-20 22:35:21 +00:00
Ryan Boren a9b7e7f7fa Deprecate wp_install_blog_defaults(). Use wp_install_defaults() instead. fixes #11747 see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12776 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-20 20:09:41 +00:00
Ron Rennick f2736aa1ab set default empty message, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12775 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-20 18:25:08 +00:00
Ron Rennick a5d7344d4f sync single and multisite cookie hash, remove extraneous code, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12771 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-20 01:14:05 +00:00
Ron Rennick 1a8f8ca039 add multisite theme admin, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12769 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 20:03:11 +00:00
Ryan Boren 09aaaaaa23 Use SimplePie in admin_notice_feed(). Props garyc40. fixes #11765
git-svn-id: https://develop.svn.wordpress.org/trunk@12767 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 19:33:21 +00:00
Ryan Boren aceedd977d Introduce clean_user_cache(). fixes #11761
git-svn-id: https://develop.svn.wordpress.org/trunk@12766 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 19:23:11 +00:00
Ryan Boren 4dabd01ce6 Remove mu_dashboard(). Rely on cap checks to customize dash for multisite.
git-svn-id: https://develop.svn.wordpress.org/trunk@12765 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 18:15:53 +00:00
Ryan Boren 411594ffd8 Remove disable_some_pages(). Rely on cap checks. fixes #11770
git-svn-id: https://develop.svn.wordpress.org/trunk@12764 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 18:11:33 +00:00
Ryan Boren 179e1c6d15 Formatting cleanups
git-svn-id: https://develop.svn.wordpress.org/trunk@12759 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 16:14:06 +00:00
Ron Rennick ef5e6e9ad2 implement multisite schema, upgrade, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12756 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 00:04:25 +00:00
Ryan Boren ee5efb4187 Multisite and formatting cleanups. Introduce get_allowed_themes(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12755 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 23:34:36 +00:00
Ryan Boren dbb773aa8e Fix inverted logic. phpdoc update. Props nacin. fixes #11935
git-svn-id: https://develop.svn.wordpress.org/trunk@12754 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 22:34:16 +00:00
Ryan Boren f260b32d25 Use cap checks instead of multisite and super admin checks. Add some new caps. Merge cleanup. see #11644.
git-svn-id: https://develop.svn.wordpress.org/trunk@12753 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 22:21:36 +00:00
Ryan Boren e2adfc832a Coding standards, space after if
git-svn-id: https://develop.svn.wordpress.org/trunk@12752 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 20:34:48 +00:00
Dion Hulse 97fb7fdd8b Add extra error checking to the Plugin Browser and Plugin API function. Fixes #11640
git-svn-id: https://develop.svn.wordpress.org/trunk@12742 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-17 03:26:50 +00:00
Dion Hulse ee11169862 Fix WP_Filesystem_Direct::mkdir() when running under safe_mode on certain versions of PHP. Props remi. Fixes #10497
git-svn-id: https://develop.svn.wordpress.org/trunk@12741 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-17 02:57:59 +00:00
Ryan Boren 8ef8b7bad5 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@12733 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 22:11:12 +00:00
Ryan Boren b74bea8a2c Merge edit-pages.php into edit.php. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12728 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 16:58:36 +00:00
Ron Rennick 542f2132ab merge multisite wp-admin/includes except schema, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12726 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 00:21:13 +00:00
Dion Hulse 76592af8d8 Standardise WP_Filesystem_*::put_contents() arguments to support chmod reliably across all transports. Fixes #10889
git-svn-id: https://develop.svn.wordpress.org/trunk@12723 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-14 09:23:53 +00:00
Ryan Boren 105573a2f9 register_post_type(). see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12719 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-13 18:49:56 +00:00
Peter Westwood 60d271287e Improve get_pending_comments_num() to be a little more predictable and revert the erroneous change in [12596]. See #11882.
git-svn-id: https://develop.svn.wordpress.org/trunk@12715 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 22:38:26 +00:00
Ryan Boren 2a68d3919d Allow per_page settings for custom post type edit screens. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12707 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 15:41:10 +00:00
Ryan Boren 0e4bc929a1 Make wp_edit_posts_query() more post_type aware. Use array calling style. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12706 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 15:23:10 +00:00
Ryan Boren 4e3864bd28 Merge page-new.php into post-new.php. Start abstracting column headers and prefs. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12702 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 00:14:27 +00:00
Ryan Boren c64564251a Show custom hierarchical taxonomies in the menus. Props dd32. see #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@12694 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-11 19:27:44 +00:00
Peter Westwood 2e2ad12171 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: https://develop.svn.wordpress.org/trunk@12680 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-09 10:03:55 +00:00
Ron Rennick 436316a4a8 Add is_subdomain_install() to ms code - Fixes #11796
git-svn-id: https://develop.svn.wordpress.org/trunk@12674 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 21:25:01 +00:00
Ryan Boren 71bef9fe26 Convert update_themes, update_plugins, update_core, and dismissed_update_core into site transients/plugins. Remove no longer need compat code.
git-svn-id: https://develop.svn.wordpress.org/trunk@12673 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 20:49:55 +00:00
Ryan Boren b153c75949 Use is_super_admin() instead of is_site_admin(). Props GIGALinux see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12672 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 20:29:56 +00:00
Ryan Boren 6a4dae4be0 Disable sitewide plugin actions that use unfiltered GET and generate warnings pending further scrutiny. see #11767
git-svn-id: https://develop.svn.wordpress.org/trunk@12670 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 20:15:22 +00:00
Ryan Boren 70c55846ac Pass parent to category_exists(). Props thetoine. fixes #11825
git-svn-id: https://develop.svn.wordpress.org/trunk@12662 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 17:58:13 +00:00
Peter Westwood b5a43efa73 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: https://develop.svn.wordpress.org/trunk@12659 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 08:51:12 +00:00
Peter Westwood 2a93c55f43 Switch to passing arrays instead of query strings to functions. Fixes #6647 props filosofo and hakre.
git-svn-id: https://develop.svn.wordpress.org/trunk@12657 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 08:34:39 +00:00
Ryan Boren 7b580bf8e8 Use update and insert. Props DD32. fixes #6836
git-svn-id: https://develop.svn.wordpress.org/trunk@12652 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 20:13:54 +00:00
Peter Westwood 820991ac95 Switch from create_function to a fixed function for the plugin page activation admin notice. Fixes #11763 props dd32.
git-svn-id: https://develop.svn.wordpress.org/trunk@12636 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 07:41:13 +00:00
Ryan Boren 7196d7fbe8 Include ms.php if multisite
git-svn-id: https://develop.svn.wordpress.org/trunk@12633 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 04:33:41 +00:00
Ryan Boren 18e6d905c5 Strip trailing whites from ms files. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12632 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 04:27:46 +00:00
Ryan Boren c62b24a2af Queue ms.css if multisite. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12625 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 02:33:23 +00:00
Ryan Boren cf5aae053b s/wpmu/ms/ in file refs. Props Denis-de-Bernardy. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12622 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 00:30:53 +00:00
Ron Rennick 9b84b850c9 Change references to wpmu-edit.php - See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12620 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 00:24:03 +00:00
Ryan Boren 3054280850 Move wpmu_menu() logic into menu.php. Props Denis-de-Bernardy. fixes #11763
git-svn-id: https://develop.svn.wordpress.org/trunk@12618 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 00:17:13 +00:00
Ryan Boren dfe2e39c2c Deprecate argument. Never fallback to options table for user option requests. Props nacin. fixes #11615
git-svn-id: https://develop.svn.wordpress.org/trunk@12616 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 00:01:52 +00:00
Ryan Boren d710ef45d0 Move some multisite menu checks directly into menu.php. see #11763
git-svn-id: https://develop.svn.wordpress.org/trunk@12613 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-06 23:41:03 +00:00
Peter Westwood 816ed91f0f Remove svn:executable property on new files. Fixes #11743 props Denis-de-Bernardy.
git-svn-id: https://develop.svn.wordpress.org/trunk@12610 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-06 22:22:45 +00:00
Ron Rennick 032de15d5a Add mu only (inactive) files
git-svn-id: https://develop.svn.wordpress.org/trunk@12603 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-06 04:02:57 +00:00
Ryan Boren 9ef2cb198f More custom post type support. Props scribu. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12597 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-04 16:58:43 +00:00
Peter Westwood 170b14f97d Fix a notice when replying to comments in the admin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12596 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-02 17:16:26 +00:00
Peter Westwood 5b481ca51a phpDoc for get_pending_comments_num().
git-svn-id: https://develop.svn.wordpress.org/trunk@12595 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-02 17:15:11 +00:00
Ryan Boren 3d8c08b96a Use current_time() to calculate current time. Props filosofo. fixes #10915
git-svn-id: https://develop.svn.wordpress.org/trunk@12590 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-30 17:56:09 +00:00
Peter Westwood a752e6b561 Updates and improvements to _depreceated_argument. See #11386 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12584 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-30 16:23:39 +00:00
Andrew Ozz 276e9c3b09 Remove unneeded empty span and add form closing tag in media.php, props Simek and hakre, fixes #11569
git-svn-id: https://develop.svn.wordpress.org/trunk@12582 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-30 08:19:34 +00:00
Ryan Boren 48d6975ae7 Cleanup after bailing when php or mysql versions are not compat. Props nacin. fixes #11638 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12564 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-28 17:19:04 +00:00
Ryan Boren 0a1c83449c Better duplicate option delete query. Props miqrogroove. fixes #11649 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12560 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-28 16:25:56 +00:00
Andrew Ozz 39665b05c3 Show disabled image rotation buttons when imagerotate() is missing, props husky and hakre, fixes #11536
git-svn-id: https://develop.svn.wordpress.org/trunk@12555 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-27 21:24:39 +00:00
Peter Westwood 688e340821 Swap out ;; for ;. Fixes #11618 props demetris and nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12548 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-26 16:53:17 +00:00
Peter Westwood 4460ad8e7b phpDoc for wp_reset_vars().
git-svn-id: https://develop.svn.wordpress.org/trunk@12547 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-26 16:48:24 +00:00
Andrew Ozz c3f5b583bc Replace ctype_digit() with is_numeric() for better compatibility, props markup, fixes #11620 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12544 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-26 08:47:47 +00:00
Matt Mullenweg d94f8b9331 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: https://develop.svn.wordpress.org/trunk@12543 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-25 23:04:48 +00:00
Matt Mullenweg 8fa4b51cb6 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: https://develop.svn.wordpress.org/trunk@12542 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-25 22:22:21 +00:00
Matt Mullenweg 8cfe7f8e85 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: https://develop.svn.wordpress.org/trunk@12540 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-25 02:46:40 +00:00
Peter Westwood b799f4886e Consitent use of … Fixes #10374 props demetris.
git-svn-id: https://develop.svn.wordpress.org/trunk@12533 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-24 09:46:57 +00:00
Ryan Boren 7ccd64fbe7 Retunr WP_Error from wp_crop_image() and image_resize(). Props mdwaffe. fixes #9922
git-svn-id: https://develop.svn.wordpress.org/trunk@12524 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 18:39:31 +00:00
Ryan Boren f79d69c71b Check upload_tmp_dir ini settings for a usable temporary path. Props Denis-de-Bernardy. fixes #6699
git-svn-id: https://develop.svn.wordpress.org/trunk@12519 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 16:22:26 +00:00
Ryan Boren dcd3604d90 Use array calling style. Props Denis-de-Bernardy. see #6647
git-svn-id: https://develop.svn.wordpress.org/trunk@12515 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 15:31:02 +00:00
Ryan Boren 6de4fcc190 Remove unneeded quotes around vars. Props johnbillion. fixes #10245
git-svn-id: https://develop.svn.wordpress.org/trunk@12513 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 15:16:53 +00:00
Peter Westwood 159726cd94 Wrap the content of <wp:meta_value></wp:meta_value> in CDATA for WXR exports. Fixes #9633 props hakre.
git-svn-id: https://develop.svn.wordpress.org/trunk@12506 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 13:03:34 +00:00
Ryan Boren 6e6e9f77b0 Add escaping to _wp_comment_row(). Props Denis-de-Bernardy. fixes #11492 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12493 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-22 17:00:54 +00:00
Ryan Boren 9ff30116e7 Increase download_url() timeout to 5 minutes. fixes #11551 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12489 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-22 16:42:30 +00:00
Peter Westwood c7d6c83b94 Updated phpDoc for wp-admin/includes/post.php . Fixes #11198 based on a patch from Simek.
git-svn-id: https://develop.svn.wordpress.org/trunk@12483 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-22 12:25:15 +00:00
Peter Westwood 154ecfda7b Fix spelling mistake in tooltip for image rotation button. Fixes #11488 for trunk props computerwiz908.
git-svn-id: https://develop.svn.wordpress.org/trunk@12481 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-22 12:02:51 +00:00
Peter Westwood f0a6bb378b Deprecate _nc() as _nx() is a much better was of specifying contexts. Fixes #11404 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12459 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-19 10:51:29 +00:00
Ryan Boren 715fa5d163 Hard code required version in update-core.php. see #11464
git-svn-id: https://develop.svn.wordpress.org/trunk@12450 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-18 16:53:44 +00:00
Andrew Ozz 8219ad5b49 Fix the scale image check in image editor, fixes #11473 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12446 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-18 09:52:32 +00:00
Ryan Boren 0df26215b0 Add required php and mysql versions to version.php. Future proof required version check strings. Props nacin. see #11464
git-svn-id: https://develop.svn.wordpress.org/trunk@12432 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-17 18:46:19 +00:00
Ryan Boren dbad0d7271 Fix typo. see #11464
git-svn-id: https://develop.svn.wordpress.org/trunk@12426 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-17 16:22:54 +00:00
Ryan Boren 899da05e4c Check MySQL and PHP versions when auto upgrading. Props westi, Denis-de-Bernardy, nacin, caesarsgrunt. see #11464
git-svn-id: https://develop.svn.wordpress.org/trunk@12422 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-17 16:04:47 +00:00
Ryan Boren 60bbd214b3 Remove oEmbed discovery option. Add hook so plugins can enable it. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12411 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-15 21:16:00 +00:00
Ryan Boren 8e0d091c55 Remove no longer needed DB has_cap() checks. Props filosofo. fixes #11443
git-svn-id: https://develop.svn.wordpress.org/trunk@12409 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-15 21:01:57 +00:00
Ryan Boren 922d26b596 Fix upload dir defaults. Props Denis-de-Bernardy. fixes #11276
git-svn-id: https://develop.svn.wordpress.org/trunk@12405 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-15 17:53:51 +00:00
Andrew Ozz 14e4e32252 Fix action on dashboard spam link, merge deletecomment with trashcomment, untrashcomment, spamcomment, and unspamcomment, props caesarsgrunt, fixes #11432
git-svn-id: https://develop.svn.wordpress.org/trunk@12401 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-15 09:45:29 +00:00
Peter Westwood f6806ba64c Fix the IP Address validation code in the FTP class. Fixes #11393 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12387 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-13 00:02:01 +00:00