[wp-trac] [WordPress Trac] #63511: Adjust deprecation note in WP_Community_Events::format_event_data_time()

WordPress Trac noreply at wordpress.org
Mon Jun 2 13:53:09 UTC 2025


#63511: Adjust deprecation note in WP_Community_Events::format_event_data_time()
---------------------------------------------------+---------------------
 Reporter:  SergeyBiryukov                         |       Owner:  (none)
     Type:  defect (bug)                           |      Status:  new
 Priority:  normal                                 |   Milestone:  6.9
Component:  Administration                         |     Version:  5.5.2
 Severity:  normal                                 |  Resolution:
 Keywords:  good-first-bug has-patch dev-feedback  |     Focuses:
---------------------------------------------------+---------------------
Changes (by SirLouen):

 * keywords:  good-first-bug has-patch => good-first-bug has-patch dev-
     feedback


Comment:

 Replying to [comment:3 rollybueno]:
 > If we use _doing_it_wrong(), wouldn't it be considered as having
 alternative?

 Replying to [ticket:63511 SergeyBiryukov]:
 > Alternatively, `_doing_it_wrong()` can be used instead, which does
 support a custom message.

 `doing_it_wrong` doesn't fit here.

 And the deprecation informational text is 100% redundant, as the
 deprecation message is self-explanatory. It can be cleared with 0 trouble.

 This can be shipped.

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


More information about the wp-trac mailing list