Changeset 59713
- Timestamp:
- 01/27/2025 03:43:57 PM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-xmlrpc-server.php
r59710 r59713 5458 5458 $post_author = $user->ID; 5459 5459 5460 // If an author idwas provided then use it instead.5461 if ( isset( $content_struct['wp_author_id'] ) && ( $user->ID != $content_struct['wp_author_id'] ) ) {5460 // If an author ID was provided then use it instead. 5461 if ( isset( $content_struct['wp_author_id'] ) && ( $user->ID !== (int) $content_struct['wp_author_id'] ) ) { 5462 5462 switch ( $post_type ) { 5463 5463 case 'post':
Note: See TracChangeset
for help on using the changeset viewer.