session-item: refactor and inherit from WpObject
This adds WP_SESSION_ITEM_FEATURE_ACTIVE and WP_SESSION_ITEM_FEATURE_EXPORTED features, so _activate and _export APIs have been removed. Modules and unit tests have also been updated.
This commit is contained in:
@@ -107,6 +107,10 @@ local Feature = {
|
||||
Metadata = {
|
||||
DATA = (1 << 16),
|
||||
},
|
||||
SessionItem = {
|
||||
ACTIVE = (1 << 0),
|
||||
EXPORTED = (1 << 1),
|
||||
},
|
||||
}
|
||||
|
||||
SANDBOX_EXPORT = {
|
||||
|
Reference in New Issue
Block a user