[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 13:03:55 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 cdsaenz):
Replying to [comment:17 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 ?!
Thanks @sberney this was it. I just downloaded the current 6.2.6 release
zip and replaced default-filters.php in all my sites, now they're working
fine.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61489#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list