mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-06 12:51:58 +00:00
More param fixes, props duck_. see #14783.
git-svn-id: https://develop.svn.wordpress.org/trunk@16469 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1174,7 +1174,7 @@ function has_tag( $tag = '', $post = null ) {
|
||||
*
|
||||
* @param string|int|array $term Optional. The term name/term_id/slug or array of them to check for.
|
||||
* @param string $taxonomy Taxonomy name
|
||||
* @param int|post object Optional. Post to check instead of the current post.
|
||||
* @param int|object $post Optional. Post to check instead of the current post.
|
||||
* @return bool True if the current post has any of the given tags (or any tag, if no tag specified).
|
||||
*/
|
||||
function has_term( $term = '', $taxonomy = '', $post = null ) {
|
||||
|
||||
Reference in New Issue
Block a user