Make WordPress Core

Opened 19 years ago

Closed 18 years ago

#2135 closed defect (bug) (fixed)

trim() plugin details

Reported by: viper007bond's profile Viper007Bond Owned by:
Milestone: 2.1 Priority: lowest
Severity: trivial Version: 2.0.3
Component: Administration Keywords: bg|has-patch bg|dev-feedback bg|tested
Focuses: Cc:

Description

The plugin details were sometimes (and the URIs always) were having line breaks and such in them. This makes sure all plugin details created by get_plugin_data() are trim()'ed.

I noticed this while using the function for a plugin of mine and it was bugging me that some of the outputted details had line breaks in them.

Attachments (1)

admin-functions.diff (1.2 KB) - added by Viper007Bond 19 years ago.
get_plugin_data() trim() patch

Download all attachments as: .zip

Change History (4)

@Viper007Bond
19 years ago

get_plugin_data() trim() patch

#1 @error
18 years ago

  • Keywords bg|dev-feedback added
  • Milestone set to 2.1
  • Version changed from 2.0 to 2.0.3

This patch looks good.

#2 @robmiller
18 years ago

  • Keywords bg|tested added

Tested (although there was hardly much potential for calamity!) and works well. +1.

#3 @ryan
18 years ago

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

Already fixed,

Note: See TracTickets for help on using tickets.