Skip to content

Commit 2e36a0d

Browse files
committed
CS fix
1 parent 22914dd commit 2e36a0d

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

classes/class-suggested-tasks.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -288,22 +288,22 @@ public function register_post_type() {
288288
);
289289

290290
$rest_meta_fields = [
291-
'prpl_points' => [
291+
'prpl_points' => [
292292
'type' => 'number',
293293
'single' => true,
294294
'show_in_rest' => true,
295295
],
296-
'prpl_task_id' => [
296+
'prpl_task_id' => [
297297
'type' => 'string',
298298
'single' => true,
299299
'show_in_rest' => true,
300300
],
301-
'prpl_url' => [
301+
'prpl_url' => [
302302
'type' => 'string',
303303
'single' => true,
304304
'show_in_rest' => true,
305305
],
306-
'menu_order' => [
306+
'menu_order' => [
307307
'type' => 'number',
308308
'single' => true,
309309
'show_in_rest' => true,

classes/update/class-update-161.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ private function migrate_task( $task ) {
107107
'provider_id' => 'user',
108108
'category' => 'user',
109109
'task_id' => isset( $task['task_id'] ) ? $task['task_id'] : '',
110-
'post_status' => ! isset( $task['status'] ) || 'pending' === $task['status'] ? 'publish' : $task['status'],
110+
'post_status' => 'pending' === $task['status'] ? 'publish' : $task['status'],
111111
'dismissable' => true,
112112
'snoozable' => false,
113113
];

0 commit comments

Comments
 (0)