Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#39478 closed defect (bug) (fixed)

Move DocBlock after function_exists for function install_network()

Reported by: keesiemeijer Owned by: SergeyBiryukov
Milestone: 4.8 Priority: normal
Severity: normal Version:
Component: Database Keywords: has-patch
Focuses: docs Cc:


The Dockblock for function install_network() is before a function_exist call. Because of this the DocBlock for this function is not imported by the phpdoc-parser.

Attachments (1)

39478.patch (517 bytes) - added by keesiemeijer 4 years ago.
Move DocBlock

Download all attachments as: .zip

Change History (4)

4 years ago

Move DocBlock

#1 @keesiemeijer
4 years ago

  • Keywords has-patch added

#2 @swissspidy
4 years ago

  • Milestone changed from Awaiting Review to 4.8

Good catch! It's indeed ignored by the parser: https://developer.wordpress.org/reference/functions/install_network/

#3 @SergeyBiryukov
4 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 39709:

Docs: Move install_network() DocBlock after the function_exists() call.

Props keesiemeijer.
Fixes #39478.

Note: See TracTickets for help on using tickets.