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

WordPress Trac noreply at wordpress.org
Wed Dec 23 15:05:10 UTC 2020


#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:  5.7
Component:  Query                                |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests early       |     Focuses:
  needs-dev-note                                 |
-------------------------------------------------+-------------------------

Comment (by SergeyBiryukov):

 In [changeset:"49902" 49902]:
 {{{
 #!CommitTicketReference repository="" revision="49902"
 Tests: Correct `@ticket` references in `tests/query/invalidQueries.php`.

 This ensures that running `phpunit --group 48556` works as expected.

 Follow-up to [49900].

 See #48556.
 }}}

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


More information about the wp-trac mailing list