Changeset 7467 for trunk/src/includes/common/engagements.php
- Timestamp:
- 09/10/2026 12:35:43 AM (2 weeks ago)
- File:
-
- 1 edited
-
trunk/src/includes/common/engagements.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/common/engagements.php
r7380 r7467 430 430 * 431 431 * @since 2.6.0 bbPress (r6737) 432 * @since 2.6.16 Limit removal to the requested relationship taxonomy. 432 433 * 433 434 * @param int $object_id The object id. … … 439 440 */ 440 441 public function remove_object_from_all_users( $object_id = 0, $meta_key = '', $meta_type = 'post' ) { 441 return wp_delete_object_term_relationships( $object_id, get_object_taxonomies( 'bbp_user' ) ); 442 $tax_key = "{$meta_key}_{$meta_type}"; 443 $this->jit_taxonomy( $tax_key ); 444 445 return wp_delete_object_term_relationships( $object_id, $tax_key ); 442 446 } 443 447
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)