Support » Plugin: Special Text Boxes » STB overwrites other entry in the admin menu

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author minimus

    (@minimus)

    In stb-admin-class.php file change line 337 from
    $this->menu_page = add_menu_page(__('Special Text Boxes', STB_DOMAIN), __('STB', STB_DOMAIN), 'manage_options', 'stb-settings', array(&$this, 'stbAdminPage'), STB_URL.'images/stb-icon.png', 26.1);
    to
    $this->menu_page = add_object_page(__('Special Text Boxes', STB_DOMAIN), __('STB', STB_DOMAIN), 'manage_options', 'stb-settings', array(&$this, 'stbAdminPage'), STB_URL.'images/stb-icon.png');

    or change 26.1 to any valid float value between 25..32

    merci … now is correctly!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘STB overwrites other entry in the admin menu’ is closed to new replies.