Skip to content

Commit

Permalink
4.4.64
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelbart committed Nov 29, 2021
1 parent 150694b commit 3316002
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions core/tabs/class-start.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,12 @@ public function ajax_get_posts_data()
],
],
];

$args = apply_filters('helpful/ajax_get_posts_data/args', $args);
$transient = 'helpful_admin_start_' . md5(serialize($args));
$query = get_transient($transient);

$transient = 'helpful_admin_start_' . md5(serialize($args));

if (false === ($query = get_transient($transient))) {
if (false === $query) {
$query = new \WP_Query($args);
$cache_time = $options->get_option('helpful_cache_time', 'minute', 'esc_attr');
$cache_times = Helpers\Cache::get_cache_times(false);
Expand Down
2 changes: 1 addition & 1 deletion helpful.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Plugin Name: Helpful
* Description: Add a fancy feedback form under your posts or post-types and ask your visitors a question. Give them the abbility to vote with yes or no.
* Version: 4.4.63
* Version: 4.4.64
* Author: Pixelbart
* Author URI: https://pixelbart.de
* Text Domain: helpful
Expand Down

0 comments on commit 3316002

Please sign in to comment.