WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#3738 closed defect (bug) (invalid)

link_updated field not being used

Reported by: epuidokas Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.0.7
Component: Administration Keywords:
Focuses: Cc:

Description

In the table wp_links, the field link_updated isn't getting used.

The function 'wp_insert_link' in 'wp-admin/admin-db.php' should be updating the field in its query.

Attachments (2)

admin-db.php (14.5 KB) - added by epuidokas 7 years ago.
fix.diff (1.7 KB) - added by epuidokas 7 years ago.

Download all attachments as: .zip

Change History (6)

epuidokas7 years ago

comment:1 epuidokas7 years ago

I've attached a fixed admin-db.php, but I couldn't commit it back to SVN.

comment:2 technosailor7 years ago

Only three people can commit. For everyone else, we use patches. Go ahead and diff that file and re-attach.

epuidokas7 years ago

comment:3 foolswisdom7 years ago

  • Milestone set to 2.2

comment:4 ryan7 years ago

  • Milestone 2.2 deleted
  • Resolution set to invalid
  • Status changed from new to closed

link_updated is not used in that way. It is used when the site the link points to is updated. See wp-admin/update-links.php.

Note: See TracTickets for help on using tickets.