mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-05 05:04:31 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@33067 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -117,8 +117,8 @@ include(ABSPATH . 'wp-admin/admin-header.php');
|
||||
*/
|
||||
$tabs = apply_filters( 'install_themes_tabs', array( 'upload' => __( 'Upload Theme' ) ) );
|
||||
if ( ! empty( $tabs['upload'] ) && current_user_can( 'upload_themes' ) ) {
|
||||
echo ' <a href="#" class="upload add-new-h2">' . __( 'Upload Theme' ) . '</a>';
|
||||
echo ' <a href="#" class="browse-themes add-new-h2">' . _x( 'Browse', 'themes' ) . '</a>';
|
||||
echo ' <a href="#" class="upload page-title-action">' . __( 'Upload Theme' ) . '</a>';
|
||||
echo ' <a href="#" class="browse-themes page-title-action">' . _x( 'Browse', 'themes' ) . '</a>';
|
||||
}
|
||||
?></h1>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user