git-svn-id: https://plugins.svn.wordpress.org/prismatic/trunk@1535365 b8457f37-d9ea-0310-8a92-e5e31aec5664master
@@ -10,9 +10,8 @@ | |||||
.wp-admin input[type="text"] { width: 55%; } | .wp-admin input[type="text"] { width: 55%; } | ||||
.wp-admin textarea { width: 77%; } | .wp-admin textarea { width: 77%; } | ||||
.ui-dialog .ui-dialog-titlebar, | |||||
.ui-dialog .ui-dialog-content, | |||||
.ui-dialog .ui-dialog-buttonpane { text-align: center; } | |||||
.ui-dialog .ui-dialog-titlebar { font-size: 16px; } | |||||
.ui-dialog .ui-dialog-buttonpane, .ui-dialog .ui-dialog-titlebar, .ui-dialog .ui-dialog-content { text-align: center; } | |||||
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: none; } | .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: none; } | ||||
.ui-dialog .ui-dialog-buttonpane .ui-button { margin: 0; } | .ui-dialog .ui-dialog-buttonpane .ui-button { margin: 0; } | ||||
.ui-dialog .ui-dialog-buttonpane .ui-button:first-child { margin-right: 15px; } | .ui-dialog .ui-dialog-buttonpane .ui-button:first-child { margin-right: 15px; } | ||||
@@ -12,11 +12,11 @@ function prismatic_admin_notice() { | |||||
if ($_GET['reset-options'] === 'true') : ?> | if ($_GET['reset-options'] === 'true') : ?> | ||||
<div class="notice notice-success is-dismissible"><p><?php esc_html_e('Default options restored.', 'prismatic'); ?></p></div> | |||||
<div class="notice notice-success is-dismissible"><p><strong><?php esc_html_e('Default options restored.', 'prismatic'); ?></strong></p></div> | |||||
<?php else : ?> | <?php else : ?> | ||||
<div class="notice notice-info is-dismissible"><p><?php esc_html_e('No changes made to options.', 'prismatic'); ?></p></div> | |||||
<div class="notice notice-info is-dismissible"><p><strong><?php esc_html_e('No changes made to options.', 'prismatic'); ?></strong></p></div> | |||||
<?php endif; | <?php endif; | ||||
@@ -1,7 +1,7 @@ | |||||
<?php | <?php | ||||
/* | /* | ||||
Plugin Name: Prismatic | Plugin Name: Prismatic | ||||
Plugin URI: https://plugin-planet.com/ | |||||
Plugin URI: https://perishablepress.com/prismatic/ | |||||
Description: Display beautiful syntax-highlighted code snippets with Prism.js or Highlight.js | Description: Display beautiful syntax-highlighted code snippets with Prism.js or Highlight.js | ||||
Tags: code, css, fence, highlight, language, pre, prettify, prism, snippet, syntax | Tags: code, css, fence, highlight, language, pre, prettify, prism, snippet, syntax | ||||
Author: Jeff Starr | Author: Jeff Starr | ||||
@@ -9,9 +9,9 @@ | |||||
Author URI: https://plugin-planet.com/ | Author URI: https://plugin-planet.com/ | ||||
Donate link: http://m0n.co/donate | Donate link: http://m0n.co/donate | ||||
Requires at least: 4.1 | Requires at least: 4.1 | ||||
Tested up to: 4.6 | |||||
Stable tag: 1.1 | |||||
Version: 1.1 | |||||
Tested up to: 4.7 | |||||
Stable tag: 1.2 | |||||
Version: 1.2 | |||||
Text Domain: prismatic | Text Domain: prismatic | ||||
Domain Path: /languages | Domain Path: /languages | ||||
License: GPL v2 or later | License: GPL v2 or later | ||||
@@ -118,11 +118,11 @@ if (!class_exists('Prismatic')) { | |||||
private function constants() { | private function constants() { | ||||
if (!defined('PRISMATIC_VERSION')) define('PRISMATIC_VERSION', '1.1'); | |||||
if (!defined('PRISMATIC_VERSION')) define('PRISMATIC_VERSION', '1.2'); | |||||
if (!defined('PRISMATIC_REQUIRE')) define('PRISMATIC_REQUIRE', '4.1'); | if (!defined('PRISMATIC_REQUIRE')) define('PRISMATIC_REQUIRE', '4.1'); | ||||
if (!defined('PRISMATIC_NAME')) define('PRISMATIC_NAME', 'Prismatic'); | if (!defined('PRISMATIC_NAME')) define('PRISMATIC_NAME', 'Prismatic'); | ||||
if (!defined('PRISMATIC_AUTHOR')) define('PRISMATIC_AUTHOR', 'Jeff Starr'); | if (!defined('PRISMATIC_AUTHOR')) define('PRISMATIC_AUTHOR', 'Jeff Starr'); | ||||
if (!defined('PRISMATIC_HOME')) define('PRISMATIC_HOME', 'https://plugin-planet.com/'); | |||||
if (!defined('PRISMATIC_HOME')) define('PRISMATIC_HOME', 'https://perishablepress.com/prismatic/'); | |||||
if (!defined('PRISMATIC_URL')) define('PRISMATIC_URL', plugin_dir_url(__FILE__)); | if (!defined('PRISMATIC_URL')) define('PRISMATIC_URL', plugin_dir_url(__FILE__)); | ||||
if (!defined('PRISMATIC_DIR')) define('PRISMATIC_DIR', plugin_dir_path(__FILE__)); | if (!defined('PRISMATIC_DIR')) define('PRISMATIC_DIR', plugin_dir_path(__FILE__)); | ||||
if (!defined('PRISMATIC_FILE')) define('PRISMATIC_FILE', plugin_basename(__FILE__)); | if (!defined('PRISMATIC_FILE')) define('PRISMATIC_FILE', plugin_basename(__FILE__)); | ||||
@@ -161,7 +161,7 @@ if (!class_exists('Prismatic')) { | |||||
$rate_href = 'https://wordpress.org/support/plugin/'. PRISMATIC_SLUG .'/reviews/?rate=5#new-post'; | $rate_href = 'https://wordpress.org/support/plugin/'. PRISMATIC_SLUG .'/reviews/?rate=5#new-post'; | ||||
$rate_title = esc_attr__('Click here to rate and review this plugin on WordPress.org', 'prismatic'); | $rate_title = esc_attr__('Click here to rate and review this plugin on WordPress.org', 'prismatic'); | ||||
$rate_text = esc_html__('Rate this plugin', 'prismatic'); | |||||
$rate_text = esc_html__('Rate this plugin', 'prismatic') .' »'; | |||||
$pro_href = 'https://plugin-planet.com/prismatic-pro/?plugin'; | $pro_href = 'https://plugin-planet.com/prismatic-pro/?plugin'; | ||||
$pro_title = esc_attr__('Get Prismatic Pro!', 'prismatic'); | $pro_title = esc_attr__('Get Prismatic Pro!', 'prismatic'); | ||||
@@ -1,7 +1,7 @@ | |||||
=== Prismatic === | === Prismatic === | ||||
Plugin Name: Prismatic | Plugin Name: Prismatic | ||||
Plugin URI: https://plugin-planet.com/ | |||||
Plugin URI: https://perishablepress.com/prismatic/ | |||||
Description: Display beautiful syntax-highlighted code snippets with Prism.js or Highlight.js | Description: Display beautiful syntax-highlighted code snippets with Prism.js or Highlight.js | ||||
Tags: code, css, fence, highlight, language, pre, prettify, prism, snippet, syntax | Tags: code, css, fence, highlight, language, pre, prettify, prism, snippet, syntax | ||||
Author: Jeff Starr | Author: Jeff Starr | ||||
@@ -9,9 +9,9 @@ Contributors: specialk | |||||
Author URI: https://plugin-planet.com/ | Author URI: https://plugin-planet.com/ | ||||
Donate link: http://m0n.co/donate | Donate link: http://m0n.co/donate | ||||
Requires at least: 4.1 | Requires at least: 4.1 | ||||
Tested up to: 4.6 | |||||
Stable tag: 1.1 | |||||
Version: 1.1 | |||||
Tested up to: 4.7 | |||||
Stable tag: 1.2 | |||||
Version: 1.2 | |||||
Text Domain: prismatic | Text Domain: prismatic | ||||
Domain Path: /languages | Domain Path: /languages | ||||
License: GPL v2 or later | License: GPL v2 or later | ||||
@@ -48,7 +48,7 @@ Display beautiful code snippets with Prism.js, Highlight.js, or plain code escap | |||||
**Highlight.js Features** | **Highlight.js Features** | ||||
* Supports __22__ coding languages | |||||
* Supports __23__ coding languages | |||||
* Choose from all __77__ available Highlight themes | * Choose from all __77__ available Highlight themes | ||||
* Customize the Highlight.js init JavaScript | * Customize the Highlight.js init JavaScript | ||||
* Highlights code in post content, excerpts, and comments | * Highlights code in post content, excerpts, and comments | ||||
@@ -287,7 +287,7 @@ _I'm glad to add more languages, [make a suggestion](https://perishablepress.com | |||||
**About Highlight.js** | **About Highlight.js** | ||||
Highlight.js version used in Prismatic plugin: __9.7.0__ | |||||
Highlight.js version used in Prismatic plugin: __9.8.0__ | |||||
__Highlight.js resources__ | __Highlight.js resources__ | ||||
@@ -308,6 +308,7 @@ __Supported Languages__ | |||||
Language Class | Language Class | ||||
Apache = apache, apacheconf | Apache = apache, apacheconf | ||||
AppleScript = applescript, osascript | |||||
Bash = bash, sh, zsh | Bash = bash, sh, zsh | ||||
C# = cs, csharp | C# = cs, csharp | ||||
C++ = cpp, c, cc, h, c++, h++, hpp | C++ = cpp, c, cc, h, c++, h++, hpp | ||||
@@ -386,11 +387,21 @@ Links, tweets and likes also appreciated. Thank you! :) | |||||
== Changelog == | == Changelog == | ||||
**1.2 (2016/11/16)** | |||||
* Adds support for AppleScript in Highlight.js | |||||
* Updates plugin URL in core files and readme.txt | |||||
* Changes stable tag from trunk to latest version | |||||
* Adds `»` to rate this link on Plugins screen | |||||
* Adds strong tags to admin notices on settings page | |||||
* Refines styles for popup dialog on settings page | |||||
* Tests on WordPress version 4.7 (beta) | |||||
**1.1 (2016/10/24)** | **1.1 (2016/10/24)** | ||||
* Updated/added some links | |||||
* Updated default language file | |||||
* Tested with WP 4.7 (alpha) | |||||
* Updates/adds some links | |||||
* Updates default language file | |||||
* Tests on WordPress version 4.7 (alpha) | |||||
**1.0 (2016/10/21)** | **1.0 (2016/10/21)** | ||||