PluginProbe
Post Grid Gutenberg Blocks – PostX / 5.1.0
Post Grid Gutenberg Blocks – PostX v5.1.0
5.1.1 5.1.0 5.0.41 5.0.39 5.0.38 5.0.37 5.0.36 5.0.35 5.0.34 5.0.33 5.0.32 5.0.31 5.0.30 5.0.29 5.0.28 5.0.27 5.0.26 5.0.25 5.0.23 5.0.24 5.0.22 5.0.21 5.0.20 5.0.19 5.0.18 All 240 releases
← All changes | blocks/News_Ticker.php +3 -3 5.0.28 → 5.1.0 View file →
@@ -233,9 +233,9 @@
233 233 }
234 234
235 235 public function content( $attr, $noAjax ) {
236 236 $attr = wp_parse_args( $attr, $this->get_attributes() );
237 - global $unique_ID;
237 + global $ultp_unique_ID;
238 238
239 239 if ( ! $noAjax ) {
240 240 $paged = is_front_page() ? get_query_var( 'page' ) : get_query_var( 'paged' );
241 241 $attr['paged'] = $paged ? $paged : 1;
@@ -288,9 +288,9 @@
288 288 $post_id = get_the_ID();
289 289 $title = get_the_title( $post_id );
290 290 $titlelink = get_permalink( $post_id );
291 291 if ( $attr['queryUnique'] ) {
292 - $unique_ID[ $attr['queryUnique'] ][] = $post_id;
292 + $ultp_unique_ID[ $attr['queryUnique'] ][] = $post_id;
293 293 }
294 294 $typeStyle = $style = '';
295 295 if ( $attr['tickerType'] != 'marquee' && $attr['tickerType'] != 'typewriter' && $attr['tickerAnimation'] == 'fadeout' ) {
296 296 $style .= 'animation-delay:' . ( $speed - 1000 ) . 'ms';
@@ -337,9 +337,9 @@
337 337 $wraper_after .= '</div>';
338 338 $wraper_after .= '</div>';
339 339 $wraper_after .= '</div>';
340 340
341 - wp_reset_query();
341 + wp_reset_postdata();
342 342 }
343 343
344 344 return $noAjax ? $post_loop : $wraper_before . $post_loop . $wraper_after;
345 345 }