Make WordPress Core

Ticket #44069: 44069.1.diff

File 44069.1.diff, 515 bytes (added by audrasjb, 8 years ago)

add private contents to wplink query

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

    diff --git a/src/wp-includes/class-wp-editor.php b/src/wp-includes/class-wp-editor.php
    index b9ba53b..4c4dc6b 100644
    a b final class _WP_Editors { 
    16151615                        'suppress_filters'       => true,
    16161616                        'update_post_term_cache' => false,
    16171617                        'update_post_meta_cache' => false,
    1618                         'post_status'            => 'publish',
     1618                        'post_status'            => array( 'publish', 'private' ),
    16191619                        'posts_per_page'         => 20,
    16201620                );
    16211621