Make WordPress Core

Opened 6 days ago

Closed 5 days ago

Last modified 5 days ago

#61968 closed defect (bug) (fixed)

Global documentation is missing in class-wp-html-decoder.php file

Reported by: shailu25's profile shailu25 Owned by:
Milestone: 6.7 Priority: normal
Severity: trivial Version:
Component: HTML API Keywords: has-patch
Focuses: docs Cc:

Description

The @global documentation is missing in the src/wp-includes/html-api/class-wp-html-decoder.php file

This is Also Updated in the Gutenberg Repository: https://github.com/WordPress/gutenberg/pull/64956

Attachments (1)

61968.patch (713 bytes) - added by shailu25 6 days ago.
Patch Added

Download all attachments as: .zip

Change History (6)

@shailu25
6 days ago

Patch Added

#1 @shailu25
6 days ago

  • Keywords has-patch added

#2 @jonsurrell
5 days ago

This looks correct to me, it seems good to land.

There are other examples of this being used in the codebase. Other usage seems inconsistent with regards to ending with a . and/or including a description. This seems fine to land as-is.

This ticket was mentioned in Slack in #core-committers by dmsnell. View the logs.


5 days ago

#4 @dmsnell
5 days ago

  • Milestone changed from Awaiting Review to 6.7
  • Resolution set to fixed
  • Status changed from new to closed

#5 @dmsnell
5 days ago

In [58965]:

HTML API: Add missing @global tag on HTML Decoder.

The @global documentation has been missing in the class-wp-html-decoder.php file, and this patch adds it.

Discussed in https://core.trac.wordpress.org/ticket/61968

Props dmsnell, jonsurrell, shailu25.
Resolves #61968.

(By accident I merged with "Resolves" instead of "Fixes" - sorry for the mistake and the confusion).

Note: See TracTickets for help on using tickets.