|
@@ 1697-1698 (lines=2) @@
|
| 1694 |
|
if ( !$revision = get_post( $revision ) ) |
| 1695 |
|
return $revision; |
| 1696 |
|
|
| 1697 |
|
if ( !in_array( $revision->post_type, array( 'post', 'page', 'revision' ) ) ) |
| 1698 |
|
return false; |
| 1699 |
|
|
| 1700 |
|
/* translators: revision date format, see https://secure.php.net/date */ |
| 1701 |
|
$datef = _x( 'F j, Y @ H:i:s', 'revision date format' ); |
|
@@ 1732-1733 (lines=2) @@
|
| 1729 |
|
if ( !$revision = get_post( $revision ) ) |
| 1730 |
|
return $revision; |
| 1731 |
|
|
| 1732 |
|
if ( !in_array( $revision->post_type, array( 'post', 'page', 'revision' ) ) ) |
| 1733 |
|
return false; |
| 1734 |
|
|
| 1735 |
|
$author = get_the_author_meta( 'display_name', $revision->post_author ); |
| 1736 |
|
/* translators: revision date format, see https://secure.php.net/date */ |