[wp-trac] [WordPress Trac] #11903: insert_with_markers is not threadsafe

WordPress Trac wp-trac at lists.automattic.com
Sun Jan 17 14:35:11 UTC 2010


#11903: insert_with_markers is not threadsafe
--------------------------+-------------------------------------------------
 Reporter:  strings28     |       Owner:  ryan             
     Type:  defect (bug)  |      Status:  new              
 Priority:  normal        |   Milestone:  3.0              
Component:  Permalinks    |     Version:  2.9              
 Severity:  major         |    Keywords:  reporter-feedback
--------------------------+-------------------------------------------------

Comment(by Denis-de-Bernardy):

 you could temporarily add a backtrace in the insert_with_markers()
 function.

 {{{
 $log = get_option('rewrite_used_log', array());
 $log[] = debug_backtrace();
 update_option('rewrite_used_log', $log);
 }}}

 and then in wp-config.php, after WP is loaded:

 {{{
 if ( isset($_GET['test']) && current_user_can('manage_options') ) {
 header('Content-Type: text/plain; Charset: UTF-8');
 var_dump(get_option('rewrite_used_log'));
 die;
 }
 }}}

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


More information about the wp-trac mailing list