projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #19061 from christianwach/lab-core-2217
[civicrm-core.git]
/
CRM
/
Utils
/
System
/
WordPress.php
diff --git
a/CRM/Utils/System/WordPress.php
b/CRM/Utils/System/WordPress.php
index 0963d01df0645e046dd4c0837bac79cc55a36806..1b2d22ebf2b8311135ed3b00f562bc69c45eb97e 100644
(file)
--- a/
CRM/Utils/System/WordPress.php
+++ b/
CRM/Utils/System/WordPress.php
@@
-271,6
+271,7
@@
class CRM_Utils_System_WordPress extends CRM_Utils_System_Base {
add_action('wp_head', [__CLASS__, '_showHTMLHead']);
// back-end views
add_action('admin_head', [__CLASS__, '_showHTMLHead']);
+ $registered = TRUE;
}
CRM_Core_Region::instance('wp_head')->add([
'markup' => $head,