dougui5419 2018-12-18 10:03
浏览 36

倒数计时器插件的Cookie到期时间

I’m using a free plugin for Wordpress, that seems the author is not very proactive unfortunately, although it is a super useful and great plugin.

So I got an issue, as in the config for the plugin, it allows you to set an expiration time for a cookie in days, but I would like to know if it’s possible so i can amend the code and set it for minutes or seconds.

So I went into the plugin files, and found what I think is the actual piece of code that sets the cookie (sorry, but I'm not a programmer so I can’t really tell what this code does) so i was wondering if someone can help me on changing the actual code that controls the cookie expiration, and if it can be changed to accomplish what I need.

The plugin in question is the following:

https://wordpress.org/plugins/wp-deadlines/

Thanks Kind regards

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 c语言怎么用printf(“\b \b”)与getch()实现黑框里写入与删除?
    • ¥20 怎么用dlib库的算法识别小麦病虫害
    • ¥15 华为ensp模拟器中S5700交换机在配置过程中老是反复重启
    • ¥15 java写代码遇到问题,求帮助
    • ¥15 uniapp uview http 如何实现统一的请求异常信息提示?
    • ¥15 有了解d3和topogram.js库的吗?有偿请教
    • ¥100 任意维数的K均值聚类
    • ¥15 stamps做sbas-insar,时序沉降图怎么画
    • ¥15 买了个传感器,根据商家发的代码和步骤使用但是代码报错了不会改,有没有人可以看看
    • ¥15 关于#Java#的问题,如何解决?