WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #18598, comment 4


Ignore:
Timestamp:
09/06/11 01:00:27 (4 years ago)
Author:
Viper007Bond
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18598, comment 4

    initial v1  
    11Replying to [comment:3 SergeyBiryukov]: 
     2> Looks like `$sidebars_widgets` needs to be declared as global in `wp_get_sidebars_widgets()`. Otherwise `retrieve_widgets()`, being called from there, sees `$sidebars_widgets` as undefined, and calls `wp_get_sidebars_widgets()` again and again. 
     3 
     4 
     5Aha, so I was right! (That was my guess in #wordpress-dev) 
     6 
    27> The patch also fixes the notice when `$sidebars_widgets['wp_inactive_widgets']` is not defined. 
    38 
    4 Perfect. I caught that too but didn't want to open a ticket for this edge case. Two birds, one stone. 
     9 
     10Excellent. I caught that too but didn't want to open a ticket for this edge case. Two birds, one stone. 
    511 
    612+1 to patch.