Changeset 29467
- Timestamp:
- 08/11/2014 09:16:52 PM (10 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/category-template.php
r28633 r29467 1241 1241 * @param int|object $post Post ID or object. 1242 1242 * @param string $taxonomy Taxonomy name. 1243 * @return array|bool|WP_Error Array of term objects on success, false orWP_Error on failure.1243 * @return array|bool|WP_Error Array of term objects on success, false if there are no terms, WP_Error on failure. 1244 1244 */ 1245 1245 function get_the_terms( $post, $taxonomy ) { … … 1258 1258 * @since 3.1.0 1259 1259 * 1260 * @param array $terms List of attached terms.1261 * @param int $post_id Post ID.1262 * @param string $taxonomy Name of the taxonomy.1260 * @param array|WP_Error $terms List of attached terms, or WP_Error on failure. 1261 * @param int $post_id Post ID. 1262 * @param string $taxonomy Name of the taxonomy. 1263 1263 */ 1264 1264 $terms = apply_filters( 'get_the_terms', $terms, $post->ID, $taxonomy ); -
trunk/src/wp-includes/taxonomy.php
r29234 r29467 430 430 * @param string $taxonomy Taxonomy slug. 431 431 * @param array|string $object_type Object type or array of object types. 432 * @param array |string $args Array or stringof taxonomy registration arguments.432 * @param array $args Array of taxonomy registration arguments. 433 433 */ 434 434 do_action( 'registered_taxonomy', $taxonomy, $object_type, $args );
Note: See TracChangeset
for help on using the changeset viewer.