Make WordPress Core

Changeset 28438


Ignore:
Timestamp:
05/15/2014 07:13:45 PM (10 years ago)
Author:
wonderboymusic
Message:

In Walker_Category::start_el(), $title might not be set when $args are passed multiple levels into walk_category_tree().

See #22400.

Location:
trunk
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/category-template.php

    r28436 r28438  
    10021002                $alt = ' alt="' . $args['feed'] . '"';
    10031003                $name = $args['feed'];
    1004                 $link .= $args['title'];
     1004                $link .= empty( $args['title'] ) ? '' : $args['title'];
    10051005            }
    10061006
Note: See TracChangeset for help on using the changeset viewer.