Merge "Add target support for view_urls"
This commit is contained in:
commit
79647bb41e
@ -444,6 +444,9 @@ class VectorTemplate extends BaseTemplate {
|
|||||||
if ( isset ( $link['rel'] ) ) {
|
if ( isset ( $link['rel'] ) ) {
|
||||||
echo ' rel="' . htmlspecialchars( $link['rel'] ) . '"';
|
echo ' rel="' . htmlspecialchars( $link['rel'] ) . '"';
|
||||||
}
|
}
|
||||||
|
if ( isset ( $link['target'] ) ) {
|
||||||
|
echo ' target="' . htmlspecialchars( $link['target'] ) . '"';
|
||||||
|
}
|
||||||
?>><?php
|
?>><?php
|
||||||
// $link['text'] can be undefined - bug 27764
|
// $link['text'] can be undefined - bug 27764
|
||||||
if ( array_key_exists( 'text', $link ) ) {
|
if ( array_key_exists( 'text', $link ) ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user