Skip to content

Commit 754c172

Browse files
committed
Last of the WPCS checks.
1 parent 52371e6 commit 754c172

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

includes/classes/class-email.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,12 @@ public function get_html_header() {
122122
<meta name="format-detection" content="address=no">
123123
<meta name="format-detection" content="email=no">
124124
<title></title>
125+
<?php
126+
// This is for an email and cant run with wp_enqueue_scripts()
127+
// phpcs:ignore WordPress.WP.EnqueuedResources.NonEnqueuedStylesheet ?>
125128
<link href="http://fonts.googleapis.com/css?family=Noto+Sans:400,700" rel="stylesheet" type="text/css">
126129
<style type="text/css">
127-
<?php include( PFF_PAYSTACK_PLUGIN_PATH . '/assets/css/email-' . $this->slug . '.css' ); ?>
130+
<?php include( KKD_PFF_PAYSTACK_PLUGIN_PATH . '/assets/css/email-' . $this->slug . '.css' ); ?>
128131
</style>
129132
</head>
130133
<?php

0 commit comments

Comments
 (0)