Học từ vựng tiếng anh qua hình ảnh

WP_Query was called with an argument that is deprecated since version 3.1

Got this error in WordPress Blog when update to 3.3

Notice: WP_Query was called with an argument that is deprecated since version 3.1! "caller_get_posts" is deprecated. Use "ignore_sticky_posts" instead

Solved it:

In your theme used :

$args = array(
                            'category__in' => array(12,13,19,153),
                            'posts_per_page' => 10,
                            'post__not_in' => get_option('sticky_posts'),
                            'paged' => curPageURL(),
                            'caller_get_posts'=>1
                            );

Change

 'caller_get_posts'=>1

by

'ignore_sticky_posts' => 1

Lượt xem (949)