Skip to content

Commit ffc5c55

Browse files
committed
Fix. Enqueue. Script individual-disable-comments.js renamed to cleantalk-individual-disable-comments.js
1 parent 3348397 commit ffc5c55

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

js/individual-disable-comments.min.js renamed to js/cleantalk-individual-disable-comments.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/cleantalk-individual-disable-comments.min.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/individual-disable-comments.min.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.
File renamed without changes.

lib/Cleantalk/Antispam/DisableComments.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,9 @@ public function filterAdminBar()
203203
public function filterGutenbergBlocks($_hook)
204204
{
205205
if ( $this->isCurrentTypeToDisable() ) {
206-
ApbctEnqueue::getInstance()->js('apbct-individual-disable-comments.js');
206+
ApbctEnqueue::getInstance()->js('cleantalk-individual-disable-comments.js');
207207
wp_localize_script(
208-
'apbct-individual-disable-comments-js',
208+
'cleantalk-individual-disable-comments-js',
209209
'apbctDisableComments',
210210
array(
211211
'disabled_blocks' => array('core/latest-comments'),

0 commit comments

Comments
 (0)