Hot answers tagged theme-development
In WordPress 4.5.3, there's a foreach in wp-includes/post.php on line 1177 and no others around it, so I'm guessing this is the one that's triggering the error in your install on line 1172. This is inside the register_post_type() function, and it's looping through the taxonomies argument that you're sending through. Well... that you were meant to send ...
First, check the quotes: <?php echo do_shortcode('[enlarge_text small="A" medium="A" large="A" default_value="medium"]'); ?>
Only top voted, non community-wiki answers of a minimum length are eligible