| @@ -87,11 +87,11 @@ | ||
| 87 | 87 | ], |
| 88 | 88 | 'date_query' => [ |
| 89 | 89 | [ |
| 90 | 90 | 'before' => [ |
| 91 | - 'year' => intval( date( 'Y', $time ) ), | |
| 92 | - 'month' => intval( date( 'm', $time ) ), | |
| 93 | - 'day' => intval( date( 'd', $time ) ), | |
| 91 | + 'year' => intval( gmdate( 'Y', $time ) ), | |
| 92 | + 'month' => intval( gmdate( 'm', $time ) ), | |
| 93 | + 'day' => intval( gmdate( 'd', $time ) ), | |
| 94 | 94 | ], |
| 95 | 95 | 'inclusive' => false, |
| 96 | 96 | ], |
| 97 | 97 | ], |
| @@ -119,13 +119,13 @@ | ||
| 119 | 119 | </div> |
| 120 | 120 | <div class="sellkit-notice-content-footer"> |
| 121 | 121 | <a class="button-primary" target="_blank" href="https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Fplugin%2Fsellkit%2Freviews%2F%23new-post&locale=en_US"><?php echo esc_html__( 'Okay, You deserve it', 'sellkit' ); ?></a> |
| 122 | 122 | <a class="button-link sellkit-rating-notice-maybe-later"> |
| 123 | - <img src="<?php echo sellkit()->plugin_assets_url() . 'img/icons/rating-notice-maybe-later.svg'; ?>" alt=""> | |
| 123 | + <img src="<?php echo esc_url( sellkit()->plugin_assets_url() . 'img/icons/rating-notice-maybe-later.svg' ); ?>" alt=""> | |
| 124 | 124 | <?php echo esc_html__( 'Maybe later', 'sellkit' ); ?> |
| 125 | 125 | </a> |
| 126 | 126 | <a class="button-link sellkit-rating-notice-i-already-did"> |
| 127 | - <img src="<?php echo sellkit()->plugin_assets_url() . 'img/icons/rating-notice-i-already-did.svg'; ?>" alt=""> | |
| 127 | + <img src="<?php echo esc_url( sellkit()->plugin_assets_url() . 'img/icons/rating-notice-i-already-did.svg' ); ?>" alt=""> | |
| 128 | 128 | <?php echo esc_html__( 'I already did', 'sellkit' ); ?> |
| 129 | 129 | </a> |
| 130 | 130 | </div> |
| 131 | 131 | </div> |