[wp-trac] [WordPress Trac] #61738: admin_bar_menu node my-account returns null

WordPress Trac noreply at wordpress.org
Mon Jul 29 16:07:58 UTC 2024


#61738: admin_bar_menu node my-account returns null
--------------------------+---------------------
 Reporter:  michaelwp85   |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  6.6.2
Component:  Toolbar       |     Version:  6.6.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------

Comment (by sabernhardt):

 I am not fond of [attachment:"61738.reposition-all.diff"], but it is
 another way to move the Core nodes to the end of their group.
 - That would restore the established functions' priority values as they
 were in 6.5: `4`, `7` and `8`.
 - As a //single// function at priority `9999`,
 `wp_admin_bar_reposition_secondary_nodes` does not leave room for
 targeting a spot between its elements (as I had wanted between `9992` and
 `9999`).

 And I'm sure the code could be cleaner :)

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


More information about the wp-trac mailing list