Commit Graph

6745 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
Andrew Nacin ac368dbd77 Optimize the Authors drop-down in export.php. Makes it one query, also orders authors by display name. see #10317.
git-svn-id: https://develop.svn.wordpress.org/trunk@14153 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 14:51:55 +00:00
Dion Hulse a299bd5c3e Better styling for Press This Category tabs in Classic theme. Fixes #12809
git-svn-id: https://develop.svn.wordpress.org/trunk@14150 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 09:44:07 +00:00
Dion Hulse 5bfc2f5463 Better styling for Press this Categories. Props duck_. See #12809
git-svn-id: https://develop.svn.wordpress.org/trunk@14149 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 09:41:51 +00:00
Dion Hulse 64340690f9 Move nonces into better locations, Currently nested within the Editor support, which is not always enabled. Props duck_. Fixes #12867
git-svn-id: https://develop.svn.wordpress.org/trunk@14148 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 09:23:03 +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 f42b2b775b Uncheck rows on comments page when hiding rows so as to not affect it by Bulk edits. Fixes #12365
git-svn-id: https://develop.svn.wordpress.org/trunk@14143 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 07:37:45 +00:00
Dion Hulse aa9db422bf Fix typo in unspamed comments message
git-svn-id: https://develop.svn.wordpress.org/trunk@14142 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 07:32:59 +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
Andrew Nacin ec4f5b83bf Use relative paths when including files, avoiding include_path. fixes #12594, props sorich87.
git-svn-id: https://develop.svn.wordpress.org/trunk@14139 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 06:14:45 +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
Andrew Nacin d76c69f054 Escape some permalinks. add_query_arg will &, not &, so we need to use esc_url those when used in an attribute. fixes #12126.
git-svn-id: https://develop.svn.wordpress.org/trunk@14137 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 06:01:19 +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 632de8561e Fix undefined page var in Post Javascript; Fixes inactive cancel button in Publish time selection. Props duck_. Fixes #12829
git-svn-id: https://develop.svn.wordpress.org/trunk@14125 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 01:54:44 +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 1267be476d Make post box states a global user preference. see #13032
git-svn-id: https://develop.svn.wordpress.org/trunk@14112 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 17:39:24 +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 6be056c689 Allow create_users cap to be used independently of edit_users cap. fixes #12794.
git-svn-id: https://develop.svn.wordpress.org/trunk@14110 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 14:54:44 +00:00
Andrew Nacin e3e9a8e5c8 Don't enqueue unnecessary scripts when the post type doesn't support the editor. fixes #12590, props scribu, _duck.
git-svn-id: https://develop.svn.wordpress.org/trunk@14107 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 14:03:48 +00:00
Andrew Nacin 25a910c025 Add actions to the form tags of user-new, user-edit, and post edit. props sivel, fixes #11933.
git-svn-id: https://develop.svn.wordpress.org/trunk@14106 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 13:57:57 +00:00
Andrew Nacin 82a7687b30 Small fix to [14102]. props ocean90. see #12889
git-svn-id: https://develop.svn.wordpress.org/trunk@14103 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 13:45:56 +00:00
Andrew Nacin 9b66f84145 Fix the blog settings checkboxes on ms-sites.php. fixes #12889
git-svn-id: https://develop.svn.wordpress.org/trunk@14102 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 13:35:44 +00:00
Andrew Nacin 3cc1ff4546 Fix menu icons for custom post types. Fixes #12992, props wmrom.
git-svn-id: https://develop.svn.wordpress.org/trunk@14100 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 03:29:34 +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 91dad860b7 Fix Right Now ugliness in blue/classic theme. see #12202
git-svn-id: https://develop.svn.wordpress.org/trunk@14098 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 02:08:28 +00:00
Andrew Nacin a6c8b2c780 Bump tools.php from read cap to edit_posts. Old cap was for Gears. fixes #12903, see #11301.
git-svn-id: https://develop.svn.wordpress.org/trunk@14097 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-15 22:16:22 +00:00
Andrew Nacin 82358ca36e Don't try to repair sitecategories if it doesn't exist. Global terms may be disabled, though we can't check that without a DB Call. fixes #12964
git-svn-id: https://develop.svn.wordpress.org/trunk@14096 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-15 21:49:42 +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
Andrew Nacin 92884c5aae Unbreak setup-config.php. see #12990
git-svn-id: https://develop.svn.wordpress.org/trunk@14081 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-13 22:35:39 +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 491063c698 Tweak new strings for better typography. Props demetris. Fixes #12962
git-svn-id: https://develop.svn.wordpress.org/trunk@14070 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-11 10:41:54 +00:00
Dion Hulse 9913b7d208 Update Press This category styling & html to match 3.0 management screens. Props noel. See #12809
git-svn-id: https://develop.svn.wordpress.org/trunk@14069 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-11 09:11:39 +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 0d4febfda2 Consistent spacing for MAnage|Install Themes menu tabs. Props dremeda for initial patch. See #12412
git-svn-id: https://develop.svn.wordpress.org/trunk@14063 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-11 02:02:30 +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
Dion Hulse 16256fd828 Check the appropriate radio option on the Permalinks page for the Root blog; Display index.php prefixes properly for the root Multisite Blog. Fixes #12952
git-svn-id: https://develop.svn.wordpress.org/trunk@14051 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-10 11:30:34 +00:00
Dion Hulse eda97585bb Prevent $post_type_object->menu_position from conflicting with another plugin, or core menu item. Props blepoxp. Fixes #12951
git-svn-id: https://develop.svn.wordpress.org/trunk@14049 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-10 10:48:30 +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
Dion Hulse 9b44257e39 Update the text on the Manage Themes page for when there is only 1 theme available. Props jane & IRC people for strings. Fixes #12916
git-svn-id: https://develop.svn.wordpress.org/trunk@14046 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-10 03:27:22 +00:00
Ryan Boren ad1b9608e6 add_meta_boxes actions for comment and link forms.
git-svn-id: https://develop.svn.wordpress.org/trunk@14044 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-09 15:17:57 +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
Mark Jaquith e12a085938 TB_iframe fixes for stuff that broke in r14015. props scribu. fixes #12878. see #12792
git-svn-id: https://develop.svn.wordpress.org/trunk@14030 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-07 13:52:12 +00:00
Ryan Boren 27922b88e6 Update css minifications.
git-svn-id: https://develop.svn.wordpress.org/trunk@14029 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-07 13:49:41 +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
Andrew Nacin 1c4872fdea In ms-sites.php blog, display 'mature' option for root blog. Also, small styling cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@14022 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-06 23:13:44 +00:00
Andrew Nacin 01229a6a54 New Super Admin screen and menu icons from Ben Dunkle.
git-svn-id: https://develop.svn.wordpress.org/trunk@14021 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-06 18:36:31 +00:00
Andrew Nacin d4cf406ab4 Remove old bulk actions MS sites code.
git-svn-id: https://develop.svn.wordpress.org/trunk@14020 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-06 18:17:21 +00:00
Andrew Nacin bc13365e82 Remove old bulk edit super admin code.
git-svn-id: https://develop.svn.wordpress.org/trunk@14018 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-06 13:26:12 +00:00
Dion Hulse 85706b7347 Fix a typo in the Theme Bulk upgrader. Fixes upgrading for those using FTP.
git-svn-id: https://develop.svn.wordpress.org/trunk@14017 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-06 11:28:55 +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
Mark Jaquith 697e807eb0 Add menu_position and menu_icon params to register_post_type(). props ptahdunbar. fixes #12541
git-svn-id: https://develop.svn.wordpress.org/trunk@14014 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-06 04:32:08 +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
Ron Rennick 2d028e668f fix validation on dashboard site in ms-options, fixes #12831
git-svn-id: https://develop.svn.wordpress.org/trunk@14004 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-05 03:12:54 +00:00
Ron Rennick 1bbf9dd065 more manage_network_* caps, see #12109
git-svn-id: https://develop.svn.wordpress.org/trunk@14003 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-05 02:59:10 +00:00
Dion Hulse 49cd5dfeab Nest the HTML correctly on the Manage Themes page when the user does not have permission to Install themes. Fixes #12847
git-svn-id: https://develop.svn.wordpress.org/trunk@14001 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-05 00:00:53 +00:00
Andrew Nacin 2fc834c550 More verbose message on how to add MS constants to one's config file. props sivel, see #12848
git-svn-id: https://develop.svn.wordpress.org/trunk@13999 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-04 23:49:11 +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 10057340f7 We're not lame if they don't have the PHP 5 DateTime library. Change the message when there is no timezone support. props neoxx, fixes #12580.
git-svn-id: https://develop.svn.wordpress.org/trunk@13990 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-04 08:15:20 +00:00
Andrew Nacin ed8970fe66 Don't remove a category filter after performing an action on edit.php. props garyc40, fixes #11587
git-svn-id: https://develop.svn.wordpress.org/trunk@13987 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-04 06:37:10 +00:00
Andrew Nacin 1b0ea3c637 Convert xfn.js to jQuery. Make the calculated field readonly if js. props rmccue. fixes #12551
git-svn-id: https://develop.svn.wordpress.org/trunk@13984 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-04 03:53:14 +00:00
Andrew Nacin d59ceca06e Remove Gears from UI. see #11301
git-svn-id: https://develop.svn.wordpress.org/trunk@13981 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-04 00:48:28 +00:00
Andrew Nacin da25d450e4 Don't allow # in custom permalink structures and cat/tag bases. Improve some MS branching. fixes #12271
git-svn-id: https://develop.svn.wordpress.org/trunk@13980 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-04 00:41:39 +00:00
Andrew Nacin 7986cf33c5 Push the Delete link to the end for plugin actions. see #12741
git-svn-id: https://develop.svn.wordpress.org/trunk@13979 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-04 00:24:16 +00:00
Andrew Nacin ebd39b1233 Have get_search_query() escape by default, like it's echoing counterpart the_search_query(). see #12780
git-svn-id: https://develop.svn.wordpress.org/trunk@13978 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-03 23:38:38 +00:00
Andrew Nacin fcf7f399ef Fix the sticky footer. hides a scrollbar. see #12586
git-svn-id: https://develop.svn.wordpress.org/trunk@13976 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-03 23:30:27 +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 d2c5cad7b8 A lighter gradient for the favorite actions menu. props JohnONolan, see #12586
git-svn-id: https://develop.svn.wordpress.org/trunk@13973 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-03 21:47:32 +00:00
Peter Westwood 67f7fe43dc Make the link a seperate translation so people only have to translate it if they really want to. See #12787.
git-svn-id: https://develop.svn.wordpress.org/trunk@13972 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-03 13:25:47 +00:00
Andrew Nacin 5136414342 Add indent to front page drop-downs in options-reading, to better indicate they are dependent on the radio button above them. fixes #12266
git-svn-id: https://develop.svn.wordpress.org/trunk@13971 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-03 12:53:46 +00:00
Andrew Nacin 9ca65d19a3 Restore arrow used in widgets panel. Doubled as fav-arrow.gif until [13824]. see #12586
git-svn-id: https://develop.svn.wordpress.org/trunk@13970 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-03 12:32:48 +00:00
Andrew Nacin 7456b2d56c Fix display of 'enter title here'. see #12591
git-svn-id: https://develop.svn.wordpress.org/trunk@13969 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-03 12:27:46 +00:00
Andrew Nacin a89c39123e More admin header improvements. props JohnONolan. see #12586
git-svn-id: https://develop.svn.wordpress.org/trunk@13968 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-03 12:13:38 +00:00
Andrew Nacin 17a021c1bf Move wp-login.php background from body.login to body selector. props JohnONolan. see #12586
git-svn-id: https://develop.svn.wordpress.org/trunk@13967 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-03 11:37:24 +00:00
Andrew Nacin a41ca95578 Use solid color in new footer, to allow for expansion. props JohnONolan. fixes #12810
git-svn-id: https://develop.svn.wordpress.org/trunk@13966 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-03 11:26:27 +00:00
Andrew Nacin fe922bc76d Some more MS cleanups. see #12460
git-svn-id: https://develop.svn.wordpress.org/trunk@13965 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-03 11:15:51 +00:00
Andrew Nacin 76049e428d Add 'enter title here' text to title box. see #12591
git-svn-id: https://develop.svn.wordpress.org/trunk@13964 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-03 10:23:17 +00:00
Andrew Nacin 0ee9424c92 Link to the new Child Themes codex article in the GUU. fixes #12787, props demetris.
git-svn-id: https://develop.svn.wordpress.org/trunk@13963 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-03 08:35:33 +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 fcc6a27750 Don't show "Link added." in link-add.php if an empty form was submitted. fixes #12262.
git-svn-id: https://develop.svn.wordpress.org/trunk@13960 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-03 07:48:30 +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 066c4893a1 Fix "Mine" posts link on edit.php. Adds post_type to URL, and hides auto-drafts from count. props rovo89, fixes #12692.
git-svn-id: https://develop.svn.wordpress.org/trunk@13957 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-03 05:19:39 +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 09b04d58bf More MS cleanups. props ocean90. see #12460
git-svn-id: https://develop.svn.wordpress.org/trunk@13953 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-03 00:10:44 +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
Andrew Nacin ca8c935b10 Add beta testers note to nav menus admin panel.
git-svn-id: https://develop.svn.wordpress.org/trunk@13948 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 22:46: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
Ryan Boren af71e20215 Move wp-ajax_add-tax hook back to registration. Reverts part of [13924]. see #10437
git-svn-id: https://develop.svn.wordpress.org/trunk@13946 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 17:07:30 +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
Ron Rennick 52c9389af1 fix folder install detection in [13926], see #12736
git-svn-id: https://develop.svn.wordpress.org/trunk@13930 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 03:27:08 +00:00
Andrew Nacin 96144d31d9 Switch from wp_die() to a nice error message for siteurl!=home for network.php. see #12736
git-svn-id: https://develop.svn.wordpress.org/trunk@13929 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 03:24:18 +00:00
Ron Rennick 10f1daf8e3 restore super admin icon pending updated menu sprite, see #12374
git-svn-id: https://develop.svn.wordpress.org/trunk@13927 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 02:15:40 +00:00
Ron Rennick fc051c063f block subdomain install when install is in a folder, see #12736
git-svn-id: https://develop.svn.wordpress.org/trunk@13926 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 02:04:25 +00:00
Dion Hulse 312438ad06 Use the taxonomy show_ui flag to control if all WordPress generated UI is exposed (Menu previously, This affects metaboxes). See #10437
git-svn-id: https://develop.svn.wordpress.org/trunk@13924 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 01:23:58 +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 f1e8f1847b Regenerate production CSS and bump version for last commit
git-svn-id: https://develop.svn.wordpress.org/trunk@13919 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-01 21:22:48 +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 a3eb14e75f Update admin-header-footer.png. see #12586. props johnonolan
git-svn-id: https://develop.svn.wordpress.org/trunk@13917 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-01 20:32:17 +00:00
Mark Jaquith 6d32e21468 Use correct post type label in a few key places.
git-svn-id: https://develop.svn.wordpress.org/trunk@13916 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-01 20:14:26 +00:00
Dion Hulse ff6575838c Use the correct slug value for reverting post slug inline editing. Props mitchoyoshitaka. Fixes #12788
git-svn-id: https://develop.svn.wordpress.org/trunk@13909 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-01 10:16:55 +00:00
Andrew Nacin 12c0ed6a6c Ensure PHP4 compat. fixes #12791
git-svn-id: https://develop.svn.wordpress.org/trunk@13907 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-01 07:01:32 +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
Ron Rennick ca9b460f34 block enabling network when siteurl and home are not the same, see #12736
git-svn-id: https://develop.svn.wordpress.org/trunk@13904 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-31 18:23:05 +00:00
Dion Hulse 0fe9892137 Display hierarchy in Hierarchical taxonomy Quick edit box. Props nacin. Fixes #11858
git-svn-id: https://develop.svn.wordpress.org/trunk@13901 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-31 08:57:40 +00:00
Dion Hulse a999fdc1a6 Add Password Mismatch feedback to the Password Strength Meter. Props dancole. Fixes #12576
git-svn-id: https://develop.svn.wordpress.org/trunk@13900 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-31 08:45:51 +00:00
Andrew Nacin 2e63fcbfd6 Add link to Updating WordPress codex page. props mrmist, fixes #11280.
git-svn-id: https://develop.svn.wordpress.org/trunk@13898 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-31 08:16:57 +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 7c772cde16 Correct the @since's for custom-header.php.
git-svn-id: https://develop.svn.wordpress.org/trunk@13895 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-30 18:55:35 +00:00
Ron Rennick a2244bcc26 restore user list display in single site, props ocean90, see #12711, #12767
git-svn-id: https://develop.svn.wordpress.org/trunk@13894 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-30 18:28:11 +00:00
Ron Rennick 8bfc74c42b new Super Admin menu icon, props jane, see #12374
git-svn-id: https://develop.svn.wordpress.org/trunk@13893 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-30 16:28:51 +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
Ron Rennick 049fcf5b46 delete user cap in remove_all_caps(), props ocean90, see #12711
git-svn-id: https://develop.svn.wordpress.org/trunk@13883 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 20:35:06 +00:00
Dion Hulse 3e9d7f8975 Display "Edit $taxonomy" on edit-tags.php Edit screen. Props jfarthing84. See #12746
git-svn-id: https://develop.svn.wordpress.org/trunk@13876 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 10:23:25 +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 ac3210d8c0 Restore Edit link for active plugins. Whitespace & if end markers. Also removed a non-needed bool check. Fixes #12741
git-svn-id: https://develop.svn.wordpress.org/trunk@13874 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 07:23:29 +00:00
Dion Hulse eecf190b63 Standardise the CSS coding standards in install.dev.css
git-svn-id: https://develop.svn.wordpress.org/trunk@13871 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 11:28:25 +00:00
Dion Hulse e02622be5b Pretty up the code text boxes on Install. Affects the non-writable wp-config.php mainly. Code styling taken from Network panel. Props ocean90
git-svn-id: https://develop.svn.wordpress.org/trunk@13870 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 11:26:06 +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 38e670f45b Make the WordPress Magic translate Plugins properly. Fixes #12681
git-svn-id: https://develop.svn.wordpress.org/trunk@13868 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 06:43:16 +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 724ae803d8 Mark auto-deactivated plugins as recently active after the Plugin Editor deactivates them. Fixes #10925
git-svn-id: https://develop.svn.wordpress.org/trunk@13859 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 03:28:52 +00:00
Dion Hulse d3eec153be Add Repeat-x/repeat-y support to Custom Backgrounds, Add Live preview of Repeat option, Use Thumbnail of background for Background Preview. Props jshreve. See #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13856 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 02:53:04 +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 65b33d2608 Validate Table Prefix in wp-config.php generator. Props johnl1479. Fixes #12622
git-svn-id: https://develop.svn.wordpress.org/trunk@13853 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 01:57:45 +00:00
Dion Hulse 6cd731abb4 Change form field ID's to prevent ID clashes with listing table column headers. See #11937
git-svn-id: https://develop.svn.wordpress.org/trunk@13852 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 01:42:34 +00:00
Dion Hulse 7d29486ed5 Properly escape plugin admin menu URL's for display. Crops up with custom post_type's with a custom submenu item with & instead of &
git-svn-id: https://develop.svn.wordpress.org/trunk@13851 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 01:32:35 +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
Andrew Nacin a5b40ae46a New WP logo for admin header. Props Ben Dunkle and Matt Thomas. see #12586 (checks in images for [13842])
git-svn-id: https://develop.svn.wordpress.org/trunk@13843 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-27 06:42:52 +00:00
Andrew Nacin a73b1c55b2 New WP logo for admin header. Props Ben Dunkle and Matt Thomas. see #12586
git-svn-id: https://develop.svn.wordpress.org/trunk@13842 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-27 06:41:01 +00:00
Dion Hulse c161ae3d7d Use $ptype_obj->edit_type_cap instead of 'edit_posts' for custom post_type menu's & edit.php access. Allows for a user to have the capability to edit a post_type irrespective of their Posts access. Props rovo89. Fixes #12691
git-svn-id: https://develop.svn.wordpress.org/trunk@13841 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-27 06:40:59 +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 8091c83b26 Standardize db config-sample values. fixes #11523
git-svn-id: https://develop.svn.wordpress.org/trunk@13837 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-27 05:42:08 +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 2205476b34 Update string to better reflect the times. see #11301
git-svn-id: https://develop.svn.wordpress.org/trunk@13834 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 21:07:12 +00:00
Andrew Nacin a383d24d57 Remove 'Turbo' link from admin header. see #11301
git-svn-id: https://develop.svn.wordpress.org/trunk@13833 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 20:59:57 +00:00
Andrew Nacin 2ec8eace83 Move ajax spinner to be adjacent to the Quick Edit Update button. also, the dashboard recent comments Submit Reply button. fixes #12345
git-svn-id: https://develop.svn.wordpress.org/trunk@13832 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 19:55:48 +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 411e9a74f1 Remove one-pixel white bottom border off new light gray header. After some discussion, mainly due to screen options/help tabs. see #12586
git-svn-id: https://develop.svn.wordpress.org/trunk@13826 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 18:40:29 +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
Ryan Boren 3d69d47f63 Ligten header and footer for gray color scheme. Props johnonolan. see #12586
git-svn-id: https://develop.svn.wordpress.org/trunk@13824 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 17:09:53 +00:00
Andrew Nacin 07c30fb4e9 Syndication feeds show the (#) most recent 'items', not posts, as it applies to comments as well. See #12556, see #7092
git-svn-id: https://develop.svn.wordpress.org/trunk@13823 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 14:17:19 +00:00
Andrew Nacin a258c8ec2b Use a generic string instead of "Your username" in user-edit.php to account for non-profile edits. props caesarsgrunt, fixes #11353
git-svn-id: https://develop.svn.wordpress.org/trunk@13820 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 13:56:10 +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 3d67dd8d50 Use actual hostname instead of example.com in subdirectory/subdomain examples. fixes #12679, props johnbillion.
git-svn-id: https://develop.svn.wordpress.org/trunk@13811 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-25 02:49:23 +00:00
Ryan Boren eeb49f6bef Enable nav menu admin if theme supports widgets. Show notice if theme supports widgets but not nav-menus. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13810 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-24 18:35:31 +00:00
Andrew Nacin adb0bd1ff3 Use set_time_limit(0) in import/mt.php. see #12595
git-svn-id: https://develop.svn.wordpress.org/trunk@13807 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-23 19:20:03 +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 945699faff Prevent the nav menu walker from walking in circles. Don't allow an object from being a child of itself; if the functionality is desired, a workaround would be custom links. see #11817, see #12566
git-svn-id: https://develop.svn.wordpress.org/trunk@13803 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 22:26:27 +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
Dion Hulse 2e11ca383a Better cross-browser support for Custom Background image alignment preview. Props eddieringle. See #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13799 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 07:14:14 +00:00
Andrew Nacin eea330b58c More ms-options cleanup. Add label elements, and transition to checkboxes from radios where we can. Also fix notice in global_terms_enabled post handling.
git-svn-id: https://develop.svn.wordpress.org/trunk@13796 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 06:02:04 +00:00
Andrew Nacin 30a7c8d8b6 More cleanup of ms-options.php. Allow textarea.large-text class to be applied to inputs as well.
git-svn-id: https://develop.svn.wordpress.org/trunk@13795 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 04:19:10 +00:00
Andrew Nacin fb28554cf0 Move the MS option for upload limit inline w/ the enabling/disabling of the upload limit.
git-svn-id: https://develop.svn.wordpress.org/trunk@13794 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 03:48:01 +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 ff1ec0a955 Add @since to Custom Header functions
git-svn-id: https://develop.svn.wordpress.org/trunk@13790 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-21 11:02:05 +00:00
Andrew Nacin 752e02538a Move unregistered check to proper branch of code. prevents options.php panel from throwing errors. see #11730
git-svn-id: https://develop.svn.wordpress.org/trunk@13789 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-21 07:38:10 +00:00
Dion Hulse 3ca4e60665 Cleanup of Custom Background. Move JS to external file, Add @since, Remove redundant steps functionality, Preview of Image alignment. See #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13788 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-21 06:06: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
Andrew Nacin ef46c26f1b Simplify the deprecated notice for unregistered settings. fixes #11730
git-svn-id: https://develop.svn.wordpress.org/trunk@13785 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-21 01:49:00 +00:00
Dion Hulse cf430f20d0 Do not display empty Appearance menu for subscribers. Need to use Menu API after the _admin_menu hook has fired.
git-svn-id: https://develop.svn.wordpress.org/trunk@13783 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-21 01:01:45 +00:00
Andrew Nacin 1559240917 Some improvements to the network.php mod_rewrite checks. see #12255
git-svn-id: https://develop.svn.wordpress.org/trunk@13782 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-20 22:44:07 +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 26db844b28 MS admin string improvements. fixes #12436, props mrmist.
git-svn-id: https://develop.svn.wordpress.org/trunk@13771 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 22:09:34 +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
Mark Jaquith 37cfd7d0c6 Update search engines blocked text so that we do not imply that the blog is actually private.
git-svn-id: https://develop.svn.wordpress.org/trunk@13767 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 14:40:50 +00:00
Dion Hulse ef886dfdfe Add min-height and a black border to the Background Image preview. Min-height to allow for no image present, black border to show preview area when no image or colour is available. See #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13766 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 09:37:36 +00:00
Dion Hulse 2a77254f33 Show Background preview and options when no Image is uploaded. Display "Updated" div upon updates. Fix Colour Picker not loading after uploading a background image. See #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13765 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 09:33:29 +00:00
Dion Hulse 06c835eba5 Add instant background-color feedback to Custom Backgrounds. Add input validation to user-entered colour data. See #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13764 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 09:10:37 +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 61b6e5ae20 s/blog/site/. props ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@13755 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 20:50:00 +00:00
Andrew Nacin 21c4e3e30e Account for old type=link (now taxonomy=link_category) in wp_dropdown_categories(). Don't use the deprecated argument in options-writing. Sprinkle in some deprecated warnings. fixes #12630
git-svn-id: https://develop.svn.wordpress.org/trunk@13754 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 20:17:15 +00:00
Andrew Nacin 9fda6867f6 Remove top margin from custom background's page header.
git-svn-id: https://develop.svn.wordpress.org/trunk@13752 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 19:17:12 +00:00
Andrew Nacin 8aac1fc447 Use h3 (not h2) to break up sections on custom header/bg screens. Move div.updated message to right after the h2, as JS will move it there anyway.
git-svn-id: https://develop.svn.wordpress.org/trunk@13751 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 19:06:57 +00:00
Andrew Nacin 12ac793e78 Change "Blog" to "Site" in the Settings panels.
git-svn-id: https://develop.svn.wordpress.org/trunk@13750 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 17:46:25 +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
Andrew Nacin 263bce7e66 Coding standards: When vertically aligning for readability, use spaces (not tabs). see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13748 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 17:07:05 +00:00
Dion Hulse 74758b574f Remove reminents of 'misc' from whitelist options too. See [13745] See #12437
git-svn-id: https://develop.svn.wordpress.org/trunk@13746 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 07:58:53 +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
Andrew Nacin 2256bb9a70 Remove JS nav-menu functions that we no longer use. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13742 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 20:44:59 +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 5e588d11a8 WP importer fixes. Props briancolinger. fixes #12619
git-svn-id: https://develop.svn.wordpress.org/trunk@13735 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 16:56:10 +00:00
Ryan Boren 499172e7c8 LJ importer tweaks. Props briancolinger. fixes #12620
git-svn-id: https://develop.svn.wordpress.org/trunk@13734 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 16:52:44 +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
Mark Jaquith a28e43fa7f Separate update/create menu logic so new menus have name created properly. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13732 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 16:19:58 +00:00
Mark Jaquith a333213a6f No need for three separate JS files if they are only ever enqueued together. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13730 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 16:13:16 +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
Dion Hulse 86b4433321 Add missing child themes codex link. Props jorbin. Fixes #12621
git-svn-id: https://develop.svn.wordpress.org/trunk@13728 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 10:19:26 +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
Mark Jaquith 2f56399c06 "setup" is not a verb. http://notaverb.com/setup
git-svn-id: https://develop.svn.wordpress.org/trunk@13723 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 22:56:38 +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
Andrew Nacin 3b60c95996 Fix branching, and correct deprecated version numbers. see #11730
git-svn-id: https://develop.svn.wordpress.org/trunk@13721 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 20:59:26 +00:00
Ryan Boren 1bb04ed42a Default target to _self. Add some sanitization and gettext. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13719 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 19:20:10 +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