diff --git a/src/wp-admin/css/colors/_admin.scss b/src/wp-admin/css/colors/_admin.scss index 20ac8f09c9..d044ce1bf1 100644 --- a/src/wp-admin/css/colors/_admin.scss +++ b/src/wp-admin/css/colors/_admin.scss @@ -83,7 +83,8 @@ input[type=radio]:checked:before { /* List tables */ -.wrap .add-new-h2:hover, +.wrap .add-new-h2:hover, /* deprecated */ +.wrap .page-title-action:hover, #add-new-comment a:hover, .tablenav .tablenav-pages a:hover, .tablenav .tablenav-pages a:focus { diff --git a/src/wp-admin/css/common.css b/src/wp-admin/css/common.css index 420555e0aa..6bb2027aba 100644 --- a/src/wp-admin/css/common.css +++ b/src/wp-admin/css/common.css @@ -595,8 +595,10 @@ code { padding-left: 25px; } -.wrap .add-new-h2, -.wrap .add-new-h2:active { +.wrap .add-new-h2, /* deprecated */ +.wrap .add-new-h2:active, /* deprecated */ +.wrap .page-title-action, +.wrap .page-title-action:active { margin-left: 4px; padding: 4px 8px; position: relative; @@ -611,7 +613,8 @@ code { font-size: 13px; } -.wrap .add-new-h2:hover { +.wrap .add-new-h2:hover, /* deprecated */ +.wrap .page-title-action:hover { background: #00a0d2; color: #fff; } @@ -3166,7 +3169,10 @@ img { display: none !important; } - .wrap .add-new-h2, .wrap .add-new-h2:active { + .wrap .add-new-h2, /* deprecated */ + .wrap .add-new-h2:active, /* deprecated */ + .wrap .page-title-action, + .wrap .page-title-action:active { padding: 10px 15px; font-size: 14px; white-space: nowrap; diff --git a/src/wp-admin/edit-form-advanced.php b/src/wp-admin/edit-form-advanced.php index 38b2cc70f5..793ef8c253 100644 --- a/src/wp-admin/edit-form-advanced.php +++ b/src/wp-admin/edit-form-advanced.php @@ -417,7 +417,7 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );