WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 2 years ago

#20043 new defect (bug)

WP_User missing magic __unset() method — at Initial Version

Reported by: johnjamesjacoby Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Users Keywords: has-patch
Focuses: Cc:

Description

When the magic methods were put into WP_User in 3.3, unset() was skipped. This has the result of unset( $user_data->$foo ); not actually doing anything.

Patched against r19926.

Change History (1)

@johnjamesjacoby3 years ago

Note: See TracTickets for help on using tickets.