Changeset 16431 for trunk/wp-admin/network/settings.php
- Timestamp:
- 11/17/2010 05:12:01 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/network/settings.php
r16406 r16431 122 122 $limited_email_domains = str_replace( ' ', "\n", $limited_email_domains ); ?> 123 123 <textarea name="limited_email_domains" id="limited_email_domains" cols="45" rows="5"> 124 <?php echo wp_htmledit_pre( $limited_email_domains == '' ? '' : implode( "\n", (array) $limited_email_domains ) ); ?></textarea>124 <?php echo esc_textarea( $limited_email_domains == '' ? '' : implode( "\n", (array) $limited_email_domains ) ); ?></textarea> 125 125 <br /> 126 126 <?php _e( 'If you want to limit site registrations to certain domains. One domain per line.' ) ?> … … 132 132 <td> 133 133 <textarea name="banned_email_domains" id="banned_email_domains" cols="45" rows="5"> 134 <?php echo wp_htmledit_pre( get_site_option( 'banned_email_domains' ) == '' ? '' : implode( "\n", (array) get_site_option( 'banned_email_domains' ) ) ); ?></textarea>134 <?php echo esc_textarea( get_site_option( 'banned_email_domains' ) == '' ? '' : implode( "\n", (array) get_site_option( 'banned_email_domains' ) ) ); ?></textarea> 135 135 <br /> 136 136 <?php _e( 'If you want to ban domains from site registrations. One domain per line.' ) ?> … … 146 146 <td> 147 147 <textarea name="welcome_email" id="welcome_email" rows="5" cols="45" class="large-text"> 148 <?php echo wp_htmledit_pre( stripslashes( get_site_option( 'welcome_email' ) ) ) ?></textarea>148 <?php echo esc_textarea( stripslashes( get_site_option( 'welcome_email' ) ) ) ?></textarea> 149 149 <br /> 150 150 <?php _e( 'The welcome email sent to new site owners.' ) ?> … … 155 155 <td> 156 156 <textarea name="welcome_user_email" id="welcome_user_email" rows="5" cols="45" class="large-text"> 157 <?php echo wp_htmledit_pre( stripslashes( get_site_option( 'welcome_user_email' ) ) ) ?></textarea>157 <?php echo esc_textarea( stripslashes( get_site_option( 'welcome_user_email' ) ) ) ?></textarea> 158 158 <br /> 159 159 <?php _e( 'The welcome email sent to new users.' ) ?> … … 164 164 <td> 165 165 <textarea name="first_post" id="first_post" rows="5" cols="45" class="large-text"> 166 <?php echo wp_htmledit_pre( stripslashes( get_site_option( 'first_post' ) ) ) ?></textarea>166 <?php echo esc_textarea( stripslashes( get_site_option( 'first_post' ) ) ) ?></textarea> 167 167 <br /> 168 168 <?php _e( 'The first post on a new site.' ) ?> … … 173 173 <td> 174 174 <textarea name="first_page" id="first_page" rows="5" cols="45" class="large-text"> 175 <?php echo wp_htmledit_pre( stripslashes( get_site_option('first_page') ) ) ?></textarea>175 <?php echo esc_textarea( stripslashes( get_site_option('first_page') ) ) ?></textarea> 176 176 <br /> 177 177 <?php _e( 'The first page on a new site.' ) ?> … … 182 182 <td> 183 183 <textarea name="first_comment" id="first_comment" rows="5" cols="45" class="large-text"> 184 <?php echo wp_htmledit_pre( stripslashes( get_site_option('first_comment') ) ) ?></textarea>184 <?php echo esc_textarea( stripslashes( get_site_option('first_comment') ) ) ?></textarea> 185 185 <br /> 186 186 <?php _e( 'The first comment on a new site.' ) ?>
Note: See TracChangeset
for help on using the changeset viewer.