How to use get_posts to filter against a single post id?

Nevermind, all of these methods work if I add the post_type parameter to the query: get_posts(array( ‘ID’ => 12345, ‘post_type’ => array(‘any’), )); get_posts(array( ‘p’ => 12345, ‘post_type’ => array(‘any’), )); get_posts(array( ‘post’ => 12345, ‘post_type’ => array(‘any’), )); get_posts(array( ‘post__in’ => array(12345), ‘post_type’ => array(‘any’), )); This is a really stupid design decision; any … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)