Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Enabling wp-less parsing in Admin Area #68

Merged
merged 1 commit into from
Oct 8, 2014

Conversation

meitzner-hannes
Copy link
Collaborator

"wp_enqueue_scripts" never get triggered in the admin area, we have to use "admin_enqueue_scripts"

"wp_enqueue_scripts" never get triggered in the admin area, we have to use "admin_enqueue_scripts"
@meitzner-hannes
Copy link
Collaborator Author

I hope this is all that has to be done, I have not tested trough caching an all further mechanisms.

@thom4parisot
Copy link
Owner

Hello,

Have you actually tried to enqueue a LESS stylesheet in the admin?

Just to clear out the 'not tested' part.

@meitzner-hannes
Copy link
Collaborator Author

Yes of cause. That works very well. But needed 4h of debugging only to find out that only the "admin_enqueue_scripts" filter was missing. -.-

thom4parisot pushed a commit that referenced this pull request Oct 8, 2014
Enabling wp-less parsing in Admin Area
@thom4parisot thom4parisot merged commit d218e06 into thom4parisot:master Oct 8, 2014
@thom4parisot
Copy link
Owner

OK great :-) Thank you!

@thom4parisot thom4parisot mentioned this pull request Oct 8, 2014
@dantman dantman mentioned this pull request Oct 8, 2014
SunnyRed pushed a commit to SunnyRed/wp-less that referenced this pull request Nov 28, 2014
thom4parisot pushed a commit that referenced this pull request Dec 8, 2014
cont. #68: Enabling wp-less parsing in Login Area
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants