@@ 408-425 (lines=18) @@ | ||
405 | return apply_filters( 'jetpack_idc_second_step_header_lead', $string ); |
|
406 | } |
|
407 | ||
408 | function get_migrate_site_action_explanation() { |
|
409 | $html = wp_kses( |
|
410 | sprintf( |
|
411 | __( |
|
412 | 'Yes. <a href="%1$s">%2$s</a> is replacing <a href="%3$s">%4$s</a>. I would like to |
|
413 | migrate my stats and subscribers from <a href="%3$s">%4$s</a> to <a href="%1$s">%2$s</a>.', |
|
414 | 'jetpack' |
|
415 | ), |
|
416 | esc_url( get_home_url() ), |
|
417 | self::prepare_url_for_display( get_home_url() ), |
|
418 | esc_url( self::$wpcom_home_url ), |
|
419 | untrailingslashit( Jetpack::normalize_url_protocol_agnostic( esc_url_raw( self::$wpcom_home_url ) ) ) |
|
420 | ), |
|
421 | array( 'a' => array( 'href' => array() ) ) |
|
422 | ); |
|
423 | ||
424 | /** |
|
425 | * Allows overriding of the default text for explaining the migrate site action. |
|
426 | * |
|
427 | * @since 4.4.0 |
|
428 | * |
|
@@ 447-464 (lines=18) @@ | ||
444 | return apply_filters( 'jetpack_idc_migrate_site_button_text', $string ); |
|
445 | } |
|
446 | ||
447 | function get_start_fresh_action_explanation() { |
|
448 | $html = wp_kses( |
|
449 | sprintf( |
|
450 | __( |
|
451 | 'No. <a href="%1$s">%2$s</a> is a new and different website that\'s separate from |
|
452 | <a href="%3$s">%4$s</a>. It requires a new connection to WordPress.com for new stats and subscribers.', |
|
453 | 'jetpack' |
|
454 | ), |
|
455 | esc_url( get_home_url() ), |
|
456 | self::prepare_url_for_display( get_home_url() ), |
|
457 | esc_url( self::$wpcom_home_url ), |
|
458 | untrailingslashit( Jetpack::normalize_url_protocol_agnostic( esc_url_raw( self::$wpcom_home_url ) ) ) |
|
459 | ), |
|
460 | array( 'a' => array( 'href' => array() ) ) |
|
461 | ); |
|
462 | ||
463 | /** |
|
464 | * Allows overriding of the default text for explaining the start fresh action. |
|
465 | * |
|
466 | * @since 4.4.0 |
|
467 | * |