Changeset 1509094
- Timestamp:
- 10/06/2016 05:22:09 AM (10 years ago)
- Location:
- worldclass-lms/trunk
- Files:
-
- 3 edited
-
admin/admin.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
worldclass.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
worldclass-lms/trunk/admin/admin.php
r1508589 r1509094 110 110 if ($wcio_options['wc_domain']) { 111 111 $domain = $wcio_options['wc_domain']; 112 // We have a domain, let's fetch the data from it 112 // We have a domain, let's check if it's a custom domain 113 // or a worldclass.io domain 114 $data_url = null; 115 if (strpos($domain, '.worldclass.io') > -1) { 116 // This is a standard worldclass.io domain 117 $data_url = "https://$domain/index.php/api/appGet"; 118 } 119 else { 120 // This is a custom domain 121 $dashed = str_replace('.', '-', $domain); 122 $data_url = 'https://custom-domain-' . $dashed . '.worldclass.io/index.php/api/appGet'; 123 } 124 113 125 // Fetch data from academy 114 $data_url = "https://$domain/index.php/api/appGet";115 126 $data = url_get($data_url); 116 127 -
worldclass-lms/trunk/readme.txt
r1508589 r1509094 4 4 Requires at least: 4.3 5 5 Tested up to: 4.5.2 6 Stable tag: 1. 96 Stable tag: 1.10 7 7 License: GPLv3 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 79 79 == Changelog == 80 80 81 = 1. 9=81 = 1.10 = 82 82 * Added custom domains support 83 83 -
worldclass-lms/trunk/worldclass.php
r1508589 r1509094 8 8 Text Domain: wcio 9 9 Domain Path: /languages/ 10 Version: 1. 910 Version: 1.10 11 11 */ 12 12 13 define( 'WCIO_VERSION', '1. 9' );13 define( 'WCIO_VERSION', '1.10' ); 14 14 15 15 define( 'WCIO_REQUIRED_WP_VERSION', '4.3' );
Note: See TracChangeset
for help on using the changeset viewer.