cedaro / better-internal-link-search

A WordPress plugin to improve the internal link popup functionality with time saving enhancements and features.
https://wordpress.org/plugins/better-internal-link-search/
14 stars 5 forks source link

Make sure that BILS scripts are loaded when needed. #12

Closed jdevalk closed 8 years ago

jdevalk commented 8 years ago

By hooking the load event to when the editor is loaded (by hooking into wp_enqueue_editor) we can be sure that BILS scripts are loaded whenever you'd want to have it. This makes them load on taxonomy edit pages too when using Yoast SEO, for instance.

bradyvercher commented 8 years ago

Thanks @jdevalk! I tweaked the names for the methods since it looks like everything gets printed in the footer now.

Let me know if you run into any issues and I'll try to get a new release out soon.