Skip to content

Commit

Permalink
2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tfrommen committed Mar 16, 2023
1 parent 13ff3cf commit b1db3b5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

-

## [2.1.0](https://github.com/tfrommen/highlightjs/compare/v2.0.0...v2.1.0) - 2023-03-16

### Changed

- Replace deprecated `initHighlightingOnLoad` function call with `highlightAll`.

## [2.0.0](https://github.com/tfrommen/highlightjs/compare/v1.1.0...v2.0.0) - 2023-02-12

### Changed
Expand Down
4 changes: 2 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Description: A simple Highlight.js-based syntax highlighter plugin for WordPress.
* Author: Thorsten Frommen
* Author URI: https://tfrommen.de
* Version: 2.0.0
* Version: 2.1.0
* License: MIT
*/

Expand Down Expand Up @@ -56,7 +56,7 @@ function bootstrap(): void {
);
wp_add_inline_script(
'highlightjs',
'hljs.initHighlightingOnLoad();'
'hljs.highlightAll();'
);

$path = 'assets/css/theme.min.css';
Expand Down

0 comments on commit b1db3b5

Please sign in to comment.