Warning for ucwords parameters
-
Please change line 509 from
$item_label = __( ucwords( str_replace( "_", " ", trim($arg) ), "MSP" ), $this->domain );
to
$item_label = __( ucwords( str_replace( "_", " ", trim($arg) ) ), $this->domain );
because it triggersPHP Warning: ucwords() expects exactly 1 parameter, 2 given in []/msp.php on line 509
and it fails to output the labels.
- The topic ‘Warning for ucwords parameters’ is closed to new replies.