Remove duplicate entries from defined arrays
This commit is contained in:
parent
0334ed255a
commit
51fd482206
|
@ -117,10 +117,6 @@ class WC_Admin_Help {
|
|||
'title' => __( 'API Settings', 'woocommerce' ),
|
||||
'url' => '//fast.wistia.net/embed/iframe/1q0ny74vvq.jsonp?',
|
||||
),
|
||||
'wc-settings-api' => array(
|
||||
'title' => __( 'API Settings', 'woocommerce' ),
|
||||
'url' => '//fast.wistia.net/embed/iframe/1q0ny74vvq.jsonp?',
|
||||
),
|
||||
'product' => array(
|
||||
'title' => __( 'Creating Products', 'woocommerce' ),
|
||||
'url' => '//fast.wistia.net/embed/iframe/fw0477t6wr.jsonp?',
|
||||
|
|
|
@ -101,13 +101,6 @@ class WC_REST_Webhook_Deliveries_Controller extends WC_REST_Webhook_Deliveries_V
|
|||
'context' => array( 'view' ),
|
||||
'readonly' => true,
|
||||
),
|
||||
'request_headers' => array(
|
||||
'description' => __( 'The URL where the webhook was delivered.', 'woocommerce' ),
|
||||
'type' => 'string',
|
||||
'format' => 'uri',
|
||||
'context' => array( 'view' ),
|
||||
'readonly' => true,
|
||||
),
|
||||
'request_headers' => array(
|
||||
'description' => __( 'Request headers.', 'woocommerce' ),
|
||||
'type' => 'array',
|
||||
|
|
|
@ -255,13 +255,6 @@ class WC_REST_Webhook_Deliveries_V1_Controller extends WC_REST_Controller {
|
|||
'context' => array( 'view' ),
|
||||
'readonly' => true,
|
||||
),
|
||||
'request_headers' => array(
|
||||
'description' => __( 'The URL where the webhook was delivered.', 'woocommerce' ),
|
||||
'type' => 'string',
|
||||
'format' => 'uri',
|
||||
'context' => array( 'view' ),
|
||||
'readonly' => true,
|
||||
),
|
||||
'request_headers' => array(
|
||||
'description' => __( 'Request headers.', 'woocommerce' ),
|
||||
'type' => 'array',
|
||||
|
|
|
@ -208,7 +208,6 @@ class WC_Post_types {
|
|||
'show_ui' => true,
|
||||
'show_in_quick_edit' => false,
|
||||
'show_in_menu' => false,
|
||||
'show_in_nav_menus' => false,
|
||||
'meta_box_cb' => false,
|
||||
'query_var' => 1 === $tax->attribute_public,
|
||||
'rewrite' => false,
|
||||
|
|
Loading…
Reference in New Issue