Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#55928 closed defect (bug) (fixed)

incorrect method reference documentation

Reported by: dd32's profile dd32 Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 6.1 Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch
Focuses: docs Cc:

Description

Some PHPDoc statements don't use the expected method format, which results in mis-parsing on developer.wordpress.org.

For example (and the attached file)
https://developer.wordpress.org/reference/classes/WP_Query/parse_query/

See PR.

Attachments (1)

Screen Shot 2022-06-03 at 4.21.42 pm.png (246.3 KB) - added by dd32 2 years ago.

Download all attachments as: .zip

Change History (5)

This ticket was mentioned in PR #2786 on WordPress/wordpress-develop by dd32.


2 years ago
#1

  • Keywords has-patch added

#2 @audrasjb
2 years ago

  • Component changed from Gallery to General
  • Milestone changed from Awaiting Review to 6.1

#3 @SergeyBiryukov
2 years ago

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

In 53469:

Docs: Correct method reference format in some DocBlocks.

This ensures that the methods are recognized by the WordPress Code Reference parser.

Follow-up to [7994], [25567], [27156], [28887], [49672], [52226].

Props dd32, audrasjb.
Fixes #55928.

Note: See TracTickets for help on using tickets.