I18N: Remove PHP function name from translatable string in `WP_Debug_Data`.

Props ramiy.
Fixes #47254.

git-svn-id: https://develop.svn.wordpress.org/trunk@45399 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2019-05-24 01:40:35 +00:00
parent 7afa6c2057
commit 630f4bc1ea
1 changed files with 5 additions and 1 deletions

View File

@ -605,7 +605,11 @@ class WP_Debug_Data {
if ( ! function_exists( 'ini_get' ) ) {
$info['wp-server']['fields']['ini_get'] = array(
'label' => __( 'Server settings' ),
'value' => __( 'Unable to determine some settings, as the ini_get() function has been disabled.' ),
'value' => sprintf(
/* translators: %s: ini_get() */
__( 'Unable to determine some settings, as the %s function has been disabled.' ),
'ini_get()'
),
'debug' => 'ini_get() is disabled',
);
} else {