Merge "Add target support for view_urls"

This commit is contained in:
jenkins-bot 2017-07-26 17:15:01 +00:00 committed by Gerrit Code Review
commit 79647bb41e
1 changed files with 3 additions and 0 deletions

View File

@ -444,6 +444,9 @@ class VectorTemplate extends BaseTemplate {
if ( isset ( $link['rel'] ) ) {
echo ' rel="' . htmlspecialchars( $link['rel'] ) . '"';
}
if ( isset ( $link['target'] ) ) {
echo ' target="' . htmlspecialchars( $link['target'] ) . '"';
}
?>><?php
// $link['text'] can be undefined - bug 27764
if ( array_key_exists( 'text', $link ) ) {