PluginProbe
GamiPress – Gamification plugin to reward points, badges & ranks in WordPress, now with AI / 8.0.5
GamiPress – Gamification plugin to reward points, badges & ranks in WordPress, now with AI v8.0.5
8.0.5 8.0.4 8.0.3 8.0.1 8.0.2 8.0.0 7.9.9.7 7.9.9.6 7.9.9.5 7.9.9.4 7.9.9.3 7.9.9.2 7.9.9.1 7.9.9 7.9.8 7.9.7 7.9.6 7.9.5 7.9.4 7.9.3 7.9.2 7.9.1 7.9.0 7.8.9 7.8.8 All 47 releases
← All changes | includes/filters.php +5 -1 7.9.9 → 8.0.5 View file →
@@ -258,9 +258,10 @@
258 258 *
259 259 * @return string
260 260 */
261 261 $points_awards_heading = apply_filters( 'gamipress_points_awards_heading', $points_awards_heading, $points_awards, $user_id, $template_args );
262 -
262 + $a['heading_size'] = gamipress_sanitize_title_size_option( $a['heading_size'] );
263 +
263 264 $output .= '<' . $a['heading_size'] . ' class="gamipress-points-awards-heading">' . $points_awards_heading . '</' . $a['heading_size'] . '>';
264 265
265 266 }
266 267
@@ -385,8 +386,9 @@
385 386 *
386 387 * @return string
387 388 */
388 389 $points_deducts_heading = apply_filters( 'gamipress_points_deducts_heading', $points_deducts_heading, $points_deducts, $user_id, $template_args );
390 + $a['heading_size'] = gamipress_sanitize_title_size_option( $a['heading_size'] );
389 391
390 392 $output .= '<' . $a['heading_size'] . ' class="gamipress-points-deducts-heading">' . $points_deducts_heading . '</' . $a['heading_size'] . '>';
391 393
392 394 }
@@ -537,8 +539,9 @@
537 539 *
538 540 * @return string
539 541 */
540 542 $steps_heading = apply_filters( 'gamipress_steps_heading', $steps_heading, $steps, $user_id, $template_args );
543 + $a['heading_size'] = gamipress_sanitize_title_size_option( $a['heading_size'] );
541 544
542 545 $output .= '<' . $a['heading_size'] . ' class="gamipress-achievement-steps-heading">' . $steps_heading . '</' . $a['heading_size'] . '>';
543 546
544 547 }
@@ -1894,8 +1897,9 @@
1894 1897 *
1895 1898 * @return string
1896 1899 */
1897 1900 $requirements_heading = apply_filters( 'gamipress_rank_requirements_heading', $requirements_heading, $requirements, $user_id, $template_args );
1901 + $a['heading_size'] = gamipress_sanitize_title_size_option( $a['heading_size'] );
1898 1902
1899 1903 $output .= '<' . $a['heading_size'] . ' class="gamipress-rank-requirements-heading">' . $requirements_heading . '</' . $a['heading_size'] . '>';
1900 1904
1901 1905 }