mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-07 18:50:12 +00:00
I18N: Use the actual placeholder instead of a number in translator comments if the corresponding string does not use numbered placeholders.
Add missing translator comments in `WP_Theme_Install_List_Table` and `wp_notify_postauthor()`. Add missing commas in some translator comments. Fixes #43523. git-svn-id: https://develop.svn.wordpress.org/trunk@42827 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2537,7 +2537,7 @@ function add_theme_support( $feature ) {
|
||||
case 'title-tag':
|
||||
// Can be called in functions.php but must happen before wp_loaded, i.e. not in header.php.
|
||||
if ( did_action( 'wp_loaded' ) ) {
|
||||
/* translators: 1: Theme support 2: hook name */
|
||||
/* translators: 1: title-tag, 2: wp_loaded */
|
||||
_doing_it_wrong(
|
||||
"add_theme_support( 'title-tag' )", sprintf(
|
||||
__( 'Theme support for %1$s should be registered before the %2$s hook.' ),
|
||||
|
||||
Reference in New Issue
Block a user