| @@ -18,8 +18,9 @@ | ||
| 18 | 18 | use Automattic\Jetpack\Admin_UI\Admin_Menu; |
| 19 | 19 | use Automattic\Jetpack\Connection\Manager as Connection_Manager; |
| 20 | 20 | use Automattic\Jetpack\Connection\XMLRPC_Async_Call; |
| 21 | 21 | use Automattic\Jetpack\Newsletter\Settings as Newsletter_Settings; |
| 22 | +use Automattic\Jetpack\Newsletter\Urls as Newsletter_Urls; | |
| 22 | 23 | use Automattic\Jetpack\Redirect; |
| 23 | 24 | use Automattic\Jetpack\Status; |
| 24 | 25 | use Automattic\Jetpack\Status\Host; |
| 25 | 26 | |
| @@ -149,9 +150,9 @@ | ||
| 149 | 150 | // Customize the configuration URL to lead to the Subscriptions settings. |
| 150 | 151 | add_filter( |
| 151 | 152 | 'jetpack_module_configuration_url_subscriptions', |
| 152 | 153 | function () { |
| 153 | - return Jetpack::admin_url( array( 'page' => 'jetpack-newsletter' ) ); | |
| 154 | + return Newsletter_Urls::get_newsletter_settings_url(); | |
| 154 | 155 | } |
| 155 | 156 | ); |
| 156 | 157 | |
| 157 | 158 | // Track categories created through the category editor page |