Use of deprecated screen_icon() method.

Home Page Forums WooCommerce Custom Tabs Use of deprecated screen_icon() method.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

    Posts

  • #9394

    Stephan

    Participant

    Plugin is triggering a PHP notice caused by use of method screen_icon(), which is deprecated since WordPress v3.8.

    See https://developer.wordpress.org/reference/functions/screen_icon/

    Fix:
    — a/woocommerce-custom-tabs-pro/am/admin/class-wc-api-manager-menu.php
    +++ b/woocommerce-custom-tabs-pro/am/admin/class-wc-api-manager-menu.php
    @@ -53,7 +53,6 @@ class API_Manager_WCT_MENU { //TBSET: Change the class names so they are unique

    <p><?php settings_errors(); //ADD RaPe, Without this the error messages is not displayed ?></p>

    – <?php screen_icon(); ?>
    <h2><?php echo AME_WCT()->ame_settings_title; ?></h2>

    <h2 class=”nav-tab-wrapper”>

    #9422

    WebshopLogic

    Keymaster

    Thank you for the information.
    We will remove this line from the next version.
    This will not cause any problems until then.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.