Skip to content

Commit

Permalink
Comply with ClassicPress Directory
Browse files Browse the repository at this point in the history
  • Loading branch information
xxsimoxx committed Oct 16, 2024
1 parent 86424d0 commit 264cddd
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 891 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
fail-fast: false
matrix:
php: [ '7.0', '7.1', '7.2', '7.3', '7.4' ]
cp: [ "latest" ]
cp: [ "1.7.3" ]

services:
database:
Expand Down
9 changes: 4 additions & 5 deletions classic-commerce.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
<?php
/**
* Plugin Name: Classic Commerce
* Plugin URI: https://github.com/ClassicPress-plugins/classic-commerce
* Plugin URI: https://classiccommerce.cc
* Description: A simple, powerful and independent e-commerce platform. Sell anything with ease.
* Version: 1.0.5
* Author: ClassicPress Research Team
* Author URI: https://github.com/ClassicPress-plugins/classic-commerce
* Author URI: https://www.classicpress.net
* Requires PHP: 7.0
* Requires CP: 1.0
* Text Domain: classic-commerce
* Domain Path: /i18n/languages/
*
Expand Down Expand Up @@ -142,9 +144,6 @@ function cc_wc_activate_attempted_notice() {
// BEGIN CLASSIC COMMERCE LOADING PROCESS //
////////////////////////////////////////////

// Load the Update Client to manage Classic Commerce updates.
include_once dirname( __FILE__ ) . '/includes/class-wc-update-client.php';

// Define WC_PLUGIN_FILE.
if ( ! defined( 'WC_PLUGIN_FILE' ) ) {
define( 'WC_PLUGIN_FILE', __FILE__ );
Expand Down
22 changes: 1 addition & 21 deletions includes/admin/settings/class-wc-settings-accounts.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,26 +119,6 @@ public function get_settings() {
'type' => 'sectionend',
'id' => 'account_registration_options',
),

array(
'title' => __( 'Usage Tracking', 'classic-commerce' ),
'type' => 'title',
'id' => 'section_cc_usage_tracking',
'desc' => __( 'This section controls the collection of limited encrypted data.', 'classic-commerce' ),
),
array(
'title' => __( 'Anonymous data collection', 'classic-commerce' ),
'desc' => __( 'Allow us to collect encrypted data. <strong>We cannot identify you or your website from this data</strong>.', 'classic-commerce' ),
'desc_tip' => __( 'Classic Commerce collects <strong>anonymized</strong> and encrypted data. This data is important to us as it helps us to keep track of Classic Commerce installations. It includes the timestamp of plugin last update check and URL of the website asking for updates which is sha512 hashed.', 'classic-commerce' ),
'id' => 'cc_usage_tracking',
'type' => 'checkbox',
'default' => 'yes',
),
array(
'type' => 'sectionend',
'id' => 'section_cc_usage_tracking',
),

array(
'title' => __( 'Privacy policy', 'classic-commerce' ),
'type' => 'title',
Expand Down Expand Up @@ -248,4 +228,4 @@ public function get_settings() {
}
}

return new WC_Settings_Accounts();
return new WC_Settings_Accounts();
Loading

0 comments on commit 264cddd

Please sign in to comment.