Version Description
Download this release
Release Info
Developer | whiteshadow |
Plugin | Raw HTML |
Version | 1.2 |
Comparing to | |
See all releases |
Code changes from version 1.1 to 1.2
- raw_html.php +10 -10
- readme.txt +2 -2
raw_html.php
CHANGED
@@ -3,14 +3,14 @@
|
|
3 |
Plugin Name: Raw HTML capability
|
4 |
Plugin URI: http://w-shadow.com/blog/2007/12/13/raw-html-in-wordpress/
|
5 |
Description: Lets you enter raw HTML in your posts. You can also enable/disable smart quotes and other automatic formatting on a per-post basis.
|
6 |
-
Version: 1.
|
7 |
Author: Janis Elsts
|
8 |
Author URI: http://w-shadow.com/blog/
|
9 |
*/
|
10 |
|
11 |
/*
|
12 |
Created by Janis Elsts (email : whiteshadow@w-shadow.com)
|
13 |
-
It's
|
14 |
*/
|
15 |
|
16 |
/**********************************************
|
@@ -87,14 +87,14 @@ remove_filter('the_excerpt', 'convert_chars');
|
|
87 |
remove_filter('the_excerpt', 'convert_smilies');
|
88 |
|
89 |
// add our conditional filters
|
90 |
-
add_filter('the_content', 'maybe_wptexturize');
|
91 |
-
add_filter('the_content', 'maybe_wpautop');
|
92 |
-
add_filter('the_content', 'maybe_convert_chars');
|
93 |
-
add_filter('the_content', 'maybe_convert_smilies');
|
94 |
-
add_filter('the_excerpt', 'maybe_wptexturize');
|
95 |
-
add_filter('the_excerpt', 'maybe_wpautop');
|
96 |
-
add_filter('the_excerpt', 'maybe_convert_chars');
|
97 |
-
add_filter('the_excerpt', 'maybe_convert_smilies');
|
98 |
|
99 |
// Add a custom meta box for per-post settings
|
100 |
add_action('admin_menu', 'rawhtml_add_custom_box');
|
3 |
Plugin Name: Raw HTML capability
|
4 |
Plugin URI: http://w-shadow.com/blog/2007/12/13/raw-html-in-wordpress/
|
5 |
Description: Lets you enter raw HTML in your posts. You can also enable/disable smart quotes and other automatic formatting on a per-post basis.
|
6 |
+
Version: 1.2
|
7 |
Author: Janis Elsts
|
8 |
Author URI: http://w-shadow.com/blog/
|
9 |
*/
|
10 |
|
11 |
/*
|
12 |
Created by Janis Elsts (email : whiteshadow@w-shadow.com)
|
13 |
+
It's LGPL.
|
14 |
*/
|
15 |
|
16 |
/**********************************************
|
87 |
remove_filter('the_excerpt', 'convert_smilies');
|
88 |
|
89 |
// add our conditional filters
|
90 |
+
add_filter('the_content', 'maybe_wptexturize', 1);
|
91 |
+
add_filter('the_content', 'maybe_wpautop', 1);
|
92 |
+
add_filter('the_content', 'maybe_convert_chars', 1);
|
93 |
+
add_filter('the_content', 'maybe_convert_smilies', 1);
|
94 |
+
add_filter('the_excerpt', 'maybe_wptexturize', 1);
|
95 |
+
add_filter('the_excerpt', 'maybe_wpautop', 1);
|
96 |
+
add_filter('the_excerpt', 'maybe_convert_chars', 1);
|
97 |
+
add_filter('the_excerpt', 'maybe_convert_smilies', 1);
|
98 |
|
99 |
// Add a custom meta box for per-post settings
|
100 |
add_action('admin_menu', 'rawhtml_add_custom_box');
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: whiteshadow
|
3 |
Tags: posts, formatting, javascript, html, css, code
|
4 |
Requires at least: 2.2
|
5 |
-
Tested up to: 2.7
|
6 |
-
Stable tag: 1.
|
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 |
|
2 |
Contributors: whiteshadow
|
3 |
Tags: posts, formatting, javascript, html, css, code
|
4 |
Requires at least: 2.2
|
5 |
+
Tested up to: 2.7.1
|
6 |
+
Stable tag: 1.2
|
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 |
|