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

git-svn-id: https://develop.svn.wordpress.org/trunk@12657 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood
2010-01-08 08:34:39 +00:00
parent 6422cc2d63
commit 2a93c55f43
10 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -17,7 +17,7 @@
</style>
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_get_archives('type=monthly&format=link'); ?>
<?php wp_get_archives(array('type' => 'monthly', 'format' => 'link')); ?>
<?php //comments_popup_script(); // off by default ?>
<?php wp_head(); ?>
</head>
+1 -1
View File
@@ -24,7 +24,7 @@
</li>
<li id="archives"><?php _e('Archives:'); ?>
<ul>
<?php wp_get_archives('type=monthly'); ?>
<?php wp_get_archives(array('type' => 'monthly')); ?>
</ul>
</li>
<li id="meta"><?php _e('Meta:'); ?>
+1 -1
View File
@@ -16,7 +16,7 @@ Template Name: Archives
<h2>Archives by Month:</h2>
<ul>
<?php wp_get_archives('type=monthly'); ?>
<?php wp_get_archives(array('type' => 'monthly')); ?>
</ul>
<h2>Archives by Subject:</h2>
+2 -2
View File
@@ -55,11 +55,11 @@
<li><h2>Archives</h2>
<ul>
<?php wp_get_archives('type=monthly'); ?>
<?php wp_get_archives(array('type' => 'monthly')); ?>
</ul>
</li>
<?php wp_list_categories('show_count=1&title_li=<h2>Categories</h2>'); ?>
<?php wp_list_categories(array('show_count' => 1, 'title_li' => '<h2>Categories</h2>')); ?>
</ul>
<ul>
<?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>