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