[wp-trac] [WordPress Trac] #34450: get_id_from_blogname returns false if the main domain starts with www.
WordPress Trac
noreply at wordpress.org
Fri Sep 16 16:14:11 UTC 2016
#34450: get_id_from_blogname returns false if the main domain starts with www.
--------------------------------------------------+------------------------
Reporter: igmoweb | Owner: flixos90
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.7
Component: Networks and Sites | Version: 4.3.1
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests 2nd-opinion | Focuses: multisite
--------------------------------------------------+------------------------
Comment (by igmoweb):
@flixos90
I would keep the same return types than before. So yes, I would check `if
empty( get_sites() ) return null;` to keep backward compatibility and
improve documentation for the function.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34450#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list