Using shortcode with no attributes causes php errors
When I embed the [facebook-feed] short code, I get the following php errors.
use [facebook-feed] I get
( ! ) Notice: Undefined variable: my_post_text in E:\SERVER\htdocs\www.iii.dev\wp-content\plugins\facebook-feed-pro\facebook-feed-shortcode.php on line 953
( ! ) Notice: Undefined variable: my_post_text in E:\SERVER\htdocs\www.iii.dev\wp-content\plugins\facebook-feed-pro\facebook-feed-shortcode.php on line 983
( ! ) Notice: Undefined variable: share_title in E:\SERVER\htdocs\www.iii.dev\wp-content\plugins\facebook-feed-pro\facebook-feed-shortcode.php on line 998
If I add the share_title attribute to the shortcode the errors go away. Can someone look onto this issue?
Comments