WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/06/2013 11:43:05 PM (7 years ago)
Author:
azaozz
Message:

Revisions: move the call to _wp_upgrade_revisions_of_post() to edit-form-advanced.php, in the code block checking whether we should show the revisions postbox. See #16215

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/post.php

    r23823 r23929  
    155155    }
    156156
    157     //upgrade any old bad revision data (#16215)
    158     _wp_upgrade_revisions_of_post( $p );
    159 
    160157    $post_type = $post->post_type;
    161158    if ( 'post' == $post_type ) {
Note: See TracChangeset for help on using the changeset viewer.