Commit Graph

23785 Commits

Author SHA1 Message Date
Lance Willett 578abd0796 Twenty Fourteen: improved JS support for keyboard navigation for main navigation menu. Props obenland, see #25054.
Built from https://develop.svn.wordpress.org/trunk@25757


git-svn-id: http://core.svn.wordpress.org/trunk@25670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-10 15:33:10 +00:00
Lance Willett 44458d8bc3 Twenty Fourteen: a11y and RTL fixes for tabbed navigation and Skip to Content link. Props obenland, see #25054.
Built from https://develop.svn.wordpress.org/trunk@25756


git-svn-id: http://core.svn.wordpress.org/trunk@25669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-10 15:31:09 +00:00
Andrew Nacin 2a8dcbae1f Auto updates: For follow-up API call when an update fails, send back the version attempted. see #22704.
Built from https://develop.svn.wordpress.org/trunk@25755


git-svn-id: http://core.svn.wordpress.org/trunk@25668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-10 14:46:11 +00:00
Lance Willett 1d14316169 Twenty Fourteen: improve primary navigation styles for a clearer distinction between hover and the current page highlight, and change color to harmonize with the search toggle. Props iamtakashi, fixes #25554.
Built from https://develop.svn.wordpress.org/trunk@25754


git-svn-id: http://core.svn.wordpress.org/trunk@25667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-10 03:37:09 +00:00
Lance Willett 7a03adbb52 Twenty Fourteen: remove CSS transitions, props iamtakashi. Fixes #25553.
Built from https://develop.svn.wordpress.org/trunk@25753


git-svn-id: http://core.svn.wordpress.org/trunk@25666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-10 03:31:09 +00:00
Dion Hulse 186a5379e8 After a upgrade fails, and we successfully rollback to a previous version, Don't send the version we rolled back to to the API, just that it was successful. See [25750]. See #22704
Built from https://develop.svn.wordpress.org/trunk@25752


git-svn-id: http://core.svn.wordpress.org/trunk@25665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-10 01:57:08 +00:00
Dion Hulse 98762b4a30 Correct a variable typo in [25750]. See #22704
Built from https://develop.svn.wordpress.org/trunk@25751


git-svn-id: http://core.svn.wordpress.org/trunk@25664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-10 01:38:10 +00:00
Dion Hulse 0b9f198994 In the event that an Automatic Upgrade fails, send a failure status on the next API request to indicate that it failed, and if the rollback was successful.
See #22704

Built from https://develop.svn.wordpress.org/trunk@25750


git-svn-id: http://core.svn.wordpress.org/trunk@25663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-10 01:32:09 +00:00
Lance Willett 79bd971194 Twenty Fourteen: merge recent stylesheet changes to RTL, and file miscellaneous CSS cleanup.
RTL still needs more responsive fixes, see #25332 -- and a11y menu fixes, see #25054. 
Built from https://develop.svn.wordpress.org/trunk@25749


git-svn-id: http://core.svn.wordpress.org/trunk@25662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-09 21:42:09 +00:00
Andrew Ozz 65cd133a6f TinyMCE: add support for IE11.
- Add the latest changes from the 3.x branch upstream.
- Reduce the number of calls to tinyMCEPopup.restoreSelection() in our custom plugins.
- Remove the deprecated execCommand("mceBeginUndoLevel");.
See #25281.
Built from https://develop.svn.wordpress.org/trunk@25748


git-svn-id: http://core.svn.wordpress.org/trunk@25661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-09 21:05:10 +00:00
Andrew Nacin 34da946343 Hook documentation for wp-admin/admin.php.
props DrewAPicture for initial patch.
fixes #25442.

Built from https://develop.svn.wordpress.org/trunk@25747


git-svn-id: http://core.svn.wordpress.org/trunk@25660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-09 21:01:09 +00:00
Andrew Nacin f5eb32ec6b Default themes: Don't use /** docblocks for simple multiline comments.
props DrewAPicture, ericlewis.
fixes #25256.

Built from https://develop.svn.wordpress.org/trunk@25746


git-svn-id: http://core.svn.wordpress.org/trunk@25659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-09 20:39:09 +00:00
Andrew Nacin 7b27a47e85 Only add one body class when multiple post types manage to be present for a post type archive due to pre_get_posts manipulation.
fixes #25341.

Built from https://develop.svn.wordpress.org/trunk@25745


git-svn-id: http://core.svn.wordpress.org/trunk@25658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-09 19:14:09 +00:00
Andrew Nacin f0eb99952c Make sure when resizing an image according to ratio we do not end up with a zero-pixel width or height.
props plocha.
fixes #25038.

Built from https://develop.svn.wordpress.org/trunk@25744


git-svn-id: http://core.svn.wordpress.org/trunk@25657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-09 19:07:17 +00:00
Lance Willett 66be5edfb5 Twenty Fourteen: remove title attributes for better accessibility. Props sabreuse for original patch, see #25054.
Built from https://develop.svn.wordpress.org/trunk@25743


git-svn-id: http://core.svn.wordpress.org/trunk@25656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-09 19:07:09 +00:00
Lance Willett ffd47afa4b Twenty Fourteen: a11y fix for keyboard navigation and Skip Content link, see #25054.
Built from https://develop.svn.wordpress.org/trunk@25742


git-svn-id: http://core.svn.wordpress.org/trunk@25655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-09 18:52:10 +00:00
Helen Hou-Sandí 75eb364ced Show a label for the "Home" page nav menu item checkbox. props SergeyBiryukov. props ericlewis for the initial patch. fixes #25410.
Built from https://develop.svn.wordpress.org/trunk@25741


git-svn-id: http://core.svn.wordpress.org/trunk@25654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-09 18:47:09 +00:00
Lance Willett f6fc6a8b29 Twenty Fourteen: minor color contrast and a11y fixes, see #25054.
Built from https://develop.svn.wordpress.org/trunk@25740


git-svn-id: http://core.svn.wordpress.org/trunk@25653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-09 18:39:10 +00:00
Dion Hulse 543d84a379 Upgrader: Create Directories with a minimum of 0755 and files with a minimum of 0644 when upgrading, which matches pre-3.7 behaviour. Fixes #20069
Built from https://develop.svn.wordpress.org/trunk@25739


git-svn-id: http://core.svn.wordpress.org/trunk@25652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-09 16:47:09 +00:00
Lance Willett 29a60aa56c Twenty Fourteen: remove unnecessary `no-sidebar` class value in front page template. Props iamtakashi, fixes #25543.
Built from https://develop.svn.wordpress.org/trunk@25738


git-svn-id: http://core.svn.wordpress.org/trunk@25651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-09 16:27:09 +00:00
Lance Willett 7f766fccb5 Twenty Fourteen: remove unneeded `.single-attachment` body class selectors, props iamtakashi. Fixes #25541, see #25506.
Built from https://develop.svn.wordpress.org/trunk@25737


git-svn-id: http://core.svn.wordpress.org/trunk@25650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-09 16:26:10 +00:00
Lance Willett 8816dd8108 Twenty Fourteen: fill browser height to 100% for views with short content. Accounts for footer widgets, in which case the height isn't set to 100% so that the widgets remain visible. Props wycks and taupecat, fixes #25389.
Built from https://develop.svn.wordpress.org/trunk@25736


git-svn-id: http://core.svn.wordpress.org/trunk@25649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-08 21:37:09 +00:00
Lance Willett c78cbb19ce Twenty Fourteen: allow pages to have featured images, props iamtakashi. Fixes #25325.
Built from https://develop.svn.wordpress.org/trunk@25735


git-svn-id: http://core.svn.wordpress.org/trunk@25648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-08 21:22:10 +00:00
Drew Jaynes c100d28a25 Inline documentation for hooks in wp-admin/widgets.php.
Props r3df, kpdesign.
Fixes #25501.

Built from https://develop.svn.wordpress.org/trunk@25734


git-svn-id: http://core.svn.wordpress.org/trunk@25647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-08 20:27:08 +00:00
Drew Jaynes 3862698070 Inline documentation for hooks in wp-includes/class-feed.php.
Props swissspidy.
Fixes #25510.

Built from https://develop.svn.wordpress.org/trunk@25733


git-svn-id: http://core.svn.wordpress.org/trunk@25646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-08 20:07:08 +00:00
Drew Jaynes bc7ea63093 Inline documentation for hooks in wp-includes/ms-load.php.
Props nukaga, johnbillion.
Fixes #25509.

Built from https://develop.svn.wordpress.org/trunk@25732


git-svn-id: http://core.svn.wordpress.org/trunk@25645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-08 20:01:09 +00:00
Lance Willett bb63cf3c40 Twenty Fourteen: provide keyboard support for the primary navigation, props joedolson. See #25054.
Built from https://develop.svn.wordpress.org/trunk@25731


git-svn-id: http://core.svn.wordpress.org/trunk@25644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-08 17:56:09 +00:00
Lance Willett 4cfe0fe5e2 Twenty Fourteen: accent color fixes, props celloexpressions. See #25220.
* Try a darker text color for header nave submenu items on hover (matching site description color). 
 * Fix a bad hover color override. 

Built from https://develop.svn.wordpress.org/trunk@25730


git-svn-id: http://core.svn.wordpress.org/trunk@25643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-08 17:31:09 +00:00
Lance Willett 08d2de911a Twenty Fourteen: reduce post widget margin, props kraftbj, closes #25426.
Built from https://develop.svn.wordpress.org/trunk@25729


git-svn-id: http://core.svn.wordpress.org/trunk@25642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-08 17:29:08 +00:00
Drew Jaynes 4ffec6be75 Improve inline documentation for the `multi_resize()` method in `WP_Image_Editor`, `WP_Image_Editor_GD`, and `WP_Image_Editor_Imagick`.
Props paolal for the initial patch.
Fixes #25530.

Built from https://develop.svn.wordpress.org/trunk@25728


git-svn-id: http://core.svn.wordpress.org/trunk@25641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-08 17:19:09 +00:00
Scott Taylor 7a7b9c89ec Use parens to ensure that RegEx OR matches the front when determining that mime-type matches `audio|video` in `attachment_submitbox_metadata()`.
Props kovshenin.
See #23926.


Built from https://develop.svn.wordpress.org/trunk@25727


git-svn-id: http://core.svn.wordpress.org/trunk@25640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-08 15:32:10 +00:00
Drew Jaynes bd6a09c708 Inline documentation for hooks in wp-includes/class-wp-embed.php.
Props swissspidy, kpdesign.
Fixes #25515.

Built from https://develop.svn.wordpress.org/trunk@25726


git-svn-id: http://core.svn.wordpress.org/trunk@25639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-08 04:43:10 +00:00
Drew Jaynes 9482d8f08a Inline documentation for hooks in wp-admin/maint/repair.php.
Props ben.moody, kpdesign.
Fixes #25500.

Built from https://develop.svn.wordpress.org/trunk@25725


git-svn-id: http://core.svn.wordpress.org/trunk@25638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-08 00:30:09 +00:00
Drew Jaynes c79cb5b43f Inline documentation for hooks in wp-includes/category.php.
Props ben.moody
Fixes #25503.

Built from https://develop.svn.wordpress.org/trunk@25724


git-svn-id: http://core.svn.wordpress.org/trunk@25637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-08 00:22:09 +00:00
Drew Jaynes 0dd024dd70 Inline documentation for hooks in wp-includes/class-oembed.php.
Props swissspidy, kpdesign.
Fixes #25527.

Built from https://develop.svn.wordpress.org/trunk@25723


git-svn-id: http://core.svn.wordpress.org/trunk@25636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-07 23:57:10 +00:00
Drew Jaynes b5a5df8a40 Inline documentation for hooks in wp-admin/network.php.
Props johnafish.
Fixes #25502.

Built from https://develop.svn.wordpress.org/trunk@25722


git-svn-id: http://core.svn.wordpress.org/trunk@25635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-07 23:43:10 +00:00
Drew Jaynes 54b569b44d Inline documentation for hooks in wp-settings.php.
Props miyauchi.
Fixes #25469

Built from https://develop.svn.wordpress.org/trunk@25721


git-svn-id: http://core.svn.wordpress.org/trunk@25634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-07 19:34:09 +00:00
Andrew Nacin a30d69e534 Prevent the removal of a manual 'orderby' attribute in the gallery shortcode.
props nofearinc.
fixes #24868.

Built from https://develop.svn.wordpress.org/trunk@25720


git-svn-id: http://core.svn.wordpress.org/trunk@25633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-07 19:02:10 +00:00
Andrew Nacin a00df382a3 Move the revisions upgrade handler to POST, to avoid esoteric metadata stomping.
props SergeyBiryukov.
see #25023.
for trunk.

Built from https://develop.svn.wordpress.org/trunk@25719


git-svn-id: http://core.svn.wordpress.org/trunk@25632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-07 18:35:09 +00:00
Drew Jaynes 71fb968dd3 Add missing variable for inline hook documentation changes in wp-includes/vars.php.
See #25466.

Built from https://develop.svn.wordpress.org/trunk@25718


git-svn-id: http://core.svn.wordpress.org/trunk@25631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-07 17:56:10 +00:00
Drew Jaynes e77f69483e Inline documentation for wp-admin/options-reading.php.
Props siobhyb for the initial patch.
Fixes #25430.

Built from https://develop.svn.wordpress.org/trunk@25717


git-svn-id: http://core.svn.wordpress.org/trunk@25630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-07 17:18:09 +00:00
Andrew Nacin 0913d37ecf Twenty Thirteen: Remove unneeded .single-attachment selector.
props obenland.
fixes #25506.

Built from https://develop.svn.wordpress.org/trunk@25716


git-svn-id: http://core.svn.wordpress.org/trunk@25629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-07 16:43:09 +00:00
Andrew Nacin 9046149c61 Twenty Twelve: Use the correct body class for attachments in the IE stylesheet.
props Marco_Teethgrinder.
see #25506. see [25707].

Built from https://develop.svn.wordpress.org/trunk@25715


git-svn-id: http://core.svn.wordpress.org/trunk@25628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-07 16:42:09 +00:00
Drew Jaynes 8f68c2cac7 Fix phpdoc indentation for hooks in wp-includes/class-wp-image-editor.php.
Props gayadesign.
Fixes #25504.

Built from https://develop.svn.wordpress.org/trunk@25714


git-svn-id: http://core.svn.wordpress.org/trunk@25627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-07 16:28:15 +00:00
Sergey Biryukov 336c737727 Correct phpdoc for wp_check_filetype_and_ext(). props dimadin. fixes #25513.
Built from https://develop.svn.wordpress.org/trunk@25713


git-svn-id: http://core.svn.wordpress.org/trunk@25626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-07 15:34:10 +00:00
Drew Jaynes a71a1ee072 Inline documentation for hooks in wp-includes/vars.php.
Props tmtoy, nacin.
Fixes #25466.

Built from https://develop.svn.wordpress.org/trunk@25712


git-svn-id: http://core.svn.wordpress.org/trunk@25625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-07 15:30:09 +00:00
Sergey Biryukov 1863c06879 Escape title in HTML5 search form. props obenland, joostdevalk, scottsweb. fixes #25322.
Built from https://develop.svn.wordpress.org/trunk@25710


git-svn-id: http://core.svn.wordpress.org/trunk@25624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-07 14:14:09 +00:00
Andrew Nacin e2413462de Move the trim() from wp_set_password() to inside wp_hash_password().
props rpattillo, joehoyle.
fixes #24973. see #23494.

Built from https://develop.svn.wordpress.org/trunk@25709


git-svn-id: http://core.svn.wordpress.org/trunk@25623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-07 13:54:10 +00:00
Andrew Nacin d2f06ecf48 Optimize the accessibility JS on the Menus screen to avoid browser crashes with very large menus.
props atimmer.
fixes #25112.

Built from https://develop.svn.wordpress.org/trunk@25708


git-svn-id: http://core.svn.wordpress.org/trunk@25622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-07 13:37:08 +00:00
Andrew Nacin 72b7c6b912 Twenty Twelve: Use the correct body class for attachments.
.single-attachment is only used when the attachment's parent is not a page.

props Marco_Teethgrinder.
fixes #25506.

Built from https://develop.svn.wordpress.org/trunk@25707


git-svn-id: http://core.svn.wordpress.org/trunk@25621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-07 13:19:10 +00:00