WordPress.org

Forums

Custom Post Type UI
[resolved] PHP Notice (2 posts)

  1. Hi, thanks for a great plugin.

    I get the following PHP Notice, multiple times, with the plugin activated (version 0.82) and the latest WordPress version:

    Notice: Undefined index: rewrite_withfront in /wp-content/plugins/custom-post-type-ui/custom-post-type-ui.php on line 100

    This notice goes away by replacing line 100 with:

    $cpt_rewrite_withfront  = ( ! isset( $cpt_post_type["rewrite_withfront"] ) ) ? true : get_disp_boolean( $cpt_post_type["rewrite_withfront"] );

    i.e. using isset() instead of empty().

    cheers

    https://wordpress.org/plugins/custom-post-type-ui/

  2. Michael Beckwith
    Member
    Plugin Author

    Posted 1 year ago #

    will be taken care of. Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Custom Post Type UI
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags