forked from Solo-Web-Works/Projects-Portfolio
fix: clear legacy _projects_portfolio_github_url on provider switch / empty repo URL
This commit is contained in:
@@ -71,6 +71,9 @@ if ( ! function_exists( 'get_post_meta' ) ) {
|
||||
if ( ! function_exists( 'update_post_meta' ) ) {
|
||||
function update_post_meta( $post_id, $key, $value ) { return true; }
|
||||
}
|
||||
if ( ! function_exists( 'delete_post_meta' ) ) {
|
||||
function delete_post_meta( $post_id, $key ) { return true; }
|
||||
}
|
||||
if ( ! function_exists( 'wp_unslash' ) ) {
|
||||
function wp_unslash( $value ) { return $value; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user