Changeset 43571 for trunk/src/wp-admin/includes/revision.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/revision.php
r42966 r43571 111 111 // It's a better user experience to still show the Title, even if it didn't change. 112 112 // No, you didn't see this. 113 $diff 113 $diff = '<table class="diff"><colgroup><col class="content diffsplit left"><col class="content diffsplit middle"><col class="content diffsplit right"></colgroup><tbody><tr>'; 114 114 115 115 // In split screen mode, show the title before/after side by side. … … 125 125 } 126 126 127 127 $diff .= '</tr></tbody>'; 128 128 $diff .= '</table>'; 129 129 } … … 168 168 169 169 $revisions = wp_get_post_revisions( 170 $post->ID, array( 170 $post->ID, 171 array( 171 172 'order' => 'ASC', 172 173 'check_enabled' => false, … … 195 196 if ( $can_restore ) { 196 197 $restore_link = str_replace( 197 '&', '&', wp_nonce_url( 198 '&', 199 '&', 200 wp_nonce_url( 198 201 add_query_arg( 199 202 array( … … 395 398 '<span class="author-name">{{ data.attributes.author.name }}</span>' 396 399 ); 397 400 ?> 398 401 </span> 399 402 <# } else if ( data.attributes.current ) { #> … … 404 407 '<span class="author-name">{{ data.attributes.author.name }}</span>' 405 408 ); 406 409 ?> 407 410 </span> 408 411 <# } else { #> … … 413 416 '<span class="author-name">{{ data.attributes.author.name }}</span>' 414 417 ); 415 418 ?> 416 419 </span> 417 420 <# } #>
Note: See TracChangeset
for help on using the changeset viewer.