[wp-trac] [WordPress Trac] #58898: Fix WP_Text_Diff_Renderer_Table magic methods for PHP 8.2 dynamic properties

WordPress Trac noreply at wordpress.org
Thu Sep 7 20:47:08 UTC 2023


#58898: Fix WP_Text_Diff_Renderer_Table magic methods for PHP 8.2 dynamic
properties
-------------------------------------------------+-------------------------
 Reporter:  antonvlasenko                        |       Owner:
                                                 |  hellofromTonya
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.4
Component:  Administration                       |     Version:  4.0
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  php82 has-patch has-unit-tests       |     Focuses:  php-
  commit                                         |  compatibility
-------------------------------------------------+-------------------------

Comment (by hellofromTonya):

 In [changeset:"56544" 56544]:
 {{{
 #!CommitTicketReference repository="" revision="56544"
 Code Modernization: Use wp_trigger_error() in WP_Text_Diff_Renderer_Table
 magic methods.

 Replaces `trigger_error()` with `wp_trigger_error()` in each of the
 `WP_Text_Diff_Renderer_Table` magic methods.

 [56354] added the dynamic properties deprecation messages to the
 `__get()`, `__set()`, `__isset()`, `__unset()` magic methods. Since that
 commit, `wp_trigger_error()` was introduced (see [56530]) as a wrapper for
 `trigger_error()`.

 Follow-up to [56354], [56530].

 See #58898, #57686.
 }}}

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


More information about the wp-trac mailing list