Using the Meta box Visibility Control option, your example suggests
return basename( get_page_template() ) == "page-about.php"
Using that exact input, the returned data is
return basename( get_page_template() ) == "page-about.php"
As such the eval() fails.
Same for double and single quotes.
Is this input being run through wp_kses() or similar?
We need to escape double and single quotes.
Original issue reported on code.google.com by kb6...@gmail.com on 13 Feb 2014 at 6:01
Original issue reported on code.google.com by
kb6...@gmail.com
on 13 Feb 2014 at 6:01