Make WordPress Core


Ignore:
Timestamp:
10/08/2015 01:03:39 AM (9 years ago)
Author:
johnbillion
Message:

Revert [34917] until the broken test is fixed.

See #13382

File:
1 edited

Legend:

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

    r34917 r34925  
    16571657        $post = get_post( $post_id );
    16581658        $autosave_is_different = false;
    1659         foreach ( array_intersect( array_keys( $new_autosave ), array_keys( _wp_post_revision_fields( $post ) ) ) as $field ) {
     1659        foreach ( array_intersect( array_keys( $new_autosave ), array_keys( _wp_post_revision_fields() ) ) as $field ) {
    16601660            if ( normalize_whitespace( $new_autosave[ $field ] ) != normalize_whitespace( $post->$field ) ) {
    16611661                $autosave_is_different = true;
Note: See TracChangeset for help on using the changeset viewer.