Revert woocommerce/woocommerce-admin#7471 – use "Extensions" as the page title for My Subscriptions and Marketplace pages (https://github.com/woocommerce/woocommerce-admin/pull/7901)

* Reverts the changes in https://github.com/woocommerce/woocommerce-admin/pull/7471, as we are merging the My Subscriptions and Marketplace pages back into one Extensions page.

* Added changelog.
This commit is contained in:
And Finally 2021-11-05 03:21:35 +00:00 committed by GitHub
parent 9a2cd38004
commit d03e53e765
2 changed files with 5 additions and 11 deletions

View File

@ -0,0 +1,4 @@
Significance: minor
Type: Tweak
Use page title Extensions for Marketplace and My Subscriptions pages. #7901

View File

@ -23,7 +23,7 @@ function wc_admin_get_core_pages_to_connect() {
return array(
'wc-addons' => array(
'title' => __( 'Marketplace', 'woocommerce-admin' ),
'title' => __( 'Extensions', 'woocommerce-admin' ),
'tabs' => array(),
),
'wc-reports' => array(
@ -294,13 +294,3 @@ wc_admin_connect_page(
'title' => __( 'Edit attribute', 'woocommerce-admin' ),
)
);
// WooCommerce > My Subscriptions.
wc_admin_connect_page(
array(
'id' => 'wc-subscriptions',
'screen_id' => 'woocommerce_page_wc-addons-browse-extensions-helper',
'title' => __( 'My Subscriptions', 'woocommerce-admin' ),
'path' => 'admin.php?page=wc-addons&section=helper',
)
);