Skip to content

Commit 93b3fa4

Browse files
author
Miika Arponen
committed
Changed deprecated update_usermeta to update_user_meta
1 parent 176533a commit 93b3fa4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugin.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: DustPress Debugger
44
* Plugin URI: https://github.com/devgeniem/dustpress-debugger
55
* Description: Provides handy ajaxified debugger tool for DustPress based themes.
6-
* Version: 1.2.0
6+
* Version: 1.2.1
77
* Author: Geniem Oy / Miika Arponen & Ville Siltala
88
* Author URI: http://www.geniem.com
99
*/
@@ -181,7 +181,7 @@ public static function save_profile_option( $user_id ) {
181181
return false;
182182
}
183183

184-
update_usermeta( $user_id, "dustpress_debugger", $_POST["dustpress_debugger"] );
184+
update_user_meta( $user_id, "dustpress_debugger", $_POST["dustpress_debugger"] );
185185
}
186186
}
187187

0 commit comments

Comments
 (0)