[wp-trac] Re: [WordPress Trac] #6110: Custom permalinks created from plugin hooking in to WP redirects don't work.

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 7 06:10:10 GMT 2008


#6110: Custom permalinks created from plugin hooking in to WP redirects don't
work.
---------------------+------------------------------------------------------
 Reporter:  nerrad   |        Owner:  anonymous
     Type:  defect   |       Status:  new      
 Priority:  high     |    Milestone:  2.5      
Component:  General  |      Version:  2.5      
 Severity:  major    |   Resolution:           
 Keywords:           |  
---------------------+------------------------------------------------------
Comment (by DD32):

 Hm......... I cant reproduce the problem your having:

 http://dd32.no-ip.com:8080/wordpress/series/test-series/

 using the plugin from here: http://www.unfoldingneurons.com/2008/organize-
 series-20-beta-1-release

 I'm using the Permalink structure: /%year%/%monthnum%/%day%/%postname%/ I
 can see if using something like /%category%/%postname%/ could cause a 404
 maybe..

 Feel free to contact me off list @ wordpress at dd32.id.au if you want me to
 try more things, or to know more about my environment.. BTW, I had to make
 a change to part of the code to suppress some errors:
 {{{
 series-taxonomy.php
 Line 36:
 From: if (array_key_exists('object_id', $spost)) {
 To: if ( is_array($spost) && array_key_exists('object_id', $spost)) {
 }}}
 $spost was an Integer, which was throwing a Warning(If errors are turned
 on) Change it to:
 {{{
 if ( (is_array($spost) || is_object($spost) ) &&
 array_key_exists('object_id', $spost)) {
 }}}
 if you accept an object there too..

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6110#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list