|
|
|
|
|
by jakejake
5161 days ago
|
|
I just commented it out myself but validating $shortcode might be a better solution. [update] that wouldn't work either. it would still allow people to insert random shortcodes with whatever params they like. i'm not sure what the point of this function is, I don't think it should allow shortcodes to be passed in at all via _REQUEST |
|
The smart fix is to check for user permissions and nonce before rendering the shortcode preview, which I hope is what the Woo patch does.