WordPress.org

Ready to get started?Download WordPress

Forums

New Blog Defaults
fix a minor warning (2 posts)

  1. drzraf
    Member
    Posted 3 years ago #

    $_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')) {
  2. drzraf
    Member
    Posted 3 years ago #

    ^^ applies with patch -R, sorry

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic