Opened 7 years ago

Closed 7 years ago

#2135 closed defect (bug) (fixed)

trim() plugin details

Reported by: Viper007Bond Owned by: anonymous
Priority: lowest Milestone: 2.1
Component: Administration Version: 2.0.3
Severity: trivial Keywords: bg|has-patch bg|dev-feedback bg|tested
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 7 years ago.
get_plugin_data() trim() patch

Download all attachments as: .zip

Change History (4)

get_plugin_data() trim() patch

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

This patch looks good.

  • Keywords bg|tested added

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

comment:3   ryan7 years ago

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

Already fixed,

Note: See TracTickets for help on using tickets.