mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-19 14:43:49 +09:00
- small fixes before release;
- updated translations;
This commit is contained in:
@@ -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' );
|
||||
|
||||
@@ -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}
|
||||
|
||||
+224
-224
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user