wecobble/Subtitles

Better CSS Handling (Change Enqueue to head)

philiparthurmoore opened this issue · 4 comments

@MichaelArestad Just fixed this. The styles will simply be output via wp_head. Do you see any potential issues here?

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 6e3a46d6097b.