Use superglobals for m and s. Bug 321. Hat tip: christoph.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rboren 2004-09-28 01:22:35 +00:00
parent 877f81d625
commit 71ee7bb747
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ if ( isset( $_GET['m'] ) ) {
</tr>
<?php
$what_to_show = 'posts';
if ( empty($m) && empty($s) ) {
if ( empty($_GET['m']) && empty($_GET['s']) ) {
$showposts = 15;
} else {
$nopaging = true;