[wp-trac] [WordPress Trac] #40458: Cannot retrieve custom site details values

WordPress Trac noreply at wordpress.org
Sat Apr 15 11:16:15 UTC 2017


#40458: Cannot retrieve custom site details values
--------------------------------+------------------------
 Reporter:  ocean90             |       Owner:
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  4.8
Component:  Networks and Sites  |     Version:  4.6
 Severity:  normal              |  Resolution:
 Keywords:  has-patch           |     Focuses:  multisite
--------------------------------+------------------------
Changes (by flixos90):

 * keywords:  2nd-opinion has-patch => has-patch
 * milestone:  Awaiting Review => 4.8


Comment:

 @ocean90 Good point, that should definitely be possible. It actually feels
 more like an enhancement to me, but since it was possible prior, it's
 probably a bug.

 [attachment:40458.patch] looks good, I think we should split the unit test
 into two parts, one for the `__isset()` and one for `__get()` to have one
 assertion per test.

 > Also noticed that the magic setter allows to set any property but there
 is no way to retrieve it by the current getter and isset-er.

 Let's deal with that in a separate ticket, okay?

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


More information about the wp-trac mailing list