@@ 487-504 (lines=18) @@ | ||
484 | return apply_filters( 'jetpack_idc_second_step_header_lead', $string ); |
|
485 | } |
|
486 | ||
487 | function get_migrate_site_action_explanation() { |
|
488 | $html = wp_kses( |
|
489 | sprintf( |
|
490 | __( |
|
491 | 'Yes. <a href="%1$s">%2$s</a> is replacing <a href="%3$s">%4$s</a>. I would like to |
|
492 | migrate my stats and subscribers from <a href="%3$s">%4$s</a> to <a href="%1$s">%2$s</a>.', |
|
493 | 'jetpack' |
|
494 | ), |
|
495 | esc_url( get_home_url() ), |
|
496 | self::prepare_url_for_display( get_home_url() ), |
|
497 | esc_url( self::$wpcom_home_url ), |
|
498 | untrailingslashit( Jetpack::normalize_url_protocol_agnostic( esc_url_raw( self::$wpcom_home_url ) ) ) |
|
499 | ), |
|
500 | array( 'a' => array( 'href' => array() ) ) |
|
501 | ); |
|
502 | ||
503 | /** |
|
504 | * Allows overriding of the default text for explaining the migrate site action. |
|
505 | * |
|
506 | * @since 4.4.0 |
|
507 | * |
|
@@ 526-543 (lines=18) @@ | ||
523 | return apply_filters( 'jetpack_idc_migrate_site_button_text', $string ); |
|
524 | } |
|
525 | ||
526 | function get_start_fresh_action_explanation() { |
|
527 | $html = wp_kses( |
|
528 | sprintf( |
|
529 | __( |
|
530 | 'No. <a href="%1$s">%2$s</a> is a new and different website that\'s separate from |
|
531 | <a href="%3$s">%4$s</a>. It requires a new connection to WordPress.com for new stats and subscribers.', |
|
532 | 'jetpack' |
|
533 | ), |
|
534 | esc_url( get_home_url() ), |
|
535 | self::prepare_url_for_display( get_home_url() ), |
|
536 | esc_url( self::$wpcom_home_url ), |
|
537 | untrailingslashit( Jetpack::normalize_url_protocol_agnostic( esc_url_raw( self::$wpcom_home_url ) ) ) |
|
538 | ), |
|
539 | array( 'a' => array( 'href' => array() ) ) |
|
540 | ); |
|
541 | ||
542 | /** |
|
543 | * Allows overriding of the default text for explaining the start fresh action. |
|
544 | * |
|
545 | * @since 4.4.0 |
|
546 | * |