@@ 554-571 (lines=18) @@ | ||
551 | return apply_filters( 'jetpack_idc_second_step_header_lead', $string ); |
|
552 | } |
|
553 | ||
554 | function get_migrate_site_action_explanation() { |
|
555 | $html = wp_kses( |
|
556 | sprintf( |
|
557 | __( |
|
558 | 'Yes. <a href="%1$s">%2$s</a> is replacing <a href="%3$s">%4$s</a>. I would like to |
|
559 | migrate my stats and subscribers from <a href="%3$s">%4$s</a> to <a href="%1$s">%2$s</a>.', |
|
560 | 'jetpack' |
|
561 | ), |
|
562 | esc_url( get_home_url() ), |
|
563 | self::prepare_url_for_display( get_home_url() ), |
|
564 | esc_url( self::$wpcom_home_url ), |
|
565 | untrailingslashit( Jetpack::normalize_url_protocol_agnostic( esc_url_raw( self::$wpcom_home_url ) ) ) |
|
566 | ), |
|
567 | array( 'a' => array( 'href' => array() ) ) |
|
568 | ); |
|
569 | ||
570 | /** |
|
571 | * Allows overriding of the default text for explaining the migrate site action. |
|
572 | * |
|
573 | * @since 4.4.0 |
|
574 | * |
|
@@ 593-610 (lines=18) @@ | ||
590 | return apply_filters( 'jetpack_idc_migrate_site_button_text', $string ); |
|
591 | } |
|
592 | ||
593 | function get_start_fresh_action_explanation() { |
|
594 | $html = wp_kses( |
|
595 | sprintf( |
|
596 | __( |
|
597 | 'No. <a href="%1$s">%2$s</a> is a new and different website that\'s separate from |
|
598 | <a href="%3$s">%4$s</a>. It requires a new connection to WordPress.com for new stats and subscribers.', |
|
599 | 'jetpack' |
|
600 | ), |
|
601 | esc_url( get_home_url() ), |
|
602 | self::prepare_url_for_display( get_home_url() ), |
|
603 | esc_url( self::$wpcom_home_url ), |
|
604 | untrailingslashit( Jetpack::normalize_url_protocol_agnostic( esc_url_raw( self::$wpcom_home_url ) ) ) |
|
605 | ), |
|
606 | array( 'a' => array( 'href' => array() ) ) |
|
607 | ); |
|
608 | ||
609 | /** |
|
610 | * Allows overriding of the default text for explaining the start fresh action. |
|
611 | * |
|
612 | * @since 4.4.0 |
|
613 | * |