Skip to content

Commit

Permalink
Updates comments
Browse files Browse the repository at this point in the history
  • Loading branch information
creativecoder committed Mar 16, 2023
1 parent 934be7c commit 01ff186
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions projects/plugins/jetpack/_inc/blogging-prompts.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function jetpack_blogging_prompts_add_meta_data( $keys ) {
/**
* Sets up a new post as an answer to a blogging prompt.
*
* When we know a user is explicitly answering a prompt, we pre-populate the post meta to mark the post as a prompt response,
* When we know a user is explicitly answering a prompt, pre-populate the post meta to mark the post as a prompt response,
* in case they decide to remove the block from the post content, preventing they meta from being added later.
*
* Called on `wp_insert_post` hook.
Expand All @@ -42,7 +42,7 @@ function jetpack_setup_blogging_prompt_response( $post_id ) {
return;
}

// Prime the API cache and make sure the prompt exists.
// Make sure the prompt exists.
$prompt = jetpack_get_blogging_prompt_by_id( $prompt_id );

if ( $prompt ) {
Expand Down

0 comments on commit 01ff186

Please sign in to comment.