From beb720eceea35fabf10bfcb43deb1b4b7ff3d667 Mon Sep 17 00:00:00 2001 From: bindlegirl <1242807+bindlegirl@users.noreply.github.com> Date: Mon, 5 Feb 2024 18:29:21 +0100 Subject: [PATCH] Improve version parameter --- .../src/class-identity-crisis.php | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/projects/packages/identity-crisis/src/class-identity-crisis.php b/projects/packages/identity-crisis/src/class-identity-crisis.php index 9710c8d38bae3..d0d5d0720ab8b 100644 --- a/projects/packages/identity-crisis/src/class-identity-crisis.php +++ b/projects/packages/identity-crisis/src/class-identity-crisis.php @@ -145,7 +145,7 @@ public static function jetpack_connection_disconnect_site_wpcom_filter() { * @return string */ public static function get_safe_mod_doc_url() { - _deprecated_function( __METHOD__, 'package-$$next-version$$' ); + _deprecated_function( __METHOD__, 'jetpack-identity-crisis-$$next-version$$' ); return Redirect::get_url( 'jetpack-support-safe-mode' ); } @@ -363,7 +363,7 @@ public function check_response_for_idc( $response ) { * @return string */ public static function prepare_url_for_display( $url ) { - _deprecated_function( __METHOD__, 'package-$$next-version$$' ); + _deprecated_function( __METHOD__, 'jetpack-identity-crisis-$$next-version$$' ); return untrailingslashit( self::normalize_url_protocol_agnostic( $url ) ); } @@ -583,7 +583,7 @@ public static function should_handle_idc() { * @return void */ public function render_error_notice() { - _deprecated_function( __METHOD__, 'package-$$next-version$$' ); + _deprecated_function( __METHOD__, 'jetpack-identity-crisis-$$next-version$$' ); ?>
@@ -706,7 +706,7 @@ public function render_notice_second_step() { * @return string */ public function get_first_step_header_lead() { - _deprecated_function( __METHOD__, 'package-$$next-version$$' ); + _deprecated_function( __METHOD__, 'jetpack-identity-crisis-$$next-version$$' ); $html = wp_kses( sprintf( /* translators: %s: Safe mode docs URL and site URL. */ @@ -737,7 +737,7 @@ public function get_first_step_header_lead() { * @return string */ public function get_first_step_header_explanation() { - _deprecated_function( __METHOD__, 'package-$$next-version$$' ); + _deprecated_function( __METHOD__, 'jetpack-identity-crisis-$$next-version$$' ); $html = wp_kses( sprintf( /* translators: %s: Safe mode docs URL. */ @@ -765,7 +765,7 @@ public function get_first_step_header_explanation() { * @return string */ public function get_confirm_safe_mode_action_explanation() { - _deprecated_function( __METHOD__, 'package-$$next-version$$' ); + _deprecated_function( __METHOD__, 'jetpack-identity-crisis-$$next-version$$' ); $html = wp_kses( sprintf( /* translators: %s: Site URL. */ @@ -794,7 +794,7 @@ public function get_confirm_safe_mode_action_explanation() { * @return string */ public function get_confirm_safe_mode_button_text() { - _deprecated_function( __METHOD__, 'package-$$next-version$$' ); + _deprecated_function( __METHOD__, 'jetpack-identity-crisis-$$next-version$$' ); $string = esc_html__( 'Confirm Safe Mode', 'jetpack-idc' ); /** @@ -815,7 +815,7 @@ public function get_confirm_safe_mode_button_text() { * @return string */ public function get_first_step_fix_connection_action_explanation() { - _deprecated_function( __METHOD__, 'package-$$next-version$$' ); + _deprecated_function( __METHOD__, 'jetpack-identity-crisis-$$next-version$$' ); $html = wp_kses( sprintf( /* translators: %s: Site URL. */ @@ -844,7 +844,7 @@ public function get_first_step_fix_connection_action_explanation() { * @return string */ public function get_first_step_fix_connection_button_text() { - _deprecated_function( __METHOD__, 'package-$$next-version$$' ); + _deprecated_function( __METHOD__, 'jetpack-identity-crisis-$$next-version$$' ); $string = esc_html__( "Fix Jetpack's Connection", 'jetpack-idc' ); /** @@ -865,7 +865,7 @@ public function get_first_step_fix_connection_button_text() { * @return string */ public function get_second_step_header_lead() { - _deprecated_function( __METHOD__, 'package-$$next-version$$' ); + _deprecated_function( __METHOD__, 'jetpack-identity-crisis-$$next-version$$' ); $string = sprintf( /* translators: %s: Site URL. */ esc_html__( 'Is %1$s the new home of %2$s?', 'jetpack-idc' ), @@ -891,7 +891,7 @@ public function get_second_step_header_lead() { * @return string */ public function get_migrate_site_action_explanation() { - _deprecated_function( __METHOD__, 'package-$$next-version$$' ); + _deprecated_function( __METHOD__, 'jetpack-identity-crisis-$$next-version$$' ); $html = wp_kses( sprintf( /* translators: %s: Site URL. */ @@ -922,7 +922,7 @@ public function get_migrate_site_action_explanation() { * @return string */ public function get_migrate_site_button_text() { - _deprecated_function( __METHOD__, 'package-$$next-version$$' ); + _deprecated_function( __METHOD__, 'jetpack-identity-crisis-$$next-version$$' ); $string = esc_html__( 'Migrate Stats & Subscribers', 'jetpack-idc' ); /** @@ -943,7 +943,7 @@ public function get_migrate_site_button_text() { * @return string */ public function get_start_fresh_action_explanation() { - _deprecated_function( __METHOD__, 'package-$$next-version$$' ); + _deprecated_function( __METHOD__, 'jetpack-identity-crisis-$$next-version$$' ); $html = wp_kses( sprintf( /* translators: %s: Site URL. */ @@ -974,7 +974,7 @@ public function get_start_fresh_action_explanation() { * @return string */ public function get_start_fresh_button_text() { - _deprecated_function( __METHOD__, 'package-$$next-version$$' ); + _deprecated_function( __METHOD__, 'jetpack-identity-crisis-$$next-version$$' ); $string = esc_html__( 'Start Fresh & Create New Connection', 'jetpack-idc' ); /** @@ -995,7 +995,7 @@ public function get_start_fresh_button_text() { * @return string */ public function get_unsure_prompt() { - _deprecated_function( __METHOD__, 'package-$$next-version$$' ); + _deprecated_function( __METHOD__, 'jetpack-identity-crisis-$$next-version$$' ); $html = wp_kses( sprintf( /* translators: %s: Safe mode docs URL. */ @@ -1083,7 +1083,7 @@ public static function get_mismatched_urls() { * @return bool True if potentially dynamic site urls were detected in wp-config, false otherwise. */ public static function detect_possible_dynamic_site_url() { - _deprecated_function( __METHOD__, 'package-$$next-version$$' ); + _deprecated_function( __METHOD__, 'jetpack-identity-crisis-$$next-version$$' ); $transient_key = 'jetpack_idc_possible_dynamic_site_url_detected'; $transient_val = get_transient( $transient_key );