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

View File

@ -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 ) ) {