WordPress.org

Support

Support » How-To and Troubleshooting » Unable to edit post: Call to undefined function enqueue_comment_hotkeys_js()

Unable to edit post: Call to undefined function enqueue_comment_hotkeys_js()

  • I just upgraded to 2.7 and right off the bat i’ve noticed that i can no longer edit my post.

    I get an error page with the following:

    Call to undefined function enqueue_comment_hotkeys_js() in /webdirectory/wp-admin/post.php on line 148

    The problem also appears when i visit the edit-comments.php

    i can however edit pages.

Viewing 5 replies - 1 through 5 (of 5 total)
  • I just encountered that error in one of my clients’ sites. Since it prevented her from posting, I hacked the core files to comment out the offending function… hopefully the next WP update will take care of the problem.

    Here’s where I found it:

    /wp-admin/edit-comments.php line 13
    /wp-admin/edit-pages.php line 100
    /wp-admin/post.php line 148

    According to this changeset, it should be in several more places, but I couldn’t find it there. Maybe there was a later changeset that removed it again and I’m just not seeing it.

    Bug reported.

    It looks like you’re missing the wp-admin/includes/comment.php file or it was corrupted. Try uploading it again.

    Did so already from a fresh package, filosofo. Still getting the errors. 🙁

    … tried it yet again with another fresh download and it’s finally working properly. Why that took four tries on two different machines, I do not know.

    I reinstalled too and it works now.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Unable to edit post: Call to undefined function enqueue_comment_hotkeys_js()’ is closed to new replies.