mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-02 11:44:33 +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:
@@ -448,7 +448,7 @@ if ( !empty($invalid) )
|
||||
<div class="wrap">
|
||||
<h1><?php echo esc_html( $title );
|
||||
if ( ( ! is_multisite() || is_network_admin() ) && current_user_can('install_plugins') ) { ?>
|
||||
<a href="<?php echo self_admin_url( 'plugin-install.php' ); ?>" class="add-new-h2"><?php echo esc_html_x('Add New', 'plugin'); ?></a>
|
||||
<a href="<?php echo self_admin_url( 'plugin-install.php' ); ?>" class="page-title-action"><?php echo esc_html_x('Add New', 'plugin'); ?></a>
|
||||
<?php }
|
||||
if ( $s )
|
||||
printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( $s ) ); ?>
|
||||
|
||||
Reference in New Issue
Block a user