Skip to content

Commit

Permalink
Disable Editorial Comments and Fields for new sites #1600
Browse files Browse the repository at this point in the history
  • Loading branch information
olatechpro committed Jul 30, 2024
1 parent f4c60e4 commit 0b3d0b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/editorial-comments/editorial-comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function __construct()
'icon_class' => 'dashicons dashicons-admin-comments',
'slug' => 'editorial-comments',
'default_options' => [
'enabled' => 'on',
'enabled' => 'off',
'post_types' => [
'post' => 'on',
'page' => 'on',
Expand Down
2 changes: 1 addition & 1 deletion modules/editorial-metadata/editorial-metadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ public function install()

$this->setDefaultCapabilities();

//$publishpress->update_module_option($this->module->name, 'enabled', 'off');
$publishpress->update_module_option($this->module->name, 'enabled', 'off');
}

/**
Expand Down

0 comments on commit 0b3d0b7

Please sign in to comment.