Opened 6 years ago
Closed 6 years ago
#45403 closed enhancement (fixed)
Docs: Description is wrong in the return of network_domain_check()
Reported by: | ishitaka | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 5.1 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Networks and Sites | Keywords: | has-patch |
Focuses: | docs, multisite | Cc: |
Description
Description is wrong in the return of network_domain_check()
current description is:
* @return Whether a network exists.
must be:
* @return string|false Base domain, or false if network does not exist.
Attachments (2)
Change History (6)
Note: See
TracTickets for help on using
tickets.
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.