Changeset 37747 for trunk/src/wp-includes/formatting.php
- Timestamp:
- 06/19/2016 12:01:11 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/formatting.php
r37698 r37747 4205 4205 $value = str_replace( 'http://', '', $value ); 4206 4206 } 4207 4208 if ( 'permalink_structure' === $option && '' !== $value && ! preg_match( '/%[^\/%]+%/', $value ) ) { 4209 $error = sprintf( 4210 /* translators: %s: Codex URL */ 4211 __( 'A structure tag is required when using custom permalinks. <a href="%s">Learn more</a>' ), 4212 __( 'https://codex.wordpress.org/Using_Permalinks#Choosing_your_permalink_structure' ) 4213 ); 4214 } 4207 4215 break; 4208 4216
Note: See TracChangeset
for help on using the changeset viewer.