WordPress.org

Forums

Multisite Posts
Warning for ucwords parameters (1 post)

  1. Knut Sparhell
    Member
    Posted 1 year ago #

    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 triggers

    PHP Warning: ucwords() expects exactly 1 parameter, 2 given in []/msp.php on line 509

    and it fails to output the labels.

    http://wordpress.org/plugins/multisite-posts/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Multisite Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags