Skip to content

Commit

Permalink
Merge pull request #46 from hughdevore/master
Browse files Browse the repository at this point in the history
CI-4609 - Make JSON valid again.
  • Loading branch information
CodeProKid authored Mar 2, 2018
2 parents f0db89c + 2d5f4c2 commit 39295d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion template-tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ function wpqt_register_queue( $queue_name, $args ) {
*
* @param string|array $queues Either a single queue to add the task to, or an array of queue names
* to add the task to
* @param string $data The data to be saved in the task
* @param array $args Additional args you want to pass to the wp_insert_post function
*
* @return int|WP_Error
Expand Down Expand Up @@ -97,7 +98,7 @@ function wpqt_create_task( $queues, $data, $args = [] ) {

$task_args = [
'post_type' => 'wpqt-task',
'post_content' => wp_filter_post_kses( $data ),
'post_content' => $data,
'post_status' => 'publish',
];

Expand Down

0 comments on commit 39295d5

Please sign in to comment.