Version Description
Download this release
Release Info
Developer | ultimatemember |
Plugin | Ultimate Member – User Profile & Membership Plugin |
Version | 1.3.25 |
Comparing to | |
See all releases |
Code changes from version 1.3.24 to 1.3.25
- admin/core/um-admin-metabox.php +0 -15
- core/um-actions-account.php +1 -1
- core/um-rewrite.php +3 -4
- index.php +1 -1
- readme.txt +5 -1
admin/core/um-admin-metabox.php
CHANGED
@@ -14,22 +14,7 @@ class UM_Admin_Metabox {
|
|
14 |
|
15 |
add_action( 'load-post.php', array(&$this, 'add_metabox'), 9 );
|
16 |
add_action( 'load-post-new.php', array(&$this, 'add_metabox'), 9 );
|
17 |
-
|
18 |
-
add_action( 'save_post', array(&$this, 'remove_rewrite_rules_option'), 10, 2 );
|
19 |
-
|
20 |
-
}
|
21 |
-
|
22 |
-
/***
|
23 |
-
*** @unset rewrite rules if the slug was changed
|
24 |
-
***/
|
25 |
-
function remove_rewrite_rules_option( $post_id ) {
|
26 |
-
if ( ! wp_is_post_revision( $post_id ) ) {
|
27 |
-
|
28 |
-
if ( get_post_meta($post_id, '_um_core', true) ) {
|
29 |
-
delete_option('um_flush_rules');
|
30 |
-
}
|
31 |
|
32 |
-
}
|
33 |
}
|
34 |
|
35 |
/***
|
14 |
|
15 |
add_action( 'load-post.php', array(&$this, 'add_metabox'), 9 );
|
16 |
add_action( 'load-post-new.php', array(&$this, 'add_metabox'), 9 );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
|
|
|
18 |
}
|
19 |
|
20 |
/***
|
core/um-actions-account.php
CHANGED
@@ -362,7 +362,7 @@
|
|
362 |
|
363 |
<?php } ?>
|
364 |
|
365 |
-
<div class="um-account-name uimob800-hide"><a href="<?php echo um_user_profile_url(); ?>"><?php echo um_user('display_name'); ?></a></div>
|
366 |
|
367 |
</div>
|
368 |
|
362 |
|
363 |
<?php } ?>
|
364 |
|
365 |
+
<div class="um-account-name uimob800-hide"><a href="<?php echo um_user_profile_url(); ?>"><?php echo um_user('display_name', 'html'); ?></a></div>
|
366 |
|
367 |
</div>
|
368 |
|
core/um-rewrite.php
CHANGED
@@ -31,8 +31,8 @@ class UM_Rewrite {
|
|
31 |
function rewrite_rules(){
|
32 |
|
33 |
global $ultimatemember;
|
34 |
-
|
35 |
-
if ( isset( $ultimatemember->permalinks->core['user'] )
|
36 |
|
37 |
$user_page_id = $ultimatemember->permalinks->core['user'];
|
38 |
$account_page_id = $ultimatemember->permalinks->core['account'];
|
@@ -57,8 +57,7 @@ class UM_Rewrite {
|
|
57 |
);
|
58 |
|
59 |
flush_rewrite_rules( true );
|
60 |
-
|
61 |
-
|
62 |
}
|
63 |
|
64 |
}
|
31 |
function rewrite_rules(){
|
32 |
|
33 |
global $ultimatemember;
|
34 |
+
|
35 |
+
if ( isset( $ultimatemember->permalinks->core['user'] ) ) {
|
36 |
|
37 |
$user_page_id = $ultimatemember->permalinks->core['user'];
|
38 |
$account_page_id = $ultimatemember->permalinks->core['account'];
|
57 |
);
|
58 |
|
59 |
flush_rewrite_rules( true );
|
60 |
+
|
|
|
61 |
}
|
62 |
|
63 |
}
|
index.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Ultimate Member
|
4 |
Plugin URI: http://ultimatemember.com/
|
5 |
Description: The easiest way to create powerful online communities and beautiful user profiles with WordPress
|
6 |
-
Version: 1.3.
|
7 |
Author: Ultimate Member
|
8 |
Author URI: http://ultimatemember.com/
|
9 |
*/
|
3 |
Plugin Name: Ultimate Member
|
4 |
Plugin URI: http://ultimatemember.com/
|
5 |
Description: The easiest way to create powerful online communities and beautiful user profiles with WordPress
|
6 |
+
Version: 1.3.25
|
7 |
Author: Ultimate Member
|
8 |
Author URI: http://ultimatemember.com/
|
9 |
*/
|
readme.txt
CHANGED
@@ -7,7 +7,7 @@ Tags: access control, author, authors, author profile, comments, community, comm
|
|
7 |
Requires at least: 4.1
|
8 |
Tested up to: 4.3
|
9 |
|
10 |
-
Stable Tag: 1.3.
|
11 |
|
12 |
License: GNU Version 2 or Any Later Version
|
13 |
|
@@ -152,6 +152,10 @@ The plugin works with popular caching plugins by automatically excluding Ultimat
|
|
152 |
|
153 |
== Changelog ==
|
154 |
|
|
|
|
|
|
|
|
|
155 |
= 1.3.24: September 6, 2015 =
|
156 |
|
157 |
* Tweak: saved some database queries
|
7 |
Requires at least: 4.1
|
8 |
Tested up to: 4.3
|
9 |
|
10 |
+
Stable Tag: 1.3.25
|
11 |
|
12 |
License: GNU Version 2 or Any Later Version
|
13 |
|
152 |
|
153 |
== Changelog ==
|
154 |
|
155 |
+
= 1.3.25: September 7, 2015 =
|
156 |
+
|
157 |
+
* Fixed: 404 error on UM pages
|
158 |
+
|
159 |
= 1.3.24: September 6, 2015 =
|
160 |
|
161 |
* Tweak: saved some database queries
|