[wp-trac] [WordPress Trac] #45883: Recent Posts widget ignores private posts since replacing The Loop

WordPress Trac noreply at wordpress.org
Thu Feb 28 23:09:55 UTC 2019


#45883: Recent Posts widget ignores private posts since replacing The Loop
---------------------------+-----------------------
 Reporter:  captain.crash  |       Owner:  audrasjb
     Type:  defect (bug)   |      Status:  assigned
 Priority:  normal         |   Milestone:  5.1.1
Component:  Widgets        |     Version:  5.0.2
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:
---------------------------+-----------------------
Changes (by audrasjb):

 * status:  reopened => assigned


Comment:

 You are absolutely right @dlh thanks for the feedback :)
 45883.1.diff simply removes `post_status` entirely to let WP_Query handle
 private posts permissions.

 @lukecarbis, it's up to you to move this one to 5.2 or not. But it doesn't
 looks like a regression from 5.1.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45883#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list