• 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/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘PHP Notice’ is closed to new replies.