@@ -179,7 +179,7 @@ |
||
179 | 179 | $this->loader->add_action('admin_init', $plugin_admin, 'register_sections'); |
180 | 180 | $this->loader->add_action('admin_init', $plugin_admin, 'register_fields'); |
181 | 181 | $this->loader->add_filter('plugin_action_links_' . WORDPRESS_SECURITY_TXT_FILE, $plugin_admin, |
182 | - 'link_settings'); |
|
182 | + 'link_settings'); |
|
183 | 183 | $this->loader->add_action('plugin_row_meta', $plugin_admin, 'link_row', 10, 2); |
184 | 184 | $this->loader->add_action('wp_before_admin_bar_render', $plugin_admin, 'admin_bar'); |
185 | 185 | } |
@@ -137,10 +137,10 @@ |
||
137 | 137 | <li><strong>File Size</strong>: |
138 | 138 | <code><?php echo filesize(WordPress_Security_Txt_Public::cache_file()); ?> bytes</code></li> |
139 | 139 | <li><strong>Creation Time</strong>: <code><?php echo date('c', |
140 | - filectime(WordPress_Security_Txt_Public::cache_file())); ?></code> |
|
140 | + filectime(WordPress_Security_Txt_Public::cache_file())); ?></code> |
|
141 | 141 | </li> |
142 | 142 | <li><strong>Modification Time</strong>: <code><?php echo date('c', |
143 | - filemtime(WordPress_Security_Txt_Public::cache_file())); ?></code> |
|
143 | + filemtime(WordPress_Security_Txt_Public::cache_file())); ?></code> |
|
144 | 144 | </li> |
145 | 145 | <?php |
146 | 146 | } ?> |
@@ -269,13 +269,13 @@ |
||
269 | 269 | 'value' => isset($this->options['disclosure']) ? $this->options['disclosure'] : 'default', |
270 | 270 | 'selections' => [ |
271 | 271 | ['value' => 'default', |
272 | - 'label' => 'Default — do not include the "Disclosure" directive'], |
|
272 | + 'label' => 'Default — do not include the "Disclosure" directive'], |
|
273 | 273 | ['value' => 'full', |
274 | - 'label' => 'Full — you will fully disclose reports after the issue has been resolved'], |
|
274 | + 'label' => 'Full — you will fully disclose reports after the issue has been resolved'], |
|
275 | 275 | ['value' => 'partial', |
276 | - 'label' => 'Partial — you will partially disclose reports after the issue has been resolved'], |
|
276 | + 'label' => 'Partial — you will partially disclose reports after the issue has been resolved'], |
|
277 | 277 | ['value' => 'none', |
278 | - 'label' => 'None — you do not want to disclose reports after the issue has been resolved'], |
|
278 | + 'label' => 'None — you do not want to disclose reports after the issue has been resolved'], |
|
279 | 279 | ], |
280 | 280 | ] |
281 | 281 | ); |
@@ -262,7 +262,7 @@ |
||
262 | 262 | WordPress_Security_Txt::import_lib(); |
263 | 263 | |
264 | 264 | $writer = (new \AustinHeap\Security\Txt\Writer)->setDebug(isset($this->options['credits']) ? $this->options['credits'] : false) |
265 | - ->addContact($this->options['contact']); |
|
265 | + ->addContact($this->options['contact']); |
|
266 | 266 | |
267 | 267 | if (! empty($this->options['encryption'])) { |
268 | 268 | $writer->setEncryption(get_site_url() . '/.well-known/gpg.txt'); |