Changeset 4704 for trunk/includes/admin/tools.php
- Timestamp:
- 01/22/2013 05:13:02 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/includes/admin/tools.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/admin/tools.php
r4695 r4704 1150 1150 /** Topic Tags ********************************************************/ 1151 1151 1152 // @todo 1152 $statement = __( 'Deleting Topic Tags… %s', 'bbpress' ); 1153 $sql_delete = "DELETE a,b,c FROM `{$wpdb->terms}` AS a LEFT JOIN `{$wpdb->term_taxonomy}` AS c ON a.term_id = c.term_id LEFT JOIN `{$wpdb->term_relationships}` AS b ON b.term_taxonomy_id = c.term_taxonomy_id WHERE c.taxonomy = 'topic-tag';"; 1154 $result = is_wp_error( $wpdb->query( $sql_delete ) ) ? $failed : $success; 1155 $messages[] = sprintf( $statement, $result ); 1153 1156 1154 1157 /** User Meta *********************************************************/
Note: See TracChangeset
for help on using the changeset viewer.