WordPress.org

Support

Support » Plugins and Hacks » SB Child List » [Resolved] [Plugin: SB Child List] WP_DEBUG warning msg

[Resolved] [Plugin: SB Child List] WP_DEBUG warning msg

  • Moderator cubecolour

    @numeeja

    ɹoʇɐɹǝpoɯ

    The plugin shows a WP_DEBUG has_cap warning in the backend when active with WP_DEBUG on

    It looks like it can be easily fixed by changing

    function sb_cl_init_admin_page() {
    	global $sb_cl_file;
    	add_options_page('SB Child List Options', 'SB Child List', 8, $sb_cl_file, 'sb_cl_admin_page');
    }

    to

    function sb_cl_init_admin_page() {
    	global $sb_cl_file;
    	add_options_page('SB Child List Options', 'SB Child List', 'publish_posts', $sb_cl_file, 'sb_cl_admin_page');
    }

    http://wordpress.org/extend/plugins/sb-child-list/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: SB Child List] WP_DEBUG warning msg’ is closed to new replies.
Skip to toolbar