mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-29 07:37:44 +02:00
Initialize a variable. props boonebgorges, fixes #16977.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
de498967ef
commit
66befd1f7e
@ -1349,7 +1349,7 @@ function wp_list_post_revisions( $post_id = 0, $args = null ) {
|
|||||||
if ( $parent )
|
if ( $parent )
|
||||||
array_unshift( $revisions, $post );
|
array_unshift( $revisions, $post );
|
||||||
|
|
||||||
$rows = '';
|
$rows = $right_checked = '';
|
||||||
$class = false;
|
$class = false;
|
||||||
$can_edit_post = current_user_can( 'edit_post', $post->ID );
|
$can_edit_post = current_user_can( 'edit_post', $post->ID );
|
||||||
foreach ( $revisions as $revision ) {
|
foreach ( $revisions as $revision ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user