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

