Remove unused variable setting for `$revisions` in `wp_prepare_revisions_for_js()`.

See #27882.



git-svn-id: https://develop.svn.wordpress.org/trunk@28264 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2014-05-06 03:44:30 +00:00
parent 4c6f405ee7
commit f97deae591
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ function wp_get_revision_ui_diff( $post, $compare_from, $compare_to ) {
*/ */
function wp_prepare_revisions_for_js( $post, $selected_revision_id, $from = null ) { function wp_prepare_revisions_for_js( $post, $selected_revision_id, $from = null ) {
$post = get_post( $post ); $post = get_post( $post );
$revisions = $authors = array(); $authors = array();
$now_gmt = time(); $now_gmt = time();
$revisions = wp_get_post_revisions( $post->ID, array( 'order' => 'ASC', 'check_enabled' => false ) ); $revisions = wp_get_post_revisions( $post->ID, array( 'order' => 'ASC', 'check_enabled' => false ) );