@@ 291-305 (lines=15) @@ | ||
288 | return apply_filters( 'jetpack_idc_first_step_header_lead', $html ); |
|
289 | } |
|
290 | ||
291 | function get_first_step_header_explanation() { |
|
292 | $html = wp_kses( |
|
293 | sprintf( |
|
294 | __( |
|
295 | 'Please confirm Safe Mode or fix the Jetpack connection. Select one of the options below or <a href="%1$s">learn |
|
296 | more about Safe Mode</a>.', |
|
297 | 'jetpack' |
|
298 | ), |
|
299 | esc_url( self::SAFE_MODE_DOC_LINK ) |
|
300 | ), |
|
301 | array( 'a' => array( 'href' => array() ) ) |
|
302 | ); |
|
303 | ||
304 | /** |
|
305 | * Allows overriding of the default header explanation text in the first step of the Safe Mode notice. |
|
306 | * |
|
307 | * @since 4.4.0 |
|
308 | * |
|
@@ 486-499 (lines=14) @@ | ||
483 | return apply_filters( 'jetpack_idc_start_fresh_button_text', $string ); |
|
484 | } |
|
485 | ||
486 | function get_unsure_prompt() { |
|
487 | $html = wp_kses( |
|
488 | sprintf( |
|
489 | __( |
|
490 | 'Unsure what to do? <a href="%1$s">Read more about Jetpack Safe Mode</a>', |
|
491 | 'jetpack' |
|
492 | ), |
|
493 | esc_url( self::SAFE_MODE_DOC_LINK ) |
|
494 | ), |
|
495 | array( 'a' => array( 'href' => array() ) ) |
|
496 | ); |
|
497 | ||
498 | /** |
|
499 | * Allows overriding of the default text using in the "Unsure what to do?" prompt. |
|
500 | * |
|
501 | * @since 4.4.0 |
|
502 | * |