Skip to content

Commit

Permalink
UPD: minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MjHead committed Sep 22, 2017
1 parent a6c7088 commit 2a6c604
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion includes/handlers/class-wapu-core-docs-search.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function __construct( $args = array() ) {
$this->args = wp_parse_args( $args, $this->args );

$this->sanitize_cb = array(
'http:\/\/documentation\.[a-z]*\.com\/[a-zA-Z-_\/]*index\.php\?project=' => array( $this, 'sanitize_old_wp' ),
'http[s]?:\/\/documentation\.[a-z]*\.com\/[a-zA-Z-_\/]*index\.php\?project=' => array( $this, 'sanitize_old_wp' ),
);
}

Expand Down
2 changes: 2 additions & 0 deletions includes/handlers/class-wapu-core-settings-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,8 @@ public function save_settings() {

}

do_action( 'wapu-core/settings-page/save', $new_settings, $this->args );

update_option( $this->args['slug'], $new_settings );

wp_redirect( add_query_arg(
Expand Down
4 changes: 2 additions & 2 deletions wapu-core.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Wapuu Core
* Plugin URI: http://www.cherryframework.com/plugins/
* Description: Core for jetimpex.com.
* Version: 1.1.7
* Version: 1.1.8
* Author: JetImpex
* Author URI: http://cherryframework.com/
* Text Domain: wapu-core
Expand Down Expand Up @@ -63,7 +63,7 @@ class Wapu_Core {
*
* @var string
*/
private $version = '1.1.7';
private $version = '1.1.8';

/**
* Core page trigger
Expand Down

0 comments on commit 2a6c604

Please sign in to comment.