[wp-trac] Re: [WordPress Trac] #7976: Old Slug Redirect with Custom Structure

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 28 01:01:39 GMT 2008


#7976: Old Slug Redirect with Custom Structure
-----------------------------+----------------------------------------------
 Reporter:  ShaneF           |        Owner:  anonymous
     Type:  defect           |       Status:  new      
 Priority:  highest omg bbq  |    Milestone:  2.7      
Component:  General          |      Version:  2.7      
 Severity:  blocker          |   Resolution:           
 Keywords:                   |  
-----------------------------+----------------------------------------------
Comment (by DD32):

 {{{
     [posts] => Array
         (
             [0] => stdClass Object
                 (
                     [comment_status] => closed
                     [ping_status] => closed
                 )

         )
 }}}

 To me, It looks like the close comments on old posts is kicking in and
 breaking it, ShaneF confirmed on IRC that disabling that functionality
 allowed it to work.

 > attachment 7976.diff added.
  * Returns early if $posts is empty
  * Untested locally; ShaneF, feel like testing for me?

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


More information about the wp-trac mailing list