Changeset 3226503
- Timestamp:
- 01/21/2025 09:28:01 PM (15 months ago)
- Location:
- skyword-plugin
- Files:
-
- 4 edited
-
tags/2.5.3/php/class-skyword-publish.php (modified) (3 diffs)
-
tags/2.5.3/php/class-skyword-shortcode.php (modified) (1 diff)
-
trunk/php/class-skyword-publish.php (modified) (3 diffs)
-
trunk/php/class-skyword-shortcode.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
skyword-plugin/tags/2.5.3/php/class-skyword-publish.php
r3222464 r3226503 694 694 $query = new WP_Query($args); 695 695 if ( $query->have_posts() ) : 696 while ( $query->have_posts() ) : the_post();696 while ( $query->have_posts() ) : $query->the_post(); 697 697 $str = get_the_ID(); 698 698 … … 700 700 endwhile; 701 701 else : 702 $ query= array(702 $args = array( 703 703 'ignore_sticky_posts' => true, 704 704 'meta_key' => 'skyword_content_id', … … 720 720 $query = new WP_Query($args); 721 721 if ( $query->have_posts() ) : 722 while ( $query->have_posts() ) : the_post();722 while ( $query->have_posts() ) : $query->the_post(); 723 723 $str = get_the_ID(); 724 724 -
skyword-plugin/tags/2.5.3/php/class-skyword-shortcode.php
r3224615 r3226503 88 88 } 89 89 if (in_array($k, $validattrs, true) && isset($v)) { 90 $iframeattrs .= " " . esc_ html($k) . "=\"" . esc_html($v) . "\"";90 $iframeattrs .= " " . esc_attr($k) . "=\"" . esc_attr($v) . "\""; 91 91 } 92 92 } -
skyword-plugin/trunk/php/class-skyword-publish.php
r3224292 r3226503 694 694 $query = new WP_Query($args); 695 695 if ( $query->have_posts() ) : 696 while ( $query->have_posts() ) : the_post();696 while ( $query->have_posts() ) : $query->the_post(); 697 697 $str = get_the_ID(); 698 698 … … 700 700 endwhile; 701 701 else : 702 $ query= array(702 $args = array( 703 703 'ignore_sticky_posts' => true, 704 704 'meta_key' => 'skyword_content_id', … … 720 720 $query = new WP_Query($args); 721 721 if ( $query->have_posts() ) : 722 while ( $query->have_posts() ) : the_post();722 while ( $query->have_posts() ) : $query->the_post(); 723 723 $str = get_the_ID(); 724 724 -
skyword-plugin/trunk/php/class-skyword-shortcode.php
r3224615 r3226503 88 88 } 89 89 if (in_array($k, $validattrs, true) && isset($v)) { 90 $iframeattrs .= " " . esc_ html($k) . "=\"" . esc_html($v) . "\"";90 $iframeattrs .= " " . esc_attr($k) . "=\"" . esc_attr($v) . "\""; 91 91 } 92 92 }
Note: See TracChangeset
for help on using the changeset viewer.