| @@ 319-333 (lines=15) @@ | ||
| 316 | return apply_filters( 'jetpack_idc_first_step_header_lead', $html ); |
|
| 317 | } |
|
| 318 | ||
| 319 | function get_first_step_header_explanation() { |
|
| 320 | $html = wp_kses( |
|
| 321 | sprintf( |
|
| 322 | __( |
|
| 323 | 'Please confirm Safe Mode or fix the Jetpack connection. Select one of the options below or <a href="%1$s">learn |
|
| 324 | more about Safe Mode</a>.', |
|
| 325 | 'jetpack' |
|
| 326 | ), |
|
| 327 | esc_url( self::SAFE_MODE_DOC_LINK ) |
|
| 328 | ), |
|
| 329 | array( 'a' => array( 'href' => array() ) ) |
|
| 330 | ); |
|
| 331 | ||
| 332 | /** |
|
| 333 | * Allows overriding of the default header explanation text in the first step of the Safe Mode notice. |
|
| 334 | * |
|
| 335 | * @since 4.4.0 |
|
| 336 | * |
|
| @@ 514-527 (lines=14) @@ | ||
| 511 | return apply_filters( 'jetpack_idc_start_fresh_button_text', $string ); |
|
| 512 | } |
|
| 513 | ||
| 514 | function get_unsure_prompt() { |
|
| 515 | $html = wp_kses( |
|
| 516 | sprintf( |
|
| 517 | __( |
|
| 518 | 'Unsure what to do? <a href="%1$s">Read more about Jetpack Safe Mode</a>', |
|
| 519 | 'jetpack' |
|
| 520 | ), |
|
| 521 | esc_url( self::SAFE_MODE_DOC_LINK ) |
|
| 522 | ), |
|
| 523 | array( 'a' => array( 'href' => array() ) ) |
|
| 524 | ); |
|
| 525 | ||
| 526 | /** |
|
| 527 | * Allows overriding of the default text using in the "Unsure what to do?" prompt. |
|
| 528 | * |
|
| 529 | * @since 4.4.0 |
|
| 530 | * |
|