Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 512573

Cookie settings – valid input for cookie time

$
0
0

Replies: 0

Hi there!

This isn’t actually a bug, but a heads-up. In the popup’s cookie settings, the Cookie Time field’s description states that the user is expected to enter a “plain english time”.

This is a bit ambiguous and might cause issues, since numbers written as text (e.g. “one month”, “two days”) are not correctly parsed by the plugin’s strtotime functionality, which in turn leads to the cookie not being set.

I suppose that the “plain english” guideline could lead to even more unexpected user input, such as “in a month”.

I would suggest a more detailed description for that field, or maybe even some examples of the expected input (e.g. “1 month”, “15 days”).


Viewing all articles
Browse latest Browse all 512573

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>