Make WordPress Core

Changes between Initial Version and Version 3 of Ticket #65403


Ignore:
Timestamp:
06/04/2026 08:45:44 AM (5 months ago)
Author:
sabernhardt
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #65403

    • Property Keywords has-patch added
    • Property Type defect (bug) → enhancement
    • Property Component General → Toolbar
    • Property Milestone Awaiting Review → 7.1
  • Ticket #65403 – Description

    initial v3  
    1 WP_Admin_Bar->_get_node() returns an `object` or `null` since [[https://core.trac.wordpress.org/changeset/62178/trunk/src/wp-includes/class-wp-admin-bar.php|r62178]]. Now we can use the null coalescing operator and simplify the code.
     1`WP_Admin_Bar->_get_node()` returns an `object` or `null` since [[https://core.trac.wordpress.org/changeset/62178/trunk/src/wp-includes/class-wp-admin-bar.php|r62178]]. Now we can use the null coalescing operator and simplify the code.