Make WordPress Core


Ignore:
Timestamp:
09/16/2015 06:13:19 PM (10 years ago)
Author:
wonderboymusic
Message:

Revert [33925], by-reference array manipulation is breaking comments in some themes.

This implementation is losing its shine.

See #16894.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/comment-template.php

    r34237 r34245  
    18151815        } else {
    18161816            $_comments = $wp_query->comments;
    1817         }
    1818 
    1819         if ( ! $wp_query->comment_meta_cached ) {
    1820             $comment_ids = wp_list_pluck( $_comments, 'comment_ID' );
    1821             update_meta_cache( 'comment', $comment_ids );
    1822             $wp_query->comment_meta_cached = true;
    18231817        }
    18241818    }
Note: See TracChangeset for help on using the changeset viewer.