Translate some previously untranslated _doing_it_wrong() messages.

props georgestephanis.
fixes #25614.

git-svn-id: https://develop.svn.wordpress.org/trunk@29840 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2014-10-05 21:05:54 +00:00
parent 65a0f4933a
commit 937d5cdd11
3 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -1482,7 +1482,7 @@ function add_theme_support( $feature ) {
// Build an array of types for back-compat.
$args = array( 0 => array( 'comment-list', 'comment-form', 'search-form' ) );
} elseif ( ! is_array( $args[0] ) ) {
_doing_it_wrong( "add_theme_support( 'html5' )", 'You need to pass an array of types.', '3.6.1' );
_doing_it_wrong( "add_theme_support( 'html5' )", __( 'You need to pass an array of types.' ), '3.6.1' );
return false;
}