[wp-trac] [WordPress Trac] #40654: Undefined offset: 1 in /wp-admin/includes/dashboard.php on line 1227
WordPress Trac
noreply at wordpress.org
Tue May 9 16:46:33 UTC 2017
#40654: Undefined offset: 1 in /wp-admin/includes/dashboard.php on line 1227
----------------------------+------------------------------
Reporter: FlyerUA | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 4.7.4
Severity: major | Resolution:
Keywords: | Focuses: administration
----------------------------+------------------------------
Comment (by chesio):
I'm getting these notices on several sites too, they started to pop up 2-3
weeks ago already.
Since `$frag` variable is unused as @wfasa noticed, a simple way to stop
getting the notices is to omit `$frag` from list construct:
{{{#!php
list($link, ) = explode( '#', $item->get_link() );
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40654#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list