Ticket #535 (closed defect: fixed)

Opened 9 months ago

Last modified 5 months ago

Bug introduced in wp-includes/plugins.php in r1125

Reported by: chmac Assigned to: somebody
Priority: normal Milestone:
Component: component1 Version:
Severity: normal Keywords:
Cc:

Description

In r1125 this line was removed:

$file = preg_replace('|^.*/wp-content/mu-plugins/|','',$file); // get relative path from plugins dir 

It was removed as part of the merge with WordPress? rev 6285. It breaks the add_custom_page functionality in the mu-plugins directory. Patch attached to resolve.

Attachments

restore-bug-from-r1125.diff (0.6 kB) - added by chmac on 01/07/08 21:09:44.
Restore bug introduced in r1125
bug535reintroduced.patch (0.6 kB) - added by chmac on 05/27/08 03:18:51.
#535 reintroduced in r1218

Change History

01/07/08 21:09:44 changed by chmac

  • attachment restore-bug-from-r1125.diff added.

Restore bug introduced in r1125

01/11/08 17:36:28 changed by donncha

  • status changed from new to closed.
  • resolution set to fixed.

Thanks, fixed this in [1185]

05/27/08 03:17:55 changed by chmac

  • status changed from closed to reopened.
  • resolution deleted.

This bug was reintroduced r1218. Another patch attached, this time using the MUPLUGINDIR constant.

05/27/08 03:18:51 changed by chmac

  • attachment bug535reintroduced.patch added.

#535 reintroduced in r1218

05/27/08 10:22:10 changed by donncha

  • status changed from reopened to closed.
  • resolution set to fixed.

Thanks, fixed in [1315]