Merge pull request #20206 from CHEWX/bug-menu-endpoint-title
[menu] - change title to capitalized to match wp core
This commit is contained in:
commit
d5e6b21b38
|
@ -38,8 +38,8 @@ if ( ! class_exists( 'WC_Admin_Customize', false ) ) :
|
|||
*/
|
||||
public function register_customize_nav_menu_item_types( $item_types ) {
|
||||
$item_types[] = array(
|
||||
'title' => __( 'WooCommerce endpoints', 'woocommerce' ),
|
||||
'type_label' => __( 'WooCommerce endpoint', 'woocommerce' ),
|
||||
'title' => __( 'WooCommerce Endpoints', 'woocommerce' ),
|
||||
'type_label' => __( 'WooCommerce Endpoint', 'woocommerce' ),
|
||||
'type' => 'woocommerce_nav',
|
||||
'object' => 'woocommerce_endpoint',
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue