Plugin Directory

Changeset 1489864


Ignore:
Timestamp:
09/04/2016 09:50:11 PM (10 years ago)
Author:
zubaka
Message:

Add esc_attr method in template

File:
1 edited

Legend:

Unmodified
Added
Removed
  • zbplayer/trunk/templates/zbPlayer.admin.tpl

    r1489862 r1489864  
    9898                <th scope="row"></th>
    9999                  <td>
    100                     <input type="text" name="zbp_collect_field" id="zbp_collect_field" value="<?php echo get_option('zbp_collect_field'); ?>" size="20" maxlength="20"/>
     100                    <input type="text" name="zbp_collect_field" id="zbp_collect_field" value="<?php echo esc_attr(get_option('zbp_collect_field')); ?>" size="20" maxlength="20"/>
    101101                    <br />
    102102                    <span call="explanatory-text">Special tag in your post where to put player</span>
Note: See TracChangeset for help on using the changeset viewer.