[wp-trac] [WordPress Trac] #53235: Ensure consistent type for integer properties of WP_Post, WP_Term, and WP_User

WordPress Trac noreply at wordpress.org
Wed May 19 23:33:21 UTC 2021


#53235: Ensure consistent type for integer properties of WP_Post, WP_Term, and
WP_User
--------------------------------------+-----------------------------
 Reporter:  SergeyBiryukov            |       Owner:  SergeyBiryukov
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  5.8
Component:  General                   |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch needs-dev-note  |     Focuses:
--------------------------------------+-----------------------------
Changes (by peterwilsoncc):

 * keywords:  has-patch => has-patch needs-dev-note


Comment:

 I vaguely remember something like this causing problems in the past but
 can't find the solution, ie whether converting to string was deliberate or
 a dev note was published.

 I did find this
 [https://wordpress.slack.com/archives/C02RQBWTW/p1446259775003197 slack
 discussion] between @pento  and @boonebgorges but not the outcome.

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


More information about the wp-trac mailing list