[wp-trac] [WordPress Trac] #43372: $wp_query->max_num_pages return value as float
WordPress Trac
noreply at wordpress.org
Tue Feb 20 16:32:42 UTC 2018
#43372: $wp_query->max_num_pages return value as float
--------------------------+-----------------------------
Reporter: ironghost63 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version: 4.9.4
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
As a page number, Integer would make more sense than Float.
This is not a big problem but kinda annoying when you do strict comparison
on this value. since no one will define a page number as float.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43372>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list