From 96f6de252656f5ddf876d69cf1d11d2406ce08cf Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Wed, 4 Oct 2006 11:28:38 +0000 Subject: [PATCH] preserve multi-line options in options.php. Props Viper007Bond. fixes #2456 git-svn-id: https://develop.svn.wordpress.org/trunk@4330 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/options.php | 9 +++++++-- wp-admin/wp-admin.css | 4 ++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/wp-admin/options.php b/wp-admin/options.php index 48228810df..4297bd45b7 100644 --- a/wp-admin/options.php +++ b/wp-admin/options.php @@ -116,7 +116,7 @@ default:

-
+ @@ -128,7 +128,12 @@ foreach ($options as $option) : echo " - +"; endforeach; diff --git a/wp-admin/wp-admin.css b/wp-admin/wp-admin.css index bf3ff8eb94..7c297241dc 100644 --- a/wp-admin/wp-admin.css +++ b/wp-admin/wp-admin.css @@ -400,6 +400,10 @@ table .vers { text-align: center; } +#all-options textarea, #all-options input { + width: 250px; +} + #adminmenu { background: #83B4D8; border-top: 3px solid #448abd;
"; + + if (stristr($value, "\n")) echo ""; + else echo ""; + + echo " $option->option_description