Make WordPress Core

Ticket #34988: 34988.2.diff

File 34988.2.diff, 526 bytes (added by paulwilde, 9 years ago)
  • wp-includes/admin-bar.php

    diff --git a/wp-includes/admin-bar.php b/wp-includes/admin-bar.php
    index e31b87b..cec57d9 100644
    a b function wp_admin_bar_edit_menu( $wp_admin_bar ) { 
    573573                                        'href' => get_permalink( $post->ID )
    574574                                ) );
    575575                        }
    576                 } elseif ( 'edit-tags' == $current_screen->base
     576                } elseif ( 'term' == $current_screen->base
    577577                        && isset( $tag ) && is_object( $tag ) && ! is_wp_error( $tag )
    578578                        && ( $tax = get_taxonomy( $tag->taxonomy ) )
    579579                        && $tax->public )