Changeset 57232 for trunk/src/wp-includes/canonical.php
- Timestamp:
- 12/29/2023 01:52:57 PM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/canonical.php
r56738 r57232 317 317 } 318 318 } 319 } elseif ( is_author() && ! empty( $_GET['author'] ) && preg_match( '|^[0-9]+$|', $_GET['author'] ) ) { 319 } elseif ( is_author() && ! empty( $_GET['author'] ) 320 && is_string( $_GET['author'] ) && preg_match( '|^[0-9]+$|', $_GET['author'] ) 321 ) { 320 322 $author = get_userdata( get_query_var( 'author' ) ); 321 323
Note: See TracChangeset
for help on using the changeset viewer.