[wp-trac] [WordPress Trac] #13638: Do not show a 404 title on wp-activate.php

WordPress Trac wp-trac at lists.automattic.com
Sun May 30 21:32:08 UTC 2010


#13638: Do not show a 404 title on wp-activate.php
--------------------------+-------------------------------------------------
 Reporter:  ocean90       |       Owner:  wpmuguru             
     Type:  defect (bug)  |      Status:  accepted             
 Priority:  low           |   Milestone:  3.0                  
Component:  Multisite     |     Version:  3.0                  
 Severity:  normal        |    Keywords:  has-patch 2nd-opinion
--------------------------+-------------------------------------------------
Changes (by westi):

 * cc: westi (added)
  * keywords:  has-patch => has-patch 2nd-opinion


Comment:

 A better fix for this would be to add some rewrite rules to the internal
 rewriter so that it matches for the request.

 I just tested with the following hacked in in the right place and the
 direct setting of  {{{$wp_query}}} attributes removed.

 {{{
 $robots_rewrite['.*wp-signup.php$'] = $this->index . '?signup=true';
 $robots_rewrite['.*wp-activate.php$'] = $this->index . '?activate=true';
 }}}

 That kind of thing does the trick.

 We need to decide how we want them to rewrite though.

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


More information about the wp-trac mailing list