Closed philiparthurmoore closed 10 years ago
@michaelarestad Just fixed this. The styles will simply be output via wp_head
. Do you see any potential issues here?
Here's the changeset.
Noting that with this method the following code would be needed to ditch the styling:
if ( class_exists( 'Subtitles' ) && method_exists( 'Subtitles', 'subtitle_styling' ) ) {
remove_action( 'wp_head', array( Subtitles::getInstance(), 'subtitle_styling' ) );
}
Plugin bumped to 2.0.0 in https://github.com/philiparthurmoore/Subtitles/commit/6e3a46d6097b.
See https://twitter.com/michaelarestad/status/503047788176101376 from @michaelarestad. I'll release this fix before September 1st.