Plugin Directory

Changeset 839438


Ignore:
Timestamp:
01/16/2014 03:42:02 AM (12 years ago)
Author:
sauhi
Message:

Update 1.2

Location:
sau-syntax/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sau-syntax/trunk/readme.txt

    r834543 r839438  
    55Requires at least: 3.6
    66Tested up to: 3.8
    7 Stable tag: 1.1
     7Stable tag: 1.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1818You can write source code directly within your post or embed source code from GitHub Gist.
    1919
    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]
    2121* [saugist id="Put Gist's ID here"]
    2222
     
    3737== Changelog ==
    3838
     39= 1.2 =
     40* Fixed auto paragraph in source code.
     41
    3942= 1.1 =
    4043* Change something in CSS.
     
    4649== Upgrade Notice ==
    4750
     51= 1.2 =
     52You can update to newest version from version 1.1 without warning.
     53
    4854= 1.1 =
    4955This version requires at least WordPress 3.6, please update your WordPress site to the latest version.
  • sau-syntax/trunk/syntax.php

    r834543 r839438  
    44 * Plugin URI: http://hocwp.net/blog/sau-syntax-plugin/
    55 * Description: Sau Syntax is the easiest way to post source code on your blog posts.
    6  * Version: 1.1
     6 * Version: 1.2
    77 * Author: Sau Hi
    88 * Author URI: http://hocwp.net
     
    5454
    5555add_filter('comment_text', 'do_shortcode');
     56remove_filter( 'the_content', 'wpautop' );
     57add_filter( 'the_content', 'wpautop' , 99);
     58add_filter( 'the_content', 'shortcode_unautop',100 );
    5659?>
Note: See TracChangeset for help on using the changeset viewer.