Skip to content

Commit 3c0a53c

Browse files
committed
Naming issue fixed
1 parent 696bd84 commit 3c0a53c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Controllers/MainController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1387,7 +1387,7 @@ private function processError($paramMethodName, $paramErrorMessage)
13871387
// Works
13881388
if(!is_null($this->confWithoutRouting))
13891389
{
1390-
$errorMessageHTML = '<div class="'.$this->confWithoutRouting->getPluginCSS_Prefix().'error"><div id="message" class="error"><p>'.esc_html($paramMethodName).'</p></div></div>';
1390+
$errorMessageHTML = '<div class="'.$this->confWithoutRouting->getPluginCSS_Prefix().'error"><div id="message" class="error"><p>'.esc_br_html($paramErrorMessage).'</p></div></div>';
13911391

13921392
// Based on WP Coding Standards ticket #340, the WordPress '_doing_it_wrong' method does not escapes the HTML by default,
13931393
// so this has to be done by us. Read more: https://github.com/WordPress/WordPress-Coding-Standards/pull/340

0 commit comments

Comments
 (0)