Commit Graph

22591 Commits

Author SHA1 Message Date
Andrew Nacin 5f1a1eb77c Don't render the screen reader shortcut 'Log Out' link in the toolbar when the user is not logged in.
props SergeyBiryukov.
fixes #23178.



git-svn-id: http://core.svn.wordpress.org/trunk@24442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-19 08:15:04 +00:00
Andrew Nacin bb1234c4be Fall back to non-translated strings in _doing_it_wrong() if the translation function doesn't exist. This may be the case in sunrise, for example.
props SergeyBiryukov.
fixes #23555.
for trunk.



git-svn-id: http://core.svn.wordpress.org/trunk@24439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-19 08:11:59 +00:00
Andrew Nacin 0cf7acf4a9 Fix context for get_post() in the deprecated wp_get_single_post(). fixes #24602.
git-svn-id: http://core.svn.wordpress.org/trunk@24436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-19 07:58:28 +00:00
Bot (Translations) 06f96735c1 POT, generated from r24434
git-svn-id: http://core.svn.wordpress.org/trunk@24435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-18 22:14:13 +00:00
Lance Willett b512e9b6a9 Twenty Eleven: use `get_content_url()` instead of `get_the_post_format_url()`. Fixes #23618.
git-svn-id: http://core.svn.wordpress.org/trunk@24434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-18 21:40:14 +00:00
Andrew Nacin 69581bd827 Pass value and expiration to result hooks in set_transient() and set_site_transient(). props johnbillion, fixes #24583.
git-svn-id: http://core.svn.wordpress.org/trunk@24433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-16 04:06:12 +00:00
Bot (Assets) 91186ec868 Compress scripts/styles: 3.6-beta3-24432.
git-svn-id: http://core.svn.wordpress.org/trunk@24432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-09 00:58:58 +00:00
Andrew Ozz aff66a7d07 Autosave: properly set autosaveLast when TinyMCE is the default editor. Prevents firing autosave when there are no changes. See #23220
git-svn-id: http://core.svn.wordpress.org/trunk@24431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-09 00:45:01 +00:00
Bot (Assets) 6ce2016042 Compress scripts/styles: 3.6-beta3-24430.
git-svn-id: http://core.svn.wordpress.org/trunk@24430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-07 18:58:57 +00:00
Helen Hou-Sandí bd231c209f Add post format icons to the radio chooser. This also trims empty margins from the sprites to make them usable in RTL and make positioning numbers more sane. props ryelle, kovshenin for the initial patch. fixes #24519.
git-svn-id: http://core.svn.wordpress.org/trunk@24429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-07 17:15:53 +00:00
Lance Willett 42056fdae6 Twenty Thirteen: fix minor RTL and mobile visual display bugs, props obenland. Fixes #24524.
git-svn-id: http://core.svn.wordpress.org/trunk@24428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-07 17:01:22 +00:00
Bot (Assets) bd21a110d4 Compress scripts/styles: 3.6-beta3-24427.
git-svn-id: http://core.svn.wordpress.org/trunk@24427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-07 16:58:58 +00:00
Helen Hou-Sandí b9c5b62965 Change the post format icons sprite to be vertical rather than horizontal in order to allow it to be used for wider items such as labels. RTL tweak for the icon in the posts list table. See #16047, #24519.
git-svn-id: http://core.svn.wordpress.org/trunk@24426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-07 15:11:42 +00:00
Andrew Nacin 4263262f40 Use wp_revisions_enabled(). props ethitter. fixes #24525.
git-svn-id: http://core.svn.wordpress.org/trunk@24425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-07 02:06:22 +00:00
Bot (Translations) b2fc7d1b8b POT, generated from r24423
git-svn-id: http://core.svn.wordpress.org/trunk@24424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 19:14:10 +00:00
Lance Willett 693d4e0984 Twenty Thirteen: remove `html5` arguments now that `add_theme_support` call is in place. Props obenland, see r24421 and #23850.
git-svn-id: http://core.svn.wordpress.org/trunk@24423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 18:29:32 +00:00
Bot (Translations) b73e4d4e50 POT, generated from r24421
git-svn-id: http://core.svn.wordpress.org/trunk@24422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 18:14:04 +00:00
Lance Willett 7bb95a77ef Twenty Thirteen: Remove `twentythirteen_search_form_format()` filter in favor of `add_theme_support()` call for search form, comment form, and comment list markup. Props SergeyBiryukov, fixes #24269; see #23850.
git-svn-id: http://core.svn.wordpress.org/trunk@24421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 17:20:40 +00:00
Bot (Assets) fb16cb6b39 Compress scripts/styles: 3.6-beta3-24420.
git-svn-id: http://core.svn.wordpress.org/trunk@24420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 16:58:53 +00:00
Mark Jaquith cb3afeb56b Properly uncheck the "new tab" box when editing a non-new-tab link.
Previously, if you had just edited a new-tab link, a subsequent edit of a non-new-tab link would mistakenly keep the checkbox checked.

props sc0ttkclark. fixes #24520.

git-svn-id: http://core.svn.wordpress.org/trunk@24419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 16:49:25 +00:00
Helen Hou-Sandí 99c0762fca Remove obsolete CSS related to post formats UI. See #24452, #24502.
git-svn-id: http://core.svn.wordpress.org/trunk@24418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 15:40:17 +00:00
Andrew Nacin 5969819038 `add_theme_support( 'html5', array( 'comment-list', 'search-form', 'comment-form' ) );'
props obenland.
see #23850.



git-svn-id: http://core.svn.wordpress.org/trunk@24417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 15:31:34 +00:00
Bot (Assets) 17acd37457 Compress scripts/styles: 3.6-beta3-24416.
git-svn-id: http://core.svn.wordpress.org/trunk@24416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 14:58:54 +00:00
Dominik Schilling 0bba1877c4 Remove post format icons next to header on edit post screen. fixes #24502. see #24452.
git-svn-id: http://core.svn.wordpress.org/trunk@24415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 14:45:25 +00:00
Mark Jaquith 5626969d0b Restore post format previewing.
props azaozz. fixes #24483

git-svn-id: http://core.svn.wordpress.org/trunk@24414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 14:39:08 +00:00
Bot (Translations) a98047f084 POT, generated from r24412
git-svn-id: http://core.svn.wordpress.org/trunk@24413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 01:14:28 +00:00
Lance Willett 16d40fde2a Twenty Thirteen markup cleanup:
* Remove trailing slashes on void elements such as `meta` and `link`
 * Remove `type` attribute from `script` element

Props retlehs, fixes #24499.

git-svn-id: http://core.svn.wordpress.org/trunk@24412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 00:29:07 +00:00
Lance Willett 38c19a5fde Twenty Thirteen: improve backward compatibility escape hatch for pre-3.6 versions:
* Switch to the built-in method of providing a back link in `wp_die()` for the Customizer
 * Use WP_DEFAULT_THEME for both arguments during theme switching to simplify the logic
 * Prevent the 3.3 and earlier theme preview action gracefully

Props obenland for patches, fixes #24441.

git-svn-id: http://core.svn.wordpress.org/trunk@24411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 00:22:09 +00:00
Dominik Schilling 173c3da21f Update MediaElement.js to 2.12.0. see #24183.
git-svn-id: http://core.svn.wordpress.org/trunk@24410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-05 21:50:23 +00:00
Sergey Biryukov 115866d483 Fix E_STRICT notice in WP_Theme_Install_List_Table::_js_vars(). see #24356.
git-svn-id: http://core.svn.wordpress.org/trunk@24409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-05 16:51:07 +00:00
Andrew Ozz 5642a56311 Post locks:
- When a post is locked, ensure the 'Go back' button doesn't reload the same screen. If no referrer, change the button from 'Go back' to 'Go to All Posts'/'Go to All Pages' etc.
- Remove restriction on checking locks only for posts.
See #23697.



git-svn-id: http://core.svn.wordpress.org/trunk@24408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-05 03:01:59 +00:00
Bot (Assets) ea4aa44ed1 Compress scripts/styles: 3.6-beta3-24407.
git-svn-id: http://core.svn.wordpress.org/trunk@24407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-05 00:59:01 +00:00
Andrew Ozz 0fff739949 Heartbeat: rename some vars/args to make them more intuitive, don't set user_id on every request, see #23216
git-svn-id: http://core.svn.wordpress.org/trunk@24406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-05 00:13:40 +00:00
Lance Willett c0340f8188 Twenty Thirteen: correct PHPDoc for using `get_content_url()` to grab first link in post content. See #24469.
git-svn-id: http://core.svn.wordpress.org/trunk@24405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-03 22:20:43 +00:00
Lance Willett d778fdf863 Twenty Thirteen: clean up RTL styles per changes in r24391, see #24469.
git-svn-id: http://core.svn.wordpress.org/trunk@24404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-03 22:17:09 +00:00
Bot (Translations) 123eaff2bc POT, generated from r24402
git-svn-id: http://core.svn.wordpress.org/trunk@24403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-03 22:14:13 +00:00
Lance Willett e5b9b98c46 Twenty Thirteen: Clean up image attachment template and move logic to `twentythirteen_the_attached_image()` function. Props obenland, fixes #24479.
git-svn-id: http://core.svn.wordpress.org/trunk@24402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-03 21:44:25 +00:00
Lance Willett 90ce925c46 Twenty Thirteen: remove mention of `twentythirteen_comment()` in PHPDoc, props zeo. Closes #24482.
git-svn-id: http://core.svn.wordpress.org/trunk@24401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-03 21:35:26 +00:00
Mark Jaquith 28e3c51dab Lose content removal and splitting from the media extraction functions.
see #24484

git-svn-id: http://core.svn.wordpress.org/trunk@24400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-03 19:27:58 +00:00
Mark Jaquith fe5b462eea Remove a bunch of Post Format template functions.
* get_post_format_meta()
* add_chat_detection_format()
* get_content_chat()
* get_the_post_format_chat()
* the_post_format_chat()
* get_content_quote()
* get_the_post_format_quote()
* the_post_format_quote()
* get_the_post_format_url()
* the_post_format_url()
* get_the_remaining_content()
* the_remaining_content()

see #24452

git-svn-id: http://core.svn.wordpress.org/trunk@24399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-02 16:26:10 +00:00
Bot (Assets) fb4d414e9a Compress scripts/styles: 3.6-beta3-24398.
git-svn-id: http://core.svn.wordpress.org/trunk@24398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-02 02:59:00 +00:00
Andrew Ozz 27865da7a9 Remove saving of post_format in autosave and revisions, fixes #24455
git-svn-id: http://core.svn.wordpress.org/trunk@24397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-02 01:29:44 +00:00
Dominik Schilling 9c5c9dc805 Replace the global $id from manage_media_custom_column action with $post-ID. Missed in [24337]. props nickdaugherty. fixes #24476.
git-svn-id: http://core.svn.wordpress.org/trunk@24396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-01 09:40:00 +00:00
Dominik Schilling 1c84a1fe92 Update to jQuery 1.10.1. fixes #24426.
git-svn-id: http://core.svn.wordpress.org/trunk@24395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-01 09:16:11 +00:00
Lance Willett 28ab169d37 Twenty Thirteen: use lowercase color hex value in RTL CSS file, props zeo. Fixes #24474.
git-svn-id: http://core.svn.wordpress.org/trunk@24394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-31 22:11:57 +00:00
Lance Willett 8f72f9e9e3 Twenty Thirteen: better styles for blockquote italic and bold text. Fixes #24471.
git-svn-id: http://core.svn.wordpress.org/trunk@24393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-31 18:48:22 +00:00
Bot (Translations) 45dfe23d61 POT, generated from r24391
git-svn-id: http://core.svn.wordpress.org/trunk@24392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-31 18:14:37 +00:00
Lance Willett ff9e60e3e6 Twenty Thirteen: remove all `post_format_*()` and `the_remaining_content()` function calls, reverting to `the_content()`. Simplify functions.php, JS, and CSS files accordingly. Props obenland for starter patch, fixes #24469 and #24407. See #24452.
git-svn-id: http://core.svn.wordpress.org/trunk@24391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-31 17:45:00 +00:00
Lance Willett 222b25db4f Twenty Thirteen: remove unused `custom-font` body class value. See #24445.
git-svn-id: http://core.svn.wordpress.org/trunk@24390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-31 05:23:48 +00:00
Lance Willett 48cfef3ad9 Twenty Thirteen: revert hyphenation and `word-break` changes from r24332, and add better fix for long comment author names. Props SergeyBiryukov, fixes #24329 and #24451.
git-svn-id: http://core.svn.wordpress.org/trunk@24389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-31 05:20:03 +00:00