Plugin Directory

Changeset 1272404


Ignore:
Timestamp:
10/24/2015 07:22:22 PM (10 years ago)
Author:
LinSoftware
Message:

removed the red bubble with the number of out-of-stock links because it was causing admin to load slowly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • check-amazon-link/trunk/amazon-link-checker.php

    r1259268 r1272404  
    728728    public static function my_plugin_menus() {
    729729
    730         // get number of out_of_stock links to display in a red bubble next to the name of the tools page
    731         $number_of_out_of_stock_links = esc_html(AZLC_Utility::get_count_of_out_of_stock_links());
    732730        $tools_page_menu_name         = 'Amazon Links';
    733         if ( $number_of_out_of_stock_links > 0 ) {
    734             $tools_page_menu_name .=  ' <span class="update-plugins"><span class="update-count">' . $number_of_out_of_stock_links . '</span></span>';
    735         }
    736 
    737731
    738732        //add_management_page( $page_title, $menu_title, $capability, $menu_slug, $function );
Note: See TracChangeset for help on using the changeset viewer.