Make WordPress Core

Ticket #29251: 29251.patch

File 29251.patch, 493 bytes (added by juliobox, 10 years ago)

More correct link, but can we do better?

  • admin-bar.php

     
    545545                        $wp_admin_bar->add_menu( array(
    546546                                'id' => 'edit',
    547547                                'title' => $tax->labels->edit_item,
    548                                 'href' => get_edit_term_link( $current_object->term_id, $current_object->taxonomy )
     548                                'href' => get_edit_term_link( $current_object->term_id, $current_object->taxonomy, get_post_type() )
    549549                        ) );
    550550                }
    551551        }