Support » Plugin: Custom Post Type Maker » add_utility_page provokes "deprecated" notice in 4.5.2

  • I’ve been seeing this since updating to 4.5.2. I have to keep debug going for various reasons.

    Notice: add_utility_page is deprecated since version 4.5! Use add_menu_page() instead. in \wp-includes\functions.php on line 3658

    Searched \plugins\ for “add_utility_page”:
    \plugins\custom-post-type-maker\custom-post-type-maker.php:

    Line 156:
    add_utility_page( __('CPT Maker', 'custom-post-type-maker' ), __('Post Types', 'custom-post-type-maker' ), 'manage_options', 'edit.php?post_type=cptm', '', $this->dir . '/img/cptm-icon.png' );

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

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘add_utility_page provokes "deprecated" notice in 4.5.2’ is closed to new replies.