Make WordPress Core

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#28430 closed defect (bug) (duplicate)

plugin_basename() php warning

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

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 12 years ago.
It' contain patch file
plugin.dff (518 bytes ) - added by jigneshkaila 12 years ago.

Download all attachments as: .zip

Change History (5)

@jigneshkaila
12 years ago

It' contain patch file

#1 @jigneshkaila
12 years ago

  • Resolutionwontfix
  • Status newclosed

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

#2 @SergeyBiryukov
12 years ago

  • Resolution wontfixduplicate
  • Version trunk3.9

Duplicate of #27934.

@jigneshkaila
12 years ago

#3 @SergeyBiryukov
12 years ago

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