Commit e00b6acc authored by Rafael Chaves Freitas's avatar Rafael Chaves Freitas
Browse files

use HOUR_IN_SECONDS constant instead of integer 3600

parent 0b73981c
...@@ -117,7 +117,7 @@ function get_posts_ranking() { ...@@ -117,7 +117,7 @@ function get_posts_ranking() {
} }
// stores in cache for 1 hour // stores in cache for 1 hour
wp_cache_add( $cache_key, $ids, 3600 ); wp_cache_add( $cache_key, $ids, HOUR_IN_SECONDS );
} }
//var_dump($ids); //var_dump($ids);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment