Changeset 56191 for trunk/src/wp-includes/link-template.php
- Timestamp:
- 07/10/2023 10:36:06 PM (2 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/link-template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/link-template.php
r56053 r56191 250 250 } 251 251 } 252 // Show default category in permalinks, 253 // without having to assign it explicitly. 252 /* 253 * Show default category in permalinks, 254 * without having to assign it explicitly. 255 */ 254 256 if ( empty( $category ) ) { 255 257 $default_category = get_term( get_option( 'default_category' ), 'category' ); … … 266 268 } 267 269 268 // This is not an API call because the permalink is based on the stored post_date value, 269 // which should be parsed as local time regardless of the default PHP timezone. 270 /* 271 * This is not an API call because the permalink is based on the stored post_date value, 272 * which should be parsed as local time regardless of the default PHP timezone. 273 */ 270 274 $date = explode( ' ', str_replace( array( '-', ':' ), ' ', $post->post_date ) ); 271 275
Note: See TracChangeset
for help on using the changeset viewer.