WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/04/2012 11:03:46 PM (10 years ago)
Author:
ryan
Message:

Clear strict notices for the walkers. fixes #19249

File:
1 edited

Legend:

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

    r19273 r19679  
    798798     * @param array $args Will only append content if style argument value is 'list'.
    799799     */
    800     function start_lvl(&$output, $depth, $args) {
     800    function start_lvl( &$output, $depth = 0, $args = array() ) {
    801801        if ( 'list' != $args['style'] )
    802802            return;
     
    814814     * @param array $args Will only append content if style argument value is 'list'.
    815815     */
    816     function end_lvl(&$output, $depth, $args) {
     816    function end_lvl( &$output, $depth = 0, $args = array() ) {
    817817        if ( 'list' != $args['style'] )
    818818            return;
     
    831831     * @param array $args
    832832     */
    833     function start_el(&$output, $category, $depth, $args) {
     833    function start_el( &$output, $category, $depth = 0, $args = array(), $id = 0 ) {
    834834        extract($args);
    835835
     
    906906     * @param array $args Only uses 'list' for whether should append to output.
    907907     */
    908     function end_el(&$output, $page, $depth, $args) {
     908    function end_el( &$output, $page, $depth = 0, $args = array() ) {
    909909        if ( 'list' != $args['style'] )
    910910            return;
     
    947947     * @param array $args Uses 'selected', 'show_count', and 'show_last_update' keys, if they exist.
    948948     */
    949     function start_el(&$output, $category, $depth, $args) {
     949    function start_el( &$output, $category, $depth, $args, $id = 0 ) {
    950950        $pad = str_repeat(' ', $depth * 3);
    951951
Note: See TracChangeset for help on using the changeset viewer.