mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Remove redundant and erroneous @uses tag from most core inline documentation.
Per our inline documentation standards, no further use of the `@uses` tag is recommended as used and used-by relationships can be derived through other means. This removes most uses of the tag in core documentation, with remaining tags to be converted to `@global` or `@see` as they apply. Fixes #30191. git-svn-id: https://develop.svn.wordpress.org/trunk@30105 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -71,7 +71,6 @@ function bloginfo_rss($show = '') {
|
||||
* 'default_feed' filter.
|
||||
*
|
||||
* @since 2.5.0
|
||||
* @uses apply_filters() Calls 'default_feed' hook on the default feed string.
|
||||
*
|
||||
* @return string Default feed, or for example 'rss2', 'atom', etc.
|
||||
*/
|
||||
@@ -165,7 +164,6 @@ function get_the_title_rss() {
|
||||
* Display the post title in the feed.
|
||||
*
|
||||
* @since 0.71
|
||||
* @uses get_the_title_rss() Used to retrieve current post title.
|
||||
*/
|
||||
function the_title_rss() {
|
||||
echo get_the_title_rss();
|
||||
@@ -203,8 +201,6 @@ function get_the_content_feed($feed_type = null) {
|
||||
* Display the post content for feeds.
|
||||
*
|
||||
* @since 2.9.0
|
||||
* @uses apply_filters() Calls 'the_content_feed' on the content before processing.
|
||||
* @see get_the_content()
|
||||
*
|
||||
* @param string $feed_type The type of feed. rss2 | atom | rss | rdf
|
||||
*/
|
||||
@@ -313,7 +309,6 @@ function comment_link() {
|
||||
* Retrieve the current comment author for use in the feeds.
|
||||
*
|
||||
* @since 2.0.0
|
||||
* @uses get_comment_author()
|
||||
*
|
||||
* @return string Comment Author
|
||||
*/
|
||||
@@ -343,7 +338,6 @@ function comment_author_rss() {
|
||||
* Display the current comment content for use in the feeds.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @uses get_comment_text()
|
||||
*/
|
||||
function comment_text_rss() {
|
||||
$comment_text = get_comment_text();
|
||||
@@ -454,7 +448,6 @@ function html_type_rss() {
|
||||
* attributes.
|
||||
*
|
||||
* @since 1.5.0
|
||||
* @uses get_post_custom() To get the current post enclosure metadata.
|
||||
*/
|
||||
function rss_enclosure() {
|
||||
if ( post_password_required() )
|
||||
@@ -494,7 +487,6 @@ function rss_enclosure() {
|
||||
* enclosure(s) consist of link HTML tag(s) with a URI and other attributes.
|
||||
*
|
||||
* @since 2.2.0
|
||||
* @uses get_post_custom() To get the current post enclosure metadata.
|
||||
*/
|
||||
function atom_enclosure() {
|
||||
if ( post_password_required() )
|
||||
|
||||
Reference in New Issue
Block a user