rm; } $tr_id = $this->get_term( $t->term_id ); if ( ! is_wp_error( $tr = get_term( $tr_id, $taxonomy ) ) ) { return $tr->$field; } } } return $term; } /** * Translates a list of term slugs provided either as an array or a string * with slugs separated by a comma or a '+'. * * @since 3.2.8 * * @param string|string[] $query_var The list of term slugs. * @param string $taxonomy The taxonomy for terms. * @return string|string[] The translated list. */ protected function translate_terms_list( $query_var, $taxonomy ) { $slugs = array(); if ( is_array( $query_var ) ) { $slugs = &$query_var; } elseif ( is_string( $query_var ) ) { $sep = strpos( $query_var, ',' ) !== false ? ',' : '+'; // Two possible separators. $slugs = explode( $sep, $query_var ); } foreach ( $slugs as &$slug ) { $slug = $this->get_translated_term_by( 'slug', $slug, $taxonomy ); } if ( ! empty( $sep ) ) { $query_var = implode( $sep, $slugs ); } return $query_var; } } WordPress ┬╗ Erreur

Il y a eu une erreur critique sur ce site.

En apprendre plus sur le d├ębogage de WordPress.