Merge pull request #88 from jonfalcon/master

Fix title tags
This commit is contained in:
Champ Camba
2016-02-18 14:56:37 +08:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -214,7 +214,7 @@ function UM_check_password_matched() {
var xhrValidateUsername = false;
function UM_check_username() {
jQuery(document).on('input[data-key=user_login]').on('keyup', function() {
jQuery(document).on('input[data-key=user_login]:not([disabled=disabled])').on('keyup', function() {
var field = jQuery('input[data-key=user_login]');
var value = field.val();
+1 -1
View File
@@ -17,7 +17,7 @@
/***
*** @dynamic profile page title
***/
add_filter('wp_title', 'um_dynamic_user_profile_pagetitle', 10, 2 );
add_filter('wp_title', 'um_dynamic_user_profile_pagetitle', 100000, 2 );
add_filter('pre_get_document_title', 'um_dynamic_user_profile_pagetitle', 100000, 2 );
function um_dynamic_user_profile_pagetitle( $title, $sep = '' ) {
global $paged, $page, $ultimatemember;