mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
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:
@@ -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>
|
||||
|
||||
@@ -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:'); ?>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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() ) { ?>
|
||||
|
||||
Reference in New Issue
Block a user