WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/03/2015 04:41:18 PM (6 years ago)
Author:
obenland
Message:

Use a less element-specific class name for links within page titles.

After [32974] these links are no longer within an h2, making the class name
inaccurate. add-new-h1 has the potential to expose the same problem for in a
possible future change.

Fixes #31650.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/nav-menus.php

    r33004 r33067  
    567567            if ( current_user_can( 'customize' ) ) {
    568568                printf(
    569                     ' <a class="add-new-h2 hide-if-no-customize" href="%1$s">%2$s</a>',
     569                    ' <a class="page-title-action hide-if-no-customize" href="%1$s">%2$s</a>',
    570570                    esc_url( add_query_arg(
    571571                        array(
Note: See TracChangeset for help on using the changeset viewer.