PluginProbe
Defender Security – Malware Scanner, Login Security & Firewall / 6.3.0
Defender Security – Malware Scanner, Login Security & Firewall v6.3.0
6.3.0 6.2.3 6.2.4 6.2.0 6.2.1 6.2.2 6.1.0 5.3.1 5.4.0 5.4.1 5.5.0 5.5.1 5.6.0 5.6.1 5.6.2 5.7.0 5.7.1 5.7.2 5.8.0 5.8.1 5.9.0 6.0.0 6.0.1 3.0.1 3.1.0 All 141 releases
← All changes | src/component/security-tweaks/class-hide-error.php +13 -11 5.3.1 → 6.3.0 View file →
@@ -143,9 +143,9 @@
143 143 *
144 144 * @return string
145 145 */
146 146 public function get_label(): string {
147 - return esc_html__( 'Hide error reporting', 'defender-security' );
147 + return esc_html__( 'Turn off error debugging', 'defender-security' );
148 148 }
149 149
150 150 /**
151 151 * Get the error reason.
@@ -152,9 +152,14 @@
152 152 *
153 153 * @return string
154 154 */
155 155 public function get_error_reason(): string {
156 - return esc_html__( 'Error debugging is currently allowed.', 'defender-security' );
156 + return wp_kses(
157 + __( '<strong>Error debugging is turned on</strong> and may expose details hackers can use.', 'defender-security' ),
158 + array(
159 + 'strong' => array(),
160 + )
161 + );
157 162 }
158 163
159 164 /**
160 165 * Return a summary data of this tweak.
@@ -165,17 +170,14 @@
165 170 return array(
166 171 'slug' => $this->slug,
167 172 'title' => $this->get_label(),
168 173 'errorReason' => $this->get_error_reason(),
169 - 'successReason' => esc_html__(
170 - 'You\'ve disabled all error reporting, Houston will never report a problem.',
171 - 'defender-security'
174 + 'successReason' => wp_strip_all_tags( __( 'Error reporting is turned off.', 'defender-security' ) ),
175 + 'misc' => array(
176 + 'show_revert_button' => true,
177 + 'show_action_button' => true,
172 178 ),
173 - 'misc' => array(),
174 - 'bulk_description' => esc_html__(
175 - 'Error debugging feature is useful for active development, but on live sites provides hackers yet another way to find loopholes in your site\'s security. We will disable error reporting for you.',
176 - 'defender-security'
177 - ),
178 - 'bulk_title' => esc_html__( 'Error Reporting', 'defender-security' ),
179 + 'bulk_description' => wp_strip_all_tags( __( 'Turn off error debugging on live sites to help protect sensitive code details. When debugging is no longer needed, turn off error debugging to reduce the risk of exposing information attackers can use.', 'defender-security' ) ),
180 + 'bulk_title' => wp_strip_all_tags( __( 'Error Reporting', 'defender-security' ) ),
179 181 );
180 182 }
181 183 }