Ticket #59450: general-template.php.patch
| File general-template.php.patch, 594 bytes (added by , 2 years ago) |
|---|
-
wp-includes/general-template.php
906 906 break; 907 907 } 908 908 909 $url = true;910 911 if ( ! str_contains( $show, 'url' )912 && ! str_contains( $show, 'directory' )913 && ! str_contains( $show, 'home' )914 ) {915 $url = false;916 }917 918 909 if ( 'display' === $filter ) { 919 if ( $url) {910 if ( preg_match( '/url|directory|home/', $show ) ) { 920 911 /** 921 912 * Filters the URL returned by get_bloginfo(). 922 913 *