[wp-trac] [WordPress Trac] #33929: Wrong data type for several variables holding a wpdb query result
WordPress Trac
noreply at wordpress.org
Wed Dec 23 16:00:09 UTC 2015
#33929: Wrong data type for several variables holding a wpdb query result
----------------------------------------+-----------------------------
Reporter: tfrommen | Owner: boonebgorges
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Future Release
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests | Focuses:
----------------------------------------+-----------------------------
Comment (by Rarst):
Anecdotally I just had to fix a regression where strict check was being
made against the type count_user_post() is ''supposed'' to return.
String return from a function that is supposed to return a number and is
explicitly documented to return an integer number seems like a bug to fix
to me.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33929#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list