[wp-trac] [WordPress Trac] #63656: get_page_by_path $post_type supports string and array but the check in the loop is checking by string

WordPress Trac noreply at wordpress.org
Thu Jul 10 13:22:55 UTC 2025


#63656: get_page_by_path $post_type supports string and array but the check in the
loop is checking by string
-------------------------------------+------------------------------
 Reporter:  salimali                 |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Posts, Post Types        |     Version:  6.8
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+------------------------------
Changes (by mindctrl):

 * keywords:  has-patch => has-patch needs-testing


Comment:

 @dilip2615 your test report appears to be for a different ticket?

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


More information about the wp-trac mailing list