#10283 closed defect (bug) (fixed)
Incorrect check in wp_style_is()
Reported by: | Denis-de-Bernardy | Owned by: | azaozz |
---|---|---|---|
Milestone: | 2.8.1 | Priority: | normal |
Severity: | major | Version: | 2.8 |
Component: | General | Keywords: | has-patch dev-feedback |
Focuses: | Cc: |
Description
As reported in #10264. Shouldn't this be:
if ( !is_a($wp_styles, 'WP_Styles') ) $wp_styles = new WP_Styles();
Attachments (1)
Change History (5)
#1
@
15 years ago
- Keywords has-patch dev-feedback added
- Owner set to azaozz
- Severity changed from normal to major
- Status changed from new to assigned
#2
@
15 years ago
Yes, looks like a typo but since that function is not used anywhere else, it took long time to find.
Note: See
TracTickets for help on using
tickets.
untested patch, but presumably the correct behavior.