[wp-trac] [WordPress Trac] #44045: GDPR WP Pointer dismiss link can be unreachable

WordPress Trac noreply at wordpress.org
Fri May 11 15:53:04 UTC 2018


#44045: GDPR WP Pointer dismiss link can be unreachable
------------------------------------------+--------------------------------
 Reporter:  imath                         |       Owner:  iandunn
     Type:  defect (bug)                  |      Status:  accepted
 Priority:  normal                        |   Milestone:  4.9.6
Component:  Administration                |     Version:  trunk
 Severity:  normal                        |  Resolution:
 Keywords:  gdpr has-patch needs-testing  |     Focuses:  ui,
                                          |  administration
------------------------------------------+--------------------------------

Comment (by imath):

 @audrasjb

 Well I think more than the screen resolution, it's the number of admin
 menus added by plugins that you need to consider. For instance on my good
 old MacBook Pro (1280 x 800), this happens when there are 3 new admin
 menus positioned before the tools one (eg: BuddyPress with the Groups and
 Activity components active). If there are 4 new admin menus, there's no
 problem.

 So there's probably a number of meus for each screen resolutions ;) Here's
 a function to find yours by replacing `3` with another number:

 {{{
 function random_admins_menu() {
         for ( $i = 1; $i <= 3; $i++ ) {
                 add_menu_page(
                         'random' . $i,
                         'random' . $i,
                         'manage_options',
                         'random' . $i,
                         'index.php',
                         '',
                         70
                 );
         }
 }
 add_action( 'admin_menu', 'random_admins_menu' );
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44045#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list