if ( isset( $plink['active'] ) ) {
$ptool['active'] = $plink['active'];
}
- foreach ( array( 'href', 'class', 'text' ) as $k ) {
+ foreach ( array( 'href', 'class', 'text', 'dir' ) as $k ) {
if ( isset( $plink[$k] ) ) {
$ptool['links'][0][$k] = $plink[$k];
}