Changeset 56176 for trunk/src/wp-admin/includes/revision.php
- Timestamp:
- 07/09/2023 08:05:43 PM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/revision.php
r54939 r56176 40 40 } 41 41 42 // If comparing revisions, make sure we're dealing with the right post parent. 43 // The parent post may be a 'revision' when revisions are disabled and we're looking at autosaves. 42 /* 43 * If comparing revisions, make sure we are dealing with the right post parent. 44 * The parent post may be a 'revision' when revisions are disabled and we're looking at autosaves. 45 */ 44 46 if ( $compare_from && $compare_from->post_parent !== $post->ID && $compare_from->ID !== $post->ID ) { 45 47 return false; … … 119 121 120 122 if ( ! $diff && 'post_title' === $field ) { 121 // It's a better user experience to still show the Title, even if it didn't change. 122 // No, you didn't see this. 123 /* 124 * It's a better user experience to still show the Title, even if it didn't change. 125 * No, you didn't see this. 126 */ 123 127 $diff = '<table class="diff"><colgroup><col class="content diffsplit left"><col class="content diffsplit middle"><col class="content diffsplit right"></colgroup><tbody><tr>'; 124 128
Note: See TracChangeset
for help on using the changeset viewer.