Changeset 2014744
- Timestamp:
- 01/18/2019 11:01:01 AM (7 years ago)
- Location:
- appful/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (1 diff)
-
singletons/api.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
appful/trunk/readme.txt
r1845063 r2014744 4 4 Tags: mobile app, mobile, app, ios, android, plugin, iphone, blog, ipad, apps, native, builder 5 5 Requires at least: 3.0 6 Tested up to: 4.9.46 Tested up to: 5.0 7 7 Stable tag: 4.5 8 8 License: GPLv2 or later -
appful/trunk/singletons/api.php
r1969878 r2014744 30 30 add_action('wp_ajax_zaki_like_dislike_ajax', array(&$this,'onZakiCommentLike'), 1, 0); 31 31 add_action('wp_ajax_nopriv_zaki_like_dislike_ajax', array(&$this,'onZakiCommentLike'), 1, 0); 32 add_action('profile_update', array(&$this,'user_profile_update'), 10, 2); 32 33 33 34 … … 1407 1408 } 1408 1409 } 1410 1411 function user_profile_update($user_id, $old_user_data) { 1412 $user = ((array)get_userdata($user_id))['data']; 1413 $old_user_data = ((array)$old_user_data)['data']; 1414 if($user->user_pass != $old_user_data->user_pass) { //invalidate session 1415 $this->request('invalidate', array('user' => $user)); 1416 } 1417 } 1409 1418 } 1410 1419
Note: See TracChangeset
for help on using the changeset viewer.