Changeset 2960676
- Timestamp:
- 08/30/2023 01:54:24 PM (3 years ago)
- Location:
- jquery-collapse-o-matic/trunk
- Files:
-
- 3 edited
-
README.md (modified) (1 diff)
-
collapse-o-matic.php (modified) (7 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
jquery-collapse-o-matic/trunk/README.md
r2957370 r2960676 4 4 * Tags: collapse, expand, collapsible, expandable, expandable content, collapsable content, shortcode, hidden, hide, display, accordion, accordion, jQuery, javascript, roll-your-own, twinpictures, read me, read more, more, plugin oven 5 5 * Requires at least: 4.9 6 * Tested up to: 6.3. 07 * Stable tag: 1.8. 46 * Tested up to: 6.3.1 7 * Stable tag: 1.8.5.3 8 8 * Requires PHP: 7.2 9 9 * License: GPLv2 or later -
jquery-collapse-o-matic/trunk/collapse-o-matic.php
r2957370 r2960676 5 5 Plugin URI: https://pluginoven.com/plugins/collapse-o-matic/ 6 6 Description: Collapse-O-Matic adds an [expand] shortcode that wraps content into a lovely, jQuery collapsible div. 7 Version: 1.8. 47 Version: 1.8.5.3 8 8 Author: twinpictures, baden03 9 9 Author URI: https://twinpictures.de/ … … 30 30 * @var string 31 31 */ 32 var $version = '1.8. 4';32 var $version = '1.8.5.3'; 33 33 34 34 /** … … 324 324 $collapse_class = 'collapseomatic_content_inline '; 325 325 } 326 $eDiv = '<'. esc_attr( $targtag ) .' id="target-'.$id.'" class="'.esc_attr($collapse_class.$inline_class.$targclass).'">'. $content.'</'. esc_attr( $targtag ) .'>';326 $eDiv = '<'. esc_attr( $targtag ) .' id="target-'.$id.'" class="'.esc_attr($collapse_class.$inline_class.$targclass).'">'.wp_kses_post( $content ).'</'. esc_attr( $targtag ) .'>'; 327 327 } 328 328 if($excerpt){ … … 336 336 } 337 337 if($excerptpos == 'above-trigger'){ 338 $nibble = '<'. esc_attr( $excerpttag ) .' id="excerpt-'.esc_attr($id).'" class="'.esc_attr($excerptclass).'">'. esc_ html( $excerpt ).'</'. esc_attr( $excerpttag ) .'>';338 $nibble = '<'. esc_attr( $excerpttag ) .' id="excerpt-'.esc_attr($id).'" class="'.esc_attr($excerptclass).'">'. esc_attr( $excerpt ).'</'. esc_attr( $excerpttag ) .'>'; 339 339 } 340 340 else{ 341 $nibble = '<'. esc_attr( $excerpttag ) .' id="excerpt-'.esc_attr($id).'" class="collapseomatic_excerpt '.esc_attr($excerptclass).'">'. esc_ html( $excerpt ) .'</'. esc_attr( $excerpttag ) .'>';341 $nibble = '<'. esc_attr( $excerpttag ) .' id="excerpt-'.esc_attr($id).'" class="collapseomatic_excerpt '.esc_attr($excerptclass).'">'. esc_attr( $excerpt ) .'</'. esc_attr( $excerpttag ) .'>'; 342 342 } 343 343 //swapexcerpt … … 346 346 $swapexcerpt = do_shortcode($swapexcerpt); 347 347 $swapexcerpt = apply_filters( 'colomat_swapexcerpt', $swapexcerpt ); 348 $nibble .= '<'. esc_attr( $excerpttag ) .' id="swapexcerpt-'.esc_attr($id).'" style="display:none;">'. esc_ html( $swapexcerpt ).'</'. esc_attr( $excerpttag ) .'>';348 $nibble .= '<'. esc_attr( $excerpttag ) .' id="swapexcerpt-'.esc_attr($id).'" style="display:none;">'. esc_attr( $swapexcerpt ).'</'. esc_attr( $excerpttag ) .'>'; 349 349 } 350 350 } … … 420 420 $title = wp_get_attachment_image( $triggerimage, 'full' ); 421 421 } 422 $link = $closeanchor.'<'. esc_attr($tag) .' class="collapseomatic '.esc_attr($trigclass).'" id="'.esc_attr($id).'" '.$relatt.' '.$inexatt.' '.$altatt.' '.$anchor.' '.$groupatt.' '.$effatt.' '.$duratt.'>'. esc_html($startwrap).esc_html($title).esc_html($endwrap).'</'. esc_attr($tag) .'>';422 $link = $closeanchor.'<'. esc_attr($tag) .' class="collapseomatic '.esc_attr($trigclass).'" id="'.esc_attr($id).'" '.$relatt.' '.$inexatt.' '.$altatt.' '.$anchor.' '.$groupatt.' '.$effatt.' '.$duratt.'>'.wp_kses_post($startwrap.$title.$endwrap).'</'. esc_attr($tag) .'>'; 423 423 } 424 424 … … 438 438 $swapalt_attr = "alt='".esc_attr($swapalt)."'"; 439 439 } 440 $link .= "<". esc_attr($tag) ." id='swap-".esc_attr($id)."' ".esc_attr($swapalt_attr)." class='colomat-swap' style='display:none;'>". esc_html($startwrap). esc_html( $swaptitle ).esc_html($endwrap)."</". esc_attr($tag) .">";440 $link .= "<". esc_attr($tag) ." id='swap-".esc_attr($id)."' ".esc_attr($swapalt_attr)." class='colomat-swap' style='display:none;'>".wp_kses_post($startwrap.$swaptitle.$endwrap)."</". esc_attr($tag) .">"; 441 441 } 442 442 -
jquery-collapse-o-matic/trunk/readme.txt
r2957370 r2960676 5 5 Tags: collapse, expand, collapsible, expandable, expandable content, collapsable content, shortcode, hidden, hide, display, accordion, accordion, jQuery, javascript, roll-your-own, twinpictures, read me, read more, more, plugin oven 6 6 Requires at least: 4.9 7 Tested up to: 6.3. 08 Stable tag: 1.8. 47 Tested up to: 6.3.1 8 Stable tag: 1.8.5.3 9 9 Requires PHP: 7.2 10 10 License: GPLv2 or later … … 51 51 52 52 == Changelog == 53 54 = 1.8.5.3 = 55 * title, swap title and content are being sanatzied using the wp_kses_post function 56 57 = 1.8.5.2 = 58 * no longer escaping swaptitle 59 60 = 1.8.5.1 = 61 * no longer escaping or sanatizing title string 62 63 = 1.8.5 = 64 * using sanatize_title for the title tag 53 65 54 66 = 1.8.4 = … … 415 427 416 428 == Upgrade Notice == 417 * added orderby and order attributes for ordering collapse-commander sub-elements429 * title, swap title and content are being sanatzied using the wp_kses_post function
Note: See TracChangeset
for help on using the changeset viewer.