powerpress_admin_initfunction is running everywhere. The function is called at
initand there are no checks to see if the current load an admin load.
This is causing multiple CSS/JS files to be loaded in all parts of the site where I don’t believe they are needed. Tell me if I’m wrong.
I would suggest either running the function at
admin_initor adding an
if (is_admin())check at the beginning of the function.
- The topic ‘powerpress_admin_init Issue’ is closed to new replies.