Changeset 51124
- Timestamp:
- 06/08/2021 11:23:12 PM (3 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/revision.php
r50949 r51124 332 332 $post = wp_slash( $post ); // Since data is from DB. 333 333 334 $revision_id = wp_insert_post( $post );334 $revision_id = wp_insert_post( $post ); 335 335 if ( is_wp_error( $revision_id ) ) { 336 336 return $revision_id; -
trunk/tests/phpunit/tests/post/revisions.php
r50949 r51124 636 636 $this->assertSame( $expected, wp_revisions_to_keep( $post ) ); 637 637 } 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 638 655 }
Note: See TracChangeset
for help on using the changeset viewer.