WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/03/2015 04:41:18 PM (5 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/plugin-install.php

    r32974 r33067  
    106106            $text = __( 'Upload Plugin' );
    107107        }
    108         echo ' <a href="' . $href . '" class="upload add-new-h2">' . $text . '</a>';
     108        echo ' <a href="' . $href . '" class="upload page-title-action">' . $text . '</a>';
    109109    }
    110110    ?>
Note: See TracChangeset for help on using the changeset viewer.