We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d432144 commit a5cc6ddCopy full SHA for a5cc6dd
inc/metaboxes.php
@@ -104,7 +104,7 @@ function shapely_save_custom_meta( $post_id ) {
104
}
105
106
if ( $_POST['site_layout'] ) {
107
- update_post_meta( $post_id, 'site_layout', stripslashes( $_POST['site_layout'] ) );
+ update_post_meta( $post_id, 'site_layout', strip_tags( $_POST['site_layout'] ) );
108
} else {
109
delete_post_meta( $post_id, 'site_layout' );
110
0 commit comments