Skip to:
Content

BuddyPress.org

Changeset 6328


Ignore:
Timestamp:
09/11/2012 06:41:12 PM (8 years ago)
Author:
djpaul
Message:

Add enctype="multipart/form-data" to private message form to allow plugins to add support for file attachments. Fixes #4459

Location:
trunk/bp-themes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/members/single/messages/compose.php

    r5737 r6328  
    1 <form action="<?php bp_messages_form_action('compose'); ?>" method="post" id="send_message_form" class="standard-form" role="main">
     1<form action="<?php bp_messages_form_action('compose'); ?>" method="post" id="send_message_form" class="standard-form" role="main" enctype="multipart/form-data">
    22
    33    <?php do_action( 'bp_before_messages_compose_content' ); ?>
  • trunk/bp-themes/bp-legacy/buddypress/members/single/messages/compose.php

    r6284 r6328  
    1 <form action="<?php bp_messages_form_action('compose' ); ?>" method="post" id="send_message_form" class="standard-form" role="main">
     1<form action="<?php bp_messages_form_action('compose' ); ?>" method="post" id="send_message_form" class="standard-form" role="main" enctype="multipart/form-data">
    22
    33    <?php do_action( 'bp_before_messages_compose_content' ); ?>
Note: See TracChangeset for help on using the changeset viewer.