Making WordPress.org

Opened 7 years ago

Closed 6 years ago

#3437 closed defect (bug) (worksforme)

Incorrect parameters in [time] shortcode in Make posts show wrong dates

Reported by: joyously's profile joyously Owned by:
Milestone: Priority: low
Component: Make (Get Involved) / P2 Keywords:
Cc:

Description

Several of the posts on Make blogs use the [time] shortcode incorrectly, so the dates that are shown are not useful.
The ones I saw that prompted this ticket are all visible on https://make.wordpress.org/core/tag/new-contributors/
although I'm sure there are others in other Make blogs, perhaps on their meeting summary posts.

Change History (5)

#1 @obenland
7 years ago

Are there any specific examples to check against by any chance? How are they used incorrectly?

#2 @joyously
7 years ago

Well, each post has a link for Next Meeting.
The post from Sept 1, 2017 says next meeting is Sept 12, 2018. I doubt that is correct.
The post from Aug 17, 2017 says next meeting is Aug 1, 2018. That can't be right either.

My assumption is that the relative parameter is what is wrong, but it could be a bug in the shortcode.

Last edited 7 years ago by joyously (previous) (diff)

#3 @dd32
7 years ago

The time shortcode is [time relative]Wednesday, September 6, 19:00 UTC[/time] which does indeed mean it'll be relative to todays date, rather than the posts.

I've updated it on https://make.wordpress.org/core/2017/09/01/new-contributors-meeting-recap-august-30th/ to not include the relative param, which seems to have fixed it for that post - I can't go through all of the posts though

This ticket was mentioned in Slack in #meta by sergey. View the logs.


6 years ago

#5 @obenland
6 years ago

  • Resolution set to worksforme
  • Status changed from new to closed

Let's educate authors rather than having us chase down every single instance of misused shortcodes.

Note: See TracTickets for help on using tickets.