Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Features to declare settings as JSON #3655

Merged
merged 7 commits into from
Sep 27, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
editable => readonly
  • Loading branch information
felipeelia committed Sep 27, 2023
commit c9c5525bf85a84e42673f45673f31b9c8cb7492c
2 changes: 1 addition & 1 deletion includes/classes/Feature/WooCommerce/WooCommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ protected function set_settings_schema() {
$this->settings_schema = [
[
'default' => '0',
'editable' => ! $available,
'readonly' => ! $available,
'help' => $message,
'key' => 'orders',
'label' => __( 'Orders Autosuggest', 'elasticpress' ),
Expand Down