@@ 492-507 (lines=16) @@ | ||
489 | return apply_filters( 'jetpack_idc_first_step_header_explanation', $html ); |
|
490 | } |
|
491 | ||
492 | function get_confirm_safe_mode_action_explanation() { |
|
493 | $html = wp_kses( |
|
494 | sprintf( |
|
495 | __( |
|
496 | 'Is this website a temporary duplicate of <a href="%1$s">%2$s</a> for the purposes |
|
497 | of testing, staging or development? If so, we recommend keeping it in Safe Mode.', |
|
498 | 'jetpack' |
|
499 | ), |
|
500 | esc_url( untrailingslashit( self::$wpcom_home_url ) ), |
|
501 | self::prepare_url_for_display( esc_url( self::$wpcom_home_url ) ) |
|
502 | ), |
|
503 | array( 'a' => array( 'href' => array() ) ) |
|
504 | ); |
|
505 | ||
506 | /** |
|
507 | * Allows overriding of the default text used to explain the confirm safe mode action. |
|
508 | * |
|
509 | * @since 4.4.0 |
|
510 | * |
|
@@ 529-544 (lines=16) @@ | ||
526 | return apply_filters( 'jetpack_idc_confirm_safe_mode_button_text', $string ); |
|
527 | } |
|
528 | ||
529 | function get_first_step_fix_connection_action_explanation() { |
|
530 | $html = wp_kses( |
|
531 | sprintf( |
|
532 | __( |
|
533 | 'If this is a separate and new website, or the new home of <a href="%1$s">%2$s</a>, |
|
534 | we recommend turning Safe Mode off, and re-establishing your connection to WordPress.com.', |
|
535 | 'jetpack' |
|
536 | ), |
|
537 | esc_url( untrailingslashit( self::$wpcom_home_url ) ), |
|
538 | self::prepare_url_for_display( esc_url( self::$wpcom_home_url ) ) |
|
539 | ), |
|
540 | array( 'a' => array( 'href' => array() ) ) |
|
541 | ); |
|
542 | ||
543 | /** |
|
544 | * Allows overriding of the default text used to explain the fix Jetpack connection action. |
|
545 | * |
|
546 | * @since 4.4.0 |
|
547 | * |