Make WordPress Core

Opened 4 years ago

Last modified 2 months ago

#20043 closed enhancement

WP_User missing magic __unset() method — at Version 1

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

Description (last modified by johnjamesjacoby)

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 (2)

#1 @johnjamesjacoby
4 years ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.