Skip to content

Commit eb3f26f

Browse files
authored
Merge pull request #43 from BeAPI/version-0.7.2
Version 0.7.2
2 parents b79c3e2 + 6b82aba commit eb3f26f

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

classes/class-plugin.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,6 @@ public static function activate() {
2323
}
2424
unset($role);
2525
}
26-
27-
// Load builtin plugin "meta for taxo", if not already installed and actived
28-
if ( !function_exists('install_table_termmeta') ) {
29-
require_once(MPT_DIR.'libraries/meta-for-taxonomies/meta-for-taxonomies.php');
30-
install_table_termmeta();
31-
}
3226
}
3327

3428
/**

classes/shortcodes/class-shortcode-login.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ public static function init() {
6969
// Need to look at the URL the way it will end up in wp_redirect()
7070
$redirect_to = wp_sanitize_redirect($redirect_to);
7171
$redirect_to = wp_validate_redirect($redirect_to, home_url('/'));
72-
73-
wp_redirect( $redirect_to );
72+
73+
wp_redirect( apply_filters( 'mpt_login_redirect', $redirect_to ) );
7474
exit();
7575
}
7676

members-post-type.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/*
33
Plugin Name: Members post type
4-
Version: 0.7.1
4+
Version: 0.7.2
55
Plugin URI: https://github.com/herewithme/members-post-type
66
Description: Manage members on WordPress as post type. Implement: post type, authentification, role, clone from WP.
77
Author: Amaury Balmer
@@ -57,7 +57,7 @@
5757
}
5858

5959
// Plugin constants
60-
define('MPT_VERSION', '0.7.1');
60+
define('MPT_VERSION', '0.7.2');
6161
define('MPT_CPT_NAME', 'member');
6262
define('MPT_TAXO_NAME', 'members-role');
6363

0 commit comments

Comments
 (0)