Initialize a variable. props boonebgorges, fixes #16977.
git-svn-id: https://develop.svn.wordpress.org/trunk@17564 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
fbb5ad3afc
commit
43d4c448bf
@ -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