Make WordPress Core

Opened 19 years ago

Closed 19 years ago

#1695 closed defect (bug) (fixed)

link_owner missing!

Reported by: donncha's profile donncha Owned by: ryan's profile ryan
Milestone: Priority: normal
Severity: major Version: 1.6
Component: General Keywords:
Focuses: Cc:

Description

The link_owner variable is missing from the links functions:
Here's a patch for wp-admin/admin-functions.php to add it back in. (Line number may not match exactly but look for the wp_insert_link() function)

568c570
<       global $wpdb;
---
>       global $wpdb, $current_user;
584a587
>       $link_owner = $current_user->id;
594a598

Change History (1)

#1 @ryan
19 years ago

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

(In [2901]) Populate link_owner. Props donncha. fixes #1695

Note: See TracTickets for help on using tickets.