Plugin Directory

Changeset 3438915


Ignore:
Timestamp:
01/13/2026 06:30:10 PM (3 months ago)
Author:
rankauthority
Message:

Fix Dashicons

Location:
rank-authority
Files:
6 added
2 edited

Legend:

Unmodified
Added
Removed
  • rank-authority/trunk/rank-authority.php

    r3438893 r3438915  
    44 * Plugin URI: https://rankauthority.com/plugins/rankauthority
    55 * Description: Secure API connector to publish posts / overwrite posts from the RA Dashboard to WordPress.
    6  * Version: 1.0.1
     6 * Version: 1.0.2
    77 * Author: Rank Authority
    88 * Author URI: https://rankauthority.com
     
    5656    /** Admin menu */
    5757    public function admin_menu() {
    58         // Get SVG icon URL
    59         $icon_url = plugin_dir_url(__FILE__) . 'assets/icon.svg';
    60        
    6158        add_menu_page(
    6259            'Rank Authority',
     
    6562            'rank-authority',
    6663            [$this, 'settings_page'],
    67             $icon_url
     64            'dashicons-chart-line',
     65            30
    6866        );
    6967    }
     
    7472        ?>
    7573        <style type="text/css">
    76             #toplevel_page_rank-authority .wp-menu-image img {
    77                 width: 20px;
    78                 height: 20px;
    79                 padding: 0;
    80             }
    8174            #toplevel_page_rank-authority .wp-menu-image {
    8275                background-image: url('<?php echo esc_url($icon_url); ?>') !important;
     
    8477                background-repeat: no-repeat;
    8578                background-position: center;
     79                width: 20px;
     80                height: 20px;
    8681            }
    8782            #toplevel_page_rank-authority .wp-menu-image:before {
    88                 display: none;
     83                display: none !important;
     84            }
     85            #toplevel_page_rank-authority .wp-menu-image img {
     86                display: none !important;
    8987            }
    9088        </style>
  • rank-authority/trunk/readme.txt

    r3438909 r3438915  
    55Tested up to: 6.9
    66Requires PHP: 7.4
    7 Stable tag: 1.0.1
     7Stable tag: 1.0.2
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    136136== Changelog ==
    137137
     138= 1.0.2 =
     139* Fixed custom SVG icon display issue in WordPress admin menu
     140* Improved menu icon CSS with better fallback support
     141* Enhanced icon rendering reliability
     142
    138143= 1.0.1 =
    139144* Added custom SVG icon for admin menu
     
    150155
    151156== Upgrade Notice ==
     157
     158= 1.0.2 =
     159Fixed admin menu icon display issue for better compatibility.
    152160
    153161= 1.0.1 =
Note: See TracChangeset for help on using the changeset viewer.