- small fixes before release;

- updated translations;
This commit is contained in:
nikitasinelnikov
2020-04-01 18:28:07 +03:00
parent 25287c77f4
commit 9f5f7da354
3 changed files with 230 additions and 224 deletions
@@ -1063,6 +1063,8 @@ if ( ! class_exists( 'um\admin\core\Admin_Metabox' ) ) {
$wpdb->update( $wpdb->posts, array( 'post_title' => sanitize_text_field( $_POST['post_title'] ) ), $where );
do_action( 'um_before_member_directory_save', $post_id );
// save
delete_post_meta( $post_id, '_um_roles' );
delete_post_meta( $post_id, '_um_tagline_fields' );
+4
View File
@@ -10,6 +10,10 @@ function um_upgrade_balance_field215() {
$point_type = defined( 'MYCRED_DEFAULT_TYPE_KEY' ) ? MYCRED_DEFAULT_TYPE_KEY : 'mycred_default';
if ( function_exists( 'mycred' ) ) {
UM()->options()->update( 'mycred_point_types', array( $point_type ) );
}
// update default sorting
$wpdb->query(
"UPDATE {$wpdb->postmeta}
File diff suppressed because it is too large Load Diff