Skip to content
This repository has been archived by the owner on Aug 22, 2022. It is now read-only.

Commit

Permalink
Updated to 1.1.8 version
Browse files Browse the repository at this point in the history
  • Loading branch information
josantonius committed Aug 28, 2017
1 parent ab4fddf commit d46f226
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 12 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# CHANGELOG

## 1.1.8 - 2017-08-28

* Deprecated `SearchInside\Controller\Admin\Page\Options\Options::init()` method.

* Fixed bug in `WP_ Register` Library: the `IsSet()` method was renamed to `isEnqueued()` to avoid errors with the reserved word `Isset` in versions prior to php 7.0.

## 1.1.7 - 2017-06-25

* Added `SearchInside\Controller\Launcher\Launcher` class.
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "josantonius/search-inside",
"version": "1.1.7",
"version": "1.1.8",
"description": "Easily search text within your pages or blog posts",
"type": "wordpress-plugin",
"keywords": [
Expand Down
6 changes: 3 additions & 3 deletions lib/vendor/josantonius/wp_register/src/WP_Register.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,14 +159,14 @@ public static function addStyles() {
/**
* Check if a particular style or script has been added to be enqueued.
*
* @since 1.0.1
* @since 1.0.3
*
* @param string $type → script | style
* @param array $name → script or style name
*
* @return boolean
*/
public static function isSet($type, $name) {
public static function isEnqueued($type, $name) {

return (in_array($name, self::$data[$type][$name])) ? true : false;
}
Expand All @@ -183,4 +183,4 @@ public static function remove($type, $name) {

unset(self::$data[$type][$name]);
}
}
}
14 changes: 13 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: josantonius
Donate link: https://paypal.me/Josantonius
Tags: search-engine,wp-search-engine,highlight-words,highlight-phrases,highlight-paragraphs
Tested up to: 4.8
Stable tag: 1.1.7
Stable tag: 1.1.8
Requires at least: 3.5
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -86,6 +86,11 @@ Yes, it is compatible.
Search Inside is available in english and spanish language.

== Changelog ==
= 1.1.8 =

* Deprecated `SearchInside\Controller\Admin\Page\Options\Options::init()` method.

* Fixed bug in `WP_ Register` Library: the `IsSet()` method was renamed to `isEnqueued()` to avoid errors with the reserved word `Isset` in versions prior to php 7.0.

= 1.1.7 =
* Added `SearchInside\Controller\Launcher\Launcher` class.
Expand Down Expand Up @@ -399,6 +404,13 @@ Search Inside is available in english and spanish language.
* Added `search-inside/assets/inc/settings.jsond` file.

== Upgrade Notice ==
= 1.1.8 =

* Fixed bug in `WP_ Register` Library: the `IsSet()` method was renamed to `isEnqueued()` to avoid errors with the reserved word `Isset` in versions prior to php 7.0.

= 1.1.7 =
Changes in methods.

= 1.1.6 =
* Eliasis Framework has been updated to version 1.0.5.

Expand Down
2 changes: 1 addition & 1 deletion search-inside.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Plugin Name: Search Inside
* Plugin URI: https://github.com/Josantonius/Search-Inside.git
* Description: Easily search text within your pages or blog posts.
* Version: 1.1.7
* Version: 1.1.8
* Author: Josantonius
* Author URI: https://josantonius.com/
* License: GPL-2.0+
Expand Down
12 changes: 8 additions & 4 deletions src/Controller/Admin/Page/Options/Options.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,20 @@ class Options extends Controller {
*
* @var array $data
*/
public $data = 'searchinside-options';
public $data;

/**
* Class initializer method.
*
* @since 1.1.7
*
* @deprecated 1.1.8
*/
public function init() {

$this->addScripts();
$this->addStyles();
$this->checkRequest();
//$this->addScripts();
//$this->addStyles();
//$this->checkRequest();
}

/**
Expand Down Expand Up @@ -253,6 +255,8 @@ public function selectOptionsTwo() {
*/
public function render() {

$this->checkRequest();

Hook::getInstance(App::$id);

$page = App::SearchInside()->get('path', 'page');
Expand Down
1 change: 0 additions & 1 deletion src/template/layout/footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
* @since 1.1.7
*/
?>
</div>
</main>
</div>
<div id="jst-footer">
Expand Down
2 changes: 1 addition & 1 deletion src/template/layout/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
<p class="jst-dialog-subtitle"><?= __('Did you know that you aren\'t using the free version of the plugin? This is the pro version at no cost to you. Why do I do this? Maybe some can not afford to buy it and I want to prevent it from being downloaded from any place infected with malicious code and ruin your website, I want you to try it freely and I want you to have the opportunity to collaborate on this', 'search-inside') ?> <a href="https://github.com/Josantonius/Search-Inside.git/" target="_blank"><?= __('open source project', 'search-inside') ?></a> <?= __('if you want it.', 'search-inside') ?>
</p><br>
<p class="jst-dialog-subtitle"><?= __('Your contribution and', 'search-inside') ?> <a href="#" target="_blank"><?= __('feedback', 'search-inside') ?></a> <?= __('will help me keep updated and keep developing new versions for this plugin. Thank you!', 'search-inside') ?>
<i class="material-icons icon-satisfied">sentiment_very_satisfied</i>
<span class="icon-satisfied"><i class="material-icons">sentiment_very_satisfied</i></span>
</p><br><br>
<a href="https://www.paypal.me/Josantonius" class="api-key-button" target="_blank">
<button id="paypal-button" class="mdl-button mdl-js-button mdl-js-ripple-effect">
Expand Down

0 comments on commit d46f226

Please sign in to comment.