Make WordPress Core


Ignore:
Timestamp:
06/20/2020 07:22:31 AM (4 years ago)
Author:
johnbillion
Message:

Docs: Fix some documentation errors in bundled themes.

See #49572.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyseventeen/inc/icon-functions.php

    r48027 r48101  
    121121 * @param  WP_Post $item        Menu item object.
    122122 * @param  int     $depth       Depth of the menu.
    123  * @param  array   $args        wp_nav_menu() arguments.
    124  * @return string  $item_output The menu item output with social icon.
     123 * @param  object  $args        wp_nav_menu() arguments.
     124 * @return string The menu item output with social icon.
    125125 */
    126126function twentyseventeen_nav_menu_social_icons( $item_output, $item, $depth, $args ) {
     
    146146 * @param  string  $title The menu item's title.
    147147 * @param  WP_Post $item  The current menu item.
    148  * @param  array   $args  An array of wp_nav_menu() arguments.
     148 * @param  object  $args  An array of wp_nav_menu() arguments.
    149149 * @param  int     $depth Depth of menu item. Used for padding.
    150  * @return string  $title The menu item's title with dropdown icon.
     150 * @return string The menu item's title with dropdown icon.
    151151 */
    152152function twentyseventeen_dropdown_icon_to_menu_link( $title, $item, $args, $depth ) {
     
    166166 * Returns an array of supported social links (URL and icon name).
    167167 *
    168  * @return array $social_links_icons
     168 * @return array Array of social links icons.
    169169 */
    170170function twentyseventeen_social_links_icons() {
Note: See TracChangeset for help on using the changeset viewer.