[wp-trac] [WordPress Trac] #48599: Warning: count(): Parameter must be an array or an object that implements Countable in ../wp-admin/includes/plugin.php on line 1392
WordPress Trac
noreply at wordpress.org
Mon Dec 9 21:01:25 UTC 2019
#48599: Warning: count(): Parameter must be an array or an object that implements
Countable in ../wp-admin/includes/plugin.php on line 1392
---------------------------------------------+-----------------------------
Reporter: ispreview | Owner:
| adamsilverstein
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.3.1
Component: Menus | Version: 5.3
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses: ui
---------------------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"46868" 46868]:
{{{
#!CommitTicketReference repository="" revision="46868"
Menus: Avoid a PHP warning in `add_submenu_page()` when the same value is
passed for both `$parent_slug` and `$menu_slug` parameters.
Props welcher, ispreview, ayeshrajans, NextScripts, adamsilverstein,
garrett-eclipse, 123host.
Fixes #48599.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48599#comment:29>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list