Skip to content

Commit 0fdc2c0

Browse files
committed
Last of the WPCS checks
1 parent e725368 commit 0fdc2c0

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

includes/classes/class-email-invoice.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ public function __construct() {
4949
* @return void
5050
*/
5151
public function send_invoice( $form_id, $currency, $amount, $name, $email, $code, $referer_url ) {
52+
$this->slug = 'invoice';
5253
$this->form_id = $form_id;
5354
$this->amount = $amount;
5455
$this->currency = $currency;

includes/classes/class-email-receipt-owner.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ public function __construct() {
4040
function send_receipt_owner( $form_id, $currency, $amount, $name, $email, $code, $metadata ) {
4141

4242
// Default Values
43+
$this->slug = 'receipt_owner';
4344
$this->amount = $amount;
4445
$this->currency = $currency;
4546
$this->code = $code;

includes/classes/class-email-receipt.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ public function __construct() {
5454
public function send_receipt( $form_id, $currency, $amount, $name, $email, $code, $metadata ) {
5555

5656
// Default Values
57+
$this->slug = 'receipt';
5758
$this->amount = $amount;
5859
$this->currency = $currency;
5960
$this->code = $code;

includes/classes/class-email.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public function get_html_header() {
127127
// phpcs:ignore WordPress.WP.EnqueuedResources.NonEnqueuedStylesheet ?>
128128
<link href="http://fonts.googleapis.com/css?family=Noto+Sans:400,700" rel="stylesheet" type="text/css">
129129
<style type="text/css">
130-
<?php include( KKD_PFF_PAYSTACK_PLUGIN_PATH . '/assets/css/email-' . $this->slug . '.css' ); ?>
130+
<?php include( PFF_PAYSTACK_PLUGIN_PATH . '/assets/css/email-' . $this->slug . '.css' ); ?>
131131
</style>
132132
</head>
133133
<?php

0 commit comments

Comments
 (0)