[wp-trac] [WordPress Trac] #36495: Use 2-digit x.x style for _doing_it_wrong() and _deprecated_function() calls

WordPress Trac noreply at wordpress.org
Wed Jul 6 04:03:10 UTC 2016


#36495: Use 2-digit x.x style for _doing_it_wrong() and _deprecated_function()
calls
-------------------------------------------------+-------------------------
 Reporter:  SergeyBiryukov                       |       Owner:  metodiew
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  Future
Component:  General                              |  Release
 Severity:  trivial                              |     Version:
 Keywords:  good-first-bug has-patch needs-      |  Resolution:
  refresh                                        |     Focuses:  docs
-------------------------------------------------+-------------------------
Changes (by pento):

 * keywords:  good-first-bug has-patch => good-first-bug has-patch needs-
     refresh
 * milestone:  Awaiting Review => Future Release


Comment:

 Nice work, @metodiew!

 [attachment:36495.2.diff] needs a refresh, it doesn't apply cleanly
 against trunk anymore. (`_wp_upload_dir_baseurl()` was removed in
 [37676].)

 Also, there's been a new incorrect `_deprecated_function()` call added in
 [https://core.trac.wordpress.org/browser/trunk/src/wp-includes/ms-
 deprecated.php?rev=37667&marks=472#L472 wp-includes/ms-deprecated.php].

 For reference, this command helped when looking for other incorrect calls:

 `ack -C4 '(_deprecated_|_doing_it_wrong)' | ack
 "['\"][1-4]+\\.[0-9]+[^.]"`

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


More information about the wp-trac mailing list