Update filter calls to "_wp_post_revisionfield$field" to add the third and fourth parameter. WP 6.3 added a new filter via a
new footnotes block (https://core.trac.wordpress.org/changeset/56298) that requires the third parameter (the WP_POST object), which breaks the apply_filters() call in BP Docs. This change adds the third (the WP_POST object) and fourth (the context of whether the current revision is the old or the new one) parameter. In our setup, the left revision is always the older version, and the right revision is the newer save.
Update filter calls to "_wp_post_revisionfield$field" to add the third and fourth parameter. WP 6.3 added a new filter via a new footnotes block (https://core.trac.wordpress.org/changeset/56298) that requires the third parameter (the
WP_POST
object), which breaks theapply_filters()
call in BP Docs. This change adds the third (theWP_POST
object) and fourth (the context of whether the current revision is the old or the new one) parameter. In our setup, the left revision is always the older version, and the right revision is the newer save.This new problem was reported here: https://wordpress.org/support/topic/bug-revision-comparison-causes-fatal-error-since-wordpress-6-3/