Skip to content

Commit

Permalink
Coding standards
Browse files Browse the repository at this point in the history
  • Loading branch information
n7studios committed Jan 9, 2024
1 parent 1f705f3 commit 85327cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/class-convertkit-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -1497,7 +1497,7 @@ public function get_landing_page_html( $url ) {
// Inject JS for subscriber forms to work.
// wp_enqueue_script() isn't called when we load a Landing Page, so we can't use it.
// phpcs:disable WordPress.WP.EnqueuedResources
$script = "<script type='text/javascript' src='" . $this->plugin_url . 'resources/frontend/js/convertkit.js?ver=' . $this->plugin_version . "'></script>";
$script = "<script type='text/javascript' src='" . $this->plugin_url . 'resources/frontend/js/convertkit.js?ver=' . $this->plugin_version . "'></script>";
$script .= "<script type='text/javascript'>/* <![CDATA[ */var convertkit = {\"ajaxurl\":\"" . admin_url( 'admin-ajax.php' ) . '"};/* ]]> */</script>';
// phpcs:enable

Expand Down

0 comments on commit 85327cf

Please # to comment.