Cookie settings – valid input for cookie time
-
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”).
- The topic ‘Cookie settings – valid input for cookie time’ is closed to new replies.