Skip to content

Commit c680c6f

Browse files
committed
PD-283 Update links on Go Pro buttons.
1 parent cdd36e9 commit c680c6f

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

php/admin-menus/class-manage-menu.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public function enqueue_menu_button_css() {
128128
* @return void
129129
*/
130130
public function load_upgrade_menu() {
131-
wp_safe_redirect( 'https://codesnippets.pro/pricing' );
131+
wp_safe_redirect( 'https://snipco.de/JE2f' );
132132
exit;
133133
}
134134

php/class-admin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public function plugin_action_links( array $actions, string $plugin_file ): arra
112112
[
113113
sprintf(
114114
'<a href="%1$s" title="%2$s" style="color: #d46f4d; font-weight: bold;" target="_blank">%3$s</a>',
115-
'https://codesnippets.pro/pricing/',
115+
'https://snipco.de/JE2i',
116116
esc_attr__( 'Upgrade to Code Snippets Pro', 'code-snippets' ),
117117
esc_html__( 'Go Pro', 'code-snippets' )
118118
),

php/class-plugin.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ public function get_snippet_edit_url( int $snippet_id, string $context = 'self'
232232
*/
233233
public function allow_code_snippets_redirect( array $hosts ): array {
234234
$hosts[] = 'codesnippets.pro';
235+
$hosts[] = 'snipco.de';
235236
return $hosts;
236237
}
237238

0 commit comments

Comments
 (0)