[wp-trac] [WordPress Trac] #46346: Page counts and related calculations typically expect and document ints but are actually floats
WordPress Trac
noreply at wordpress.org
Wed Mar 3 06:06:17 UTC 2021
#46346: Page counts and related calculations typically expect and document ints but
are actually floats
----------------------------------------+-------------------------------
Reporter: lev0 | Owner: SergeyBiryukov
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 5.8
Component: General | Version:
Severity: minor | Resolution:
Keywords: has-patch needs-unit-tests | Focuses: coding-standards
----------------------------------------+-------------------------------
Changes (by lev0):
* Attachment "integer-page-counts.patch" added.
Add and utilise a standard function for this common calculation.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46346>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list