Make WordPress Core

Ticket #38784: 38784.patch

File 38784.patch, 451 bytes (added by david.binda, 10 years ago)

Setting no_found_rows inside the _WP_Editors::wp_link_query

  • wp-includes/class-wp-editor.php

     
    13551355                        'update_post_meta_cache' => false,
    13561356                        'post_status' => 'publish',
    13571357                        'posts_per_page' => 20,
     1358                        'no_found_rows' => true,
    13581359                );
    13591360
    13601361                $args['pagenum'] = isset( $args['pagenum'] ) ? absint( $args['pagenum'] ) : 1;