[wp-trac] [WordPress Trac] #10616: post queries are not working with custom permalinks

WordPress Trac wp-trac at lists.automattic.com
Sat Aug 15 14:06:01 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 filosofo):

 Replying to [comment:14 frumph]:
 > Tested it in page.php by itself and not being a template.  Same thing,
 anything in the request_uri line disappears and can't be found, so _GET /
 _REQUEST will not find anything when permalinks are enabled, however works
 when disabled.

 Can you do the following?
  * Create a test page.
  * Create a page template named something like {{{page-test.php}}} that
 has the following content:
 {{{
 <?php
 /*
 Template Name: Test Template
 */
 echo '$_GET:';
 var_dump($_GET);

 echo '$_POST:';
 var_dump($_POST);

 echo '$_REQUEST:';
 var_dump($_REQUEST);
 }}}

  * Assign the {{{page-test.php}}} template to the page and post the link
 here.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10616#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list