Changeset 52660 for trunk/src/wp-includes/post.php
- Timestamp:
- 02/01/2022 05:10:48 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r52457 r52660 2476 2476 */ 2477 2477 function delete_post_meta( $post_id, $meta_key, $meta_value = '' ) { 2478 // Make sure meta is added to the post, nota revision.2478 // Make sure meta is deleted from the post, not from a revision. 2479 2479 $the_post = wp_is_post_revision( $post_id ); 2480 2480 if ( $the_post ) { … … 2528 2528 */ 2529 2529 function update_post_meta( $post_id, $meta_key, $meta_value, $prev_value = '' ) { 2530 // Make sure meta is added to the post, nota revision.2530 // Make sure meta is updated for the post, not for a revision. 2531 2531 $the_post = wp_is_post_revision( $post_id ); 2532 2532 if ( $the_post ) {
Note: See TracChangeset
for help on using the changeset viewer.