[wp-trac] [WordPress Trac] #20043: WP_User missing magic __unset() method

WordPress Trac noreply at wordpress.org
Thu Sep 24 00:48:25 UTC 2015


#20043: WP_User missing magic __unset() method
-----------------------------+------------------------
 Reporter:  johnjamesjacoby  |       Owner:  chriscct7
     Type:  enhancement      |      Status:  closed
 Priority:  normal           |   Milestone:  4.4
Component:  Users            |     Version:
 Severity:  normal           |  Resolution:  fixed
 Keywords:  has-patch        |     Focuses:
-----------------------------+------------------------
Changes (by wonderboymusic):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"34466"]:
 {{{
 #!CommitTicketReference repository="" revision="34466"
 Users: in `WP_User::__unset()`, don't reset the deprecated prop `id` to
 `ID`. Still throw the deprecated notice.

 Update unit test.

 Fixes #20043.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/20043#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list