WordPress.org

Support

Support » Plugins and Hacks » [Plugin: CMS Tree Page View] 0.7.18 broken in WP 3.1

[Plugin: CMS Tree Page View] 0.7.18 broken in WP 3.1

  • 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

Viewing 1 replies (of 1 total)
  • 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”],

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: CMS Tree Page View] 0.7.18 broken in WP 3.1’ is closed to new replies.