WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/03/2010 10:52:30 PM (10 years ago)
Author:
nacin
Message:

Don't use target="_self" in nav menu links, just omit the attribute. Also fix and run earlier db upgrades. fixes #12808

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-ajax.php

    r13830 r13974  
    14171417    update_post_meta( $link_id, '_menu_item_object_id', (int) $link_id );
    14181418    update_post_meta( $link_id, '_menu_item_object', 'custom' );
    1419     update_post_meta( $link_id, '_menu_item_target', '_self' );
     1419    update_post_meta( $link_id, '_menu_item_target', '' );
    14201420    update_post_meta( $link_id, '_menu_item_classes', '' );
    14211421    update_post_meta( $link_id, '_menu_item_xfn', '' );
Note: See TracChangeset for help on using the changeset viewer.