Skip to content

Displaying updated time instead of creation time in Notepad Dashboard Widget#468

Merged
rinatkhaziev merged 2 commits intoAutomattic:masterfrom
TheCrowned:fix/465-notepad-updated-time
Jun 15, 2018
Merged

Displaying updated time instead of creation time in Notepad Dashboard Widget#468
rinatkhaziev merged 2 commits intoAutomattic:masterfrom
TheCrowned:fix/465-notepad-updated-time

Conversation

@TheCrowned
Copy link
Copy Markdown
Contributor

@TheCrowned TheCrowned commented May 28, 2018

The Notepad Dashboard Widget was showing the note creation time, even if the label said last updated at, as reported in #465. The issue was due to the usage of get_the_time() instead of get_the_modified_time().

Copy link
Copy Markdown
Contributor

@sboisvert sboisvert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While the whitespace changes are good, they should be part of a separate PR. You can read more about the reasoning here: Automattic/sensei#2157 and https://vip.wordpress.com/documentation/creating-good-changesets/

The feedback on PRs in #464 also applies :)

@TheCrowned
Copy link
Copy Markdown
Contributor Author

I have updated the description with some more details and pushed an additional commit removing the whitespace changes :)

Copy link
Copy Markdown

@mdbitz mdbitz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rinatkhaziev I've tested these changes and confirmed the behavior. Do you mind taking a look and merging as appropriate.

Thank you.

@rinatkhaziev rinatkhaziev added this to the 0.8.3 milestone Jun 15, 2018
@rinatkhaziev rinatkhaziev merged commit 4e5bd20 into Automattic:master Jun 15, 2018
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

Successfully merging this pull request may close these issues.

4 participants