Index: trunk/phase3/includes/Feed.php |
— | — | @@ -55,7 +55,7 @@ |
56 | 56 | /** |
57 | 57 | * @static |
58 | 58 | */ |
59 | | - function xmlEncode( $string ) { |
| 59 | + static function xmlEncode( $string ) { |
60 | 60 | $string = str_replace( "\r\n", "\n", $string ); |
61 | 61 | $string = preg_replace( '/[\x00-\x08\x0b\x0c\x0e-\x1f]/', '', $string ); |
62 | 62 | return htmlspecialchars( $string ); |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -107,7 +107,8 @@ |
108 | 108 | * (bug 13770) Fixed incorrect detection of PHP's DOM module |
109 | 109 | * (bug 14790) Export of category pages when using Category: prefix now actually |
110 | 110 | gives results |
111 | | - |
| 111 | +* (bug 15128) Feed::xmlEncode() function is now declared as static |
| 112 | + |
112 | 113 | === API changes in 1.14 === |
113 | 114 | |
114 | 115 | * Registration time of users registered before the DB field was created is now |