Skip to:
Content

Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#924 closed defect (fixed)

Bug with admin-function and pluggable.php

Reported by: csseur3 Owned by:
Milestone: 1.0 Priority: normal
Severity: normal Version: 1.0-rc-2
Component: Administration Keywords:
Cc:

Description

in the actual trunk, there is a bug with the new plugin sort. When i want to activate a plugin, i have this:

Warning: file(4) [function.file]: failed to open stream: No such file or directory in /home/bbpress/bb-admin/admin-functions.php on line 989

Warning: implode() [function.implode]: Invalid arguments passed in /home/bbpress/bb-admin/admin-functions.php on line 989

Warning: Cannot modify header information - headers already sent by (output started at /home/bbpress/bb-admin/admin-functions.php:989) in /home/bbpress/bb-includes/pluggable.php on line 213

Warning: Cannot modify header information - headers already sent by (output started at /home/bbpress/bb-admin/admin-functions.php:989) in /home/bbpress/bb-includes/pluggable.php on line 213

bye,

Change History (6)

comment:1 sambauers6 years ago

  • Milestone 1.0-beta & XML-RPC deleted
  • Resolution set to invalid
  • Status changed from new to closed

The last two errors are just because the error is being echoed to output.

Line 989 of admin-functions.php has no call to file() or implode() in trunk. Make sure you are right up to date with your trunk and then reopen the ticket with the correct line numbers.

comment:2 csseur36 years ago

  • Milestone set to 1.0-beta & XML-RPC
  • Resolution invalid deleted
  • Status changed from closed to reopened

yes,

now it's the 990 line, and i have this:

990 $plugin_data = implode(, file($plugin_file));
991 if ( !preg_match("|Plugin Name:(.*)|i", $plugin_data, $plugin_name) )

i think he was a really bug, i can't active a plugin with the real last trunk.

bye

comment:3 sambauers6 years ago

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

(In [1649]) Maintain keys when sorting plugins by name. Fixes #924. Props csseur3 for persistence.

comment:4 mdawaffe6 years ago

Ah ha! Nice work you two :)

comment:5 anonymous5 years ago

  • Milestone 1.0-beta deleted

Milestone 1.0-beta deleted

comment:6 sambauers5 years ago

  • Milestone set to 1.0
Note: See TracTickets for help on using tickets.