Ticket #20114: 20114.diff
| File 20114.diff, 1.3 KB (added by soulseekah, 15 months ago) |
|---|
-
wp-includes/class-wp-editor.php
715 715 'suppress_filters' => true, 716 716 'update_post_term_cache' => false, 717 717 'update_post_meta_cache' => false, 718 'post_status' => 'publish',718 'post_status' => array( 'publish', 'private' ), 719 719 'order' => 'DESC', 720 720 'orderby' => 'post_date', 721 721 'posts_per_page' => 20, … … 748 748 'title' => trim( esc_html( strip_tags( get_the_title( $post ) ) ) ), 749 749 'permalink' => get_permalink( $post->ID ), 750 750 'info' => $info, 751 'post_status' => $post->post_status 751 752 ); 752 753 } 753 754 -
wp-includes/js/wplink.dev.js
527 527 list += '<input type="hidden" class="item-permalink" value="' + this['permalink'] + '" />'; 528 528 list += '<span class="item-title">'; 529 529 list += this['title'] ? this['title'] : wpLinkL10n.noTitle; 530 if ( this['post_status'] == 'private' ) 531 list += ' (Private)' 530 532 list += '</span><span class="item-info">' + this['info'] + '</span></li>'; 531 533 alt = ! alt; 532 534 });
