Changeset 1522509
- Timestamp:
- 10/26/2016 02:30:48 PM (9 years ago)
- Location:
- os-html5-shortcodes
- Files:
-
- 25 added
- 6 edited
-
tags/1.2 (added)
-
tags/1.2/css (added)
-
tags/1.2/css/admin (added)
-
tags/1.2/css/admin/style-min.css (added)
-
tags/1.2/images (added)
-
tags/1.2/images/about.jpg (added)
-
tags/1.2/images/category.png (added)
-
tags/1.2/images/editor-icon.jpg (added)
-
tags/1.2/images/social.png (added)
-
tags/1.2/includes (added)
-
tags/1.2/includes/admin (added)
-
tags/1.2/includes/admin/meta-boxes (added)
-
tags/1.2/includes/admin/meta-boxes/class.oshtml5.shortcode.php (added)
-
tags/1.2/includes/admin/meta-boxes/views (added)
-
tags/1.2/includes/admin/meta-boxes/views/oshtml5.shortcode.php (added)
-
tags/1.2/includes/admin/oshtml5-about.php (added)
-
tags/1.2/includes/admin/oshtml5-editor.php (added)
-
tags/1.2/includes/admin/oshtml5-post-types.php (added)
-
tags/1.2/includes/admin/oshtml5-tinymce.php (added)
-
tags/1.2/includes/admin/oshtml5-widget.php (added)
-
tags/1.2/os-html5-shortcodes.php (added)
-
tags/1.2/readme.txt (added)
-
tags/1.2/screenshot-1.png (added)
-
tags/1.2/screenshot-2.png (added)
-
tags/1.2/screenshot-3.png (added)
-
trunk/includes/admin/meta-boxes/class.oshtml5.shortcode.php (modified) (1 diff)
-
trunk/includes/admin/oshtml5-about.php (modified) (2 diffs)
-
trunk/includes/admin/oshtml5-post-types.php (modified) (2 diffs)
-
trunk/includes/admin/oshtml5-widget.php (modified) (2 diffs)
-
trunk/os-html5-shortcodes.php (modified) (24 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
os-html5-shortcodes/trunk/includes/admin/meta-boxes/class.oshtml5.shortcode.php
r1302185 r1522509 10 10 * 11 11 * @class oshtml5MetaboxShortcode 12 * @version 1. 012 * @version 1.2 13 13 * @category Class 14 * @author Jinesh.P.V, Team Leader Offshorent Softwares Pvt Ltd.14 * @author Offshorent Solutions Pvt Ltd. | Jinesh.P.V 15 15 */ 16 16 -
os-html5-shortcodes/trunk/includes/admin/oshtml5-about.php
r1302185 r1522509 10 10 * 11 11 * @class oshtml5About 12 * @version 1. 012 * @version 1.2 13 13 * @category Class 14 * @author Jinesh, Senior Software Engineer14 * @author Offshorent Solutions Pvt Ltd. | Jinesh.P.V 15 15 */ 16 16 … … 40 40 * about_oshtml5_developer for ourteam blog 41 41 * 42 * @since 1. 042 * @since 1.2 43 43 */ 44 44 -
os-html5-shortcodes/trunk/includes/admin/oshtml5-post-types.php
r1302185 r1522509 10 10 * 11 11 * @class osHTML5PostTypes 12 * @version 1. 012 * @version 1.2 13 13 * @category Class 14 * @author Jinesh.P.V, Team Leader Offshorent Softwares Pvt Ltd.14 * @author Offshorent Solutions Pvt Ltd. | Jinesh.P.V 15 15 */ 16 16 … … 132 132 * Returns the main instance of osHTML5PostTypes to prevent the need to use globals. 133 133 * 134 * @since 1. 0134 * @since 1.2 135 135 * @return osHTML5PostTypes 136 136 */ -
os-html5-shortcodes/trunk/includes/admin/oshtml5-widget.php
r1383811 r1522509 28 28 } else { 29 29 echo ''; 30 break;31 30 } 32 31 … … 88 87 89 88 90 } // end class osHtml5Widget 89 } 90 // end class osHtml5Widget 91 91 add_action( 'widgets_init', create_function( '', 'return register_widget( "osHtml5Widget" );' ) ); 92 92 ?> -
os-html5-shortcodes/trunk/os-html5-shortcodes.php
r1383811 r1522509 4 4 Plugin URI: http://offshorent.com/blog/extensions/os-html5-shortcodes 5 5 Description: 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. 17 Author: Jinesh.P.V, Team Leader Offshorent Softwares Pvt Ltd.6 Version: 1.2 7 Author: Offshorent Solutions Pvt Ltd. | Jinesh.P.V 8 8 Author URI: http://offshorent.com/ 9 Requires at least: 4.0 10 Tested up to: 4.6.1 9 11 License: GPL2 10 12 /* Copyright 2016-2019 OS HTML5 Shortcodes - Offshorent Softwares Pvt Ltd ( email: jinesh@offshorent.com ) … … 34 36 * 35 37 * @class osHTML5Shortcodes 36 * @version 1. 038 * @version 1.2 37 39 */ 38 40 … … 41 43 /** 42 44 * @var string 43 * @since 1. 044 */ 45 46 public $version = '1. 0';45 * @since 1.2 46 */ 47 48 public $version = '1.2'; 47 49 48 50 /** 49 51 * @var osHTML5Shortcodes The single instance of the class 50 * @since 1. 052 * @since 1.2 51 53 */ 52 54 … … 58 60 * Ensures only one instance of osHTML5Shortcodes is loaded or can be loaded. 59 61 * 60 * @since 1. 062 * @since 1.2 61 63 * @static 62 64 * @see OSBX() … … 74 76 * Cloning is forbidden. 75 77 * 76 * @since 1. 078 * @since 1.2 77 79 */ 78 80 79 81 public function __clone() { 80 _doing_it_wrong( __FUNCTION__, 'Cheatin’ huh?', '1. 0' );82 _doing_it_wrong( __FUNCTION__, 'Cheatin’ huh?', '1.2' ); 81 83 } 82 84 … … 84 86 * Unserializing instances of this class is forbidden. 85 87 * 86 * @since 1. 088 * @since 1.2 87 89 */ 88 90 89 91 public function __wakeup() { 90 _doing_it_wrong( __FUNCTION__, 'Cheatin’ huh?', '1. 0' );92 _doing_it_wrong( __FUNCTION__, 'Cheatin’ huh?', '1.2' ); 91 93 } 92 94 … … 94 96 * Get the plugin url. 95 97 * 96 * @since 1. 098 * @since 1.2 97 99 */ 98 100 … … 104 106 * Get the plugin path. 105 107 * 106 * @since 1. 0108 * @since 1.2 107 109 */ 108 110 … … 114 116 * Get Ajax URL. 115 117 * 116 * @since 1. 0118 * @since 1.2 117 119 */ 118 120 … … 125 127 * @access public 126 128 * @return osHTML5Shortcodes 127 * @since 1. 0129 * @since 1.2 128 130 */ 129 131 … … 153 155 /** 154 156 * Install osHTML5Shortcodes 155 * @since 1. 0157 * @since 1.2 156 158 */ 157 159 … … 167 169 /** 168 170 * Define osHTML5Shortcodes Constants 169 * @since 1. 0171 * @since 1.2 170 172 */ 171 173 … … 182 184 * includes admin defaults files 183 185 * 184 * @since 1. 0186 * @since 1.2 185 187 */ 186 188 … … 195 197 /** 196 198 * Init osHTML5Shortcodes when WordPress Initialises. 197 * @since 1. 0199 * @since 1.2 198 200 */ 199 201 … … 206 208 * Clean all output buffers 207 209 * 208 * @since 1. 0210 * @since 1.2 209 211 */ 210 212 … … 217 219 * Callback function 218 220 * 219 * @since 1. 0221 * @since 1.2 220 222 */ 221 223 … … 227 229 * Clean all output buffers 228 230 * 229 * @since 1. 0231 * @since 1.2 230 232 */ 231 233 … … 236 238 /** 237 239 * Admin init osHTML5Shortcodes when WordPress Initialises. 238 * @since 1. 0240 * @since 1.2 239 241 */ 240 242 … … 247 249 * Admin side style and javascript hook for osHTML5Shortcodes 248 250 * 249 * @since 1. 0251 * @since 1.2 250 252 */ 251 253 … … 258 260 * Filter hook for oshtml5_query_vars 259 261 * 260 * @since 1. 0262 * @since 1.2 261 263 */ 262 264 … … 270 272 * Action hook for oshtml5_query_vars 271 273 * 272 * @since 1. 0274 * @since 1.2 273 275 */ 274 276 … … 284 286 * Shortcode function for os-pricing-table 285 287 * 286 * @since 1. 0288 * @since 1.2 287 289 */ 288 290 … … 298 300 ), $atts ); 299 301 $post_id = $atts['id']; 300 $html5_content = get_post( $post_id ) ; 302 $html5_content = get_post( $post_id ) ; 301 303 302 304 if( !empty( $html5_content->post_content ) ) { 303 return do_shortcode($html5_content->post_content );305 return apply_filters( 'the_content', $html5_content->post_content ); 304 306 } else { 305 307 return ''; 306 break;307 308 } 308 309 } … … 313 314 * Returns the main instance of osHTML5Shortcodes to prevent the need to use globals. 314 315 * 315 * @since 1. 0316 * @since 1.2 316 317 * @return osHTML5Shortcodes 317 318 */ -
os-html5-shortcodes/trunk/readme.txt
r1383811 r1522509 2 2 Contributors: offshorent 3 3 Tags: 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.85 Tested up to: 4. 4.26 Stable tag: 1. 14 Requires at least: 4.0 5 Tested up to: 4.6.1 6 Stable tag: 1.2 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 75 75 76 76 == Changelog == 77 = 1. 0=77 = 1.2 = 78 78 * Initial release 79 = 1. 1=79 = 1.2 = 80 80 * Fixed the errors
Note: See TracChangeset
for help on using the changeset viewer.