Plugin Directory

Changeset 571941


Ignore:
Timestamp:
07/13/2012 07:49:50 PM (14 years ago)
Author:
paulund
Message:

Add target attributes to links using wordpress built in target attributes.

Location:
take-control-of-the-wordpress-toolbar/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • take-control-of-the-wordpress-toolbar/trunk/paulund-toolbar.php

    r529213 r571941  
    156156                    'parent' => $items->menu_item_parent,
    157157                    'href'  =>  $items->url,
    158                     'meta'  =>  array( 'target' => '_blank' )
     158                    'meta'  =>  array( 'target' => $items->target )
    159159                );
    160160               
  • take-control-of-the-wordpress-toolbar/trunk/readme.txt

    r529213 r571941  
    4747== Changelog ==
    4848
     49v1.1 - Update link meta target
     50Wordpress menu has an inbuilt feature to apply target _blank on links on the menu items.
     51This change uses this setting when appling target attribute to toolbar links.
     52
    4953== Upgrade Notice ==
    5054
Note: See TracChangeset for help on using the changeset viewer.