|
@@ 436-453 (lines=18) @@
|
| 433 |
|
return apply_filters( 'jetpack_idc_second_step_header_lead', $string ); |
| 434 |
|
} |
| 435 |
|
|
| 436 |
|
function get_migrate_site_action_explanation() { |
| 437 |
|
$html = wp_kses( |
| 438 |
|
sprintf( |
| 439 |
|
__( |
| 440 |
|
'Yes. <a href="%1$s">%2$s</a> is replacing <a href="%3$s">%4$s</a>. I would like to |
| 441 |
|
migrate my stats and subscribers from <a href="%3$s">%4$s</a> to <a href="%1$s">%2$s</a>.', |
| 442 |
|
'jetpack' |
| 443 |
|
), |
| 444 |
|
esc_url( get_home_url() ), |
| 445 |
|
self::prepare_url_for_display( get_home_url() ), |
| 446 |
|
esc_url( self::$wpcom_home_url ), |
| 447 |
|
untrailingslashit( Jetpack::normalize_url_protocol_agnostic( esc_url_raw( self::$wpcom_home_url ) ) ) |
| 448 |
|
), |
| 449 |
|
array( 'a' => array( 'href' => array() ) ) |
| 450 |
|
); |
| 451 |
|
|
| 452 |
|
/** |
| 453 |
|
* Allows overriding of the default text for explaining the migrate site action. |
| 454 |
|
* |
| 455 |
|
* @since 4.4.0 |
| 456 |
|
* |
|
@@ 475-492 (lines=18) @@
|
| 472 |
|
return apply_filters( 'jetpack_idc_migrate_site_button_text', $string ); |
| 473 |
|
} |
| 474 |
|
|
| 475 |
|
function get_start_fresh_action_explanation() { |
| 476 |
|
$html = wp_kses( |
| 477 |
|
sprintf( |
| 478 |
|
__( |
| 479 |
|
'No. <a href="%1$s">%2$s</a> is a new and different website that\'s separate from |
| 480 |
|
<a href="%3$s">%4$s</a>. It requires a new connection to WordPress.com for new stats and subscribers.', |
| 481 |
|
'jetpack' |
| 482 |
|
), |
| 483 |
|
esc_url( get_home_url() ), |
| 484 |
|
self::prepare_url_for_display( get_home_url() ), |
| 485 |
|
esc_url( self::$wpcom_home_url ), |
| 486 |
|
untrailingslashit( Jetpack::normalize_url_protocol_agnostic( esc_url_raw( self::$wpcom_home_url ) ) ) |
| 487 |
|
), |
| 488 |
|
array( 'a' => array( 'href' => array() ) ) |
| 489 |
|
); |
| 490 |
|
|
| 491 |
|
/** |
| 492 |
|
* Allows overriding of the default text for explaining the start fresh action. |
| 493 |
|
* |
| 494 |
|
* @since 4.4.0 |
| 495 |
|
* |