[wp-trac] [WordPress Trac] #10616: post queries are not working with custom permalinks
WordPress Trac
wp-trac at lists.automattic.com
Sat Aug 15 04:25:25 UTC 2009
#10616: post queries are not working with custom permalinks
--------------------------+-------------------------------------------------
Reporter: frumph | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: Unassigned
Component: Template | Version: 2.8.4
Severity: major | Keywords:
--------------------------+-------------------------------------------------
Comment(by dd32):
Sorry i missed the attachments you added.
Doesnt changing it from
{{{
<?php
if (isset($_GET['archive_year'])) {
$archive_year = (int)$_GET['archive_year'];
}}}
to
{{{
<?php
global $archive_year;
if (isset($_GET['archive_year'])) {
$archive_year = (int)$_GET['archive_year'];
}}}
help?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10616#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list