WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 4 years ago

#8681 closed defect (bug) (invalid)

Can't post or edit. Error msg: Call to undefined function enqueue_comment_hotkeys_js()

Reported by: sillybean Owned by: anonymous
Priority: normal Milestone:
Component: Administration Version:
Severity: normal Keywords: reporter-feedback
Cc:

Description

The above error message appears when the user tries to write a new post or edit an existing one. Commenting out the offending function resolves the problem:

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

Relevant support thread

Change History (2)

comment:1 mrmist5 years ago

  • Keywords reporter-feedback added
  • Severity changed from blocker to normal

Not seeing this in a number of test sites.

Is this with any particular browser?

Is the user profile setting "Enable keyboard shortcuts for comment moderation." on or off?

comment:2 filosofo4 years ago

  • Resolution set to invalid
  • Status changed from new to closed
  • Version 2.7 deleted

The function is defined in wp-admin/includes/comment.php and included in every admin page, so this is probably a mis-uploaded or corrupted file.

Note: See TracTickets for help on using tickets.