[wp-trac] [WordPress Trac] #13517: Undefined variable $recurse_start when creating a new menu

WordPress Trac wp-trac at lists.automattic.com
Tue May 25 00:06:56 UTC 2010


#13517: Undefined variable $recurse_start when creating a new menu
--------------------------+-------------------------------------------------
 Reporter:  ocean90       |       Owner:  wpmuguru
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  3.0     
Component:  Multisite     |     Version:  3.0     
 Severity:  normal        |    Keywords:  menu    
--------------------------+-------------------------------------------------

Comment(by wpmuguru):

 I'm having a look at this now.

 Replying to [comment:2 nacin]:
 > I'm not really sure what's going on with the logic there at all. What
 happens when $global_terms_recurse is greater than 10?
 >
 > Also, we can make that a static variable instead of a global variable.

 The 10 is a limit to prevent a race condition. If it hits 10 conflicts
 between local terms and global terms, it stops trying to sync.

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


More information about the wp-trac mailing list