Skip to content

Commit

Permalink
Merge pull request #24 from kprajapatii/master
Browse files Browse the repository at this point in the history
1.2.17
  • Loading branch information
kprajapatii authored Dec 14, 2023
2 parents 52b1677 + 81131dc commit 9abf7fb
Show file tree
Hide file tree
Showing 50 changed files with 18,816 additions and 6,149 deletions.
14 changes: 10 additions & 4 deletions ayecode-connect.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
* Plugin Name: AyeCode Connect
* Plugin URI: https://ayecode.io/
* Description: A service plugin letting users connect AyeCode Services to their site.
* Version: 1.2.16
* Version: 1.2.17
* Author: AyeCode
* Author URI: https://ayecode.io
* Requires at least: 4.7
* Tested up to: 6.2
* Tested up to: 6.4
*
* Text Domain: ayecode-connect
* Domain Path: /languages/
Expand All @@ -20,7 +20,7 @@
}

if ( !defined( 'AYECODE_CONNECT_VERSION' ) ) {
define( 'AYECODE_CONNECT_VERSION', '1.2.16' );
define( 'AYECODE_CONNECT_VERSION', '1.2.17' );
}

if ( !defined( 'AYECODE_CONNECT_SSL_VERIFY' ) ) {
Expand Down Expand Up @@ -141,7 +141,13 @@ function ayecode_connect_sync_licenses() {
function ayecode_connect_demo_import_redirect( $plugin ){
if ( $plugin == plugin_basename( __FILE__ ) && !empty( $_SERVER['HTTP_REFERER'] ) ) {
$parts = parse_url($_SERVER['HTTP_REFERER']);
parse_str($parts['query'], $query);

if ( ! empty( $parts['query'] ) ) {
parse_str( $parts['query'], $query );
} else {
$query = array();
}

if(!empty($query['ac-demo-import'])){
$demo = sanitize_title_with_dashes($query['ac-demo-import']);
wp_redirect(admin_url( "admin.php?page=ayecode-demo-content&ac-demo-import=".esc_attr($demo) ));
Expand Down
Binary file modified languages/ayecode-connect-en_US.mo
Binary file not shown.
Loading

0 comments on commit 9abf7fb

Please sign in to comment.