Merge pull request #20206 from CHEWX/bug-menu-endpoint-title

[menu] - change title to capitalized to match wp core
This commit is contained in:
Mike Jolley 2018-05-24 17:06:07 +01:00 committed by GitHub
commit d5e6b21b38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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',
);