WordPress.org

Make WordPress Core

Opened 8 months ago

Closed 8 months 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:

Description

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 8 months ago.
Move DocBlock

Download all attachments as: .zip

Change History (4)

@keesiemeijer
8 months ago

Move DocBlock

#1 @keesiemeijer
8 months ago

  • Keywords has-patch added

#2 @swissspidy
8 months 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
8 months 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.