Skip to content

Commit

Permalink
Merge pull request #238 from Automattic/release/3.6.2
Browse files Browse the repository at this point in the history
Release 3.6.2
  • Loading branch information
aaronfc committed May 16, 2022
2 parents 7f4283e + e165e05 commit e7ad130
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ php:

# Test against these versions of WordPress.
env:
- WP_VERSION=5.2 # Plugin minimum version
- WP_VERSION=5.3
- WP_VERSION=5.4
- WP_VERSION=5.7 # Plugin minimum version
- WP_VERSION=5.8
- WP_VERSION=5.9
- WP_VERSION=latest

before_script:
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "syntaxhighlighter",
"version": "3.6.1",
"version": "3.6.2",
"description": "Easily post syntax-highlighted code to your WordPress site without having to modify the code at all.",
"homepage": "https://alex.blog/wordpress-plugins/syntaxhighlighter/",
"author": "Alex Mills (Viper007Bond)",
Expand Down
10 changes: 7 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
Contributors: Viper007Bond, automattic, donncha
Donate link: https://alex.blog/2019/03/13/in-memory-of-alex-donation-link-update/
Tags: code, source, sourcecode, php, syntax highlighting, syntax, highlight, highlighting, highlighter, WordPress.com
Requires at least: 5.6
Tested up to: 5.8
Stable tag: 3.6.1
Requires at least: 5.7
Tested up to: 5.9
Stable tag: 3.6.2

Easily post syntax-highlighted code to your site without having to modify the code at all. As seen on WordPress.com.

Expand Down Expand Up @@ -40,6 +40,10 @@ Try excluding this plugin's Javascript from any performance optimizations your s

== ChangeLog ==

= Version 3.6.2 =

* New: Add syntax highlight for Swift. #232

= Version 3.6.1 =

* New: Set code block language when pasting into editor. #215
Expand Down
8 changes: 4 additions & 4 deletions syntaxhighlighter.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@
Plugin Name: SyntaxHighlighter Evolved
Plugin URI: https://alex.blog/wordpress-plugins/syntaxhighlighter/
Version: 3.6.1
Version: 3.6.2
Description: Easily post syntax-highlighted code to your site without having to modify the code at all. Uses Alex Gorbatchev's <a href="http://alexgorbatchev.com/SyntaxHighlighter/">SyntaxHighlighter</a>. Includes a new editor block.
Author: Alex Mills (Viper007Bond)
Author URI: https://alex.blog/
Text Domain: syntaxhighlighter
License: GPL2
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Requires at least: 5.6
Tested up to: 5.8
Requires at least: 5.7
Tested up to: 5.9
Requires PHP: 7.0
**************************************************************************/

class SyntaxHighlighter {
// All of these variables are private. Filters are provided for things that can be modified.
public $pluginver = '3.6.1'; // Plugin version
public $pluginver = '3.6.2'; // Plugin version
public $agshver = false; // Alex Gorbatchev's SyntaxHighlighter version (dynamically set below due to v2 vs v3)
public $shfolder = false; // Controls what subfolder to load SyntaxHighlighter from (v2 or v3)
public $settings = array(); // Contains the user's settings
Expand Down

0 comments on commit e7ad130

Please sign in to comment.