[wp-trac] [WordPress Trac] #45403: Docs: Description is wrong in the return of network_domain_check()

WordPress Trac noreply at wordpress.org
Fri Nov 23 11:40:43 UTC 2018


#45403: Docs: Description is wrong in the return of network_domain_check()
--------------------------------+------------------------------
 Reporter:  ishitaka            |       Owner:  (none)
     Type:  enhancement         |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Networks and Sites  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:  has-patch           |     Focuses:  docs, multisite
--------------------------------+------------------------------
Changes (by vaishalipanchal):

 * focuses:  multisite => docs, multisite


Comment:

 It looks like a good improvement, as suggested by @ishitaka, to explain
 the possible return values, that are currently either Base domain or
 false.

 Here's are suggested adjustments for 45403.patch​:

 {{{ * @return string|false Base domain if network exists, false otherwise.
 }}}

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


More information about the wp-trac mailing list