Commit Graph

6873 Commits

Author SHA1 Message Date
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
Andrew Nacin c79e18467b Make the 'Delete' action link for plugins red. fixes #12741, props jane.
git-svn-id: https://develop.svn.wordpress.org/trunk@14159 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 17:43:16 +00:00
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 &amp;, 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