[wp-trac] [WordPress Trac] #33330: Undefined property: stdClass::$slug

WordPress Trac noreply at wordpress.org
Sat Jul 9 22:05:11 UTC 2016


#33330: Undefined property: stdClass::$slug
--------------------------+-----------------------------
 Reporter:  mattfiocca    |       Owner:
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  Future Release
Component:  Plugins       |     Version:  4.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------

Comment (by jrf):

 I am wondering whether it wouldn't be better to replace the
 `trigger_error()` call in the patch with a `_doing_it_wrong()` call.
 I realize that `_doing_it_wrong()` is more specifically intended for
 function calls, all the same, this issue very much feels like a
 `_doing_it_wrong` situation and notice.

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


More information about the wp-trac mailing list