Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#27214 closed defect (bug) (fixed)

Fix an undefined index.

Reported by: pross Owned by: SergeyBiryukov
Priority: normal Milestone: 3.9
Component: Administration Version: 2.8
Severity: normal Keywords: has-patch commit
Cc: Focuses:

Description

When using the plugin editor with some plugins the following error is produced:

Undefined offset: 1370 in ..../wp-admin/includes/misc.php on line 321

Attached patch fixes the error.

Only some plugins are affected, which is weird. 'Debug Bar Slow Actions' was the one i tested the patch with.

Attachments (2)

patch.diff (1.0 KB ) - added by pross 13 years ago.
27214.patch (1.1 KB ) - added by SergeyBiryukov 13 years ago.

Download all attachments as: .zip

Change History (5)

@pross
13 years ago

#1 @bravokeyl
13 years ago

  • Keywords has-patch added

#2 @SergeyBiryukov
13 years ago

  • Component GeneralAdministration
  • Keywords commit added
  • Milestone Awaiting Review3.9
  • Version trunk2.8

Confirmed. Caused by missing closing ?> tag in the plugin file.

Introduced in [10607]. The upper limit for the loop is off, see 27214.patch.

Last edited 13 years ago by SergeyBiryukov (previous) (diff)

#3 @SergeyBiryukov
13 years ago

  • Owner set to SergeyBiryukov
  • Resolutionfixed
  • Status newclosed

In 27323:

Avoid an undefined index notice in wp_doc_link_parse().

props pross for initial patch.
fixes #27214.

Note: See TracTickets for help on using tickets.