Skip to content

Commit c3e068a

Browse files
committed
Fix broken PHP 5.3 compatibility caused by short array syntax introduced with PHP 5.4
1 parent 133b7e6 commit c3e068a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Oow/Settings/SettingsPage.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function __construct(array $options = array())
2323

2424
$options = array_merge(array(
2525
'capability' => 'manage_options',
26-
'sanitize_callback' => [$this, 'sanitize'],
26+
'sanitize_callback' => array($this, 'sanitize'),
2727
'sections' => array(),
2828
'fields' => array(),
2929
'parent_slug' => 'options-general.php',

0 commit comments

Comments
 (0)