Commit Graph

13182 Commits

Author SHA1 Message Date
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
potbot 6cb8ea5bcc POT, generated from r14283
git-svn-id: https://develop.svn.wordpress.org/trunk@14284 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 20:21:06 +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
Matt Thomas df17d3d901 In Twenty Ten, fix the ordering of items in the title tag.
git-svn-id: https://develop.svn.wordpress.org/trunk@14282 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 17:17:42 +00:00
Matt Thomas 83f33b07ec In Twenty Ten, remove the pipe separator from the title when there is no blog description. Props noel.
git-svn-id: https://develop.svn.wordpress.org/trunk@14281 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 17:11:18 +00:00
Andrew Nacin 3be728e34b Keep 'remember me' checked when user/pass is incorrect. props xibe, fixes #13165.
git-svn-id: https://develop.svn.wordpress.org/trunk@14280 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 17:01:55 +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
Peter Westwood 6d490bcd88 Introduce a template file for the Front Page of a site. Has priority over every other template which applies and falls back to the standard template flow for the page / list of posts.
Fixes #6801

git-svn-id: https://develop.svn.wordpress.org/trunk@14276 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 07:48:09 +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
Peter Westwood 5dd4da6932 Revert [14268] - It is much better to use JavaScript for this kind of enhancement. Output buffering is too fragile. See #12564.
git-svn-id: https://develop.svn.wordpress.org/trunk@14274 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 07:17:20 +00:00
Andrew Nacin a3d0926168 Don't serve dynamic robots.txt when WP is not installed at the root of a domain. props solarissmoke, fixes #13115
git-svn-id: https://develop.svn.wordpress.org/trunk@14273 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 06:37:15 +00:00
Matt Thomas caa53c4982 In Twenty Ten, fix aligned image styles
git-svn-id: https://develop.svn.wordpress.org/trunk@14272 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 05:20:48 +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 385b717f08 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@14270 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 04:56:50 +00:00
Matt Thomas d27efabb08 In Twenty Ten, remove margins from normal inline images, set vertical alignment of inline images, and apply bottom margin to alignnone class.
git-svn-id: https://develop.svn.wordpress.org/trunk@14269 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 04:46:10 +00:00
Andrew Nacin 54a577c537 Add full HTML filter to comment_form(), along with an echo arg. props joostdevalk, fixes #12564.
git-svn-id: https://develop.svn.wordpress.org/trunk@14268 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 04:28:51 +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 68db25c00c Don't translate internal post stati. props nbachiyski, fixes #13024.
git-svn-id: https://develop.svn.wordpress.org/trunk@14262 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-27 22:36:46 +00:00