Make WordPress Core

Opened 2 years ago

Last modified 2 years ago

#56851 new defect (bug)

link_updated not recording a timestamp

Reported by: lenasterg's profile lenasterg Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Administration Keywords: has-patch
Focuses: Cc:

Description

Suggested patch fix for the issued described in https://wordpress.org/support/topic/link_updated-not-recording-a-timestamp/ by @publicradio

I have noticed that when I add or update a link, and then print_r get_bookmarks, every link object in the array has [link_updated] => 0000-00-00 00:00:00 and this will never update, even if I update the link.

Is there a way I can get the links manager to actually record when the link was updated?

Change History (3)

This ticket was mentioned in PR #3496 on WordPress/wordpress-develop by @lenasterg.


2 years ago
#1

Fixes the issue described in https://wordpress.org/support/topic/link_updated-not-recording-a-timestamp/ When a link is created or updated the 'link_updated' date_time field remains '0000-00-00 00:00:00'.
With this fix, the 'link_updated' gets updated.

Trac ticket: https://core.trac.wordpress.org/ticket/56851

Trac ticket:

This ticket was mentioned in Slack in #core by desrosj. View the logs.


2 years ago

#3 @desrosj
2 years ago

  • Version trunk deleted
Note: See TracTickets for help on using tickets.