Make WordPress Core

Ticket #55530: 55530.3.diff

File 55530.3.diff, 524 bytes (added by andrija, 2 years ago)

This diff only changes the default value of use_desc_for_title to false (0)

  • src/wp-includes/category-template.php

    diff --git a/src/wp-includes/category-template.php b/src/wp-includes/category-template.php
    index 38c52a79a9..553c2fc7b8 100644
    a b function wp_list_categories( $args = '' ) { 
    545545                'style'               => 'list',
    546546                'taxonomy'            => 'category',
    547547                'title_li'            => __( 'Categories' ),
    548                 'use_desc_for_title'  => 1,
     548                'use_desc_for_title'  => 0,
    549549        );
    550550
    551551        $parsed_args = wp_parse_args( $args, $defaults );