[wp-trac] [WordPress Trac] #14511: new function - wp_get_sites($args)
WordPress Trac
noreply at wordpress.org
Sat Sep 14 23:09:23 UTC 2013
#14511: new function - wp_get_sites($args)
-------------------------------------+------------------
Reporter: transom | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.7
Component: Multisite | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+------------------
Comment (by nacin):
As reported by markoheijnen, `archived` remains an ENUM of `'0'` and
`'1'`. These are indexed from 1, so querying for the integer `1` means
we're actually querying the ENUM 0. Going to write a test to demonstrate
this.
We've worked to eliminate ENUM from the database previously, but all of
those former ENUM fields became strings. ([6732].) In this case, it should
become a tinyint(2) like the related fields. I am not familiar with what
an upgrade routine might look like for this. pento might have some ideas.
http://dev.mysql.com/doc/refman/5.0/en/enum.html
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14511#comment:34>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list