[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 Apr 8 22:51:12 UTC 2021


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

Comment (by leogermani):

 Hi @peterwilsoncc ,

 Last time we merged this patch we thought it was a good idea to merge it
 early in the cycle -> see
 https://core.trac.wordpress.org/ticket/48556#comment:22

 So maybe it's a good time to do it again?

 Also, please have a look at #52094. There I fixed the same situation with
 post statues. And there's a proposed unified fix for both tickets - or a
 separate if we want.

 cc @boonebgorges

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


More information about the wp-trac mailing list