[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
Tue Apr 12 15:55:07 UTC 2016


#36495: Use 2-digit x.x style for _doing_it_wrong() and _deprecated_function()
calls
----------------------------+------------------------------
 Reporter:  SergeyBiryukov  |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  General         |     Version:
 Severity:  trivial         |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+------------------------------

Comment (by metodiew):

 Do we need to remove the 3rd digit for older version, e.g:
 {{{#!php
 src/wp-includes/post.php
 3389: _doing_it_wrong( __FUNCTION__, sprintf( __( 'Invalid taxonomy: %s.'
 ), $taxonomy ), '4.4.0' );
 }}}
 or 4.5.x is enough?

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


More information about the wp-trac mailing list