[wp-trac] [WordPress Trac] #55137: WP_Query max_num_pages returns float instead of int

WordPress Trac noreply at wordpress.org
Thu Feb 10 13:10:31 UTC 2022


#55137: WP_Query max_num_pages returns float instead of int
--------------------------+-----------------------------
 Reporter:  bkrnetic      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Query         |    Version:  5.8.3
 Severity:  normal        |   Keywords:  dev-feedback
  Focuses:                |
--------------------------+-----------------------------
 The docs say that WP_Query `max_num_pages` property returns int but it
 returns float.

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


More information about the wp-trac mailing list