Skip to content
Snippets Groups Projects
  1. May 14, 2020
  2. May 13, 2020
  3. May 12, 2020
  4. May 11, 2020
  5. May 08, 2020
    • George Kiagiadakis's avatar
      session-item: remove the ACTIVATING/EXPORTING flag before the callback · 55f56fec
      George Kiagiadakis authored
      It is a valid use case to do things like call wp_session_item_export()
      from within the async ready callback of _activate(), and it's not
      possible unless the ACTIVATING flag has been cleared first.
      
      To do this, use a GCClosure to wrap the callback and install marshal
      guards, which are called before and after the callback, to modify
      the flags.
      55f56fec
Loading