PluginProbe
Meow Gallery / 5.5.5
Meow Gallery v5.5.5
5.5.5 5.5.4 5.5.3 5.5.2 5.5.1 5.5.0 5.4.9 5.4.8 5.4.7 4.1.5 4.1.6 4.1.7 4.1.8 4.1.9 4.2.0 4.2.1 4.2.2 4.2.3 4.2.4 4.2.5 4.2.6 4.2.7 4.2.8 4.2.9 4.3.0 All 157 releases
← All changes | classes/builders/square.css.php +9 -9 4.1.55.5.5 View file →
@@ -25,15 +25,15 @@
25 25 break;
26 26 }
27 27 ?>
28 28
29 - <?php echo sanitize_html_class( $class_id ) ?> {
29 + <?php echo esc_attr( $class_id ) ?> {
30 30 margin: <?php echo -1 * ( (int)$gutter / 2 ) ?>px;
31 31 }
32 32
33 - <?php echo sanitize_html_class( $class_id ) ?> .mgl-item {
34 - width: <?php echo (int)$columns_in_percentage ?>;
35 - padding-bottom: <?php echo (int)$columns_in_percentage ?>;
33 + <?php echo esc_attr( $class_id ) ?> .mgl-item {
34 + width: <?php echo (int)$columns_in_percentage ?>%;
35 + padding-bottom: <?php echo (int)$columns_in_percentage ?>%;
36 36 }
37 37
38 38 <?php
39 39 if($columns > 2) {
@@ -39,9 +39,9 @@
39 39 if($columns > 2) {
40 40 ?>
41 41
42 42 @media screen and (max-width: 460px) {
43 - <?php echo sanitize_html_class( $class_id ) ?> .mgl-item {
43 + <?php echo esc_attr( $class_id ) ?> .mgl-item {
44 44 width: 50%;
45 45 padding-bottom: 50%;
46 46 }
47 47 }
@@ -54,9 +54,9 @@
54 54 if($columns > 1) {
55 55 ?>
56 56
57 57 @media screen and (max-width: 360px) {
58 - <?php echo sanitize_html_class( $class_id ) ?> .mgl-item {
58 + <?php echo esc_attr( $class_id ) ?> .mgl-item {
59 59 width: 100%;
60 60 padding-bottom: 100%;
61 61 }
62 62 }
@@ -64,17 +64,17 @@
64 64 <?php
65 65 }
66 66 ?>
67 67
68 - <?php echo sanitize_html_class( $class_id ) ?>.custom-gallery-class .mgl-item {
68 + <?php echo esc_attr( $class_id ) ?>.custom-gallery-class .mgl-item {
69 69 padding-bottom: <?php echo ( str_replace( '%', '', (int)$columns_in_percentage) / 1.5 ) ?>% !important;
70 70 }
71 71
72 - <?php echo sanitize_html_class( $class_id ) ?> .mgl-item .mgl-icon {
72 + <?php echo esc_attr( $class_id ) ?> .mgl-item .mgl-icon {
73 73 padding: <?php echo (int)$gutter / 2 ?>px;
74 74 }
75 75
76 - <?php echo sanitize_html_class( $class_id ) ?> .mgl-item figcaption {
76 + <?php echo esc_attr( $class_id ) ?> .mgl-item figcaption {
77 77 padding: <?php echo (int)$gutter / 2 ?>px;
78 78 }
79 79
80 80 </style>