[wp-trac] [WordPress Trac] #48027: WP_Comment fields (e.g. user_id) have wrong types

WordPress Trac noreply at wordpress.org
Fri Sep 13 20:54:14 UTC 2019


#48027: WP_Comment fields (e.g. user_id) have wrong types
--------------------------+------------------------------
 Reporter:  cneumann      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Comments      |     Version:
 Severity:  minor         |  Resolution:
 Keywords:  needs-patch   |     Focuses:  docs
--------------------------+------------------------------
Changes (by johnbillion):

 * keywords:   => needs-patch
 * focuses:   => docs
 * version:  5.2.3 =>


Comment:

 Agreed, as per the linked tickets changing the type of a core object
 property _will_ break third party code that uses strict type checks.

 Ensuring all related docs are correct is a better approach.

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


More information about the wp-trac mailing list