WordPress.org

Make WordPress Core

Changeset 16287


Ignore:
Timestamp:
11/11/2010 10:24:56 AM (9 years ago)
Author:
westi
Message:

Link the shortlink button to the shortlink. Props caesarsgrunt see #14772.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/admin-bar.php

    r16221 r16287  
    165165
    166166    if ( ! empty( $short) )
    167         $wp_admin_bar->add_menu( array( 'id' => 'get-shortlink', 'title' => __( 'Shortlink' ), 'href' => '', ) );
     167        $wp_admin_bar->add_menu( array( 'id' => 'get-shortlink', 'title' => __( 'Shortlink' ), 'href' => $short, ) );
    168168}
    169169
Note: See TracChangeset for help on using the changeset viewer.