Commit 1077d0fc authored by Dave Lane's avatar Dave Lane

fixed a deprecated php error with a static function referring to

parent 1604ae49
......@@ -528,7 +528,7 @@ class WEnotesCouch extends WEnotesUtil {
}
// submit a wenotes post via WP ajax.
public static function wenotespost_ajax() {
public function wenotespost_ajax() {
$this->log('received post request via ajax: '. print_r($data,true));
$current_user = wp_get_current_user();
$this->log('the current user details: '.$current_user->user_login .', '. $current_user->display_name);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment