fix: clear legacy _projects_portfolio_github_url on provider switch / empty repo URL

This commit is contained in:
Keith Solomon
2026-08-09 23:49:06 -05:00
parent 981c29ab39
commit 0480abe292
3 changed files with 85 additions and 1 deletions
+3
View File
@@ -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; }
}