WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/08/2010 08:34:39 AM (10 years ago)
Author:
westi
Message:

Switch to passing arrays instead of query strings to functions. Fixes #6647 props filosofo and hakre.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/default/sidebar.php

    r11791 r12657  
    5656            <li><h2>Archives</h2>
    5757                <ul>
    58                 <?php wp_get_archives('type=monthly'); ?>
     58                <?php wp_get_archives(array('type' => 'monthly')); ?>
    5959                </ul>
    6060            </li>
    6161
    62             <?php wp_list_categories('show_count=1&title_li=<h2>Categories</h2>'); ?>
     62            <?php wp_list_categories(array('show_count' => 1, 'title_li' => '<h2>Categories</h2>')); ?>
    6363        </ul>
    6464        <ul>
Note: See TracChangeset for help on using the changeset viewer.