Log in with username/password: lyceum/lyceum

Ticket #753 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Links.php - added "global $blog;" to functions - please apply patch.

Reported by: lyceum Assigned to:
Priority: highest Milestone: 1.0
Keywords: Cc: michael.harmer@anu.edu.au

Description

The file src/lyceum/wp-includes/links.php has several functions that reference the $blog global variable without the necessary "global $blog;" declarations. This results in some of the functions not working correctly in some situations.

The functions are: get_linksbyname, wp_get_linksbyname, get_linkobjectsbyname and links_popup_script.

The attached patch file was generated from the "trunk" directory.

Attachments

links.blogasglobalfix.patch (1.6 kB) - added by lyceum on 02/19/07 23:22:28.

Change History

02/19/07 23:22:28 changed by lyceum

  • attachment links.blogasglobalfix.patch added.

02/20/07 03:16:52 changed by jjb

  • priority changed from normal to highest.
  • milestone set to 1.0.

Michael--

Very helpful, thank you!

03/02/07 04:05:52 changed by jjb

  • status changed from new to closed.
  • resolution set to fixed.
Log in with username/password: lyceum/lyceum