Make WordPress Core

Opened 19 months ago

Closed 19 months ago

Last modified 19 months ago

#55243 closed defect (bug) (fixed)

Fix incorrect return type on get_block_metadata_i18n_schema()

Reported by: jeremyfelt's profile jeremyfelt Owned by: audrasjb's profile audrasjb
Milestone: 6.0 Priority: normal
Severity: normal Version:
Component: I18N Keywords: has-patch commit
Focuses: docs Cc:


The value returned by get_block_metadata_i18n_schema() is an object rather than an array.

Change History (4)

This ticket was mentioned in PR #2352 on WordPress/wordpress-develop by jeremyfelt.

19 months ago

This changes the return type from array to object.

Trac ticket:

#2 @audrasjb
19 months ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 6.0
  • Owner set to audrasjb
  • Status changed from new to reviewing

Hello and thanks, the PR looks good to me. Adding to milestone 6.0 and marking for commit consideration.

#3 @audrasjb
19 months ago

  • Resolution set to fixed
  • Status changed from reviewing to closed

In 52793:

Docs: Correct return type for get_block_metadata_i18n_schema().

Props jeremyfelt.
Fixes #55243.
See #54729.

Note: See TracTickets for help on using tickets.