Changeset 839438
- Timestamp:
- 01/16/2014 03:42:02 AM (12 years ago)
- Location:
- sau-syntax/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (4 diffs)
-
syntax.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sau-syntax/trunk/readme.txt
r834543 r839438 5 5 Requires at least: 3.6 6 6 Tested up to: 3.8 7 Stable tag: 1. 17 Stable tag: 1.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 18 18 You can write source code directly within your post or embed source code from GitHub Gist. 19 19 20 * [saucode]Put your source code here.[/saucode] 20 * [saucode]Put your source code here.[/saucode] or [saucode lang="Source Code Language"]Put your source code here.[/saucode] 21 21 * [saugist id="Put Gist's ID here"] 22 22 … … 37 37 == Changelog == 38 38 39 = 1.2 = 40 * Fixed auto paragraph in source code. 41 39 42 = 1.1 = 40 43 * Change something in CSS. … … 46 49 == Upgrade Notice == 47 50 51 = 1.2 = 52 You can update to newest version from version 1.1 without warning. 53 48 54 = 1.1 = 49 55 This version requires at least WordPress 3.6, please update your WordPress site to the latest version. -
sau-syntax/trunk/syntax.php
r834543 r839438 4 4 * Plugin URI: http://hocwp.net/blog/sau-syntax-plugin/ 5 5 * Description: Sau Syntax is the easiest way to post source code on your blog posts. 6 * Version: 1. 16 * Version: 1.2 7 7 * Author: Sau Hi 8 8 * Author URI: http://hocwp.net … … 54 54 55 55 add_filter('comment_text', 'do_shortcode'); 56 remove_filter( 'the_content', 'wpautop' ); 57 add_filter( 'the_content', 'wpautop' , 99); 58 add_filter( 'the_content', 'shortcode_unautop',100 ); 56 59 ?>
Note: See TracChangeset
for help on using the changeset viewer.