In Twenty Ten, Twenty Eleven, Twenty Twelve, Twenty Thirteen, Twenty Fourteen, Twenty Fifteen, Twenty Sixteen, Twenty Seventeen, and Twenty Twenty, an empty site title would result in an empty heading and/or an empty link in the site header. These can pollute the heading hierarchy and add a un-named link in screen reader navigation.
Prevent the output of wrapping tags if site title or site description have no value.
Props tsquez, audrasjb, sabernhardt, rehanali, sukhendu2002, dilipbheda, sirlouen, joedolson.
Fixes#44656.
Built from https://develop.svn.wordpress.org/trunk@60483
git-svn-id: http://core.svn.wordpress.org/trunk@59819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Add `for` and `id` attributes to the customizer hue picker, so labels are explicitly associated. Move picker outside of `label` element. Add `label` value for Twenty Seventeen, Twenty Nineteen, and Twenty Twenty.
Props afercia, subrataemfluence, dlh, jorbin, sainathpoojary, abcd95, mleraygp, joedolson.
Fixes#42078.
Built from https://develop.svn.wordpress.org/trunk@60478
git-svn-id: http://core.svn.wordpress.org/trunk@59814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This changeset replaces `get_parent_theme_file_uri( 'assets/css/editor-style.css' )` with `add_editor_style( 'assets/css/editor-style.css' );` to ensure a relative path to the stylesheet file is used, and not an URL. This prevents the editor stylesheet from not being enqueued on various edge cases.
Props wildworks, sabernhardt, dhruvang21, karmatosed, SirLouen, audrasjb, sandeepdahiya.
Fixes#63399.
Built from https://develop.svn.wordpress.org/trunk@60424
git-svn-id: http://core.svn.wordpress.org/trunk@59760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This sets the link color to work for dark areas when 51205 set to white for any widget area. This was not good for Primary and Footer Widget Areas.
Props sabernhardt, dhruvang21, ravigadhiyawp, sandeepdahiya.
Fixes#63520.
Built from https://develop.svn.wordpress.org/trunk@60368
git-svn-id: http://core.svn.wordpress.org/trunk@59704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
The margin was different depending on the front or back of the editor. This patch is a companion to the next commit incoming from issue 63549. That issue resolves the line-height inconsistency, and this one does not.
Props nidhidhandhukiya, ugyensupport, sandeepdahiya, rishabhwp, mleraygp, SirLouen, sabernhardt.
Fixes#60196.
Built from https://develop.svn.wordpress.org/trunk@60366
git-svn-id: http://core.svn.wordpress.org/trunk@59702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
The `load` event (on `window`) fires after all resources on a page have been loaded, including images. This means that
on a slow connection, the mobile nav menu button may be rendered yet unresponsive to taps between when it first appears
and when the page has fully loaded. This is rectified by switching to the `DOMContentLoaded` event so that the nav menu
behaviors are attached as soon as the DOM has fully loaded.
Props gernberg, westonruter, sabernhardt.
Fixes#63613.
Built from https://develop.svn.wordpress.org/trunk@60352
git-svn-id: http://core.svn.wordpress.org/trunk@59688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
The plain style for quote block was not showing in the editor despite showing on the front. This patch now makes sure it also does not show the border in editor.
Props nidhidhandhukiya, dilipbheda, sabernhardt, sainathpoojary, dhruvang21, harshgajipara, SirLouen, darshitrajyaguru97, jorbin.
Fixes#63424.
Built from https://develop.svn.wordpress.org/trunk@60342
git-svn-id: http://core.svn.wordpress.org/trunk@59678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This changeset fixes an issue where Twenty Nineteen's primary nav menu panel wasn’t scrollable when the primary menu contains a lot of items, preventing to scroll down to see all menu items.
Props kjellr, karmatosed, lakshyajeet, coralietixeront, Spaceshipone, maxpertici, beryldlg.
Fixes#45902.
Built from https://develop.svn.wordpress.org/trunk@60302
git-svn-id: http://core.svn.wordpress.org/trunk@59638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Fix an issue where navigation and search modals triggered an undesirable scroll behavior if triggered while the page was not scrolled all the way to the top.
Props kjellr, nikunj8866, sabernhardt, karmatosed, sainathpoojary, joedolson.
Fixes#52116.
Built from https://develop.svn.wordpress.org/trunk@60280
git-svn-id: http://core.svn.wordpress.org/trunk@59616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
An update for these two default themes will not be released in coordination with WordPress 6.8 due because there were no changes to the source code during the release cycle. However, they should be considered tested with 6.8, and this ensures that the next release properly indicates that.
Props shailu25, sabernhardt, desrosj, poena.
See #62990.
Built from https://develop.svn.wordpress.org/trunk@60158
git-svn-id: http://core.svn.wordpress.org/trunk@59494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Allow submenus in Twenty Twenty to be dismissed using the `esc` key to meet WCAG 1.4.13. Set focus to previous submenu parent on `esc`, and ensure that after escaping the last submenu, tab moves to the next parent item, not back into the submenu.
Props lcarevic, rcreators, pratiklondhe, poena, karmatosed, chaion07, audrasjb, mehdi01, mohonchandra, najmulsaju, saurabhdhariwal, ugyensupport, shailu25.
Fixes#49950.
Built from https://develop.svn.wordpress.org/trunk@60040
git-svn-id: http://core.svn.wordpress.org/trunk@59376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This changeset restricts direct access call to `/wp-content/plugins/hello.php`, and removes the "Uncaught exception Error" warning that shows when `WP_DEBUG` is enabled and when accessing the related file directly.
Props deepakrohilla, SergeyBiryukov, szepeviktor, audrasjb.
Fixes#61214.
Built from https://develop.svn.wordpress.org/trunk@59943
git-svn-id: http://core.svn.wordpress.org/trunk@59285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Don't set `aria-expanded` and `aria-haspopup` attributes outside of the primary menu. Secondary menus (social and footer) are set to a depth of 1, and have nothing to expand or popup.
Props bschneidewind, joedolson, mikinc860.
Fixes#62896.
Built from https://develop.svn.wordpress.org/trunk@59921
git-svn-id: http://core.svn.wordpress.org/trunk@59263 1a063a9b-81f0-0310-95a4-ce76da25c4cd