Commit Graph

12905 Commits

Author SHA1 Message Date
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 881e9cc8a4 Remove Twenty Ten's searchform.php and use the core get_search_form() markup. fixes #13053
git-svn-id: https://develop.svn.wordpress.org/trunk@14331 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 18:10:42 +00:00
Mark Jaquith a8912459a5 Make sure alloptions is an array before we try to use unset() on its alleged key
git-svn-id: https://develop.svn.wordpress.org/trunk@14330 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 06:02:54 +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
potbot 52a8a4ab3a POT, generated from r14324
git-svn-id: https://develop.svn.wordpress.org/trunk@14325 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-01 00:21:36 +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 b6a09d8f59 Remove unnecessary space in 2010 comments.php. props zeo, fixes #13196.
git-svn-id: https://develop.svn.wordpress.org/trunk@14323 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-30 22:39:37 +00:00
Andrew Nacin c7771375e3 Translate name of sidebars in twentyten. props zeo, fixes #13189.
git-svn-id: https://develop.svn.wordpress.org/trunk@14322 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-30 22:34:41 +00:00
Ryan Boren d35bf06afa Replace dashes with empty strings instead of underscores so that keys match keys that might be stored in a persistent cache from 2.9. Remove current user reset. Kinda buggy.
git-svn-id: https://develop.svn.wordpress.org/trunk@14321 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-30 17:57:30 +00:00
Mark Jaquith 0a658396a5 Make sure sidebars_widgets is an array. If it is a string (no idea how, but it happens), we get a fatal error
git-svn-id: https://develop.svn.wordpress.org/trunk@14320 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-30 17:37:42 +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
Andrew Nacin 41af787171 Prune and tidy the message in ms_not_installed. Only show detailed information if wp-admin, likesingle installs. Use ->tables. @todo: non-'MU' codex link.
git-svn-id: https://develop.svn.wordpress.org/trunk@14317 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-30 15:21:10 +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 5e6e16a033 Don't consult global current_user object for usermeta values. Use get_userdata().
git-svn-id: https://develop.svn.wordpress.org/trunk@14311 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 20:55:39 +00:00
Andrew Nacin fbac23f1eb Update object term cache for custom post types. props scribu, fixes #12989.
git-svn-id: https://develop.svn.wordpress.org/trunk@14310 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 20:43:59 +00:00
Ryan Boren 854c4d8fa7 Always replace dashes with underscores for keys in get_user_option().
git-svn-id: https://develop.svn.wordpress.org/trunk@14309 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 20:19:47 +00:00
Ryan Boren cec049295c Pass unserializeds value to meta actions.
git-svn-id: https://develop.svn.wordpress.org/trunk@14308 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 19:26:40 +00:00
Ryan Boren 111b7d58c5 When storing and retrieving meta data to user object, replace dashes with underscores to get a valid php var name.
git-svn-id: https://develop.svn.wordpress.org/trunk@14307 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 19:19:21 +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 93e92e9b32 clean_user_cache() instead of direct cache delete.
git-svn-id: https://develop.svn.wordpress.org/trunk@14305 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 18:32:01 +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 d2e7d2a8c3 Remove debug
git-svn-id: https://develop.svn.wordpress.org/trunk@14303 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 18:24:45 +00:00
Ryan Boren ab27ecda6d Reset the global current_user object when the current user is changed.
git-svn-id: https://develop.svn.wordpress.org/trunk@14302 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 18:24:18 +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
Matt Thomas 5bf46fa540 In twenty ten, removing some unnecessary styles for images
git-svn-id: https://develop.svn.wordpress.org/trunk@14300 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 17:32:56 +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
Donncha O Caoimh cbe8327f39 Display the original username on the signup form on error, fixes #13124
git-svn-id: https://develop.svn.wordpress.org/trunk@14298 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 16:05:33 +00:00
Ryan Boren 61a22bca5d Set nopaging for the wp_get_nav_menu_items() get_posts() call to avoid pointless found rows queries. see #13134
git-svn-id: https://develop.svn.wordpress.org/trunk@14297 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 14:58:22 +00:00
potbot 9b70c151dd POT, generated from r14295
git-svn-id: https://develop.svn.wordpress.org/trunk@14296 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 08:21:39 +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 6eb29c7e74 In Twenty Ten, i18n for prev/next post link arrows. props yoavf, fixes #13123.
git-svn-id: https://develop.svn.wordpress.org/trunk@14289 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 05:27:53 +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