Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如果文章头没有添加updated字段,“更新于“仍然会出现 #115

Open
WiHceeg opened this issue Dec 17, 2018 · 1 comment
Open

Comments

@WiHceeg
Copy link

WiHceeg commented Dec 17, 2018

将post_meta里面的updated_at设置为true后,没有添加updated字段的文章也会出现“更新于”,后面的时间是空的。
希望这些文章的“更新于”不要出现

@fshuizhe
Copy link

我自己修改了if逻辑,现在已经解决了这个问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants