Changeset 55703 for trunk/src/wp-admin/options-permalink.php
- Timestamp:
- 05/02/2023 03:43:03 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/options-permalink.php
r55626 r55703 88 88 */ 89 89 if ( is_multisite() && ! is_subdomain_install() && is_main_site() 90 && 0 === strpos( $permalink_structure, '/blog/' )90 && str_starts_with( $permalink_structure, '/blog/' ) 91 91 ) { 92 92 $blog_prefix = '/blog'; … … 232 232 <?php 233 233 if ( is_multisite() && ! is_subdomain_install() && is_main_site() 234 && 0 === strpos( $permalink_structure, '/blog/' )234 && str_starts_with( $permalink_structure, '/blog/' ) 235 235 ) { 236 236 $permalink_structure = preg_replace( '|^/?blog|', '', $permalink_structure );
Note: See TracChangeset
for help on using the changeset viewer.