Skip to content

Commit e987769

Browse files
jdevalkclaude
andauthored
fix: remove unused Hacks::get_defaults() call in Forms::init (#180)
get_defaults() is a pure function that returns an array but the return value was discarded. The call had no side effects and did nothing. Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent a59c0a6 commit e987769

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

inc/forms.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ public function __construct() {
3535
*/
3636
public function init() {
3737
$this->options = Hacks::get_options();
38-
Hacks::get_defaults();
3938

4039
if ( $this->options['comment_policy'] ) {
4140
\add_action( 'comment_form_after_fields', [ $this, 'comment_form_fields' ] );

0 commit comments

Comments
 (0)