mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Coding Standards: Use consistent formatting for translator comments in wp-includes/rest-api.php.
See #50767. git-svn-id: https://develop.svn.wordpress.org/trunk@48765 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2380,7 +2380,7 @@ class WP_REST_Posts_Controller extends WP_REST_Controller {
|
||||
_doing_it_wrong(
|
||||
'register_taxonomy',
|
||||
sprintf(
|
||||
/* translators: 1. The taxonomy name, 2. The property name, either 'rest_base' or 'name', 3. The conflicting value. */
|
||||
/* translators: 1: The taxonomy name, 2: The property name, either 'rest_base' or 'name', 3: The conflicting value. */
|
||||
__( 'The "%1$s" taxonomy "%2$s" property (%3$s) conflicts with an existing property on the REST API Posts Controller. Specify a custom "rest_base" when registering the taxonomy to avoid this error.' ),
|
||||
$taxonomy->name,
|
||||
$taxonomy_field_name_with_conflict,
|
||||
|
||||
Reference in New Issue
Block a user