WordPress.org

Ready to get started?Download WordPress

Forums

CMS Tree Page View
0.7.18 broken in WP 3.1 (2 posts)

  1. helix84
    Member
    Posted 3 years ago #

    Notice: was called with an argument that is deprecated since version 3.1! "caller_get_posts" is deprecated. Use "ignore_sticky_posts" instead. in /var/www/xxx/wp-includes/functions.php on line 3387

  2. helix84
    Member
    Posted 3 years ago #

    As suggested in the notice, this helped:

    --- a/wp-content/plugins/cms-tree-page-view/functions.php
    +++ b/wp-content/plugins/cms-tree-page-view/functions.php
    @@ -495,7 +495,6 @@ function cms_tpv_get_pages($args = null) {
    "numberposts" => "-1",
    "orderby" => "menu_order",
    "order" => "ASC",
    - "caller_get_posts" => 1, // get sticky posts in natural order (or so I understand it anyway)
    + "ignore_sticky_posts" => 1, // get sticky posts in natural order (or so I understand it anyway)
    // "post_type" => "any",
    "post_type" => $r["post_type"],

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic