• Resolved corvannoorloos

    (@corvannoorloos)


    Hello,

    Not entirely sure if it’s mentioned before, but it seems the media icon is currently missing from the media edit screens. (being caused by a recently changed class icon-media)

    Would it be possible to fix this perhaps in future versions?

    https://d.pr/tDI1 (image)

Viewing 5 replies - 1 through 5 (of 5 total)
  • It’s present on my alpha site running 3.4 (19904).

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    I see no missing icons (19904 as well). What page is this on, and where, ON the page, are you looking? It’s possible we’re not looking in the exact same spot ??

    Thread Starter corvannoorloos

    (@corvannoorloos)

    Ehm, weird… It’s showing on some sites, and not showing on other. After debugging this further I’ll come back on this asap.

    Thread Starter corvannoorloos

    (@corvannoorloos)

    First of all, sorry. I’ve listed it as a bug quite being quite sure I didn’t have something interfering with this function.

    It seems I do have something, though it’s a bit awkward…

    I’m currently using below snippet to hide my theme and plugin admin menu editor links.
    Disabled, it’s showing the icon. Enabled, it’s showing like the screenshot.

    add_filter( 'parent_file', 'admin_menu' );
    /**
     * Removes the admin menu theme and plugin editor links
     */
    function admin_menu() {
      global $menu, $submenu;
      remove_submenu_page( 'themes.php', 'theme-editor.php' );
      remove_submenu_page( 'plugins.php', 'plugin-editor.php' );
    }

    Not entirely sure now if it should be listed as a bug or not.

    Thread Starter corvannoorloos

    (@corvannoorloos)

    Just rewrote above to

    add_filter( 'admin_init', 'admin_menu' );
    /**
     * Removes the admin menu theme and plugin editor links
     */
    function admin_menu() {
      remove_submenu_page( 'themes.php', 'theme-editor.php' );
      remove_submenu_page( 'plugins.php', 'plugin-editor.php' );
    }

    , and everything’s working fine again.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Media icon missing on media edit pages’ is closed to new replies.