[Plugin: SB Child List] WP_DEBUG warning msg
-
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'); }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘[Plugin: SB Child List] WP_DEBUG warning msg’ is closed to new replies.