WordPress.org

Forums

Grunion Contact Form
Hacked to conditionally hide "Name", "Email" &quo (2 posts)

  1. Jimmy Ngu
    Member
    Posted 4 years ago #

    Changes in grunion-contact-form.php (v2.0):

    412,415c415,419
    < 	$message = __( "Name:" ) . " " . $comment_author . "
    < " . __( "Email:" ) . " " . $comment_author_email . "
    < " . __( "Website:" ) . " " . $comment_author_url . "
    <
    ---
    > 	$message = '';
    > 	$message .= (empty($comment_author)) ? "" : __( "Name:" ) . " " . $comment_author . "\n";
    > 	$message .= (empty($comment_author_email)) ? "" : __( "Email:" ) . " " . $comment_author_email . "\n";
    > 	$message .= (empty($comment_author_url)) ? "" : __( "Website:" ) . " " . $comment_author_url . "\n";
    > $message .= "

    http://wordpress.org/extend/plugins/grunion-contact-form/

  2. Joseph Scott
    Member
    Plugin Author

    Posted 4 years ago #

    Proposed patches can be submitted via a ticket at http://plugins.trac.wordpress.org/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Grunion Contact Form
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic