[wp-trac] [WordPress Trac] #28806: More complete and consistent @deprecated inline docs/tags

WordPress Trac noreply at wordpress.org
Thu Jul 10 14:33:26 UTC 2014


#28806: More complete and consistent @deprecated inline docs/tags
-------------------------+------------------------------
 Reporter:  Alphawolf    |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:  trunk
 Severity:  minor        |  Resolution:
 Keywords:  has-patch    |     Focuses:  docs
-------------------------+------------------------------

Comment (by Alphawolf):

 Replying to [comment:2 jdgrimes]:
 > * Some coding standards fixes in `/wp-includes/deprecated.php`. E.g.: `
 * @deprecated 2.8.0 Use the_author_meta('description')` should be
 `the_author_meta( 'description' )`
 Some occurrences of `_deprecated_function` did not meet the coding
 standards it seems (while some did throughout the code), e.g.
 `_deprecated_function( __FUNCTION__, '2.8',
 'get_the_author_meta(\'description\')' );`
 which (among others) I changed to
 `_deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(
 \'description\' )' );`

 Or did you only refer to the doc blocks? :)

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


More information about the wp-trac mailing list