Skip to:

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#2029 closed defect (fixed)

TinyMCE causes multiple topic and reply revision notices

Reported by: johnjamesjacoby Owned by:
Milestone: 2.2 Priority: highest
Severity: major Version: 2.1
Component: General Keywords:


When editing a topic or reply, with the fancy editor on, it appears it's generating a revision for both the moment you clicked edit, and the save attempt.

Change History (3)

#1 @johnjamesjacoby
9 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [4426]) Revisions:

  • Since we do our own revision handling, turn off revisions for the initial call to wp_update_post() in topics and replies.
  • We check if the post type supports revisions, and toggle them off and back on to avoid duplicate revisions from specifically saving it later in the edit process.
  • Fixes #2029.

#2 @johnjamesjacoby
9 years ago

(In [4427]) Revisions:

  • Use correct post type in replies.
  • See #2029.

#3 @johnjamesjacoby
9 years ago

(In [4428]) Revisions:

  • In bbp_get_reply_revision_log(), check the post type, and maybe return bbp_get_topic_revision_log() if post is a topic in the replies loop.
  • This happens when bbp_show_lead_topic() is set to false, which is the default.
  • See #2029.
Note: See TracTickets for help on using tickets.