Make WordPress Core

Opened 21 years ago

Closed 20 years ago

#2135 closed defect (bug) (fixed)

trim() plugin details

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

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 21 years ago.
get_plugin_data() trim() patch

Download all attachments as: .zip

Change History (4)

@Viper007Bond
21 years ago

get_plugin_data() trim() patch

#1 @error
20 years ago

  • Keywords bg|dev-feedback added
  • Milestone → 2.1
  • Version 2.0 → 2.0.3

This patch looks good.

#2 @robmiller
20 years ago

  • Keywords bg|tested added

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

#3 @ryan
20 years ago

  • Resolution → fixed
  • Status new → closed

Already fixed,

Note: See TracTickets for help on using tickets.