File tree 3 files changed +4
-3
lines changed
3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -103,12 +103,12 @@ protected function column_name( $item ) {
103
103
[
104
104
'page ' => 'rest-oauth2-apps ' ,
105
105
'action ' => 'approve ' ,
106
- 'id ' => $ item ->ID ,
106
+ 'id ' => $ item ->ID ,
107
107
],
108
108
admin_url ( 'users.php ' )
109
109
);
110
110
111
- $ publish_link = wp_nonce_url ( $ publish_link , 'rest-oauth2-approve: ' . $ item ->ID );
111
+ $ publish_link = wp_nonce_url ( $ publish_link , 'rest-oauth2-approve: ' . $ item ->ID );
112
112
$ actions ['app-approve ' ] = sprintf (
113
113
'<a href="%s">%s</a> ' ,
114
114
esc_url ( $ publish_link ),
Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ function handle_edit_submit( Client $consumer = null ) {
213
213
];
214
214
215
215
$ consumer = Client::create ( $ data );
216
- $ result = $ consumer ;
216
+ $ result = $ consumer ;
217
217
} else {
218
218
// Update the existing consumer post
219
219
$ data = [
Original file line number Diff line number Diff line change @@ -76,6 +76,7 @@ public static function get_by_id( $id ) {
76
76
],
77
77
],
78
78
];
79
+
79
80
$ query = new WP_User_Query ( $ args );
80
81
$ results = $ query ->get_results ();
81
82
if ( empty ( $ results ) ) {
You can’t perform that action at this time.
0 commit comments