[wp-trac] [WordPress Trac] #56330: When does get_pages() return an array of ints?

WordPress Trac noreply at wordpress.org
Wed Aug 3 10:40:57 UTC 2022


#56330: When does get_pages() return an array of ints?
--------------------------+-----------------------------
 Reporter:  malthert      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Query         |    Version:
 Severity:  trivial       |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 @return WP_Post[]|int[]|false

 But afaik I always get WP_Post[]|false ? What do I need to do to get int[]
 ?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56330>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list