WordPress.org

Make WordPress Core

Changeset 20256


Ignore:
Timestamp:
03/22/12 05:07:27 (2 years ago)
Author:
nacin
Message:

Instantiate an object in get_default_link_to_edit(). fixes #20280.

File:
1 edited

Legend:

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

    r19712 r20256  
    5454 */ 
    5555function get_default_link_to_edit() { 
     56    $link = new stdClass; 
    5657    if ( isset( $_GET['linkurl'] ) ) 
    5758        $link->link_url = esc_url( $_GET['linkurl'] ); 
Note: See TracChangeset for help on using the changeset viewer.