Closed cabrerahector closed 6 months ago
The WP team announced back in 2019 that getting timestamps via current_time() was not recommended anymore and that devs should switch to current_datetime() instead.
current_time()
WordPress Popular Posts' Helper class calls current_time() in a couple of places. Let's have a look and see if these instances can / should be replaced by current_datetime().
current_datetime()
The WP team announced back in 2019 that getting timestamps via
current_time()
was not recommended anymore and that devs should switch to current_datetime() instead.WordPress Popular Posts' Helper class calls
current_time()
in a couple of places. Let's have a look and see if these instances can / should be replaced bycurrent_datetime()
.