Skip to content

Commit

Permalink
Jetpack Forms: fix a typo in the template filter (#31016)
Browse files Browse the repository at this point in the history
* Fixed typo in filter name

* changelog

* Update versions
  • Loading branch information
donnchawp authored May 28, 2023
1 parent f35d79b commit 77031be
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 4 deletions.
5 changes: 5 additions & 0 deletions projects/packages/forms/changelog/fix-template_filter_name
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: fixed
Comment: A typo in an unreleased filter was fixed.


2 changes: 1 addition & 1 deletion projects/packages/forms/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@automattic/jetpack-forms",
"version": "0.19.0",
"version": "0.19.1-alpha",
"description": "Jetpack Forms",
"homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/packages/forms/#readme",
"bugs": {
Expand Down
2 changes: 1 addition & 1 deletion projects/packages/forms/src/class-jetpack-forms.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
class Jetpack_Forms {

const PACKAGE_VERSION = '0.19.0';
const PACKAGE_VERSION = '0.19.1-alpha';

/**
* Load the contact form module.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1692,7 +1692,7 @@ public static function wrap_message_in_html_tags( $title, $response_link, $form_
*
* @param string the filename of the HTML template used for response emails to the form owner.
*/
require apply_filters( 'jetpack_forms_respone_email_template', __DIR__ . '/templates/email-response.php' );
require apply_filters( 'jetpack_forms_response_email_template', __DIR__ . '/templates/email-response.php' );
$html_message = sprintf(
// The tabs are just here so that the raw code is correctly formatted for developers
// They're removed so that they don't affect the final message sent to users
Expand Down
5 changes: 5 additions & 0 deletions projects/plugins/jetpack/changelog/fix-template_filter_name
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: bugfix
Comment: A typo in an unreleased filter was fixed.


Original file line number Diff line number Diff line change
Expand Up @@ -4255,7 +4255,7 @@ public static function wrap_message_in_html_tags( $title, $response_link, $form_
*
* @param string the filename of the HTML template used for response emails to the form owner.
*/
require apply_filters( 'jetpack_forms_respone_email_template', __DIR__ . '/grunion-response-email-template.php' );
require apply_filters( 'jetpack_forms_response_email_template', __DIR__ . '/grunion-response-email-template.php' );
$html_message = sprintf(
// The tabs are just here so that the raw code is correctly formatted for developers
// They're removed so that they don't affect the final message sent to users
Expand Down

0 comments on commit 77031be

Please sign in to comment.