[wp-trac] [WordPress Trac] #42856: function twentyfifteen_entry_meta returning dates two times
WordPress Trac
noreply at wordpress.org
Mon Dec 11 08:41:19 UTC 2017
#42856: function twentyfifteen_entry_meta returning dates two times
--------------------------+----------------------
Reporter: listalegal | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: General | Version: 4.9.1
Severity: normal | Resolution: invalid
Keywords: | Focuses:
--------------------------+----------------------
Changes (by dd32):
* status: new => closed
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
Hi @listalegal, and welcome to Trac.
The WordPress Trac is for reporting bugs in the WordPress software, and
not for support. For support, we have the [https://wordpress.org/support/
Support Forums] available where many other volunteers help resolve
specific site issues.
Replying to [ticket:42856 listalegal]:
> I have been trying to figure out why my blog posts are showing the
published date twice, it's repeated one after the other.
>
> Look at the bottom of this blog post [http://reviewsz.net/blog/] right
where it says Posted On.
This seems to be related to your Theme or a plugin you're running. One of
the timestamps is the publish date, the other the date that the post was
updated:
{{{
<time class="entry-date published"
datetime="2017-12-10T07:11:44+00:00">December 10, 2017</time>
<time class="updated" datetime="2017-12-10T07:21:37+00:00">December 10,
2017</time>
}}}
> As a separate issue, part of my post formatting disappears every time I
save it and I go back to edit it. My <p> tags and end of line tags just
disappear.
This is most likely the intended behaviour of WordPress - manually added
`<p>` tags that are added and trailing `<br>` tags may be stripped upon
WordPress parsing the post.
There [https://wordpress.org/plugins/disable-wpautop/ exist plugins] which
can disable this functionality, but as a result you'd need to add all
paragraph tags as appropriate in the post.
If you've got a specific example of where you believe WordPress is getting
it incorrect, please open a ticket with the exact code which is being
changed that you expect to retain.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42856#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list