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

WordPress Trac noreply at wordpress.org
Mon Dec 19 18:47:56 UTC 2022


#33330: Undefined property: stdClass::$slug
-------------------------------------------------+-------------------------
 Reporter:  mattfiocca                           |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Plugins                              |     Version:  4.0
 Severity:  minor                                |  Resolution:
 Keywords:  2nd-opinion has-screenshots php8     |     Focuses:
  needs-unit-tests                               |
-------------------------------------------------+-------------------------

Comment (by sc0ttkclark):

 This appears to have been solved in May 2021 as part of [50921].

 The new code does an isset() check, but it does not throw a
 _doing_it_wrong notice.

 I'm unsure if effort should be made to throw a _doing_it_wrong at this
 point, it would have already been fixed by any active plugin that had a
 problem.

 I suggest marking this ticket as fixed via [50921] (leaving this to @jrf
 to confirm)

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


More information about the wp-trac mailing list