[wp-trac] [WordPress Trac] #59431: Revisions: get a deprecation error about WP_Text_Diff_Renderer_Table::__isset()

WordPress Trac noreply at wordpress.org
Tue Oct 10 13:01:27 UTC 2023


#59431: Revisions: get a deprecation error about
WP_Text_Diff_Renderer_Table::__isset()
-------------------------------------+---------------------
 Reporter:  wildworks                |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  6.4
Component:  Revisions                |     Version:  trunk
 Severity:  minor                    |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+---------------------
Changes (by hellofromTonya):

 * keywords:  has-patch dev-feedback => has-patch needs-testing
 * severity:  normal => minor


Comment:

 Thanks for the ping.

 Yes, the deprecation notices are intentional (by design) to alert of
 dynamic (undeclared) properties being accessed (see [56354]). These
 deprecation messages will not show in production, only when `WP_DEBUG` is
 turned on as of [56544].

 Before declaring these properties on the class, I suggest first
 researching where in the source code they are being requested? Is the
 request coming from within Core or one of its default themes? Or is the
 request coming from a plugin or non-default theme?

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


More information about the wp-trac mailing list