WordPress.org

Support

Support » Plugins and Hacks » [Plugin: New Blog Defaults] fix a minor warning

[Plugin: New Blog Defaults] fix a minor warning

  • $_GET[‘reset’] should be tested for existence before using it (php notice power) …

    -if( get_site_option( 'cets_blog_defaults_setup' ) == null OR (isset($_GET['reset']) && $_GET['reset'] == 1 && $_GET['page'] == 'cets_blog_defaults_management_page')) {
    +if( get_site_option( 'cets_blog_defaults_setup' ) == null OR ($_GET['reset'] == 1 && $_GET['page'] == 'cets_blog_defaults_management_page')) {
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: New Blog Defaults] fix a minor warning’ is closed to new replies.