Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@shazdeh
Last active June 9, 2017 00:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shazdeh/e2785cfe110c232d7f2e4ba7c77408bf to your computer and use it in GitHub Desktop.
Save shazdeh/e2785cfe110c232d7f2e4ba7c77408bf to your computer and use it in GitHub Desktop.
Fix Velvet Blues Update URLs bug
<?php
global $wpdb;
$wpdb->query( "UPDATE {$wpdb->postmeta} SET meta_value = Replace( meta_value, \"\n\", '' ) WHERE meta_key = '_themify_builder_settings_json'" );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment