wp-knowledgebase icon indicating copy to clipboard operation
wp-knowledgebase copied to clipboard

Shortcodes should return a value not output/echo

Open aaronware opened this issue 7 years ago • 1 comments

require() will print the output of the included file's content by default even if returning as a value. Previous implementation results in broken result json response for any pages of the site that used the [kbe_knowledgebase] shortcode within their content when referenced using the REST API.

aaronware avatar Jan 07 '19 18:01 aaronware

Fixes #133

chantalcoolsma avatar Jul 10 '19 07:07 chantalcoolsma