Update the DFW v2 pointer text. Props kpdesign, DrewAPicture, johnbillion. Fixes #30458.
git-svn-id: https://develop.svn.wordpress.org/trunk@30717 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
abe2a7ae21
commit
f8a478af9d
@ -2049,13 +2049,13 @@ final class WP_Internal_Pointers {
|
||||
}
|
||||
|
||||
$content = '<h3>' . __( 'Distraction Free Writing' ) . '</h3>';
|
||||
$content .= '<p>' . __( 'Enable distraction free writing; everything fades away so you can focus. '
|
||||
. 'Bring your admin back by moving your mouse, then start typing and it fades away.' ) . '</p>';
|
||||
$content .= '<p>' . __( 'Start typing, and the other elements fade away so you can focus. '
|
||||
. 'Move your mouse out of the editor to reveal everything again.' ) . '</p>';
|
||||
|
||||
if ( is_rtl() ) {
|
||||
$position = array( 'edge' => 'left', 'align' => 'left', 'my' => 'left-5 top-60' );
|
||||
$position = array( 'edge' => 'left', 'align' => 'left', 'my' => 'left-5 top-30%' );
|
||||
} else {
|
||||
$position = array( 'edge' => 'right', 'align' => 'right', 'my' => 'right+5 top-60' );
|
||||
$position = array( 'edge' => 'right', 'align' => 'right', 'my' => 'right+5 top-30%' );
|
||||
}
|
||||
|
||||
self::print_js( 'wp410_dfw', '#content-html', array(
|
||||
|
Loading…
Reference in New Issue
Block a user