Acessibility: Add back-compat styles for plugins that use `h3` inside the `.metabox-holder` container.

Props afercia.
Fixes #33557.
Built from https://develop.svn.wordpress.org/trunk@35184


git-svn-id: http://core.svn.wordpress.org/trunk@35150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2015-10-15 03:38:25 +00:00
parent ad90d33285
commit e63ba31f93
5 changed files with 9 additions and 5 deletions

View File

@ -2054,6 +2054,7 @@ h2 .nav-tab {
.metabox-holder h3.hndle, /* Back-compat for pre-4.4 */ .metabox-holder h3.hndle, /* Back-compat for pre-4.4 */
.metabox-holder .stuffbox > h3, /* Back-compat for pre-4.4 */ .metabox-holder .stuffbox > h3, /* Back-compat for pre-4.4 */
.metabox-holder .postbox > h3, /* Back-compat for pre-4.4 */
.metabox-holder h2 { .metabox-holder h2 {
font-size: 14px; font-size: 14px;
padding: 8px 12px; padding: 8px 12px;
@ -3436,6 +3437,7 @@ img {
.metabox-holder h3.hndle, /* Back-compat for pre-4.4 */ .metabox-holder h3.hndle, /* Back-compat for pre-4.4 */
.metabox-holder .stuffbox > h3, /* Back-compat for pre-4.4 */ .metabox-holder .stuffbox > h3, /* Back-compat for pre-4.4 */
.metabox-holder .postbox > h3, /* Back-compat for pre-4.4 */
.metabox-holder h2 { .metabox-holder h2 {
padding: 12px; padding: 12px;
} }

View File

@ -2054,6 +2054,7 @@ h2 .nav-tab {
.metabox-holder h3.hndle, /* Back-compat for pre-4.4 */ .metabox-holder h3.hndle, /* Back-compat for pre-4.4 */
.metabox-holder .stuffbox > h3, /* Back-compat for pre-4.4 */ .metabox-holder .stuffbox > h3, /* Back-compat for pre-4.4 */
.metabox-holder .postbox > h3, /* Back-compat for pre-4.4 */
.metabox-holder h2 { .metabox-holder h2 {
font-size: 14px; font-size: 14px;
padding: 8px 12px; padding: 8px 12px;
@ -3436,6 +3437,7 @@ img {
.metabox-holder h3.hndle, /* Back-compat for pre-4.4 */ .metabox-holder h3.hndle, /* Back-compat for pre-4.4 */
.metabox-holder .stuffbox > h3, /* Back-compat for pre-4.4 */ .metabox-holder .stuffbox > h3, /* Back-compat for pre-4.4 */
.metabox-holder .postbox > h3, /* Back-compat for pre-4.4 */
.metabox-holder h2 { .metabox-holder h2 {
padding: 12px; padding: 12px;
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.4-alpha-35183'; $wp_version = '4.4-alpha-35184';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.