WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#41178 closed defect (bug) (fixed)

typo in docbloc of export_wp()

Reported by: pbiron Owned by: SergeyBiryukov
Milestone: 4.9 Priority: normal
Severity: normal Version: 4.9
Component: Export Keywords: has-screenshots has-patch
Focuses: docs Cc:
PR Number:

Description

There's a typo in the @param hash of export_wp() that causes the DevHub page to format incorrectly.

There is a missing ` in the description of $args['category'] that causes the remainder of the @param hash to wrapped in <code>.

At first I thought this was another case like incorrect parsing of markdown in @param blocks, but then realized it was just a typo in the docbloc.

Attachments (2)

41178.diff (1.1 KB) - added by pbiron 2 years ago.
patch
export_wp.png (20.9 KB) - added by pbiron 2 years ago.
screenshot from Code Reference

Download all attachments as: .zip

Change History (5)

@pbiron
2 years ago

patch

@pbiron
2 years ago

screenshot from Code Reference

#1 @pbiron
2 years ago

  • Keywords has-screenshots has-patch added

#2 @SergeyBiryukov
2 years ago

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

In 40958:

Docs: Add missing backtick character in export_wp() DocBlock.

Props pbiron.
Fixes #41178.

#3 @SergeyBiryukov
2 years ago

  • Milestone changed from Awaiting Review to 4.9
Note: See TracTickets for help on using tickets.