Mes mots rient

Écrits, songes et correspondances
SELECT `meta_key`, `meta_value`, `wp_posts`.*
FROM `wp_posts`
LEFT JOIN `wp_postmeta` ON (`wp_posts`.`ID` = `wp_postmeta`.`post_id` AND `meta_key` = 'anonyme')
WHERE `post_status` = 'publish'
AND `post_type` = 'post-it'
AND `post_author` = ".$author->ID."
AND (`meta_value` = 'non' OR (`meta_value` IS NULL))