| @@ -80,9 +80,9 @@ | ||
| 80 | 80 | 'message' => __('Invalid activation key or account.', 'userswp'), |
| 81 | 81 | 'type' => 'error', |
| 82 | 82 | ); |
| 83 | 83 | |
| 84 | - $messages = apply_filters('uwp_form_error_messages', $messages, $echo, $user_id ); | |
| 84 | + $messages = apply_filters('uwp_form_error_messages', $messages); | |
| 85 | 85 | |
| 86 | 86 | if (!empty($key) && isset($messages[$key])) { |
| 87 | 87 | $value = $messages[$key]; |
| 88 | 88 | $message = $value['message']; |
| @@ -110,9 +110,9 @@ | ||
| 110 | 110 | $updater = new UsersWP_Background_Updater(); |
| 111 | 111 | if ( $updater->is_updating() || ! empty( $_GET['force_sync_data'] ) ) { |
| 112 | 112 | ?> |
| 113 | 113 | <div id="message" class="updated notice notice-alt uwp-message"> |
| 114 | - <p><strong><?php esc_attr_e( 'UsersWP data sync', 'userswp' ); ?></strong> – <?php esc_attr_e( 'Users data sync is running in the background.', 'userswp' ); ?> <a href="<?php echo esc_url( add_query_arg( array( 'force_sync_data' => 'true', '_nonce' => wp_create_nonce( 'force_sync_data' ) ), admin_url( 'admin.php?page=userswp' ) ) ); ?>"><?php esc_attr_e( 'Taking a while? Click here to run it now.', 'userswp' ); ?></a></p> | |
| 114 | + <p><strong><?php esc_attr_e( 'UsersWP data sync', 'userswp' ); ?></strong> – <?php esc_attr_e( 'Users data sync is running in the background.', 'userswp' ); ?> <a href="<?php echo esc_url( add_query_arg( 'force_sync_data', 'true', admin_url( 'admin.php?page=userswp' ) ) ); ?>"><?php esc_attr_e( 'Taking a while? Click here to run it now.', 'userswp' ); ?></a></p> | |
| 115 | 115 | </div> |
| 116 | 116 | <?php |
| 117 | 117 | } |
| 118 | 118 | } |