[wp-trac] [WordPress Trac] #30233: Replace or rewrite domain_exists() for more accurate usage

WordPress Trac noreply at wordpress.org
Fri Jul 8 11:43:45 UTC 2016


#30233: Replace or rewrite domain_exists() for more accurate usage
--------------------------------+-----------------------------
 Reporter:  jeremyfelt          |       Owner:
     Type:  enhancement         |      Status:  new
 Priority:  normal              |   Milestone:  Future Release
Component:  Networks and Sites  |     Version:  3.0
 Severity:  normal              |  Resolution:
 Keywords:  dev-feedback        |     Focuses:  multisite
--------------------------------+-----------------------------

Comment (by thomaswm):

 The internals of `domain_exists()` have been rewritten in [37620]. Instead
 of hard-coded DB queries, it now uses `get_sites()`. That should make it
 pretty easy to implement this:

 > Allow the current $site_id argument to be null (for all), or an array
 (for many), in addition to the current int expectation.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30233#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list