Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#61968 closed defect (bug) (fixed)

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

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

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 2 years ago.
Patch Added

Download all attachments as: .zip

Change History (6)

@shailu25
2 years ago

Patch Added

#1 @shailu25
2 years ago

  • Keywords has-patch added

#2 @jonsurrell
2 years 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.


2 years ago

#4 @dmsnell
2 years ago

  • Milestone Awaiting Review → 6.7
  • Resolution → fixed
  • Status new → closed

#5 @dmsnell
2 years 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.