Is wp-app.php or wp-apps.php needed for WordPress?

But if they’re needed by WP I don’t want to compromise site functions. Those are not Core files. It is possible that a plugin has added the files legitimately but the behavior described suggests a hack. Recovering from hacks is off-topic here though, as it usually requires hands-on server access and is often very localized.

How can I show a different theme for admin users? WP 3.8+

You can use the filter stylesheet: <?php add_filter( ‘stylesheet’, ‘wpse149620_stylesheet’ ); function wpse149620_stylesheet( $stylesheet ) { if ( ! is_admin() && current_user_can( ‘administrator’ ) ) { $stylesheet=”admin-theme”; } return $stylesheet; } ?> However, this must be loaded before the first time the “current theme” is requested, which can only be done (without editing core) by … Read more

wp_head is too slow

Well, do_action() is in plugin.php for a reason. It’s intended for use by plugins, just like apply_filters(). This function is not the cause, it is just the middleman. It’s like saying your pizza tastes bad because of the delivery guy – instead of the restaurant itself. This is almost certainly caused by a plugin. I … Read more