WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #34290, comment 15


Ignore:
Timestamp:
04/23/2018 09:48:12 AM (4 years ago)
Author:
aristath
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34290, comment 15

    initial v1  
    1515
    1616{{{
    17         if ( is_string( $default ) && false !== strpos( $default, '%s' ) ) {
     17        if ( is_string( $default ) && ( false !== strpos( $default, '%s' ) || false !== strpos( $default, '%1&s' ) || false !== strpos( $default, '%2$s' ) ) ) {
    1818                $default = sprintf( $default, get_template_directory_uri(), get_stylesheet_directory_uri() );
    1919        }