WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#34902 closed defect (bug) (fixed)

Add missing i18n

Reported by: Latz Owned by: rachelbaker
Milestone: 4.5 Priority: normal
Severity: normal Version: 4.4
Component: REST API Keywords: has-patch
Focuses: Cc:
PR Number:

Description

Add missing i18n functions to wp-includes/rest-api.php

Attachments (2)

34902.1.diff (913 bytes) - added by danielbachhuber 4 years ago.
34902.diff (845 bytes) - added by Latz 4 years ago.

Download all attachments as: .zip

Change History (7)

#1 @danielbachhuber
4 years ago

  • Keywords has-patch added
  • Milestone changed from Awaiting Review to 4.5

@Latz
4 years ago

This ticket was mentioned in Slack in #core by latz. View the logs.


4 years ago

#3 @rachelbaker
4 years ago

  • Owner set to rachelbaker
  • Status changed from new to reviewing

This ticket was mentioned in Slack in #core-i18n by johnbillion. View the logs.


4 years ago

#5 @rachelbaker
4 years ago

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

In 35822:

REST API: Make strings translatable in register_rest_route.

Adds i18n to the doing_it_wrong() messages for invalid parameters within register_rest_route().

Props Latz,danielbachhuber.
Fixes #34902

Note: See TracTickets for help on using tickets.