Refactoring : sécurité (XSS), découpage en modules inc/* et js/admin/*, IDs résolus par slug, perf (caches, cron Gravatar, assets auto-hébergés), tests
This commit is contained in:
@@ -16,7 +16,7 @@ foreach ( $terms as $term ) {
|
||||
|
||||
$item = [
|
||||
'name' => $term->name,
|
||||
'description' => wpautop( $term->description ),
|
||||
'description' => wpautop( wp_kses_post( $term->description ) ),
|
||||
'url' => get_term_link( $term ),
|
||||
'annee_fin' => (int) get_term_meta( $term->term_id, 'annee_fin', true ),
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user