Title: admin-ajax.php
Last modified: June 3, 2022

---

# admin-ajax.php

 *  [liltrucks](https://wordpress.org/support/users/liltrucks/)
 * (@liltrucks)
 * [4 years ago](https://wordpress.org/support/topic/admin-ajax-php-15/)
 * When I changed the ajax php filename as recommended, I began getting an error:
   “
   missing Heartbeat dependency” (wp-auth-check in wp-includes/js/wp-auth-check.
   min.js)
 * What depends upon Heartbeat?
    How to fix this?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [liltrucks](https://wordpress.org/support/users/liltrucks/)
 * (@liltrucks)
 * [4 years ago](https://wordpress.org/support/topic/admin-ajax-php-15/#post-15706473)
 * [Click to see screenshot of report from QueryMonitor plugin](https://liltrucks.com/wp-content/uploads/2022/06/query-mon_heartbeat-ajax.jpg).
 *  Plugin Author [John Darrel](https://wordpress.org/support/users/johndarrel/)
 * (@johndarrel)
 * [4 years ago](https://wordpress.org/support/topic/admin-ajax-php-15/#post-15708782)
 * Hi [@liltrucks](https://wordpress.org/support/users/liltrucks/),
 * Once you changed the wp-include path, the ajax for wp-auth-check should be called
   for the change path. Unless you have a theme who doesn’t use the WordPress function
   to call the WP paths.
 * In this case, you need to uncheck the JS files from the option Hide My WP > Change
   Paths > WP Core Security > Hide WordPress Common Paths
 * [https://hidemywpghost.com/kb/customize-paths-in-hide-my-wp-ghost/#hide_common_paths](https://hidemywpghost.com/kb/customize-paths-in-hide-my-wp-ghost/#hide_common_paths)
 * If you don’t use a cache plugin, you can install one like Autoptimize and use
   the option from HMWP Ghost to change the paths in the cache files.
 * [https://hidemywpghost.com/kb/activate-security-tweaks/#change_paths_cached_files](https://hidemywpghost.com/kb/activate-security-tweaks/#change_paths_cached_files)
 * Best, John

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘admin-ajax.php’ is closed to new replies.

 * ![](https://ps.w.org/hide-my-wp/assets/icon-256x256.png?rev=3217792)
 * [WP Ghost (Hide My WP Ghost) - Security & Firewall](https://wordpress.org/plugins/hide-my-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hide-my-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hide-my-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/hide-my-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hide-my-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hide-my-wp/reviews/)

## Tags

 * [ajax](https://wordpress.org/support/topic-tag/ajax/)
 * [heartbeat](https://wordpress.org/support/topic-tag/heartbeat/)

 * 2 replies
 * 2 participants
 * Last reply from: [John Darrel](https://wordpress.org/support/users/johndarrel/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/admin-ajax-php-15/#post-15708782)
 * Status: not resolved