Skip to content
This repository has been archived by the owner on Dec 17, 2021. It is now read-only.

Better CSS Handling (Change Enqueue to head) #28

Closed
philiparthurmoore opened this issue Aug 23, 2014 · 4 comments
Closed

Better CSS Handling (Change Enqueue to head) #28

philiparthurmoore opened this issue Aug 23, 2014 · 4 comments

Comments

@philiparthurmoore
Copy link
Member

See https://twitter.com/michaelarestad/status/503047788176101376 from @MichaelArestad. I'll release this fix before September 1st.

@philiparthurmoore
Copy link
Member Author

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

@philiparthurmoore
Copy link
Member Author

Here's the changeset.

philiparthurmoore pushed a commit that referenced this issue Aug 31, 2014
@philiparthurmoore
Copy link
Member Author

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' ) );
    }

@philiparthurmoore
Copy link
Member Author

Plugin bumped to 2.0.0 in 6e3a46d6097b.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant