Fixed __() functions

This commit is contained in:
Claudio Sanches 2016-03-01 17:53:25 -03:00
parent 53db5ff4c8
commit 26c325acce
1 changed files with 2 additions and 2 deletions

View File

@ -616,13 +616,13 @@ abstract class WC_REST_Posts_Controller extends WP_REST_Controller {
$post_type_obj = get_post_type_object( $this->post_type );
if ( $post_type_obj->hierarchical ) {
$params['parent'] = array(
'description' => _( 'Limit result set to those of particular parent ids.', 'woocommerce' ),
'description' => __( 'Limit result set to those of particular parent ids.', 'woocommerce' ),
'type' => 'array',
'sanitize_callback' => 'wp_parse_id_list',
'default' => array(),
);
$params['parent_exclude'] = array(
'description' => _( 'Limit result set to all items except those of a particular parent id.', 'woocommerce' ),
'description' => __( 'Limit result set to all items except those of a particular parent id.', 'woocommerce' ),
'type' => 'array',
'sanitize_callback' => 'wp_parse_id_list',
'default' => array(),