Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
stillatmylinux committed Aug 2, 2018
1 parent 2215d5c commit 1b6a598
Show file tree
Hide file tree
Showing 4 changed files with 118 additions and 82 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ Note: This repository is for code contributors. To use this plugin on your websi

## Changelog

### 3.5.0
* Add Enable CORS admin setting
* Add myapp_disable_remote_updates hook to allow developers to turn off API calls to myapppresser.com
* Extend plugin/theme license checking to two weeks

### 3.4.2
* Simplify short reset code
* Language POT file update
Expand Down
8 changes: 6 additions & 2 deletions apppresser.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Description: A mobile app development framework for WordPress.
Text Domain: apppresser
Domain Path: /languages
Version: 3.4.2
Version: 3.5.0
Author: AppPresser Team
Author URI: http://apppresser.com
License: GPLv2
Expand All @@ -29,7 +29,7 @@

class AppPresser {

const VERSION = '3.4.2';
const VERSION = '3.5.0';
const SETTINGS_NAME = 'appp_settings';
public static $settings = 'false';
public static $instance = null;
Expand Down Expand Up @@ -160,6 +160,8 @@ public function check_appp_licenses() {
* Access-Control-Allow-Origin: *
*
* when the AppPresser admin setting is on.
*
* @since 3.5.0
*/
public function myappp_cors() {
if( self::settings( 'ap3_enable_cors', false ) ) {
Expand All @@ -176,6 +178,8 @@ public function myappp_cors() {
* Access-Control-Allow-Origin: *
*
* Applies a filter
*
* @since 3.5.0
*/
public function app_cors_header() {

Expand Down
Loading

0 comments on commit 1b6a598

Please sign in to comment.