WordPress.org

Make WordPress Core

Changeset 48388


Ignore:
Timestamp:
07/07/2020 05:04:05 PM (3 months 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.

Location:
trunk/src/wp-includes/widgets
Files:
7 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
  • trunk/src/wp-includes/widgets/class-wp-widget-categories.php

    r48349 r48388  
    113113            $format = current_theme_supports( 'html5', 'navigation-widgets' ) ? 'html5' : 'xhtml';
    114114
    115             /**
    116              * Filters the HTML format of widgets with navigation links.
    117              *
    118              * @since 5.5.0
    119              *
    120              * @param string $format The type of markup to use in widgets with navigation links.
    121              *                       Accepts 'html5', 'xhtml'.
    122              */
     115            /** This filter is documented in wp-includes/widgets/class-wp-nav-menu-widget.php */
    123116            $format = apply_filters( 'navigation_widgets_format', $format );
    124117
  • trunk/src/wp-includes/widgets/class-wp-widget-meta.php

    r48349 r48388  
    5757        $format = current_theme_supports( 'html5', 'navigation-widgets' ) ? 'html5' : 'xhtml';
    5858
    59         /**
    60          * Filters the HTML format of widgets with navigation links.
    61          *
    62          * @since 5.5.0
    63          *
    64          * @param string $format The type of markup to use in widgets with navigation links.
    65          *                       Accepts 'html5', 'xhtml'.
    66          */
     59        /** This filter is documented in wp-includes/widgets/class-wp-nav-menu-widget.php */
    6760        $format = apply_filters( 'navigation_widgets_format', $format );
    6861
  • trunk/src/wp-includes/widgets/class-wp-widget-pages.php

    r48349 r48388  
    9494            $format = current_theme_supports( 'html5', 'navigation-widgets' ) ? 'html5' : 'xhtml';
    9595
    96             /**
    97              * Filters the HTML format of widgets with navigation links.
    98              *
    99              * @since 5.5.0
    100              *
    101              * @param string $format The type of markup to use in widgets with navigation links.
    102              *                       Accepts 'html5', 'xhtml'.
    103              */
     96            /** This filter is documented in wp-includes/widgets/class-wp-nav-menu-widget.php */
    10497            $format = apply_filters( 'navigation_widgets_format', $format );
    10598
  • trunk/src/wp-includes/widgets/class-wp-widget-recent-comments.php

    r48349 r48388  
    127127        $format = current_theme_supports( 'html5', 'navigation-widgets' ) ? 'html5' : 'xhtml';
    128128
    129         /**
    130          * Filters the HTML format of widgets with navigation links.
    131          *
    132          * @since 5.5.0
    133          *
    134          * @param string $format The type of markup to use in widgets with navigation links.
    135          *                       Accepts 'html5', 'xhtml'.
    136          */
     129        /** This filter is documented in wp-includes/widgets/class-wp-nav-menu-widget.php */
    137130        $format = apply_filters( 'navigation_widgets_format', $format );
    138131
  • trunk/src/wp-includes/widgets/class-wp-widget-recent-posts.php

    r48349 r48388  
    9696        $format = current_theme_supports( 'html5', 'navigation-widgets' ) ? 'html5' : 'xhtml';
    9797
    98         /**
    99          * Filters the HTML format of widgets with navigation links.
    100          *
    101          * @since 5.5.0
    102          *
    103          * @param string $format The type of markup to use in widgets with navigation links.
    104          *                       Accepts 'html5', 'xhtml'.
    105          */
     98        /** This filter is documented in wp-includes/widgets/class-wp-nav-menu-widget.php */
    10699        $format = apply_filters( 'navigation_widgets_format', $format );
    107100
  • trunk/src/wp-includes/widgets/class-wp-widget-rss.php

    r48349 r48388  
    9898        $format = current_theme_supports( 'html5', 'navigation-widgets' ) ? 'html5' : 'xhtml';
    9999
    100         /**
    101          * Filters the HTML format of widgets with navigation links.
    102          *
    103          * @since 5.5.0
    104          *
    105          * @param string $format The type of markup to use in widgets with navigation links.
    106          *                       Accepts 'html5', 'xhtml'.
    107          */
     100        /** This filter is documented in wp-includes/widgets/class-wp-nav-menu-widget.php */
    108101        $format = apply_filters( 'navigation_widgets_format', $format );
    109102
Note: See TracChangeset for help on using the changeset viewer.