Changeset 19702 for trunk/wp-includes/category-template.php
- Timestamp:
- 01/06/2012 06:31:43 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/category-template.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/category-template.php
r19684 r19702 228 228 * 229 229 * @param int|string|array $category Category ID, name or slug, or array of said. 230 * @param int|object $ _post Optional. Post to check instead of the current post. (since 2.7.0)230 * @param int|object $post Optional. Post to check instead of the current post. (since 2.7.0) 231 231 * @return bool True if the current post is in any of the given categories. 232 232 */ … … 1051 1051 * 1052 1052 * @param int $term Optional. Term ID. Will use global term ID by default. 1053 * @param string $taxonomy Optional taxonomy name. Defaults to 'post_tag'. 1053 1054 * @return string Term description, available. 1054 1055 */ … … 1157 1158 * @since 3.1.0 1158 1159 * 1159 * @param string|int|array $ tagOptional. The category name/term_id/slug or array of them to check for.1160 * @param string|int|array $category Optional. The category name/term_id/slug or array of them to check for. 1160 1161 * @param int|object $post Optional. Post to check instead of the current post. 1161 1162 * @return bool True if the current post has any of the given categories (or any category, if no category specified).
Note: See TracChangeset
for help on using the changeset viewer.