Fix feature pointer positioning issues for both LTR and RTL.
fixes #28062. Built from https://develop.svn.wordpress.org/trunk@28897 git-svn-id: http://core.svn.wordpress.org/trunk@28696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1992,7 +1992,7 @@ final class WP_Internal_Pointers {
|
||||
|
||||
self::print_js( 'wp360_revisions', '.misc-pub-section.misc-pub-revisions', array(
|
||||
'content' => $content,
|
||||
'position' => array( 'edge' => is_rtl() ? 'left' : 'right', 'align' => 'center', 'my' => is_rtl() ? 'left' : 'right-14px' ),
|
||||
'position' => array( 'edge' => is_rtl() ? 'left' : 'right', 'align' => 'center' ),
|
||||
) );
|
||||
}
|
||||
|
||||
@@ -2020,7 +2020,7 @@ final class WP_Internal_Pointers {
|
||||
|
||||
if ( 'themes' === get_current_screen()->id ) {
|
||||
$selector = '.theme.active .customize';
|
||||
$position = array( 'edge' => is_rtl() ? 'right' : 'left', 'align' => 'center', 'my' => is_rtl() ? 'right-13px' : '' );
|
||||
$position = array( 'edge' => is_rtl() ? 'right' : 'left', 'align' => 'center' );
|
||||
} else {
|
||||
$selector = 'a[href="customize.php"]';
|
||||
if ( is_rtl() ) {
|
||||
|
||||
Reference in New Issue
Block a user