Commit Graph

6796 Commits

Author SHA1 Message Date
wpmuguru cea6004286 export improvements, props blepoxp, see #10317
git-svn-id: http://svn.automattic.com/wordpress/trunk@14444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 17:31:36 +00:00
nacin 9fb099891f Add trailing slash to some home_url() calls. props zeo, fixes #13245.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 17:13:11 +00:00
nacin 9e81303893 Define home_url() in load-scripts.php. see #9008, props ocean90.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 17:08:28 +00:00
nacin 0891a9dea0 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: http://svn.automattic.com/wordpress/trunk@14439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 10:01:15 +00:00
nacin 3a69ab9602 Fix 'Select All' for the new drag/drop code. props koopersmith, see #13220.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 08:54:35 +00:00
nacin b5c233a1b5 @since for some new ms functions re: upload file size limits. see #12853.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 08:41:46 +00:00
nacin ac7687ee8d 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: http://svn.automattic.com/wordpress/trunk@14436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 08:31:40 +00:00
nacin 7466fadd24 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: http://svn.automattic.com/wordpress/trunk@14434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 07:24:49 +00:00
ryan 2ecda01ce0 Fix user validation feedback. Props sivel. fixes #13162
git-svn-id: http://svn.automattic.com/wordpress/trunk@14428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 23:46:42 +00:00
dd32 72f99c8a96 Silence PHP Warnings on is_writable calls. Can trigger open_basedir warnings on certain hosting environments. Props ocean90. Fixes #12866
git-svn-id: http://svn.automattic.com/wordpress/trunk@14427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 23:39:57 +00:00
dd32 2bbdd19973 Handle $_POST containing an empty term array, Fixes saving of deselecting all hierarchical terms. Fixes #10122
git-svn-id: http://svn.automattic.com/wordpress/trunk@14426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 23:35:22 +00:00
wpmuguru 2c727e9442 themes admin pages UI cleanup, props PeteMall, see #13238
git-svn-id: http://svn.automattic.com/wordpress/trunk@14425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 23:25:14 +00:00
nacin 5b6f2a3944 Add 'Network Activate' link to the plugin upgrader class. props PeteMall, fixes #13097.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 23:18:49 +00:00
nacin 623461e9cf Fix non-JS menu item close button. props duck_, fixes #13203
git-svn-id: http://svn.automattic.com/wordpress/trunk@14423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 23:08:02 +00:00
ryan dda59949de User deletion fixes. Props yoavf. fixes #13242
git-svn-id: http://svn.automattic.com/wordpress/trunk@14422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 23:04:42 +00:00
wpmuguru bc0ae7852f limit upload size to site's available limit, see #12853
git-svn-id: http://svn.automattic.com/wordpress/trunk@14420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 22:40:02 +00:00
nacin 248f4ab860 Provide a context to wp_handle_upload to differentiate between upload and sideload. props technosailor, fixes #12740.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 22:16:48 +00:00
nbachiyski 1f18095da6 Use get_available_languages() in options-general.php instead of manually looping on the language dir. Props sivel. Fixes #13023
git-svn-id: http://svn.automattic.com/wordpress/trunk@14416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 22:06:49 +00:00
nacin a51e35301f Remove unused CSS. props koopersmith, see #13220
git-svn-id: http://svn.automattic.com/wordpress/trunk@14413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 21:21:55 +00:00
westi cdd52a2071 Remove the deprecation message for now as it shows too many false positives. See #13230.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 21:12:23 +00:00
nacin 86b856ee1b Truncate really long menu names. props koopersmith, see #13220.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:40:32 +00:00
nbachiyski bebd1b8ea6 Differentiate spam strings by subject: comments, sites, and users. Props dimadin. Fixes #13199
git-svn-id: http://svn.automattic.com/wordpress/trunk@14407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:37:07 +00:00
nacin b093a66876 Fix JS error in autocomplete. props koopersmith, see #13205.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:31:34 +00:00
ryan 7b7243d94a Strip trailing whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:26:11 +00:00
nacin efa2e9d397 Ensure image MIME type matches extension for images. props Viper007Bond, fixes #11946.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:17:01 +00:00
nacin aca357b327 Handle page hierarchy when showing the sample permalink. props duck_, fixes #12327.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:10:26 +00:00
dd32 c5ff2b4ae9 Move edit_<tax>_form and <tax>_edit_form to above submit button. Fixes #12746
git-svn-id: http://svn.automattic.com/wordpress/trunk@14398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:05:46 +00:00
nacin ea7a0076b6 Remove browse-happy.gif. see #12876. props ocean90
git-svn-id: http://svn.automattic.com/wordpress/trunk@14397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:01:59 +00:00
nacin bfd0d7cedc Remove browse-happy.gif. see #12876. props ocean90
git-svn-id: http://svn.automattic.com/wordpress/trunk@14396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:01:35 +00:00
nacin b44f2e16d1 Remove files replaced by CSS3 gradients. IE falls back to solid colors. see #12586.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 19:52:44 +00:00
nacin 9dd4702113 Check for deleted menus or something. It fixes a JS error. props koopersmith, see #13215.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 19:35:54 +00:00
nacin a7e2ac2fec Remove unused vars. props TobiasBg. fixes #13228.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 19:33:23 +00:00
ryan 1a31d3aff0 RTL fixes. Props yoavf. see #13233
git-svn-id: http://svn.automattic.com/wordpress/trunk@14392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 19:31:25 +00:00
dd32 3b5de7199e Fix alignment/location of "Add" on non-hierarchical taxonomy addition boxes. Props ocean90. Fixes #12153
git-svn-id: http://svn.automattic.com/wordpress/trunk@14390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 19:29:17 +00:00
dd32 9a87641ad8 Handle ", " and "," in non-hierarchical term suggestion. Props ocean90. Fixes #12152
git-svn-id: http://svn.automattic.com/wordpress/trunk@14387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 19:23:44 +00:00
wpmuguru 7832748847 allow subdir multisite on ip address, see #12142
git-svn-id: http://svn.automattic.com/wordpress/trunk@14386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 19:23:37 +00:00
nacin e965a965d3 Use CSS3 gradients for the admin header and footer. Fall back to a solid color for IE. Props JohnONolan, fixes #12586.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 19:12:19 +00:00
dd32 796c494295 Add reset background image to theme default. Props lancewillett. See #12186
git-svn-id: http://svn.automattic.com/wordpress/trunk@14379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 18:52:38 +00:00
dd32 79bb63a4e0 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: http://svn.automattic.com/wordpress/trunk@14377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 18:44:34 +00:00
ryan 5cedf1a572 RTL fixes. Props yoavf. see #13233
git-svn-id: http://svn.automattic.com/wordpress/trunk@14376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 18:33:49 +00:00
ryan 284e2758b9 RTL fixes. Props yoavf. see #13233
git-svn-id: http://svn.automattic.com/wordpress/trunk@14375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 18:20:30 +00:00
ryan 172aa06718 Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
git-svn-id: http://svn.automattic.com/wordpress/trunk@14374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 18:16:22 +00:00
nacin 0c2e93aee7 Sliding tabs for the nav menu admin UI. second pass. props koopersmith, see #13215.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 16:59:51 +00:00
westi e13615c621 Move theme_update_available out of the admin page and into the admin includes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 13:29:15 +00:00
westi 628d0b247d Correctly mark things as private in the phpDoc
git-svn-id: http://svn.automattic.com/wordpress/trunk@14370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 13:27:15 +00:00
westi b5e08827bc Add a nag message for themes which are relying on the deprecated behaviour.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 13:23:34 +00:00
nacin 08f650de1a First pass on sliding tabs for the nav menu admin UI. props koopersmith, see #13215.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 10:28:35 +00:00
nacin c5af6664a6 Remove debug.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 07:12:26 +00:00
nacin a4d7fcdbf8 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: http://svn.automattic.com/wordpress/trunk@14362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 06:30:21 +00:00
nacin 0b597379e4 Prevent fatal error when falling back to fsockopen in the setup-config.php key/salt HTTP request. fixes #13030.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 06:28:05 +00:00
dd32 cdd4f4e250 Update logo image URL in Gears manifest. Props ocean90. Fixes #13177
git-svn-id: http://svn.automattic.com/wordpress/trunk@14356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 00:47:10 +00:00
nacin 421cade8cb Tweaks for nav menu admin tabs with JS disabled. props koopersmith, see #13215
git-svn-id: http://svn.automattic.com/wordpress/trunk@14353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 23:51:43 +00:00
ryan 6e0ddc4abc Nav menu tweaks. Props ptahdunbar. see #13220
git-svn-id: http://svn.automattic.com/wordpress/trunk@14352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 23:40:34 +00:00
dd32 2db60de875 Skip over __MACOSX folders during zip extraction. Props chrisbliss18. Fixes #12637
git-svn-id: http://svn.automattic.com/wordpress/trunk@14349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 23:24:36 +00:00
nacin ec38ce48e9 Support network-wide plugin re-activation in upgrades and edits. props PeteMall, fixes #13216
git-svn-id: http://svn.automattic.com/wordpress/trunk@14348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 22:57:44 +00:00
ryan 91354eefee Escape links by default. Props alexkingorg. see #13051
git-svn-id: http://svn.automattic.com/wordpress/trunk@14347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 22:53:59 +00:00
dd32 3213eab0f8 Check for "ZIP_ER_OK" return value on ZipArchive. See #12637
git-svn-id: http://svn.automattic.com/wordpress/trunk@14346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 22:25:30 +00:00
nacin c3d2524889 Fix the nav menu ajax spinners (again).
git-svn-id: http://svn.automattic.com/wordpress/trunk@14340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 21:05:55 +00:00
nacin 16f6590bc3 Alot of drag/drop/sortable improvements to nav menu admin UI. props koopersmith, fixes #12675.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 19:09:10 +00:00
nacin 1eb297c982 Fix admin.php?import=x pages, which can re-include itself in certain environments. fixes #13184 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 18:39:31 +00:00
nacin 54763a0e76 Clarify menu creation versus save. props duck_, see #13134. Check in scripts for r14332, see #13204.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 18:15:41 +00:00
nacin c32241fc4b Fix ajax on add menu item boxes. props koopersmith, see #13204
git-svn-id: http://svn.automattic.com/wordpress/trunk@14332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 18:12:13 +00:00
nacin f92971a7ff Use the correct defines in secret_salt_warning.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-01 22:50:55 +00:00
nacin d751526e11 Align the update nag with the screen meta box.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-01 22:09:34 +00:00
nacin 6ebe054817 Show > 100% blog space used in MS Right Now.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-01 22:06:48 +00:00
nacin 3a2f3b3433 s/blog/site/ in more places.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-01 07:09:38 +00:00
nacin 1b6c254cb5 Change 'WordPress Development Blog' to 'WordPress Blog' in the dashboard widget.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-30 22:56:29 +00:00
nacin 0cfdd41300 Use a class for update-nag, as especially in MS we're sometimes hooking in more than one per page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-30 15:37:46 +00:00
nacin bb3f1f5f45 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: http://svn.automattic.com/wordpress/trunk@14318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-30 15:25:54 +00:00
ryan 116f361cad Don't stomp upload options when saving media options for MS sites. fixes #13182
git-svn-id: http://svn.automattic.com/wordpress/trunk@14316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-30 14:31:18 +00:00
nacin e64a657575 s/blog/site/ in even more places. props PeteMall, see #11644.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-30 03:17:49 +00:00
nacin 21179d5625 Small menu CSS tweak for item deletion. props koopersmith, see #13134.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-30 01:58:35 +00:00
nacin f9df8a36ae s/blog/site/ in more places. props PeteMall, see #11644.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-30 01:54:32 +00:00
westi 2c1cc83750 Fix support for rewrites on IIS7. Fixes #12973 props Frumph and ruslany.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 21:41:20 +00:00
ryan de71b22e0e Remove debug
git-svn-id: http://svn.automattic.com/wordpress/trunk@14306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 19:16:21 +00:00
ryan 8420f41a24 Fix initial hidden meta boxes for nav menus. see #13134
git-svn-id: http://svn.automattic.com/wordpress/trunk@14304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 18:27:46 +00:00
ryan 62a5269eed Partially fix default hidden meta boxes for nav menus. see #13134
git-svn-id: http://svn.automattic.com/wordpress/trunk@14301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 17:47:11 +00:00
ryan acd118c1be Don't call get_plugins() in menu.php. It is too slow to call on every admin page load. fixes #13117
git-svn-id: http://svn.automattic.com/wordpress/trunk@14299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 16:38:12 +00:00
nacin d1a37c1f31 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: http://svn.automattic.com/wordpress/trunk@14295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 07:33:56 +00:00
nacin 7846ae85f6 Fix typo in CSS. see #13134.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14294 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 07:28:34 +00:00
nacin 7bb32597b7 Fix the ajax loading/processing spinner for nav menu meta boxes. see #13134.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 07:10:54 +00:00
nacin 7677e2e874 Remove unnecessary single tab and second border in the custom links nav menu widget.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 06:11:44 +00:00
nacin 8b8250b8bb Show 'no items' message in post/tax meta boxes for nav menu admin instead of empty tabs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 06:01:44 +00:00
nacin 4cd8df217b Don't show plugin editor when there are no plugins. props solarissmoke, fixes #13117.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 05:34:24 +00:00
nacin 91e39b0336 Small fixes to the initial nav menu message. props koopersmith, see #13134.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 05:12:12 +00:00
nacin cd9ab80421 Nav menu UI updates. props koopersmith, see #13134.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 03:43:39 +00:00
nacin 8787503192 Nav menu UI updates. props koopersmith, see #13134.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 03:43:11 +00:00
nacin 90ea03383f Fix handling of nav menu search, also menu naming conflicts. props filosofo, fixes #13138
git-svn-id: http://svn.automattic.com/wordpress/trunk@14285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 20:44:08 +00:00
nacin 8c9f71bb57 More nav menu fixes. props filosofo. see #13148. fixes #13155, fixes #13157, fixes #13138, see #13134.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 18:30:32 +00:00
nacin 33916fd71d RTL for nav-menu.php. first pass. props RanYanivHartstein, see #13166
git-svn-id: http://svn.automattic.com/wordpress/trunk@14279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 14:22:41 +00:00
nacin e34d128fad Remove space between screen meta and screen icon on nav menu admin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 13:37:15 +00:00
nacin bebdadc1b0 Restore radios for MS site flags, as the schema supports other values. see #12832
git-svn-id: http://svn.automattic.com/wordpress/trunk@14277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 08:15:45 +00:00
nacin 0fd5fee450 Better DNS error message in network.php.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 07:40:49 +00:00
nacin 540dcf5108 Give menu items a default 'draft' state when added to the menu. props filosofo, fixes #13149
git-svn-id: http://svn.automattic.com/wordpress/trunk@14271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 05:02:09 +00:00
nacin b8b7d95dd0 Some menus meta box cleanups. props filosofo, see #13143.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 04:09:00 +00:00
nacin 4374cee7cd Show correct nav menu title on first pageload after change. props filosofo, fixes #13142.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 02:24:39 +00:00
nacin 0e152503cb Poka yoke for username sanitization during install. see #13159.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 02:20:32 +00:00
nacin 3a11c693b7 Show the sanitized username on install.php completion page. Also add some help text. see #13159.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 02:17:19 +00:00
nacin f01d1883e4 Verify nav menu items. props filosofo, fixes #13154.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 02:04:30 +00:00
nacin e40572be40 Some default password nag and user-edit div.error style cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-27 21:57:18 +00:00
ryan 2afc14810f Explanatory text for the plus tab. see #13134
git-svn-id: http://svn.automattic.com/wordpress/trunk@14254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-27 17:40:48 +00:00
wpmuguru e4e404ae20 don't change super admin primary site when creating new site
git-svn-id: http://svn.automattic.com/wordpress/trunk@14253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-27 17:37:01 +00:00
ryan 75569d56f7 Menu styling updates. Props koopersmith. see #13134
git-svn-id: http://svn.automattic.com/wordpress/trunk@14252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-27 16:04:18 +00:00
ryan db90c499f7 Remove move cursor when JS disabled. Props koopersmith. fixes #13136
git-svn-id: http://svn.automattic.com/wordpress/trunk@14251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-27 14:42:42 +00:00
ryan e879a9ab0e New menu UI. Props filosofo. see #12713
git-svn-id: http://svn.automattic.com/wordpress/trunk@14248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-27 01:05:58 +00:00
ryan ebc2200460 Remove debug
git-svn-id: http://svn.automattic.com/wordpress/trunk@14243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-26 18:52:14 +00:00
ryan b7543c5352 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: http://svn.automattic.com/wordpress/trunk@14242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-26 18:20:11 +00:00
ryan 372ff2e83a Allow regular admins to change the admin email. see #13126
git-svn-id: http://svn.automattic.com/wordpress/trunk@14241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-26 17:55:41 +00:00
ryan c256a99fc2 privacy_on_link_title and privacy_on_link_text filters to allow privacy plugins to customize privacy-on-link
git-svn-id: http://svn.automattic.com/wordpress/trunk@14237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-26 01:26:08 +00:00
ryan 6cd2a49a40 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: http://svn.automattic.com/wordpress/trunk@14235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-25 15:59:03 +00:00
dd32 84887d6386 Remove dead browse happy code. Has not been used for 18months in core admin. Props ocean90. Fixes #4833
git-svn-id: http://svn.automattic.com/wordpress/trunk@14233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-25 08:40:37 +00:00
dd32 fb888c7261 Hide Parent dropdown in Page-attributes metabox when no potential parents exist. Props sorich87. Fixes #12655
git-svn-id: http://svn.automattic.com/wordpress/trunk@14232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-25 08:30:32 +00:00
dd32 99b439c6f7 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: http://svn.automattic.com/wordpress/trunk@14229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-25 07:35:16 +00:00
dd32 72f72cb238 Handle HTTP errors on popular tags requests, Handle HTTP Errors on listing loading slightly different no-js compatible. Fixes #13107
git-svn-id: http://svn.automattic.com/wordpress/trunk@14228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-25 05:39:39 +00:00
nacin 21c3eae3d3 Style bumps and compressed styles for r14187. see #13083.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-24 17:22:34 +00:00
nacin 7341a67e76 Prevent HTML editor from being resized horizontally. props nomulous, fixes #13064
git-svn-id: http://svn.automattic.com/wordpress/trunk@14220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-24 16:57:44 +00:00
dd32 d0cb517220 Fix DB upgrade kickoff for removal of usermeta fields. See r14212, r14213, see #13032
git-svn-id: http://svn.automattic.com/wordpress/trunk@14218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-24 10:29:01 +00:00
dd32 5bde56c788 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: http://svn.automattic.com/wordpress/trunk@14216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-24 04:24:38 +00:00
wpmuguru 821db5b0b0 escape the trailing underscore in SHOW TABLES LIKE in delete_blog, fixes #13099
git-svn-id: http://svn.automattic.com/wordpress/trunk@14215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-24 04:15:00 +00:00
dd32 63de1db1e9 Add descriptive error messages on Custom Fields updates attempting to set a empty Key or Value. Fixes #11650
git-svn-id: http://svn.automattic.com/wordpress/trunk@14214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-24 03:53:47 +00:00
wpmuguru 4b0484781c remove from usermeta table in r14212, see #13032
git-svn-id: http://svn.automattic.com/wordpress/trunk@14213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-24 03:28:12 +00:00
wpmuguru 3c2369c8d7 remove alpha-beta1 metabox preferences from options table, see #13032
git-svn-id: http://svn.automattic.com/wordpress/trunk@14212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-24 03:09:48 +00:00
dd32 d000a0706f Remove Horizontal scrollbars on Thickbox iframes. Props ocean90. Fixes #13062
git-svn-id: http://svn.automattic.com/wordpress/trunk@14210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-24 02:59:41 +00:00
nacin b25092d5b0 Custom background UI tweaks. Props TECannon. see #12186, fixes #12699
git-svn-id: http://svn.automattic.com/wordpress/trunk@14209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-23 22:10:21 +00:00
ryan bc0947b075 Introduce get_super_admins(). Allow hard-coding a global super_admins array and bypassing site options. fixes #12815
git-svn-id: http://svn.automattic.com/wordpress/trunk@14206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-23 20:34:03 +00:00
nacin 866ed4fc0f Shake away files removed in 3.0.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-23 17:20:26 +00:00
ryan 070f285e4d Remove fat finger typo. see #13088
git-svn-id: http://svn.automattic.com/wordpress/trunk@14194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-23 14:26:00 +00:00
ryan 9f33300139 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: http://svn.automattic.com/wordpress/trunk@14193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-23 14:25:05 +00:00
josephscott 47699849f7 - 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: http://svn.automattic.com/wordpress/trunk@14191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-22 22:53:44 +00:00
westi 9356c4b72d Restore support for floating point numbers in number_format_i18n(). Fixes #10555.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-22 21:39:37 +00:00
josephscott e26aed0ac4 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: http://svn.automattic.com/wordpress/trunk@14189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-22 19:48:13 +00:00
ryan f4ccd9cac3 Fix paging numbers. Props ocean90. fixes #13082
git-svn-id: http://svn.automattic.com/wordpress/trunk@14188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-22 17:59:21 +00:00
ryan f0bb52f8c4 Dashboard and Press This RTL fixeixes. Props yoavf. fixes #13083
git-svn-id: http://svn.automattic.com/wordpress/trunk@14187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-22 17:54:08 +00:00
wpmuguru 55446491fa fix page count calc for unattached media, props PeteMall, see #12448
git-svn-id: http://svn.automattic.com/wordpress/trunk@14185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-21 23:30:06 +00:00
westi da93a92714 Remove unnecessary translations of decimal point character and number of decimal places. Fixes #10555 props nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-21 21:41:20 +00:00
ryan 73f0e2f334 Add multisite check on delete. Check promote_user cap. see #13074
git-svn-id: http://svn.automattic.com/wordpress/trunk@14178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-21 17:58:10 +00:00
nbachiyski 16989ec444 Help translators with meaning of MB and GB. They are definitely not Macbook and Great Britain
git-svn-id: http://svn.automattic.com/wordpress/trunk@14177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-21 17:44:21 +00:00
ryan fda80bc7f6 Separate user deletion and removal. Add promote_users cap so that multisite Admins (not supes) can promote. see #13074
git-svn-id: http://svn.automattic.com/wordpress/trunk@14176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-21 17:43:53 +00:00
ryan 219f902d3d Add add_users cap to allow distringuishing between adding and creating users.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-21 16:33:13 +00:00
nbachiyski 6a4971c131 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: http://svn.automattic.com/wordpress/trunk@14173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-21 10:58:06 +00:00
nbachiyski a3f84296c5 Change user name to username for consistency
git-svn-id: http://svn.automattic.com/wordpress/trunk@14172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-20 17:40:08 +00:00
nbachiyski 7658f0892d Focus on the password field if the user has come from the default password nag
git-svn-id: http://svn.automattic.com/wordpress/trunk@14171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-20 17:16:14 +00:00
nbachiyski a8f935789b Split the default password nag text to several translatable strings
git-svn-id: http://svn.automattic.com/wordpress/trunk@14170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-20 17:15:07 +00:00
nbachiyski 9aff4a6206 Take <em> tag out of translatable string
git-svn-id: http://svn.automattic.com/wordpress/trunk@14169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-20 17:06:41 +00:00
nbachiyski 4f9e5d644b Don't use missing $taxonomy in screen_options(). $tax->name has the taxonomy slug/name we need
git-svn-id: http://svn.automattic.com/wordpress/trunk@14168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-20 15:13:27 +00:00
nbachiyski 049af4a425 Trash should always be in titlecase for consistency
git-svn-id: http://svn.automattic.com/wordpress/trunk@14167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-20 14:54:36 +00:00
nbachiyski 33628516d1 Add missing semi-colon in the end of quote entity. Props Cátia Kitahara
git-svn-id: http://svn.automattic.com/wordpress/trunk@14166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-19 20:49:13 +00:00
nbachiyski 04f843f306 Un-www wordpress.org links in two importers
git-svn-id: http://svn.automattic.com/wordpress/trunk@14165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-19 15:09:38 +00:00
nbachiyski 33ecb0ea45 Add a translators comment to clarify what comes after at
git-svn-id: http://svn.automattic.com/wordpress/trunk@14164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-19 15:08:48 +00:00
nbachiyski bb110266c3 Indent and split into several lines the HTML for wp-admin logo
git-svn-id: http://svn.automattic.com/wordpress/trunk@14163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-19 13:33:18 +00:00