[wp-trac] [WordPress Trac] #28810: is_active_widget() should skip orphaned widgets
WordPress Trac
noreply at wordpress.org
Thu Jul 10 15:30:21 UTC 2014
#28810: is_active_widget() should skip orphaned widgets
--------------------------+------------------------------
Reporter: Ninos Ego | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Widgets | Version: 2.8
Severity: major | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------------------
Changes (by westonruter):
* version: trunk => 2.8
Comment:
Yeah, this makes sense. Minor points: we should use triple-equals, and
`substr` as used elsewhere to check for `orphaned_widgets`:
{{{
( 'wp_inactive_widgets' === $sidebar || 'orphaned_widgets' === substr(
$sidebar, 0, 16 ) )
}}}
Why was the severity changed to major?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28810#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list