Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/22/2010 10:51:24 AM (16 years ago)
Author:
johnjamesjacoby
Message:

Fixes #2525. Props cnorris23

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-xprofile/bp-xprofile-classes.php

    r3064 r3143  
    190190            <?php } ?>
    191191
    192             <form action="<?php echo attribute_escape( $action ); ?>" method="post">
     192            <form action="<?php echo esc_attr( $action ); ?>" method="post">
    193193
    194194                <div id="titlediv">
    195195                    <label for="group_name"><?php _e( "Field Group Name", 'buddypress') ?></label>
    196196                    <div>
    197                         <input type="text" name="group_name" id="group_name" value="<?php echo attribute_escape( $this->name ) ?>" style="width:50%" />
     197                        <input type="text" name="group_name" id="group_name" value="<?php echo esc_attr( $this->name ) ?>" style="width:50%" />
    198198                    </div>
    199199                </div>
    200200
    201201                <p class="submit" style="text-align: left">
    202                     <input type="submit" name="saveGroup" value="<?php echo attribute_escape( $title ); ?> &rarr;" />
     202                    <input type="submit" name="saveGroup" value="<?php echo esc_attr( $title ); ?> &rarr;" />
    203203                </p>
    204204
     
    528528                    ?>
    529529                        <p><?php _e('Option', 'buddypress') ?> <?php echo $j ?>:
    530                            <input type="text" name="<?php echo $type ?>_option[<?php echo $j ?>]" id="<?php echo $type ?>_option<?php echo $j ?>" value="<?php echo attribute_escape( $options[$i]->name ) ?>" />
     530                           <input type="text" name="<?php echo $type ?>_option[<?php echo $j ?>]" id="<?php echo $type ?>_option<?php echo $j ?>" value="<?php echo esc_attr( $options[$i]->name ) ?>" />
    531531                           <input type="<?php echo $default_input ?>" name="isDefault_<?php echo $type ?>_option<?php echo $default_name ?>" <?php if ( (int) $options[$i]->is_default_option ) {?> checked="checked"<?php } ?> " value="<?php echo $j ?>" /> <?php _e( 'Default Value', 'buddypress' ) ?>
    532532                            <?php if ( $j != 1 &&
     
    588588                    <h3><label for="title"><?php _e("Field Title", 'buddypress') ?> *</label></h3>
    589589                    <div id="titlewrap">
    590                         <input type="text" name="title" id="title" value="<?php echo attribute_escape( $this->name ) ?>" style="width:50%" />
     590                        <input type="text" name="title" id="title" value="<?php echo esc_attr( $this->name ) ?>" style="width:50%" />
    591591                    </div>
    592592                </div>
Note: See TracChangeset for help on using the changeset viewer.