File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 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 ) {
103103 [
104104 'page ' => 'rest-oauth2-apps ' ,
105105 'action ' => 'approve ' ,
106- 'id ' => $ item ->ID ,
106+ 'id ' => $ item ->ID ,
107107 ],
108108 admin_url ( 'users.php ' )
109109 );
110110
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 );
112112 $ actions ['app-approve ' ] = sprintf (
113113 '<a href="%s">%s</a> ' ,
114114 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 ) {
213213 ];
214214
215215 $ consumer = Client::create ( $ data );
216- $ result = $ consumer ;
216+ $ result = $ consumer ;
217217 } else {
218218 // Update the existing consumer post
219219 $ data = [
Original file line number Diff line number Diff line change @@ -76,6 +76,7 @@ public static function get_by_id( $id ) {
7676 ],
7777 ],
7878 ];
79+
7980 $ query = new WP_User_Query ( $ args );
8081 $ results = $ query ->get_results ();
8182 if ( empty ( $ results ) ) {
You can’t perform that action at this time.
0 commit comments