• Resolved Alex Lion (阿力獅)

    (@alexclassroom)


    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>

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[i18n] More than one placeholder in a string’ is closed to new replies.