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

git-svn-id: https://develop.svn.wordpress.org/trunk@1720 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2004-09-28 01:22:35 +00:00
parent 85be69ad6d
commit bbbd99a6db
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;