Make WordPress Core


Ignore:
Timestamp:
07/07/2020 05:04:05 PM (6 years ago)
Author:
afercia
Message:

Docs: Reference the documentation of the new navigation_widgets_format filter instead of repeating it.

Follow-up to [48349].

Props johnbillion.
Fixes #48170.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/widgets/class-wp-widget-archives.php

    r48349 r48388  
    126126                        $format = current_theme_supports( 'html5', 'navigation-widgets' ) ? 'html5' : 'xhtml';
    127127
    128                         /**
    129                          * Filters the HTML format of widgets with navigation links.
    130                          *
    131                          * @since 5.5.0
    132                          *
    133                          * @param string $format The type of markup to use in widgets with navigation links.
    134                          *                       Accepts 'html5', 'xhtml'.
    135                          */
     128                        /** This filter is documented in wp-includes/widgets/class-wp-nav-menu-widget.php */
    136129                        $format = apply_filters( 'navigation_widgets_format', $format );
    137130
Note: See TracChangeset for help on using the changeset viewer.