Plugin Directory

Changeset 1522509


Ignore:
Timestamp:
10/26/2016 02:30:48 PM (9 years ago)
Author:
offshorent
Message:

New Version added

Location:
os-html5-shortcodes
Files:
25 added
6 edited

Legend:

Unmodified
Added
Removed
  • os-html5-shortcodes/trunk/includes/admin/meta-boxes/class.oshtml5.shortcode.php

    r1302185 r1522509  
    1010 *
    1111 * @class       oshtml5MetaboxShortcode
    12  * @version     1.0
     12 * @version     1.2
    1313 * @category    Class
    14  * @author      Jinesh.P.V, Team Leader Offshorent Softwares Pvt Ltd.
     14 * @author      Offshorent Solutions Pvt Ltd. | Jinesh.P.V
    1515 */
    1616 
  • os-html5-shortcodes/trunk/includes/admin/oshtml5-about.php

    r1302185 r1522509  
    1010 *
    1111 * @class       oshtml5About
    12  * @version     1.0
     12 * @version     1.2
    1313 * @category    Class
    14  * @author      Jinesh, Senior Software Engineer
     14 * @author      Offshorent Solutions Pvt Ltd. | Jinesh.P.V
    1515 */
    1616 
     
    4040        * about_oshtml5_developer for ourteam blog
    4141        *
    42         * @since  1.0
     42        * @since  1.2
    4343        */
    4444   
  • os-html5-shortcodes/trunk/includes/admin/oshtml5-post-types.php

    r1302185 r1522509  
    1010 *
    1111 * @class       osHTML5PostTypes
    12  * @version     1.0
     12 * @version     1.2
    1313 * @category    Class
    14  * @author      Jinesh.P.V, Team Leader Offshorent Softwares Pvt Ltd.
     14 * @author      Offshorent Solutions Pvt Ltd. | Jinesh.P.V
    1515 */
    1616 
     
    132132 * Returns the main instance of osHTML5PostTypes to prevent the need to use globals.
    133133 *
    134  * @since  1.0
     134 * @since  1.2
    135135 * @return osHTML5PostTypes
    136136 */
  • os-html5-shortcodes/trunk/includes/admin/oshtml5-widget.php

    r1383811 r1522509  
    2828        } else {
    2929            echo '';
    30             break;
    3130        }
    3231                           
     
    8887 
    8988 
    90 } // end class osHtml5Widget
     89}
     90// end class osHtml5Widget
    9191add_action( 'widgets_init', create_function( '', 'return register_widget( "osHtml5Widget" );' ) );
    9292?>
  • os-html5-shortcodes/trunk/os-html5-shortcodes.php

    r1383811 r1522509  
    44Plugin URI: http://offshorent.com/blog/extensions/os-html5-shortcodes
    55Description: Include HTML codes uch as ad codes, javascript, video embedding, etc to your pages, posts or custom post type easily using shortcodes.
    6 Version: 1.1
    7 Author: Jinesh.P.V, Team Leader Offshorent Softwares Pvt Ltd.
     6Version: 1.2
     7Author: Offshorent Solutions Pvt Ltd. | Jinesh.P.V
    88Author URI: http://offshorent.com/
     9Requires at least: 4.0
     10Tested up to: 4.6.1
    911License: GPL2
    1012/*  Copyright 2016-2019  OS HTML5 Shortcodes - Offshorent Softwares Pvt Ltd  ( email: jinesh@offshorent.com )
     
    3436    *
    3537    * @class osHTML5Shortcodes
    36     * @version  1.0
     38    * @version  1.2
    3739    */
    3840
     
    4143        /**
    4244        * @var string
    43         * @since    1.0
    44         */
    45          
    46         public $version = '1.0';
     45        * @since    1.2
     46        */
     47         
     48        public $version = '1.2';
    4749       
    4850        /**
    4951        * @var osHTML5Shortcodes The single instance of the class
    50         * @since 1.0
     52        * @since 1.2
    5153        */
    5254       
     
    5860        * Ensures only one instance of osHTML5Shortcodes is loaded or can be loaded.
    5961        *
    60         * @since 1.0
     62        * @since 1.2
    6163        * @static
    6264        * @see OSBX()
     
    7476        * Cloning is forbidden.
    7577        *
    76         * @since 1.0
     78        * @since 1.2
    7779        */
    7880
    7981        public function __clone() {
    80             _doing_it_wrong( __FUNCTION__, 'Cheatin’ huh?', '1.0' );
     82            _doing_it_wrong( __FUNCTION__, 'Cheatin’ huh?', '1.2' );
    8183        }
    8284
     
    8486        * Unserializing instances of this class is forbidden.
    8587        *
    86         * @since 1.0
     88        * @since 1.2
    8789        */
    8890         
    8991        public function __wakeup() {
    90             _doing_it_wrong( __FUNCTION__, 'Cheatin’ huh?', '1.0' );
     92            _doing_it_wrong( __FUNCTION__, 'Cheatin’ huh?', '1.2' );
    9193        }
    9294           
     
    9496        * Get the plugin url.
    9597        *
    96         * @since 1.0
     98        * @since 1.2
    9799        */
    98100
     
    104106        * Get the plugin path.
    105107        *
    106         * @since 1.0
     108        * @since 1.2
    107109        */
    108110
     
    114116        * Get Ajax URL.
    115117        *
    116         * @since 1.0
     118        * @since 1.2
    117119        */
    118120
     
    125127        * @access public
    126128        * @return osHTML5Shortcodes
    127         * @since 1.0
     129        * @since 1.2
    128130        */
    129131         
     
    153155        /**
    154156        * Install osHTML5Shortcodes
    155         * @since 1.0
     157        * @since 1.2
    156158        */
    157159         
     
    167169        /**
    168170        * Define osHTML5Shortcodes Constants
    169         * @since 1.0
     171        * @since 1.2
    170172        */
    171173         
     
    182184        * includes admin defaults files
    183185        *
    184         * @since 1.0
     186        * @since 1.2
    185187        */
    186188         
     
    195197        /**
    196198        * Init osHTML5Shortcodes when WordPress Initialises.
    197         * @since 1.0
     199        * @since 1.2
    198200        */
    199201         
     
    206208        * Clean all output buffers
    207209        *
    208         * @since  1.0
     210        * @since  1.2
    209211        */
    210212         
     
    217219        * Callback function
    218220        *
    219         * @since  1.0
     221        * @since  1.2
    220222        */
    221223         
     
    227229        * Clean all output buffers
    228230        *
    229         * @since  1.0
     231        * @since  1.2
    230232        */
    231233         
     
    236238        /**
    237239        * Admin init osHTML5Shortcodes when WordPress Initialises.
    238         * @since  1.0
     240        * @since  1.2
    239241        */
    240242         
     
    247249        * Admin side style and javascript hook for osHTML5Shortcodes
    248250        *
    249         * @since  1.0
     251        * @since  1.2
    250252        */
    251253         
     
    258260        * Filter hook for oshtml5_query_vars
    259261        *
    260         * @since  1.0
     262        * @since  1.2
    261263        */
    262264   
     
    270272        * Action hook for oshtml5_query_vars
    271273        *
    272         * @since  1.0
     274        * @since  1.2
    273275        */
    274276       
     
    284286        * Shortcode function for os-pricing-table
    285287        *
    286         * @since  1.0
     288        * @since  1.2
    287289        */
    288290         
     
    298300                    ), $atts );
    299301            $post_id = $atts['id'];
    300             $html5_content = get_post( $post_id ) ;
     302            $html5_content = get_post( $post_id ) ; 
    301303           
    302304            if( !empty( $html5_content->post_content ) ) {
    303                 return do_shortcode( $html5_content->post_content );
     305                return apply_filters( 'the_content', $html5_content->post_content );
    304306            } else {
    305307                return '';
    306                 break;
    307308            }
    308309        }   
     
    313314 * Returns the main instance of osHTML5Shortcodes to prevent the need to use globals.
    314315 *
    315  * @since  1.0
     316 * @since  1.2
    316317 * @return osHTML5Shortcodes
    317318 */
  • os-html5-shortcodes/trunk/readme.txt

    r1383811 r1522509  
    22Contributors: offshorent
    33Tags: Include HTML codes uch as ad codes, javascript, video embedding, etc to your pages, posts or custom post type easily using shortcodes.
    4 Requires at least: 3.8
    5 Tested up to: 4.4.2
    6 Stable tag: 1.1
     4Requires at least: 4.0
     5Tested up to: 4.6.1
     6Stable tag: 1.2
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7575
    7676== Changelog ==
    77 = 1.0 =
     77= 1.2 =
    7878* Initial release
    79 = 1.1 =
     79= 1.2 =
    8080* Fixed the errors
Note: See TracChangeset for help on using the changeset viewer.