mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 06:37:06 +00:00
Docs: Various corrections to inline docblocks.
See #49572 git-svn-id: https://develop.svn.wordpress.org/trunk@48573 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -300,8 +300,8 @@ function get_terms_to_edit( $post_id, $taxonomy = 'post_tag' ) {
|
||||
*
|
||||
* @since 2.8.0
|
||||
*
|
||||
* @param int|string $tag_name
|
||||
* @param string $taxonomy Optional. The taxonomy for which to retrieve terms. Default 'post_tag'.
|
||||
* @param string $tag_name The term name.
|
||||
* @param string $taxonomy Optional. The taxonomy within which to create the term. Default 'post_tag'.
|
||||
* @return array|WP_Error
|
||||
*/
|
||||
function wp_create_term( $tag_name, $taxonomy = 'post_tag' ) {
|
||||
|
||||
@@ -2221,12 +2221,11 @@ function get_post_states( $post ) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Function to echo the attachment media states as HTML.
|
||||
* Outputs the attachment media states as HTML.
|
||||
*
|
||||
* @since 3.2.0
|
||||
*
|
||||
* @param WP_Post $post The attachment post to retrieve states for.
|
||||
* @return string Media states string.
|
||||
*/
|
||||
function _media_states( $post ) {
|
||||
static $header_images;
|
||||
|
||||
Reference in New Issue
Block a user