Commit Graph

6996 Commits

Author SHA1 Message Date
Andrew Nacin 5aa7280d6a Introduce wp_check_filetype_and_ext() to handle mime/ext image comparisons and corrections for upload and sideload. props Viper007Bond, see #11946.
git-svn-id: https://develop.svn.wordpress.org/trunk@14649 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 04:47:03 +00:00
Andrew Nacin 47136b319f Introduce _ex(), a hybrid between _e() and _x() -- translate with context, then echo. props westi, see #13395.
git-svn-id: https://develop.svn.wordpress.org/trunk@14647 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 21:46:25 +00:00
Ryan Boren 3fe13109a2 Add wp_edit_nav_menu_walker filter for specifying a custom edit nav menu walker. Props filosofo. fixes #13342
git-svn-id: https://develop.svn.wordpress.org/trunk@14645 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 20:06:50 +00:00
Ryan Boren 3ed5168fbe Don't allow previewing auto-draft. Props duck_. fixes #12859
git-svn-id: https://develop.svn.wordpress.org/trunk@14643 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 18:30:43 +00:00
Ryan Boren c5ef0f8fc5 Show page template dropdown only for pages and not for other post types. Props greenshady. fixes #12759
git-svn-id: https://develop.svn.wordpress.org/trunk@14642 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 18:20:04 +00:00
Peter Westwood db0df6a9c0 Try and tidy up the show_screen logic a little.
Implement a better override of the column header.
See #13393.

git-svn-id: https://develop.svn.wordpress.org/trunk@14638 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 16:45:14 +00:00
Peter Westwood bbc1edced6 Try and tidy up the show_screen logic a little.
Implement a better override of the column header.
See #13393.

git-svn-id: https://develop.svn.wordpress.org/trunk@14637 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 16:39:56 +00:00
Peter Westwood 10abe48571 Remove unnecessary filters and provide for translation context instead. Fixes #13393.
git-svn-id: https://develop.svn.wordpress.org/trunk@14636 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 16:12:46 +00:00
Peter Westwood f73384ffe8 Only show the column preferences if we have columns. See #13393 props duck_.
git-svn-id: https://develop.svn.wordpress.org/trunk@14635 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 15:49:20 +00:00
Peter Westwood 1302562718 Add phpDoc for convert_to_screen() and get_column_headers().
git-svn-id: https://develop.svn.wordpress.org/trunk@14634 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 15:47:14 +00:00
Andrew Nacin d999daff98 esc_url the URL from get_upload_iframe_src. props jshreve, see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14633 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 15:03:59 +00:00
Andrew Nacin 55f868469e Valid HTML in ms-users and ms-sites. props Utkarsh, see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14632 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 15:03:23 +00:00
Andrew Nacin 1a1ae174ba Only show published items of custom post types in nav menu meta boxes. props duck_, fixes #13390.
git-svn-id: https://develop.svn.wordpress.org/trunk@14631 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 13:12:45 +00:00
Andrew Nacin 06fc3ff50f Close wrapper div when ending network_step1 with a warning. props Caspie, fixes #13389.
git-svn-id: https://develop.svn.wordpress.org/trunk@14630 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 12:34:48 +00:00
Andrew Nacin 9af98709d8 Ensure validation. props Utkarsh, see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14628 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 08:20:06 +00:00
Andrew Nacin 265a0fedd2 Align default items shown in edit.php. props ocean90, fixes #13312.
git-svn-id: https://develop.svn.wordpress.org/trunk@14627 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 08:11:22 +00:00
Andrew Nacin a6a1d04ead Ensure validation. props Utkarsh, see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14626 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 08:07:01 +00:00
Andrew Nacin 1164a4276b Use valid HTML in the theme editor. span instead of div inside an anchor. props Utkarsh, see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14625 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 07:04:17 +00:00
Andrew Nacin 6924c645b7 Use inline styles in custom background admin, and prepopulate background options. props jshreve, see #12186.
git-svn-id: https://develop.svn.wordpress.org/trunk@14624 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 06:48:47 +00:00
Andrew Nacin 09366e9439 If theme has registered menus, set the first menu created to the first registered location by default. see #13378.
git-svn-id: https://develop.svn.wordpress.org/trunk@14623 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 06:44:54 +00:00
Andrew Nacin aabf2458f4 Remove trailing space from a localized string.
git-svn-id: https://develop.svn.wordpress.org/trunk@14622 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 06:38:01 +00:00
Andrew Nacin 151f5eb77d Only show Theme Locations meta box if menus exist and if the theme has registered menus. see #13378.
git-svn-id: https://develop.svn.wordpress.org/trunk@14621 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 06:35:57 +00:00
Andrew Nacin 4db10bf0d7 First pass on 'Theme Locations' for navigation menus. Themes need to specify a location when calling wp_nav_menu and register locations in functions.php. Users then map menus to locations in the nav menu admin. Subject to review. see #13378.
git-svn-id: https://develop.svn.wordpress.org/trunk@14620 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 06:20:30 +00:00
Andrew Nacin 21db580d98 Append closing td/tr to output instead of directly echoing it. props jshreve, see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14618 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 01:54:21 +00:00
Andrew Nacin 0d472228a2 Add closing tr tag to custom-background.php. Close paragraph tags in the recent comments and posts widget controls. props jshreve, see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14617 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 01:50:46 +00:00
Andrew Nacin df111e4021 Use 'Posts', 'Pages', and corresponding custom post type names as the edit.php title. fixes #12968, fixes #11274.
git-svn-id: https://develop.svn.wordpress.org/trunk@14616 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 01:45:30 +00:00
Andrew Nacin ae2148a866 Only save menu item positions on save. Had implications for draft items otherwise. see #13337, props koopersmith.
git-svn-id: https://develop.svn.wordpress.org/trunk@14615 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 01:32:48 +00:00
Nikolay Bachiyski 599c19481e I18n for custom taxonomies. Fixes #13357
git-svn-id: https://develop.svn.wordpress.org/trunk@14614 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 00:34:04 +00:00
Ryan Boren ad1a5e30fa Remove 'slots' from menu tabs. Going a different direction. see #14611
git-svn-id: https://develop.svn.wordpress.org/trunk@14612 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-13 22:57:42 +00:00
Ron Rennick 05b0578c06 add menu slots/theme_menus, props ryan, see #13378
git-svn-id: https://develop.svn.wordpress.org/trunk@14611 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-13 22:14:54 +00:00
Peter Westwood 38407f0af5 Fix the default password nag clearer to work when an admin sets someone elses password away from the default. Fixes #12334.
git-svn-id: https://develop.svn.wordpress.org/trunk@14608 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-13 21:08:01 +00:00
Ryan Boren 3c7ca79f6e Add show_in_nav_menus flag to post type registration. Props williamsba1. fixes #13144
git-svn-id: https://develop.svn.wordpress.org/trunk@14602 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-13 17:29:45 +00:00
Ryan Boren 4330e2578b Go to first tab instead of + after deleting a menu. see #13338
git-svn-id: https://develop.svn.wordpress.org/trunk@14601 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-13 17:22:02 +00:00
Ryan Boren 580e82b661 Limit initial menu meta boxes only if option is not set. Props ocean90. fixes #13359
git-svn-id: https://develop.svn.wordpress.org/trunk@14598 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-13 16:21:21 +00:00
Ryan Boren 84b91a7ede Delete more bad screen options from usermeta. like_escape() blog prefix. fixes #13032
git-svn-id: https://develop.svn.wordpress.org/trunk@14596 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-13 15:59:17 +00:00
Andrew Nacin a56d439b4d Change is_multisite check for hiding a term slug on edit-tags.php to checking for global terms.
git-svn-id: https://develop.svn.wordpress.org/trunk@14594 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-13 04:12:57 +00:00
Andrew Nacin 4f689c8309 Move taxonomy object properties for capabilities into a cap object. Capabilities can be specified via ['capabilities'] (an array keyed by the generic cap name) for register_taxonomy. fixes #13358.
git-svn-id: https://develop.svn.wordpress.org/trunk@14593 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-13 04:10:17 +00:00
Andrew Nacin 490a0a99cd More typos. see #13358.
git-svn-id: https://develop.svn.wordpress.org/trunk@14588 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-12 21:03:33 +00:00
Andrew Nacin 323342deec Move post type object capabilities to a 'cap' object. Allow them to be initialized via the 'capabilities' key (an array) when registering support for the post type. Caps are now referred to by the name of the cap as if it was a post, i.e. ->cap->edit_post. see #13358.
git-svn-id: https://develop.svn.wordpress.org/trunk@14585 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-12 20:45:18 +00:00
Andrew Nacin 6f8142acd3 Blue scheme for nav menu admin UI. props kpdesign, duck_. fixes #13190.
git-svn-id: https://develop.svn.wordpress.org/trunk@14583 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-12 19:31:11 +00:00
Andrew Nacin a687ece1a8 Don't nest p tag inside the opening table tag in the new right now box. fixes IE display, and validation. fixes #12202, props ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@14582 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-12 19:29:35 +00:00
Andrew Nacin 49e4cad78c Use the edit_theme_options capability. fixes #13290.
git-svn-id: https://develop.svn.wordpress.org/trunk@14581 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-12 19:19:57 +00:00
Ryan Boren df2498e980 Fix bulk editing of non-hierarchical taxonomies. Props prettyboymp. fixes #13153
git-svn-id: https://develop.svn.wordpress.org/trunk@14580 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-12 19:12:18 +00:00
Ryan Boren 6ecfb58997 Remove only the background image, not all theme mods, when resetting the background to the default. Props ocean90. see #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@14578 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-12 16:18:25 +00:00
Ryan Boren d43d37baa9 Remove redundant CSS, lighten up border on background preview, change labels for background preview. Props johnonolan. see #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@14577 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-12 16:03:49 +00:00
Andrew Nacin 22ce2c36c4 Remove unused global. props lloydbudd, fixes #13356.
git-svn-id: https://develop.svn.wordpress.org/trunk@14572 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-11 20:02:49 +00:00
Nikolay Bachiyski ad3881470e I18n for custom post type labels. Props demetris, dimadin. Fixes #12968
git-svn-id: https://develop.svn.wordpress.org/trunk@14571 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-11 19:52:50 +00:00
Andrew Nacin 6aa60bf619 Use get_users_of_blog in MT importer to be MS and shared user table friendly. props lloydbudd, fixes #13356.
git-svn-id: https://develop.svn.wordpress.org/trunk@14570 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-11 19:19:59 +00:00
Ryan Boren 511e11006c Don't wp_count_terms(). Just count the results returned from get_terms(), which has to run anyway. see #12734
git-svn-id: https://develop.svn.wordpress.org/trunk@14569 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-11 18:55:12 +00:00
Ryan Boren 73d2946dfa Don't update term or meta cache for posts queried in wp_nav_menu_item_post_type_meta_box(). see #12734
git-svn-id: https://develop.svn.wordpress.org/trunk@14568 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-11 18:43:12 +00:00
Ryan Boren 411f09b811 No need to recount. see #12734
git-svn-id: https://develop.svn.wordpress.org/trunk@14567 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-11 18:38:51 +00:00
Ryan Boren 7be65b3730 Defer term counting until all nav menu items are updated. see #12734
git-svn-id: https://develop.svn.wordpress.org/trunk@14562 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-11 16:41:23 +00:00
Ron Rennick b30b30b943 allow super admins to edit authors on all sites, props mtdewvirus, fixes #13270
git-svn-id: https://develop.svn.wordpress.org/trunk@14554 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 22:46:35 +00:00
Ron Rennick dddb4b9326 revert non-rewrite permalink settings to be compatible with 2.9, see 13106
git-svn-id: https://develop.svn.wordpress.org/trunk@14553 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 22:06:27 +00:00
Mark Jaquith 9ccf5de9de Handle manual saving of auto-drafts for Contributors without JavaScript. props jbsil. fixes #13133
git-svn-id: https://develop.svn.wordpress.org/trunk@14551 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 21:21:42 +00:00
Peter Westwood 208fe21987 Ensure the nonce is available even if no media items exist or are un-attached. Fixes #13284.
git-svn-id: https://develop.svn.wordpress.org/trunk@14548 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 20:55:52 +00:00
Andrew Nacin 8235a24f35 Fix double-tabbing in get_dropins.
git-svn-id: https://develop.svn.wordpress.org/trunk@14546 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 20:41:14 +00:00
Andrew Nacin 81ec5c6d42 Apply [14540] to get_mu_plugins and get_dropins. fixes #13322, props Miloslav.
git-svn-id: https://develop.svn.wordpress.org/trunk@14545 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 20:40:15 +00:00
Ryan Boren eac401c171 Don't use closed dir handle. Props Miloslav. fixes #13322
git-svn-id: https://develop.svn.wordpress.org/trunk@14540 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 16:06:46 +00:00
Andrew Nacin 3dd93e488b Some sortable improvements in the nav menu UI. props koopersmith, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14531 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 04:51:57 +00:00
Andrew Nacin 1cdd8d707e Remove old code that breaks menu design rendering. props koopersmith, fixes #13311.
git-svn-id: https://develop.svn.wordpress.org/trunk@14530 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 04:49:52 +00:00
Peter Westwood 6847f8e171 Fix typos. Props Utkarsh.
git-svn-id: https://develop.svn.wordpress.org/trunk@14524 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-09 09:59:43 +00:00
Andrew Nacin 7ea215494e Allow menu items to be dropped on a parent item in addition to just being dragged to the right. props koopersmith, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14520 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-08 21:56:53 +00:00
Ron Rennick e3ee37d8a2 don't allow blog sub site in folder install, see #13304
git-svn-id: https://develop.svn.wordpress.org/trunk@14516 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-08 18:37:38 +00:00
Ron Rennick 0d826fa206 add subdomain explanation to network install, see #12931
git-svn-id: https://develop.svn.wordpress.org/trunk@14514 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-08 15:43:00 +00:00
Ron Rennick 9c8a73aa37 add network install rule, filter & UI tweaks, see #12931
git-svn-id: https://develop.svn.wordpress.org/trunk@14513 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-08 15:25:33 +00:00
Peter Westwood e88177d901 Only hide the bulk actions and not the filters when no comments. Fixes #13193.
git-svn-id: https://develop.svn.wordpress.org/trunk@14512 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-08 10:10:41 +00:00
Ron Rennick b5f96d7953 make end month in export inclusive, see #10317
git-svn-id: https://develop.svn.wordpress.org/trunk@14509 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-07 21:53:11 +00:00
Ron Rennick 97af53477e include dates from all post types/stati. props michaelh, see #10317
git-svn-id: https://develop.svn.wordpress.org/trunk@14506 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-07 20:51:01 +00:00
Andrew Nacin c812b3a06b PHP4 compat in nav menu name truncation. props blepoxp, fixes #13295.
git-svn-id: https://develop.svn.wordpress.org/trunk@14505 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-07 20:49:45 +00:00
Andrew Nacin 40aa2e543b Fix warnings in WordPress importer. props briancolinger, fixes #13263.
git-svn-id: https://develop.svn.wordpress.org/trunk@14497 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-07 04:35:10 +00:00
Andrew Nacin 4b724a5d34 Use a more generic string for GUU plugins and themes, as inactive items aren't 'running.' fixes #12517.
git-svn-id: https://develop.svn.wordpress.org/trunk@14496 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-07 04:30:53 +00:00
Andrew Nacin 8d35ae8161 Simple warning text for global terms. Probably not enough considering the sky will fall on your head if you enable them, but it's a start. fixes #12666.
git-svn-id: https://develop.svn.wordpress.org/trunk@14494 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-07 02:58:35 +00:00
Andrew Nacin 49416615b4 Add missing closing div tags to some edit-comments.php branches. props JohnONolan, fixes #13287.
git-svn-id: https://develop.svn.wordpress.org/trunk@14493 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-07 02:38:12 +00:00
Nikolay Bachiyski e076d0b0ac Use sprintf instead of interpolation in translatable strings. Props demetris, fixes #13286
git-svn-id: https://develop.svn.wordpress.org/trunk@14492 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-07 00:50:12 +00:00
Andrew Nacin a30c320a55 Bump memory_limit for admins in wp-admin. Should help in imports, upgrades, uploads, etc. props MarkJaquith.
git-svn-id: https://develop.svn.wordpress.org/trunk@14491 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 21:36:55 +00:00
Andrew Nacin 910c8e8bc9 Remove WP_FALLBACK_THEME, use WP_DEFAULT_THEME instead. We now only fall back to the default theme if the theme is broken. Incomplete themes that need to inherit templates will inherit them from wp-includes/theme-compat -- this behavior is deprecated. fixes #12846.
git-svn-id: https://develop.svn.wordpress.org/trunk@14485 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 19:53:40 +00:00
Andrew Nacin 368521cd69 Ensure valid HTML in the nav menu UI. props ocean90, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14482 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 19:19:53 +00:00
Andrew Nacin 86801ae5fe Use menu-bits-rtl image for RTL nav menu UI. props RanYanivHartstein, see #13166.
git-svn-id: https://develop.svn.wordpress.org/trunk@14481 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 18:33:27 +00:00
Andrew Nacin 04919ebe8b Adopt WP's general JS structure. Remove last of trailing commas. Remove dead code. props koopersmith, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14475 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 17:11:52 +00:00
Andrew Nacin 8996028929 Remove more trailing commas in nav menus JS. props koopersmith and ocean90, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14474 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 15:40:29 +00:00
Andrew Nacin 8cf4e1051f Remove trailing comma in common.js that IE is known to choke on. props ocean90, fixes #13260.
git-svn-id: https://develop.svn.wordpress.org/trunk@14472 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 14:13:31 +00:00
Andrew Nacin 465cce3e6a Revert [14434] et al. Going back to checkboxes in the nav menus, holding drag-drop for future release. see #13247.
git-svn-id: https://develop.svn.wordpress.org/trunk@14471 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 14:09:10 +00:00
Andrew Nacin 6c397f5e43 Only make one ajax call for multiple items. Also move jQuery extensions into their own function. props koopersmith, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14468 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-05 21:23:53 +00:00
Andrew Nacin 13e9671554 Minor JS var declaration optimizations. props koopersmith, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14467 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-05 21:06:43 +00:00
Andrew Nacin e480eb8b50 Trim trailing whites from nav-menu js.
git-svn-id: https://develop.svn.wordpress.org/trunk@14465 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-05 20:37:32 +00:00
Andrew Nacin 971d337bd3 Consolidate nav menu item ajax. Other misc fixes. props koopersmith, see #13204.
git-svn-id: https://develop.svn.wordpress.org/trunk@14464 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-05 20:29:50 +00:00
Andrew Nacin 71c9ad21de Link to active plugins when we block a Network upgrade due to them. props ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@14463 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-05 18:43:54 +00:00
Peter Westwood 16db1d5699 Remove the trash warning on permalinks for now as the current implementation doesn't work very well. See #11863
git-svn-id: https://develop.svn.wordpress.org/trunk@14462 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-05 07:37:51 +00:00
Peter Westwood e52964ab4d Switch to a constant string to make it possible to translate. See #11863.
git-svn-id: https://develop.svn.wordpress.org/trunk@14461 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-05 07:10:53 +00:00
Andrew Nacin febbe5b9ea Media RTL fixes. props yoavf, fixes #12818.
git-svn-id: https://develop.svn.wordpress.org/trunk@14460 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-05 06:24:24 +00:00
Andrew Nacin c2c58d26d8 Show meta boxes when no JS, as we don't have screen options to turn them on. props filosofo, fixes #13253.
git-svn-id: https://develop.svn.wordpress.org/trunk@14459 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 22:28:51 +00:00
Andrew Nacin 14c06f5e81 Use correct field name. fixes menu ordering issues. props filosofo, fixes #13256.
git-svn-id: https://develop.svn.wordpress.org/trunk@14454 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 21:28:31 +00:00
Andrew Nacin 15eb5cc5d3 Remove unused woo nav menu icons. fixes #12876
git-svn-id: https://develop.svn.wordpress.org/trunk@14453 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 21:06:28 +00:00
Andrew Nacin 42e9ce36fc Deprecate VHOST in favor of a boolean, SUBDOMAIN_INSTALL. Core will keep VHOST defined for plugins' sake, but you should only define SUBDOMAIN_INSTALL. Throws a notice if VHOST is defined, and a warning if they somehow conflict. Sunrise can still handle them. fixes #11796.
git-svn-id: https://develop.svn.wordpress.org/trunk@14452 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 20:48:28 +00:00
Ron Rennick 0a20229178 add default comment status setting to populate_options(), see #12991
git-svn-id: https://develop.svn.wordpress.org/trunk@14451 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 19:54:42 +00:00
Andrew Nacin 6034c105d6 Non-JS menu ordering fixes, also parent handling fixes. props filosofo, fixes #13135, fixes #13249
git-svn-id: https://develop.svn.wordpress.org/trunk@14450 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 19:40:04 +00:00
Andrew Nacin f6534374e7 Early pass on RTL for nav menu UI. props yoavf, see #13166
git-svn-id: https://develop.svn.wordpress.org/trunk@14449 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 19:34:38 +00:00
Ron Rennick bdb89ac091 add default comment status setting for pages, props messenlehner, see #12991
git-svn-id: https://develop.svn.wordpress.org/trunk@14448 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 19:31:24 +00:00
Ron Rennick 7874be066e add warning on slug conflict with trash, props williamsba1, see #11863
git-svn-id: https://develop.svn.wordpress.org/trunk@14446 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 18:18:35 +00:00
Ron Rennick 0e9d18f366 export improvements, props blepoxp, see #10317
git-svn-id: https://develop.svn.wordpress.org/trunk@14444 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 17:31:36 +00:00
Andrew Nacin 84578d128b Add trailing slash to some home_url() calls. props zeo, fixes #13245.
git-svn-id: https://develop.svn.wordpress.org/trunk@14443 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 17:13:11 +00:00
Andrew Nacin 9c37369cd5 Define home_url() in load-scripts.php. see #9008, props ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@14442 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 17:08:28 +00:00
Andrew Nacin 16d48e323b More menu improvements. Add link that adds a menu item to the home page, make empty menu dropzone slightly larger, limit selected items to the active tab. props koopersmith and ptahdunbar. see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14439 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 10:01:15 +00:00
Andrew Nacin cc8ae672a6 Fix 'Select All' for the new drag/drop code. props koopersmith, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14438 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 08:54:35 +00:00
Andrew Nacin 6d40008887 @since for some new ms functions re: upload file size limits. see #12853.
git-svn-id: https://develop.svn.wordpress.org/trunk@14437 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 08:41:46 +00:00
Andrew Nacin 13e1cfef44 Have 'Add to Menu' and multiple-item drag/drop only affect one meta box at a time. props ptahdunbar, with koopersmith. Non-JS will still handle the meta boxes all together as one form. see #13220, see #13219.
git-svn-id: https://develop.svn.wordpress.org/trunk@14436 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 08:31:40 +00:00
Andrew Nacin a87ced35aa Add ability to drag objects from meta boxes and drop them into your menu. Includes multiple-select before dragging. Select all is todo. Checkboxes remain non-JS fallback. props koopersmith, see #13247.
git-svn-id: https://develop.svn.wordpress.org/trunk@14434 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 07:24:49 +00:00
Ryan Boren 56e95f24c5 Fix user validation feedback. Props sivel. fixes #13162
git-svn-id: https://develop.svn.wordpress.org/trunk@14428 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 23:46:42 +00:00
Dion Hulse 1fc13e3b48 Silence PHP Warnings on is_writable calls. Can trigger open_basedir warnings on certain hosting environments. Props ocean90. Fixes #12866
git-svn-id: https://develop.svn.wordpress.org/trunk@14427 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 23:39:57 +00:00
Dion Hulse 52cdae0385 Handle $_POST containing an empty term array, Fixes saving of deselecting all hierarchical terms. Fixes #10122
git-svn-id: https://develop.svn.wordpress.org/trunk@14426 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 23:35:22 +00:00
Ron Rennick fb0fffbce5 themes admin pages UI cleanup, props PeteMall, see #13238
git-svn-id: https://develop.svn.wordpress.org/trunk@14425 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 23:25:14 +00:00
Andrew Nacin 09fda79a16 Add 'Network Activate' link to the plugin upgrader class. props PeteMall, fixes #13097.
git-svn-id: https://develop.svn.wordpress.org/trunk@14424 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 23:18:49 +00:00
Andrew Nacin f7dfc84136 Fix non-JS menu item close button. props duck_, fixes #13203
git-svn-id: https://develop.svn.wordpress.org/trunk@14423 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 23:08:02 +00:00
Ryan Boren 172c975f2d User deletion fixes. Props yoavf. fixes #13242
git-svn-id: https://develop.svn.wordpress.org/trunk@14422 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 23:04:42 +00:00
Ron Rennick e35e6165ab limit upload size to site's available limit, see #12853
git-svn-id: https://develop.svn.wordpress.org/trunk@14420 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 22:40:02 +00:00
Andrew Nacin b2093dbdfd Provide a context to wp_handle_upload to differentiate between upload and sideload. props technosailor, fixes #12740.
git-svn-id: https://develop.svn.wordpress.org/trunk@14418 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 22:16:48 +00:00
Nikolay Bachiyski 6eba1c3232 Use get_available_languages() in options-general.php instead of manually looping on the language dir. Props sivel. Fixes #13023
git-svn-id: https://develop.svn.wordpress.org/trunk@14416 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 22:06:49 +00:00
Andrew Nacin 066caaa9fa Remove unused CSS. props koopersmith, see #13220
git-svn-id: https://develop.svn.wordpress.org/trunk@14413 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 21:21:55 +00:00
Peter Westwood 8112a99438 Remove the deprecation message for now as it shows too many false positives. See #13230.
git-svn-id: https://develop.svn.wordpress.org/trunk@14411 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 21:12:23 +00:00
Andrew Nacin 13d35fe80a Truncate really long menu names. props koopersmith, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14408 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:40:32 +00:00
Nikolay Bachiyski abf6b82a23 Differentiate spam strings by subject: comments, sites, and users. Props dimadin. Fixes #13199
git-svn-id: https://develop.svn.wordpress.org/trunk@14407 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:37:07 +00:00
Andrew Nacin 60ae097b78 Fix JS error in autocomplete. props koopersmith, see #13205.
git-svn-id: https://develop.svn.wordpress.org/trunk@14405 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:31:34 +00:00
Ryan Boren d783952469 Strip trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@14404 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:26:11 +00:00
Andrew Nacin 54c73c0c2b Ensure image MIME type matches extension for images. props Viper007Bond, fixes #11946.
git-svn-id: https://develop.svn.wordpress.org/trunk@14400 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:17:01 +00:00
Andrew Nacin 2fa9643cf2 Handle page hierarchy when showing the sample permalink. props duck_, fixes #12327.
git-svn-id: https://develop.svn.wordpress.org/trunk@14399 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:10:26 +00:00
Dion Hulse a7b2ec8515 Move edit_<tax>_form and <tax>_edit_form to above submit button. Fixes #12746
git-svn-id: https://develop.svn.wordpress.org/trunk@14398 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:05:46 +00:00
Andrew Nacin d2b523c847 Remove browse-happy.gif. see #12876. props ocean90
git-svn-id: https://develop.svn.wordpress.org/trunk@14397 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:01:59 +00:00
Andrew Nacin c045a20926 Remove browse-happy.gif. see #12876. props ocean90
git-svn-id: https://develop.svn.wordpress.org/trunk@14396 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:01:35 +00:00
Andrew Nacin c79b841f8c Remove files replaced by CSS3 gradients. IE falls back to solid colors. see #12586.
git-svn-id: https://develop.svn.wordpress.org/trunk@14395 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 19:52:44 +00:00
Andrew Nacin 80ee3d1d2d Check for deleted menus or something. It fixes a JS error. props koopersmith, see #13215.
git-svn-id: https://develop.svn.wordpress.org/trunk@14394 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 19:35:54 +00:00
Andrew Nacin 2f0d602eeb Remove unused vars. props TobiasBg. fixes #13228.
git-svn-id: https://develop.svn.wordpress.org/trunk@14393 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 19:33:23 +00:00
Ryan Boren db93b01df3 RTL fixes. Props yoavf. see #13233
git-svn-id: https://develop.svn.wordpress.org/trunk@14392 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 19:31:25 +00:00
Dion Hulse 7f9bee2845 Fix alignment/location of "Add" on non-hierarchical taxonomy addition boxes. Props ocean90. Fixes #12153
git-svn-id: https://develop.svn.wordpress.org/trunk@14390 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 19:29:17 +00:00
Dion Hulse c1fe068ec6 Handle ", " and "," in non-hierarchical term suggestion. Props ocean90. Fixes #12152
git-svn-id: https://develop.svn.wordpress.org/trunk@14387 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 19:23:44 +00:00
Ron Rennick 997a121259 allow subdir multisite on ip address, see #12142
git-svn-id: https://develop.svn.wordpress.org/trunk@14386 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 19:23:37 +00:00
Andrew Nacin d2e1c94321 Use CSS3 gradients for the admin header and footer. Fall back to a solid color for IE. Props JohnONolan, fixes #12586.
git-svn-id: https://develop.svn.wordpress.org/trunk@14383 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 19:12:19 +00:00
Dion Hulse fc796b8105 Add reset background image to theme default. Props lancewillett. See #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@14379 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 18:52:38 +00:00
Dion Hulse 54c97bf8d1 Fix ZIP_ER_OK constant, Its a class constant, and only accessible as such under PHP5. Props sivel for noticing. Fixes #12637
git-svn-id: https://develop.svn.wordpress.org/trunk@14377 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 18:44:34 +00:00
Ryan Boren a45b583463 RTL fixes. Props yoavf. see #13233
git-svn-id: https://develop.svn.wordpress.org/trunk@14376 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 18:33:49 +00:00
Ryan Boren a51d50ad9c RTL fixes. Props yoavf. see #13233
git-svn-id: https://develop.svn.wordpress.org/trunk@14375 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 18:20:30 +00:00
Ryan Boren 57a5a11660 Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14374 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 18:16:22 +00:00
Andrew Nacin 80043f2232 Sliding tabs for the nav menu admin UI. second pass. props koopersmith, see #13215.
git-svn-id: https://develop.svn.wordpress.org/trunk@14373 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 16:59:51 +00:00
Peter Westwood cb10f6b4ae Move theme_update_available out of the admin page and into the admin includes.
git-svn-id: https://develop.svn.wordpress.org/trunk@14371 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 13:29:15 +00:00
Peter Westwood 17008f920f Correctly mark things as private in the phpDoc
git-svn-id: https://develop.svn.wordpress.org/trunk@14370 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 13:27:15 +00:00
Peter Westwood 137564fa08 Add a nag message for themes which are relying on the deprecated behaviour.
git-svn-id: https://develop.svn.wordpress.org/trunk@14369 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 13:23:34 +00:00
Andrew Nacin db59b8e7f9 First pass on sliding tabs for the nav menu admin UI. props koopersmith, see #13215.
git-svn-id: https://develop.svn.wordpress.org/trunk@14368 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 10:28:35 +00:00
Andrew Nacin 96fd06e10d Remove debug.
git-svn-id: https://develop.svn.wordpress.org/trunk@14363 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 07:12:26 +00:00
Andrew Nacin d422587302 When no pages are present add a hidden input field so that the show_on_front option is not blanked. Fixes is_front_page return value in an edge case. props sivel, fixes #12737, fixes #9105.
git-svn-id: https://develop.svn.wordpress.org/trunk@14362 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 06:30:21 +00:00
Andrew Nacin 7ce20b12cf Prevent fatal error when falling back to fsockopen in the setup-config.php key/salt HTTP request. fixes #13030.
git-svn-id: https://develop.svn.wordpress.org/trunk@14361 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 06:28:05 +00:00
Dion Hulse 123d37b55c Update logo image URL in Gears manifest. Props ocean90. Fixes #13177
git-svn-id: https://develop.svn.wordpress.org/trunk@14356 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 00:47:10 +00:00
Andrew Nacin 92b561ca49 Tweaks for nav menu admin tabs with JS disabled. props koopersmith, see #13215
git-svn-id: https://develop.svn.wordpress.org/trunk@14353 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 23:51:43 +00:00
Ryan Boren 37804526a0 Nav menu tweaks. Props ptahdunbar. see #13220
git-svn-id: https://develop.svn.wordpress.org/trunk@14352 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 23:40:34 +00:00
Dion Hulse bd807c6c5f Skip over __MACOSX folders during zip extraction. Props chrisbliss18. Fixes #12637
git-svn-id: https://develop.svn.wordpress.org/trunk@14349 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 23:24:36 +00:00
Andrew Nacin 63fa3e7f3f Support network-wide plugin re-activation in upgrades and edits. props PeteMall, fixes #13216
git-svn-id: https://develop.svn.wordpress.org/trunk@14348 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 22:57:44 +00:00
Ryan Boren 7fcda10d46 Escape links by default. Props alexkingorg. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14347 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 22:53:59 +00:00
Dion Hulse 6b49c70b09 Check for "ZIP_ER_OK" return value on ZipArchive. See #12637
git-svn-id: https://develop.svn.wordpress.org/trunk@14346 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 22:25:30 +00:00
Andrew Nacin 0948137d65 Fix the nav menu ajax spinners (again).
git-svn-id: https://develop.svn.wordpress.org/trunk@14340 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 21:05:55 +00:00
Andrew Nacin 103e30ed7e Alot of drag/drop/sortable improvements to nav menu admin UI. props koopersmith, fixes #12675.
git-svn-id: https://develop.svn.wordpress.org/trunk@14337 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 19:09:10 +00:00
Andrew Nacin b459f516b9 Fix admin.php?import=x pages, which can re-include itself in certain environments. fixes #13184 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@14334 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 18:39:31 +00:00
Andrew Nacin 3b689ba8c8 Clarify menu creation versus save. props duck_, see #13134. Check in scripts for r14332, see #13204.
git-svn-id: https://develop.svn.wordpress.org/trunk@14333 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 18:15:41 +00:00
Andrew Nacin 6971e7c9a4 Fix ajax on add menu item boxes. props koopersmith, see #13204
git-svn-id: https://develop.svn.wordpress.org/trunk@14332 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 18:12:13 +00:00
Andrew Nacin d5b8eeaa25 Use the correct defines in secret_salt_warning.
git-svn-id: https://develop.svn.wordpress.org/trunk@14329 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-01 22:50:55 +00:00
Andrew Nacin c4a1082319 Align the update nag with the screen meta box.
git-svn-id: https://develop.svn.wordpress.org/trunk@14328 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-01 22:09:34 +00:00
Andrew Nacin 5f0218032f Show > 100% blog space used in MS Right Now.
git-svn-id: https://develop.svn.wordpress.org/trunk@14327 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-01 22:06:48 +00:00
Andrew Nacin f049bc949c s/blog/site/ in more places.
git-svn-id: https://develop.svn.wordpress.org/trunk@14326 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-01 07:09:38 +00:00
Andrew Nacin 9c1b915fea Change 'WordPress Development Blog' to 'WordPress Blog' in the dashboard widget.
git-svn-id: https://develop.svn.wordpress.org/trunk@14324 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-30 22:56:29 +00:00
Andrew Nacin 8722ccc178 Use a class for update-nag, as especially in MS we're sometimes hooking in more than one per page.
git-svn-id: https://develop.svn.wordpress.org/trunk@14319 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-30 15:37:46 +00:00
Andrew Nacin 26f7f2be9d Clean up secret_salt_warning. Use stronger version of wp_generate_password. Shrink line-height of #update-nag so multiple-line messages don't look so awful, use padding instead.
git-svn-id: https://develop.svn.wordpress.org/trunk@14318 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-30 15:25:54 +00:00
Ryan Boren 7a9ddcfb70 Don't stomp upload options when saving media options for MS sites. fixes #13182
git-svn-id: https://develop.svn.wordpress.org/trunk@14316 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-30 14:31:18 +00:00
Andrew Nacin 2473cefe8f s/blog/site/ in even more places. props PeteMall, see #11644.
git-svn-id: https://develop.svn.wordpress.org/trunk@14315 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-30 03:17:49 +00:00
Andrew Nacin f1323541bc Small menu CSS tweak for item deletion. props koopersmith, see #13134.
git-svn-id: https://develop.svn.wordpress.org/trunk@14314 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-30 01:58:35 +00:00
Andrew Nacin 8800622876 s/blog/site/ in more places. props PeteMall, see #11644.
git-svn-id: https://develop.svn.wordpress.org/trunk@14313 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-30 01:54:32 +00:00
Peter Westwood 212b78b807 Fix support for rewrites on IIS7. Fixes #12973 props Frumph and ruslany.
git-svn-id: https://develop.svn.wordpress.org/trunk@14312 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 21:41:20 +00:00
Ryan Boren b46e129883 Remove debug
git-svn-id: https://develop.svn.wordpress.org/trunk@14306 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 19:16:21 +00:00
Ryan Boren 12fc1ca1b7 Fix initial hidden meta boxes for nav menus. see #13134
git-svn-id: https://develop.svn.wordpress.org/trunk@14304 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 18:27:46 +00:00
Ryan Boren bd14ce7734 Partially fix default hidden meta boxes for nav menus. see #13134
git-svn-id: https://develop.svn.wordpress.org/trunk@14301 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 17:47:11 +00:00
Ryan Boren 616f48e89d Don't call get_plugins() in menu.php. It is too slow to call on every admin page load. fixes #13117
git-svn-id: https://develop.svn.wordpress.org/trunk@14299 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 16:38:12 +00:00
Andrew Nacin 5dbf47294f When posts/terms are deleted/trashed, update associated menu items. Deleted post = deleted menu item, trashed post = menu item becomes a draft. props filosofo, see #13174
git-svn-id: https://develop.svn.wordpress.org/trunk@14295 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 07:33:56 +00:00
Andrew Nacin 4defadbe97 Fix typo in CSS. see #13134.
git-svn-id: https://develop.svn.wordpress.org/trunk@14294 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 07:28:34 +00:00
Andrew Nacin e70f958bff Fix the ajax loading/processing spinner for nav menu meta boxes. see #13134.
git-svn-id: https://develop.svn.wordpress.org/trunk@14293 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 07:10:54 +00:00
Andrew Nacin 3f9d235435 Remove unnecessary single tab and second border in the custom links nav menu widget.
git-svn-id: https://develop.svn.wordpress.org/trunk@14292 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 06:11:44 +00:00
Andrew Nacin ffc6b5e799 Show 'no items' message in post/tax meta boxes for nav menu admin instead of empty tabs.
git-svn-id: https://develop.svn.wordpress.org/trunk@14291 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 06:01:44 +00:00
Andrew Nacin 23cd92c6ff Don't show plugin editor when there are no plugins. props solarissmoke, fixes #13117.
git-svn-id: https://develop.svn.wordpress.org/trunk@14290 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 05:34:24 +00:00
Andrew Nacin e7664da46d Small fixes to the initial nav menu message. props koopersmith, see #13134.
git-svn-id: https://develop.svn.wordpress.org/trunk@14288 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 05:12:12 +00:00
Andrew Nacin 5a46795d60 Nav menu UI updates. props koopersmith, see #13134.
git-svn-id: https://develop.svn.wordpress.org/trunk@14287 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 03:43:39 +00:00
Andrew Nacin 7cfe307d12 Nav menu UI updates. props koopersmith, see #13134.
git-svn-id: https://develop.svn.wordpress.org/trunk@14286 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 03:43:11 +00:00
Andrew Nacin b8f8327393 Fix handling of nav menu search, also menu naming conflicts. props filosofo, fixes #13138
git-svn-id: https://develop.svn.wordpress.org/trunk@14285 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 20:44:08 +00:00
Andrew Nacin c5eb9e9c61 More nav menu fixes. props filosofo. see #13148. fixes #13155, fixes #13157, fixes #13138, see #13134.
git-svn-id: https://develop.svn.wordpress.org/trunk@14283 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 18:30:32 +00:00
Andrew Nacin 296d029bbc RTL for nav-menu.php. first pass. props RanYanivHartstein, see #13166
git-svn-id: https://develop.svn.wordpress.org/trunk@14279 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 14:22:41 +00:00
Andrew Nacin c9b0a363c1 Remove space between screen meta and screen icon on nav menu admin.
git-svn-id: https://develop.svn.wordpress.org/trunk@14278 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 13:37:15 +00:00
Andrew Nacin 915bc58b28 Restore radios for MS site flags, as the schema supports other values. see #12832
git-svn-id: https://develop.svn.wordpress.org/trunk@14277 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 08:15:45 +00:00
Andrew Nacin 4a0ad66c0d Better DNS error message in network.php.
git-svn-id: https://develop.svn.wordpress.org/trunk@14275 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 07:40:49 +00:00
Andrew Nacin aeb062fbc5 Give menu items a default 'draft' state when added to the menu. props filosofo, fixes #13149
git-svn-id: https://develop.svn.wordpress.org/trunk@14271 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 05:02:09 +00:00
Andrew Nacin 610abdf2a5 Some menus meta box cleanups. props filosofo, see #13143.
git-svn-id: https://develop.svn.wordpress.org/trunk@14267 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 04:09:00 +00:00
Andrew Nacin 105de33875 Show correct nav menu title on first pageload after change. props filosofo, fixes #13142.
git-svn-id: https://develop.svn.wordpress.org/trunk@14266 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 02:24:39 +00:00
Andrew Nacin 3114dfddce Poka yoke for username sanitization during install. see #13159.
git-svn-id: https://develop.svn.wordpress.org/trunk@14265 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 02:20:32 +00:00
Andrew Nacin da1170a530 Show the sanitized username on install.php completion page. Also add some help text. see #13159.
git-svn-id: https://develop.svn.wordpress.org/trunk@14264 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 02:17:19 +00:00
Andrew Nacin 8325eb1dc1 Verify nav menu items. props filosofo, fixes #13154.
git-svn-id: https://develop.svn.wordpress.org/trunk@14263 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 02:04:30 +00:00
Andrew Nacin 01369d744f Some default password nag and user-edit div.error style cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@14261 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-27 21:57:18 +00:00
Ryan Boren 84ea52469c Explanatory text for the plus tab. see #13134
git-svn-id: https://develop.svn.wordpress.org/trunk@14254 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-27 17:40:48 +00:00
Ron Rennick 544533c0a1 don't change super admin primary site when creating new site
git-svn-id: https://develop.svn.wordpress.org/trunk@14253 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-27 17:37:01 +00:00
Ryan Boren e578ec626c Menu styling updates. Props koopersmith. see #13134
git-svn-id: https://develop.svn.wordpress.org/trunk@14252 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-27 16:04:18 +00:00
Ryan Boren 700d907fb2 Remove move cursor when JS disabled. Props koopersmith. fixes #13136
git-svn-id: https://develop.svn.wordpress.org/trunk@14251 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-27 14:42:42 +00:00
Ryan Boren 77be931ef4 New menu UI. Props filosofo. see #12713
git-svn-id: https://develop.svn.wordpress.org/trunk@14248 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-27 01:05:58 +00:00
Ryan Boren 4fea823167 Remove debug
git-svn-id: https://develop.svn.wordpress.org/trunk@14243 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-26 18:52:14 +00:00
Ryan Boren 92b7f84b59 Hook update_option_new_admin_email to add_option_new_admin_email so that the confirmation email gets set even when new_admin_email doesn't already exist. see #12192
git-svn-id: https://develop.svn.wordpress.org/trunk@14242 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-26 18:20:11 +00:00
Ryan Boren 972900cf3e Allow regular admins to change the admin email. see #13126
git-svn-id: https://develop.svn.wordpress.org/trunk@14241 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-26 17:55:41 +00:00
Ryan Boren de50d45dc5 privacy_on_link_title and privacy_on_link_text filters to allow privacy plugins to customize privacy-on-link
git-svn-id: https://develop.svn.wordpress.org/trunk@14237 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-26 01:26:08 +00:00
Ryan Boren 02bda72572 Fix back compat for hidden columns and layout screen options. Change meta baox order to be per user, rather than per blog. This breaks back compat for box order but the previous behavior was wrong. see #13032
git-svn-id: https://develop.svn.wordpress.org/trunk@14235 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-25 15:59:03 +00:00
Dion Hulse a5c4bcabe0 Remove dead browse happy code. Has not been used for 18months in core admin. Props ocean90. Fixes #4833
git-svn-id: https://develop.svn.wordpress.org/trunk@14233 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-25 08:40:37 +00:00
Dion Hulse cbfbe11ce8 Hide Parent dropdown in Page-attributes metabox when no potential parents exist. Props sorich87. Fixes #12655
git-svn-id: https://develop.svn.wordpress.org/trunk@14232 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-25 08:30:32 +00:00
Dion Hulse c22f8eb989 Allow Terms to exist within multiple taxonomies (Regression in 3.0); If a term slug is provided on the form, Respect it (do not suffix it, instead, feedback with error); Do not allow hierarchical term names to exist multiple times within a set level (ie. AU/NSW + AU/NSW is bad, AU/NSW + AU/VIC + AU/VIC/NSW is ok). See #13060
git-svn-id: https://develop.svn.wordpress.org/trunk@14229 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-25 07:35:16 +00:00
Dion Hulse c63e95bdae Handle HTTP errors on popular tags requests, Handle HTTP Errors on listing loading slightly different no-js compatible. Fixes #13107
git-svn-id: https://develop.svn.wordpress.org/trunk@14228 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-25 05:39:39 +00:00
Andrew Nacin 8178348739 Style bumps and compressed styles for r14187. see #13083.
git-svn-id: https://develop.svn.wordpress.org/trunk@14221 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-24 17:22:34 +00:00
Andrew Nacin a732e95544 Prevent HTML editor from being resized horizontally. props nomulous, fixes #13064
git-svn-id: https://develop.svn.wordpress.org/trunk@14220 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-24 16:57:44 +00:00
Dion Hulse 70d38b62ac Fix DB upgrade kickoff for removal of usermeta fields. See r14212, r14213, see #13032
git-svn-id: https://develop.svn.wordpress.org/trunk@14218 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-24 10:29:01 +00:00
Dion Hulse e9ca3c961f Correct "Last Edited by" username, Updates the last edited username upon save rather than upon a edit lock being created. Props rooodini & deepak.seth. Fixes #12736
git-svn-id: https://develop.svn.wordpress.org/trunk@14216 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-24 04:24:38 +00:00
Ron Rennick 310a7bcf05 escape the trailing underscore in SHOW TABLES LIKE in delete_blog, fixes #13099
git-svn-id: https://develop.svn.wordpress.org/trunk@14215 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-24 04:15:00 +00:00
Dion Hulse 75b0dcde46 Add descriptive error messages on Custom Fields updates attempting to set a empty Key or Value. Fixes #11650
git-svn-id: https://develop.svn.wordpress.org/trunk@14214 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-24 03:53:47 +00:00
Ron Rennick af6fe3689a remove from usermeta table in r14212, see #13032
git-svn-id: https://develop.svn.wordpress.org/trunk@14213 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-24 03:28:12 +00:00
Ron Rennick 9091ff9cb9 remove alpha-beta1 metabox preferences from options table, see #13032
git-svn-id: https://develop.svn.wordpress.org/trunk@14212 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-24 03:09:48 +00:00
Dion Hulse 9bffb132ef Remove Horizontal scrollbars on Thickbox iframes. Props ocean90. Fixes #13062
git-svn-id: https://develop.svn.wordpress.org/trunk@14210 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-24 02:59:41 +00:00
Andrew Nacin 4168a748dc Custom background UI tweaks. Props TECannon. see #12186, fixes #12699
git-svn-id: https://develop.svn.wordpress.org/trunk@14209 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-23 22:10:21 +00:00
Ryan Boren 8d9073103c Introduce get_super_admins(). Allow hard-coding a global super_admins array and bypassing site options. fixes #12815
git-svn-id: https://develop.svn.wordpress.org/trunk@14206 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-23 20:34:03 +00:00
Andrew Nacin 774007dd8c Shake away files removed in 3.0.
git-svn-id: https://develop.svn.wordpress.org/trunk@14200 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-23 17:20:26 +00:00
Ryan Boren 977b0cd52e Remove fat finger typo. see #13088
git-svn-id: https://develop.svn.wordpress.org/trunk@14194 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-23 14:26:00 +00:00
Ryan Boren bfe3ca3b90 Bring back delete on empty value for update_user_option() to preserve back compat. Switch to delete_user_option() in core. Props mdawaffe. fixes #13088
git-svn-id: https://develop.svn.wordpress.org/trunk@14193 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-23 14:25:05 +00:00
Joseph Scott c97705cd49 - don't pass user id to list_users check
- only link the username if the edit_user cap check passes

see #13074


git-svn-id: https://develop.svn.wordpress.org/trunk@14191 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-22 22:53:44 +00:00
Peter Westwood 3f2ee78320 Restore support for floating point numbers in number_format_i18n(). Fixes #10555.
git-svn-id: https://develop.svn.wordpress.org/trunk@14190 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-22 21:39:37 +00:00
Joseph Scott cae7b3b275 New 'list_users' cap to provide more controls over listing users vs. editing
users.

Apply this new cap to the 'Authors & Users' menu item and 'Users' page in
wp-admin.

Bump db version to 14139 to pick up the new cap.

See #13074



git-svn-id: https://develop.svn.wordpress.org/trunk@14189 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-22 19:48:13 +00:00
Ryan Boren 74cae0802c Fix paging numbers. Props ocean90. fixes #13082
git-svn-id: https://develop.svn.wordpress.org/trunk@14188 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-22 17:59:21 +00:00
Ryan Boren f28be2ee6a Dashboard and Press This RTL fixeixes. Props yoavf. fixes #13083
git-svn-id: https://develop.svn.wordpress.org/trunk@14187 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-22 17:54:08 +00:00
Ron Rennick 2d684e0eb7 fix page count calc for unattached media, props PeteMall, see #12448
git-svn-id: https://develop.svn.wordpress.org/trunk@14185 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-21 23:30:06 +00:00
Peter Westwood 00b53270ca Remove unnecessary translations of decimal point character and number of decimal places. Fixes #10555 props nbachiyski.
git-svn-id: https://develop.svn.wordpress.org/trunk@14184 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-21 21:41:20 +00:00
Ryan Boren 20dcabfd49 Add multisite check on delete. Check promote_user cap. see #13074
git-svn-id: https://develop.svn.wordpress.org/trunk@14178 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-21 17:58:10 +00:00
Nikolay Bachiyski d6208f9a02 Help translators with meaning of MB and GB. They are definitely not Macbook and Great Britain
git-svn-id: https://develop.svn.wordpress.org/trunk@14177 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-21 17:44:21 +00:00
Ryan Boren 0e3d10f5ac Separate user deletion and removal. Add promote_users cap so that multisite Admins (not supes) can promote. see #13074
git-svn-id: https://develop.svn.wordpress.org/trunk@14176 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-21 17:43:53 +00:00
Ryan Boren f234057c83 Add add_users cap to allow distringuishing between adding and creating users.
git-svn-id: https://develop.svn.wordpress.org/trunk@14174 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-21 16:33:13 +00:00
Nikolay Bachiyski bc16bc564e Upgrader i18n fixes: add translator messages, take tags out of a message and use the correct error text when including both the title and the error message
git-svn-id: https://develop.svn.wordpress.org/trunk@14173 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-21 10:58:06 +00:00
Nikolay Bachiyski 98da786577 Change user name to username for consistency
git-svn-id: https://develop.svn.wordpress.org/trunk@14172 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-20 17:40:08 +00:00
Nikolay Bachiyski cb1baf850f Focus on the password field if the user has come from the default password nag
git-svn-id: https://develop.svn.wordpress.org/trunk@14171 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-20 17:16:14 +00:00
Nikolay Bachiyski ebb05d65d4 Split the default password nag text to several translatable strings
git-svn-id: https://develop.svn.wordpress.org/trunk@14170 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-20 17:15:07 +00:00
Nikolay Bachiyski 0663ca9043 Take <em> tag out of translatable string
git-svn-id: https://develop.svn.wordpress.org/trunk@14169 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-20 17:06:41 +00:00
Nikolay Bachiyski 81d0b63fde Don't use missing $taxonomy in screen_options(). $tax->name has the taxonomy slug/name we need
git-svn-id: https://develop.svn.wordpress.org/trunk@14168 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-20 15:13:27 +00:00
Nikolay Bachiyski 0cab071f77 Trash should always be in titlecase for consistency
git-svn-id: https://develop.svn.wordpress.org/trunk@14167 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-20 14:54:36 +00:00
Nikolay Bachiyski 47536f1eee Add missing semi-colon in the end of quote entity. Props Cátia Kitahara
git-svn-id: https://develop.svn.wordpress.org/trunk@14166 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-19 20:49:13 +00:00
Nikolay Bachiyski c74c1884d5 Un-www wordpress.org links in two importers
git-svn-id: https://develop.svn.wordpress.org/trunk@14165 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-19 15:09:38 +00:00
Nikolay Bachiyski f6df31176b Add a translators comment to clarify what comes after at
git-svn-id: https://develop.svn.wordpress.org/trunk@14164 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-19 15:08:48 +00:00
Nikolay Bachiyski c20efb28e8 Indent and split into several lines the HTML for wp-admin logo
git-svn-id: https://develop.svn.wordpress.org/trunk@14163 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-19 13:33:18 +00:00