WordPress.org

Ready to get started?Download WordPress

Forums

Custom Post Type UI
PHP Notice (2 posts)

  1. birgire
    Member
    Posted 5 months ago #

    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 5 months ago #

    will be taken care of. Thanks.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags