- Timestamp:
- 01/05/2026 04:31:14 AM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php
r59970 r61429 390 390 // get_metadata_raw is used to avoid retrieving the default value. 391 391 $old_meta = get_metadata_raw( 'post', $post_id, $meta_key, true ); 392 $new_meta = isset( $meta[ $meta_key ] ) ? $meta[ $meta_key ] :'';392 $new_meta = $meta[ $meta_key ] ?? ''; 393 393 394 394 if ( $new_meta !== $old_meta ) {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)