Fixed __() functions
This commit is contained in:
parent
53db5ff4c8
commit
26c325acce
|
@ -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(),
|
||||
|
|
Loading…
Reference in New Issue