Docs: @param fixes for a variety of docblocks.

See #32246


git-svn-id: https://develop.svn.wordpress.org/trunk@36232 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2016-01-09 01:44:31 +00:00
parent aaa61e80e4
commit 021401424b
10 changed files with 41 additions and 11 deletions

View File

@@ -622,6 +622,8 @@ function self_link() {
* Return the content type for specified feed type.
*
* @since 2.8.0
*
* @param string $type Type of feed. Possible values include 'rss', rss2', 'atom', and 'rdf'.
*/
function feed_content_type( $type = '' ) {
if ( empty($type) )
@@ -642,8 +644,7 @@ function feed_content_type( $type = '' ) {
* @since 2.8.0
*
* @param string $content_type Content type indicating the type of data that a feed contains.
* @param string $type Type of feed. Possible values include 'rss2', 'atom'.
* Default 'rss2'.
* @param string $type Type of feed. Possible values include 'rss', rss2', 'atom', and 'rdf'.
*/
return apply_filters( 'feed_content_type', $content_type, $type );
}