[i18n] More than one placeholder in a string
-
If your codes have more than one placeholder in a string, please use argument swapping.
The following are the modified codes.
vendor\publishpress\publishpress-instance-protection\core\InstanceChecker.php, line 243
esc_html__('This plugin is not installed in the standard folder. The current path is %1$s but it is expected to be %2$s.', 'publishpress-intance-protection'),
vendor\publishpress\publishpress-instance-protection\core\InstanceChecker.php, line 289
<p><?php echo sprintf(esc_html__('Please deactivate %1$s when %2$s is activated.', 'publishpress-intance-protection'), esc_html($freePluginName), esc_html($pluginName)); ?></p>
- The topic ‘[i18n] More than one placeholder in a string’ is closed to new replies.