dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Added support for enqueueable DataUpdates"
[lhc/web/wiklou.git]
/
includes
/
libs
/
ReplacementArray.php
diff --git
a/includes/libs/ReplacementArray.php
b/includes/libs/ReplacementArray.php
index
185914c
..
b6faa37
100644
(file)
--- a/
includes/libs/ReplacementArray.php
+++ b/
includes/libs/ReplacementArray.php
@@
-111,7
+111,10
@@
class ReplacementArray {
* @return string
*/
public function replace( $subject ) {
* @return string
*/
public function replace( $subject ) {
- if ( function_exists( 'fss_prep_replace' ) ) {
+ if (
+ function_exists( 'fss_prep_replace' ) &&
+ version_compare( PHP_VERSION, '5.5.0' ) < 0
+ ) {
if ( $this->fss === false ) {
$this->fss = fss_prep_replace( $this->data );
}
if ( $this->fss === false ) {
$this->fss = fss_prep_replace( $this->data );
}