Changeset 13903 for trunk/src/bp-core/bp-core-taxonomy.php
- Timestamp:
- 06/04/2024 02:30:49 AM (20 months ago)
- File:
-
- 1 edited
-
trunk/src/bp-core/bp-core-taxonomy.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-taxonomy.php
r12728 r13903 154 154 $taxonomy_site_map = array(); 155 155 foreach ( (array) $taxonomies as $taxonomy ) { 156 $taxonomy_site_id = bp_get_taxonomy_term_site_id( $taxonomy );156 $taxonomy_site_id = bp_get_taxonomy_term_site_id( $taxonomy ); 157 157 $taxonomy_site_map[ $taxonomy_site_id ][] = $taxonomy; 158 158 } … … 242 242 $taxonomy_site_map = array(); 243 243 foreach ( (array) $taxonomies as $taxonomy ) { 244 $taxonomy_site_id = bp_get_taxonomy_term_site_id( $taxonomy );244 $taxonomy_site_id = bp_get_taxonomy_term_site_id( $taxonomy ); 245 245 $taxonomy_site_map[ $taxonomy_site_id ][] = $taxonomy; 246 246 } … … 276 276 * @see get_term_by() for a full description of function and parameters. 277 277 * 278 * @param string $field Either 'slug', 'name', 'id' (term_id), or 'term_taxonomy_id' 279 * @param string|int $value Search for this term value 278 * @param string $field Either 'slug', 'name', 'id' (term_id), or 'term_taxonomy_id'. 279 * @param string|int $value Search for this term value. 280 280 * @param string $taxonomy Taxonomy name. Optional, if `$field` is 'term_taxonomy_id'. 281 * @param string $output Constant OBJECT, ARRAY_A, or ARRAY_N 281 * @param string $output Constant OBJECT, ARRAY_A, or ARRAY_N. 282 282 * @param string $filter Optional, default is raw or no WordPress defined filter will applied. 283 283 * … … 386 386 * @since 7.0.0 387 387 * 388 * @param array $args {389 * Array of arguments to query BP Terms.388 * @param array $args { 389 * Array of arguments to query BP Terms. 390 390 * @see `get_terms()` for full description of arguments in case of a member type. 391 391 * } … … 442 442 * @since 7.0.0 443 443 * 444 * @param int $term_id The BP Term ID. Required.445 * @param string $taxonomy The BP Taxonomy Name. Required.444 * @param int $term_id The BP Term ID. Required. 445 * @param string $taxonomy The BP Taxonomy Name. Required. 446 446 * @return bool|WP_Error True on success, WP_Error on failure. 447 447 */
Note: See TracChangeset
for help on using the changeset viewer.