mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-19 06:33:50 +09:00
Update 1.0.70
This commit is contained in:
@@ -24,12 +24,11 @@ class UM_Admin_Metabox {
|
||||
***/
|
||||
function remove_rewrite_rules_option( $post_id ) {
|
||||
if ( ! wp_is_post_revision( $post_id ) ) {
|
||||
|
||||
|
||||
if ( get_post_meta($post_id, '_um_core', true) ) {
|
||||
flush_rewrite_rules( true ); // so they reset rewrite rules
|
||||
delete_option('um_flush_rules');
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user