Closed raulillana closed 6 years ago
What issue, by chance, is this supposed to fix? 99.999999% of the time people shouldn't be messing with that global object, which should always be an object. Also the way this is done, it's never going to reach the enqueuing of the resources.
Well i got an error message on installing the plugin, and this fixed the issue with custom post types. I decided to not use the plugin because it messes the website. So don't worry…
Sorry to hear it messed up your site a bit. no worries on moving away from it. We aren't in active development for it at the moment.
Fixed conditional $post loader for objects or arrays on enqueue_scripts().