Page MenuHomePhabricator

portlettitle_fix.patch

Authored By
bzimport
Nov 21 2014, 11:56 PM
Size
820 B
Referenced Files
None
Subscribers
None

portlettitle_fix.patch

Index: includes/SkinTemplate.php
===================================================================
--- includes/SkinTemplate.php (revision 99358)
+++ includes/SkinTemplate.php (working copy)
@@ -1656,7 +1656,7 @@
}
$attrs = array();
- foreach ( array( 'href', 'id', 'class', 'rel', 'type', 'target') as $attr ) {
+ foreach ( array( 'href', 'id', 'class', 'rel', 'type', 'target', 'title' ) as $attr ) {
if ( isset( $item[$attr] ) ) {
$attrs[$attr] = $item[$attr];
}
@@ -1709,7 +1709,7 @@
}
} else {
$link = array();
- foreach ( array( 'text', 'msg', 'href', 'rel', 'type', 'tooltiponly', 'target' ) as $k ) {
+ foreach ( array( 'text', 'msg', 'href', 'rel', 'type', 'tooltiponly', 'target', 'title' ) as $k ) {
if ( isset( $item[$k] ) ) {
$link[$k] = $item[$k];
}

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
7792
Default Alt Text
portlettitle_fix.patch (820 B)

Event Timeline