Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#28430 closed defect (bug) (duplicate)

plugin_basename() php warning

Reported by: netoz's profile Netoz Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.9
Component: Plugins Keywords:
Focuses: Cc:

Description

Warning: Invalid argument supplied for foreach() in /wp-core/wp-includes/plugin.php on line 623
sometimes $wp_plugin_paths = NULL and foreach gives this warning.
any variant to add if condition before?

Attachments (2)

plugin.php.patch (489 bytes) - added by jigneshkaila 11 years ago.
It' contain patch file
plugin.dff (518 bytes) - added by jigneshkaila 11 years ago.

Download all attachments as: .zip

Change History (5)

@jigneshkaila
11 years ago

It' contain patch file

#1 @jigneshkaila
11 years ago

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

Hi @Netoz, thanks for the first bug report!
I have resolved this problem, also I have attached above latest patch file.

#2 @SergeyBiryukov
11 years ago

  • Resolution changed from wontfix to duplicate
  • Version changed from trunk to 3.9

Duplicate of #27934.

@jigneshkaila
11 years ago

#3 @SergeyBiryukov
11 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.