Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#50759 closed defect (bug) (fixed)

i18n: Use %s placeholders instead of `register_rest_field`

Reported by: ramiy's profile ramiy Owned by: sergeybiryukov's profile sergeybiryukov
Milestone: 5.5 Priority: normal
Severity: normal Version:
Component: I18N Keywords: has-patch
Focuses: rest-api Cc:

Description

See the attached patch.

Attachments (1)

50759.patch (931 bytes) - added by ramiy 4 years ago.

Download all attachments as: .zip

Change History (5)

@ramiy
4 years ago

#1 @ramiy
4 years ago

  • Keywords has-patch added

#2 @SergeyBiryukov
4 years ago

  • Milestone changed from Awaiting Review to 5.5

#3 @SergeyBiryukov
4 years ago

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

In 48610:

I18N: Move code out of a translatable string in WP_REST_Posts_Controller::get_item_schema().

Props ramiy.
Fixes #50759.

#4 @SergeyBiryukov
4 years ago

In 48613:

I18N: Remove <code> tags in an error message in WP_REST_Posts_Controller::get_item_schema() for consistency with other strings.

Follow-up to [48610].

See #50759.

Note: See TracTickets for help on using tickets.