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:
parent
877f81d625
commit
71ee7bb747
|
@ -121,7 +121,7 @@ if ( isset( $_GET['m'] ) ) {
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
$what_to_show = 'posts';
|
$what_to_show = 'posts';
|
||||||
if ( empty($m) && empty($s) ) {
|
if ( empty($_GET['m']) && empty($_GET['s']) ) {
|
||||||
$showposts = 15;
|
$showposts = 15;
|
||||||
} else {
|
} else {
|
||||||
$nopaging = true;
|
$nopaging = true;
|
||||||
|
|
Loading…
Reference in New Issue