#10283 closed defect (bug) (fixed)
Incorrect check in wp_style_is()
| Reported by: | Denis-de-Bernardy | Owned by: | azaozz |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.8.1 |
| Component: | General | Version: | 2.8 |
| Severity: | major | Keywords: | has-patch dev-feedback |
| Cc: | Focuses: |
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)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
untested patch, but presumably the correct behavior.