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

WordPress Trac noreply at wordpress.org
Sat Sep 23 06:05:29 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:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 When I open the post revision screen, I get a deprecation error regarding
 `WP_Text_Diff_Renderer_Table::__isset()`.

 Here is the full error message:

 {{{
 Deprecated: WP_Text_Diff_Renderer_Table::__isset(): The property `_title`
 is not declared. Checking `isset()` on a dynamic property is deprecated
 since version 6.4.0! Instead, declare the property on the class. in
 /var/www/src/wp-includes/functions.php on line 6083
 Deprecated: WP_Text_Diff_Renderer_Table::__isset(): The property
 `_title_left` is not declared. Checking `isset()` on a dynamic property is
 deprecated since version 6.4.0! Instead, declare the property on the
 class. in /var/www/src/wp-includes/functions.php on line 6083
 Deprecated: WP_Text_Diff_Renderer_Table::__isset(): The property
 `_title_right` is not declared. Checking `isset()` on a dynamic property
 is deprecated since version 6.4.0! Instead, declare the property on the
 class. in /var/www/src/wp-includes/functions.php on line 6083
 Deprecated: WP_Text_Diff_Renderer_Table::__isset(): The property `_title`
 is not declared. Checking `isset()` on a dynamic property is deprecated
 since version 6.4.0! Instead, declare the property on the class. in
 /var/www/src/wp-includes/functions.php on line 6083
 Deprecated: WP_Text_Diff_Renderer_Table::__isset(): The property
 `_title_left` is not declared. Checking `isset()` on a dynamic property is
 deprecated since version 6.4.0! Instead, declare the property on the
 class. in /var/www/src/wp-includes/functions.php on line 6083
 Deprecated: WP_Text_Diff_Renderer_Table::__isset(): The property
 `_title_right` is not declared. Checking `isset()` on a dynamic property
 is deprecated since version 6.4.0! Instead, declare the property on the
 class. in /var/www/src/wp-includes/functions.php on line 6083
 Deprecated: WP_Text_Diff_Renderer_Table::__isset(): The property `_title`
 is not declared. Checking `isset()` on a dynamic property is deprecated
 since version 6.4.0! Instead, declare the property on the class. in
 /var/www/src/wp-includes/functions.php on line 6083
 Deprecated: WP_Text_Diff_Renderer_Table::__isset(): The property
 `_title_left` is not declared. Checking `isset()` on a dynamic property is
 deprecated since version 6.4.0! Instead, declare the property on the
 class. in /var/www/src/wp-includes/functions.php on line 6083
 Deprecated: WP_Text_Diff_Renderer_Table::__isset(): The property
 `_title_right` is not declared. Checking `isset()` on a dynamic property
 is deprecated since version 6.4.0! Instead, declare the property on the
 class. in /var/www/src/wp-includes/functions.php on line 6083
 Deprecated: WP_Text_Diff_Renderer_Table::__isset(): The property `_title`
 is not declared. Checking `isset()` on a dynamic property is deprecated
 since version 6.4.0! Instead, declare the property on the class. in
 /var/www/src/wp-includes/functions.php on line 6083
 Deprecated: WP_Text_Diff_Renderer_Table::__isset(): The property
 `_title_left` is not declared. Checking `isset()` on a dynamic property is
 deprecated since version 6.4.0! Instead, declare the property on the
 class. in /var/www/src/wp-includes/functions.php on line 6083
 Deprecated: WP_Text_Diff_Renderer_Table::__isset(): The property
 `_title_right` is not declared. Checking `isset()` on a dynamic property
 is deprecated since version 6.4.0! Instead, declare the property on the
 class. in /var/www/src/wp-includes/functions.php on line 6083
 }}}

 == Testing Instructions

 - Create a post.
 - Make changes and save several times.
 - Click "X Revisions" in the right sidebar.

 == Tested environment

 Latest `wordpress-develop` (`WordPress 6.4-alpha-56267-src`)

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


More information about the wp-trac mailing list