Merge pull request #18518 from tyrann0us/patch-1
Remove legacy "view" key from register_post_type()
This commit is contained in:
commit
b6204fb7aa
|
@ -277,7 +277,6 @@ class WC_Post_types {
|
|||
'edit' => __( 'Edit', 'woocommerce' ),
|
||||
'edit_item' => __( 'Edit product', 'woocommerce' ),
|
||||
'new_item' => __( 'New product', 'woocommerce' ),
|
||||
'view' => __( 'View product', 'woocommerce' ),
|
||||
'view_item' => __( 'View product', 'woocommerce' ),
|
||||
'view_items' => __( 'View products', 'woocommerce' ),
|
||||
'search_items' => __( 'Search products', 'woocommerce' ),
|
||||
|
@ -337,7 +336,6 @@ class WC_Post_types {
|
|||
'edit' => __( 'Edit', 'woocommerce' ),
|
||||
'edit_item' => __( 'Edit order', 'woocommerce' ),
|
||||
'new_item' => __( 'New order', 'woocommerce' ),
|
||||
'view' => __( 'View order', 'woocommerce' ),
|
||||
'view_item' => __( 'View order', 'woocommerce' ),
|
||||
'search_items' => __( 'Search orders', 'woocommerce' ),
|
||||
'not_found' => __( 'No orders found', 'woocommerce' ),
|
||||
|
@ -400,7 +398,6 @@ class WC_Post_types {
|
|||
'edit' => __( 'Edit', 'woocommerce' ),
|
||||
'edit_item' => __( 'Edit coupon', 'woocommerce' ),
|
||||
'new_item' => __( 'New coupon', 'woocommerce' ),
|
||||
'view' => __( 'View coupons', 'woocommerce' ),
|
||||
'view_item' => __( 'View coupon', 'woocommerce' ),
|
||||
'search_items' => __( 'Search coupons', 'woocommerce' ),
|
||||
'not_found' => __( 'No coupons found', 'woocommerce' ),
|
||||
|
|
Loading…
Reference in New Issue