Make WordPress Core


Ignore:
Timestamp:
10/12/2023 01:51:19 PM (14 months ago)
Author:
audrasjb
Message:

Editor: Harden the display of footnotes.

Props jorgefilipecosta, peterwilsoncc, costdev, xknown, jorbin, desrosj.
Merges [56839] and [56845] to branch 6.3.

Location:
branches/6.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/6.3

  • branches/6.3/src/wp-includes/default-filters.php

    r56758 r56848  
    617617
    618618/*
     619 * Block specific actions and filters.
     620 */
     621
     622// Footnotes Block.
     623add_action( 'init', '_wp_footnotes_kses_init' );
     624add_action( 'set_current_user', '_wp_footnotes_kses_init' );
     625add_filter( 'force_filtered_html_on_import', '_wp_footnotes_force_filtered_html_on_import_filter', 999 );
     626
     627/*
    619628 * Disable "Post Attributes" for wp_navigation post type. The attributes are
    620629 * also conditionally enabled when a site has custom templates. Block Theme
Note: See TracChangeset for help on using the changeset viewer.