[wp-trac] [WordPress Trac] #48556: Query for multiple post types not considering user permission to retrieve private posts

WordPress Trac noreply at wordpress.org
Thu Dec 17 16:23:04 UTC 2020


#48556: Query for multiple post types not considering user permission to retrieve
private posts
-------------------------------------------------+-------------------------
 Reporter:  leogermani                           |       Owner:
                                                 |  SergeyBiryukov
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  5.7
Component:  Query                                |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests early       |     Focuses:
  needs-dev-note                                 |
-------------------------------------------------+-------------------------
Changes (by boonebgorges):

 * keywords:  has-patch has-unit-tests early => has-patch has-unit-tests
     early needs-dev-note


Comment:

 Thanks for this, @leogermani! I've committed the change in [49830].

 I'll mark this ticket as needing a dev note, and we'll use your text as a
 starting place. If we manage #52094 in 5.7 as well, we'll probably want to
 rewrite to cover both cases.

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


More information about the wp-trac mailing list