WebDevStudios / Chat-Room

WordPress Chat Room plugin
26 stars 19 forks source link

Update chat-room.php #39

Closed raulillana closed 6 years ago

raulillana commented 6 years ago

Fixed conditional $post loader for objects or arrays on enqueue_scripts().

tw2113 commented 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.

raulillana commented 6 years ago

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…

tw2113 commented 6 years ago

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.