Closed Connum closed 4 years ago
The constructor argument of the Shortcode class was never used and instead overridden with an empty array:
Shortcode
public function __construct($name = '', $atts = array(), $content = '', $shortcodes = array(), $parent = null) { $this->name = $name; $this->atts = $atts; $this->content = $content; $this->shortcodes = array (); // <=== ...
I encountered this while writing a test case for when #3 is merged.
Thanks! Will merge.
The constructor argument of the
Shortcode
class was never used and instead overridden with an empty array:I encountered this while writing a test case for when #3 is merged.