Merge pull request #18066 from woocommerce/fix/legacy-api-notice

Updated API settings making clear that is from our legacy REST API
This commit is contained in:
Claudio Sanches 2018-02-02 14:42:32 -02:00 committed by GitHub
commit 9c6141b6f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -71,16 +71,16 @@ class WC_Settings_Rest_API extends WC_Settings_Page {
),
array(
'title' => __( 'API', 'woocommerce' ),
'desc' => __( 'Enable the REST API', 'woocommerce' ),
'title' => __( 'Legacy API', 'woocommerce' ),
'desc' => __( 'Enable the legacy REST API', 'woocommerce' ),
'id' => 'woocommerce_api_enabled',
'type' => 'checkbox',
'default' => 'yes',
'default' => 'no',
),
array(
'type' => 'sectionend',
'id' => 'general_options',
'id' => 'general_options',
),
) );
}