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

WordPress Trac noreply at wordpress.org
Fri Oct 6 09:03:14 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:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+---------------------

Comment (by Presskopp):

 I'm absoluty unsure if this is a real fix, but adding

 {{{#!php
 protected $_title;
 protected $_title_left;
 protected $_title_right;
 }}}

 under `class WP_Text_Diff_Renderer_Table extends Text_Diff_Renderer {`

 at least makes the messages disappear

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


More information about the wp-trac mailing list