Opened 10 years ago
Closed 10 years ago
#30863 closed enhancement (wontfix)
Twenty Twelve: Support wp_style_add_data & wp_script_add_data
Reported by: | valendesigns | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.1 |
Component: | Bundled Theme | Keywords: | has-patch |
Focuses: | template | Cc: |
Description
This ticket is directly related to #16024 where support for adding conditional comments around enqueued JS is being worked on. When that has been committed, this should follow.
Attachments (2)
Change History (6)
#2
@
10 years ago
- Keywords close added
That means we have to add back compat functionality or prevent activation on installs prior to 4.x. I vote for a wontfix.
#4
@
10 years ago
- Keywords close 2nd-opinion removed
- Milestone 4.2 deleted
- Resolution set to wontfix
- Status changed from new to closed
I'm with ocean90. Apart from this being a backwards compatibility breaking change, historically we've been very conservative in porting back enhancements with default themes, for good reason. This is also why Twenty Twelve doesn't use wp_style_add_data()
or registers HTML5 support, for example.
Let's keep it in mind for Twenty Sixteen.
Note: See
TracTickets for help on using
tickets.
Forgot to remove the
$wp_styles
global now that it's no longer being used.