mirror of
https://ghproxy.net/https://github.com/fairpm/fair-plugin.git
synced 2025-09-04 10:32:01 +08:00
Switch escaping to aria-label
and change text order. (#83)
This commit is contained in:
parent
8a7efe0ed2
commit
680f552cb1
1 changed files with 1 additions and 1 deletions
|
@ -404,7 +404,7 @@ if ( ! class_exists( 'Fragen\\Git_Updater\\Lite' ) ) {
|
|||
'</a>',
|
||||
sprintf(
|
||||
/* translators: %s: theme name */
|
||||
'<a aria-label="' . esc_html__( 'Update %s now', 'fair' ) . '" id="update-theme" data-slug="' . esc_attr( $theme->slug ) . '" href="' . esc_url( $nonced_update_url ) . '">',
|
||||
'<a aria-label="' . esc_attr__( '%s: update now', 'fair' ) . '" id="update-theme" data-slug="' . esc_attr( $theme->slug ) . '" href="' . esc_url( $nonced_update_url ) . '">',
|
||||
esc_attr( $theme->name )
|
||||
)
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue