[wp-trac] [WordPress Trac] #57580: Avoid errors from null parameters in add_submenu_page()

WordPress Trac noreply at wordpress.org
Tue Jan 30 20:57:47 UTC 2024


#57580: Avoid errors from null parameters in add_submenu_page()
-----------------------------+-----------------------------
 Reporter:  ipajen           |       Owner:  (none)
     Type:  enhancement      |      Status:  reopened
 Priority:  normal           |   Milestone:  6.5
Component:  General          |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  PHP81 has-patch  |     Focuses:  administration
-----------------------------+-----------------------------
Changes (by sabernhardt):

 * keywords:  PHP81 has-patch changes-requested => PHP81 has-patch


Comment:

 I edited the `return` docblock and added an inline comment. Improvements
 are welcome.

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


More information about the wp-trac mailing list