File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -827,6 +827,7 @@ public function render_admin_bar( $wp_admin_bar ) {
827
827
* @return string
828
828
*/
829
829
protected function admin_bar_style () {
830
+ // phpcs:disable Squiz.PHP.Heredoc.NotAllowed
830
831
return <<<HTML
831
832
<style>
832
833
#wpadminbar ul li.redis-cache-error {
@@ -839,6 +840,7 @@ protected function admin_bar_style() {
839
840
}
840
841
</style>
841
842
HTML ;
843
+ // phpcs:enable
842
844
}
843
845
844
846
/**
@@ -851,6 +853,7 @@ protected function admin_bar_script() {
851
853
$ ajaxurl = esc_url ( admin_url ( 'admin-ajax.php ' ) );
852
854
$ flushMessage = __ ( 'Flushing cache... ' , 'redis-cache ' );
853
855
856
+ // phpcs:disable Squiz.PHP.Heredoc.NotAllowed
854
857
return <<<HTML
855
858
<script>
856
859
(function (element) {
@@ -896,6 +899,7 @@ protected function admin_bar_script() {
896
899
);
897
900
</script>
898
901
HTML ;
902
+ // phpcs:enable
899
903
}
900
904
901
905
/**
You can’t perform that action at this time.
0 commit comments