Version Description
- Tested with WP 4.2.
- Fixed a rare "trying to get property of non-object" notice.
Download this release
Release Info
Developer | whiteshadow |
Plugin | Raw HTML |
Version | 1.4.15 |
Comparing to | |
See all releases |
Code changes from version 1.4.14 to 1.4.15
- include/formatting-override.php +1 -1
- raw_html.php +1 -1
- readme.txt +6 -2
include/formatting-override.php
CHANGED
@@ -9,7 +9,7 @@ require 'screen-options/screen-options.php';
|
|
9 |
//Apply function $func to $content unless it's been disabled for the current post
|
10 |
function maybe_use_filter($func, $content){
|
11 |
global $post;
|
12 |
-
if ( !isset($post) ) {
|
13 |
return $func($content);
|
14 |
}
|
15 |
|
9 |
//Apply function $func to $content unless it's been disabled for the current post
|
10 |
function maybe_use_filter($func, $content){
|
11 |
global $post;
|
12 |
+
if ( !isset($post, $post->ID) ) {
|
13 |
return $func($content);
|
14 |
}
|
15 |
|
raw_html.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Raw HTML
|
4 |
Plugin URI: http://w-shadow.com/blog/2007/12/13/raw-html-in-wordpress/
|
5 |
Description: Lets you enter any HTML/JS/CSS in your posts without WP changing it, as well as disable automatic formatting on a per-post basis. <strong>Usage:</strong> Wrap your code in [raw]...[/raw] tags. To avoid problems, only edit posts that contain raw code in HTML mode. <strong><a href="http://rawhtmlpro.com/?utm_source=RawHTML%20free&utm_medium=plugin_description&utm_campaign=Plugins">Upgrade to Pro</a></strong> to be able to use Visual editor on the same posts without it messing up the code.
|
6 |
-
Version: 1.4.
|
7 |
Author: Janis Elsts
|
8 |
Author URI: http://w-shadow.com/
|
9 |
*/
|
3 |
Plugin Name: Raw HTML
|
4 |
Plugin URI: http://w-shadow.com/blog/2007/12/13/raw-html-in-wordpress/
|
5 |
Description: Lets you enter any HTML/JS/CSS in your posts without WP changing it, as well as disable automatic formatting on a per-post basis. <strong>Usage:</strong> Wrap your code in [raw]...[/raw] tags. To avoid problems, only edit posts that contain raw code in HTML mode. <strong><a href="http://rawhtmlpro.com/?utm_source=RawHTML%20free&utm_medium=plugin_description&utm_campaign=Plugins">Upgrade to Pro</a></strong> to be able to use Visual editor on the same posts without it messing up the code.
|
6 |
+
Version: 1.4.15
|
7 |
Author: Janis Elsts
|
8 |
Author URI: http://w-shadow.com/
|
9 |
*/
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: whiteshadow
|
3 |
Tags: posts, formatting, javascript, html, css, code, disable
|
4 |
Requires at least: 2.8
|
5 |
-
Tested up to: 4.
|
6 |
-
Stable tag: 1.4.
|
7 |
|
8 |
Lets you use raw HTML or any other code in your posts. You can also disable smart quotes and other automatic formatting on a per-post basis.
|
9 |
|
@@ -72,6 +72,10 @@ Open to the post editor and click the "Screen Options" button in the top-right p
|
|
72 |
|
73 |
== Changelog ==
|
74 |
|
|
|
|
|
|
|
|
|
75 |
= 1.4.14 =
|
76 |
* Tested with WP 4.1 and 4.2-alpha.
|
77 |
|
2 |
Contributors: whiteshadow
|
3 |
Tags: posts, formatting, javascript, html, css, code, disable
|
4 |
Requires at least: 2.8
|
5 |
+
Tested up to: 4.2
|
6 |
+
Stable tag: 1.4.15
|
7 |
|
8 |
Lets you use raw HTML or any other code in your posts. You can also disable smart quotes and other automatic formatting on a per-post basis.
|
9 |
|
72 |
|
73 |
== Changelog ==
|
74 |
|
75 |
+
= 1.4.15 =
|
76 |
+
* Tested with WP 4.2.
|
77 |
+
* Fixed a rare "trying to get property of non-object" notice.
|
78 |
+
|
79 |
= 1.4.14 =
|
80 |
* Tested with WP 4.1 and 4.2-alpha.
|
81 |
|