[wp-trac] [WordPress Trac] #61489: 6.1.7 and 6.2.6 Updates Cause Critical Error
WordPress Trac
noreply at wordpress.org
Tue Jun 25 12:38:24 UTC 2024
#61489: 6.1.7 and 6.2.6 Updates Cause Critical Error
-------------------------------+------------------------------
Reporter: mping001 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Upgrade/Install | Version: 6.1
Severity: critical | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Comment (by sberney):
I've just noticed that when commenting on lines 602-603 of the file "/wp-
includes/default-filters.php" :
{{{
// Footnotes Block.
//add_action( 'init', '_wp_footnotes_kses_init' ); //comment to get rid of
error
//add_action( 'set_current_user', '_wp_footnotes_kses_init' ); //comment
to get rid of error
}}}
makes the error disappear
But I don't have any logs of the file that was downloaded during update.
Maybe it's related to the add_action/filter command that didn't load the
file containing the "_wp_footnotes_kses_init" function before calling it
here ?!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61489#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list