Ticket #426 (closed enhancement: fixed)

Opened 1 year ago

Last modified 5 months ago

Limit email registrations field stretches across page when several domains are entered

Reported by: ekusteve Assigned to: donncha
Priority: normal Milestone: WPMU 1.0
Component: component1 Version: 1.0
Severity: normal Keywords: has-patch
Cc:

Description

See the following thread in the mu fourms:

http://mu.wordpress.org/forums/topic.php?id=5018&page&replies=5

I corrected this on my site with two changes:

1. Change to wpmu-edit.php starting around line 28:

// original STEVE // oupdate_site_option( "limited_email_domains", split( ' ', $_POST[ 'limited_email_domains' ] ) ); $limited_email_domains = split( "\n", stripslashes($_POST[ 'limited_email_domains' ]) ); foreach( $limited_email_domains as $domain ) { $limited[] = trim( $domain ); } update_site_option( "limited_email_domains", $limited ); } else { update_site_option( "limited_email_domains", );

2. Change to wpmu-options.php around line 57 to make it a textarea:

<td><textarea name="limited_email_domains" id="limited_email_domains" cols='40' rows='5' style="width: 95%"><?//Steve Changed?><?php echo get_site_option('limited_email_domains') == ? : @implode( "\n", get_site_option('limited_email_domains') ); ?></textarea>

Attachments

limited_email_domains.patch (2.7 kB) - added by momo360modena on 04/23/08 21:10:44.

Change History

09/14/07 20:37:19 changed by drmiketemp

  • keywords set to has-patch.
  • version set to 1.0.
  • milestone set to WPMU 1.0.

Dupe of #346 just for reference. I clodes the other one since this one has a patch.

04/23/08 21:10:44 changed by momo360modena

  • attachment limited_email_domains.patch added.

04/24/08 08:54:31 changed by momo360modena

  • owner changed from somebody to donncha.
  • type changed from defect to enhancement.

05/12/08 14:30:33 changed by donncha

  • status changed from new to closed.
  • resolution set to fixed.

Thanks, fixed in [1285]