[wp-trac] [WordPress Trac] #61489: 6.1.7 and 6.2.6 Updates Cause Critical Error

WordPress Trac noreply at wordpress.org
Wed Jun 26 15:45:17 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 sabernhardt):

 For a possible patch, I could suggest checking that the function exists
 before adding the actions.
 {{{
 if ( function_exists( '_wp_footnotes_kses_init' ) ) {
         add_action( 'init', '_wp_footnotes_kses_init' );
         add_action( 'set_current_user', '_wp_footnotes_kses_init' );
 }
 }}}

 Without knowing how those hooks were added to the `default-filters` file
 in older versions, however, I am not highly confident that any site trying
 to call the function in some way would get //that// update too.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61489#comment:38>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list