Works after PHP code change to misspelled variable
-
This plugin didn’t work until I reviewed the source and found a misspelled variable in PHP code.
In autoset-featured-image.php at line 40:
$attached_imasge = get_children(“post_parent=$post->ID&post_type=attachment&post_mime_type=image&numberposts=1”);
Change the variable $attached_imasge to $attached_image on line 40.
https://www.ads-software.com/plugins/autoset-featured-image/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Works after PHP code change to misspelled variable’ is closed to new replies.