Skip to content

Commit

Permalink
Fix - Notice: Trying to access array offset on value of type bool
Browse files Browse the repository at this point in the history
  • Loading branch information
finallyRaunak authored Sep 9, 2023
1 parent 5e41c2f commit 8e779ce
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 112 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Vaaky Highlighter - Changelog

### 1.0.5 → 2023-09-09

- Fix - Notice: Trying to access array offset on value of type bool
- Tested and updated WordPress compatibility with new version

### 1.0.4 → 2023-05-05

- Tested and updated WordPress compatibility with new version
Expand Down
97 changes: 0 additions & 97 deletions Includes/Updater.php

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vaaky-blocks",
"version": "1.0.4",
"version": "1.0.5",
"license": "MIT",
"main": "Admin/js/block.js",
"scripts": {
Expand Down
8 changes: 6 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ Contributors: raunak01
Donate link: https://www.webhat.in/
Tags: syntax highlighter, gutenberg, blocks, snippets, highlight.js, highlighter, php, js, sourcecode, code
Requires at least: 5.0
Tested up to: 6.2
Tested up to: 6.3.1
Requires PHP: 5.6
Stable tag: 1.0.4
Stable tag: 1.0.5
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -125,6 +125,10 @@ If you know the abbreviation of the language then you can provide in `lang` attr

== Changelog ==

= 1.0.5 2023-09-09 =
* Fix - Notice: Trying to access array offset on value of type bool
* Tested and updated WordPress compatibility with new version

= 1.0.4 2023-05-05 =
* Tested and updated WordPress compatibility with new version

Expand Down
14 changes: 2 additions & 12 deletions vaaky-highlighter.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Plugin Name: Vaaky Highlighter
* Plugin URI: https://wordpress.org/plugin/vaaky-highlighter
* Description: Simple yet elegant syntax or code highlighter based on highlight.js. It allows you to add engaging snippet code blocks.
* Version: 1.0.4
* Version: 1.0.5
* Author: Raunak Gupta
* Author URI: https://www.webhat.in/
* License: GPL-2.0+
Expand All @@ -24,7 +24,6 @@

use VaakyHighlighter\Includes\Activator;
use VaakyHighlighter\Includes\Deactivator;
use VaakyHighlighter\Includes\Updater;
use VaakyHighlighter\Includes\Main;

// If this file is called directly, abort.
Expand All @@ -39,7 +38,7 @@
/**
* Current plugin version.
*/
define('VAAKY_HIGHLIGHTER_VERSION', '1.0.4');
define('VAAKY_HIGHLIGHTER_VERSION', '1.0.5');

/**
* The string used to uniquely identify this plugin.
Expand Down Expand Up @@ -103,15 +102,6 @@
Deactivator::deactivate($networkWide);
});

/**
* Update the plugin.
* It runs every time, when the plugin is started.
*/
add_action('plugins_loaded', function() use ($configuration, $configurationOptionName)
{
Updater::update($configuration['db-version'], $configurationOptionName);
}, 1);

/**
* Begins execution of the plugin.
*
Expand Down

0 comments on commit 8e779ce

Please sign in to comment.