Changeset 55988 for trunk/src/wp-includes/class-wp-xmlrpc-server.php
- Timestamp:
- 06/22/2023 02:34:56 PM (2 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class-wp-xmlrpc-server.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-xmlrpc-server.php
r55654 r55988 5692 5692 if ( is_array( $attachments ) ) { 5693 5693 foreach ( $attachments as $file ) { 5694 if ( ! empty( $file->guid ) && str pos( $post_content, $file->guid ) !== false) {5694 if ( ! empty( $file->guid ) && str_contains( $post_content, $file->guid ) ) { 5695 5695 $wpdb->update( $wpdb->posts, array( 'post_parent' => $post_id ), array( 'ID' => $file->ID ) ); 5696 5696 }
Note: See TracChangeset
for help on using the changeset viewer.