Support » Plugin: Post Status Menu Items » Undefined index: ps_right_now

  • Resolved Lea

    (@leac)


    Hi,

    I love your plugin!

    However, in my site’s debug.log file I see the following error:

    Undefined index: ps_right_now in /wp-content/plugins/post-status-menu-items/cms_post_status_menu.php on line 296

    I assume that isset() should be added to this condition:
    if( $ps_options['ps_right_now'] )

    As so:
    if( isset($ps_options['ps_right_now']) && $ps_options['ps_right_now'] )

    Could that be done?

    https://wordpress.org/plugins/post-status-menu-items/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author mrwweb

    (@mrwweb)

    Definitely a bug and that’s the right fix!

    Thanks for the report. Version 1.3.3 fixes this and is now available.

    Thanks so much for the lightning fix!

    And thank you for the mention!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Undefined index: ps_right_now’ is closed to new replies.