WordPress.org

Ready to get started?Download WordPress

Forums

YD Network-wide Options
[PATCH] Undefined variable: flush_rewrites (1 post)

  1. flynsarmy
    Member
    Posted 11 months ago #

    With WP_DEBUG turned on in a WPMU 3.6.1 install when creating a site I get:

    Notice: Undefined index: flush_rewrites in /path/to/wp-content/plugins/yd-wpmu-sitewide-options/yd-wpmu-sitewide-options.php on line 867

    The issue is in the yd_wpmuso_options_new_blog_action method on the line

    if( $options['flush_rewrites'] ) {

    Just change it to

    if( !empty($options['flush_rewrites']) ) {

    and you're good.

    http://wordpress.org/plugins/yd-wpmu-sitewide-options/

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.