Changeset 12628
- Timestamp:
- 01/07/2010 03:40:03 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-activate.php
r12605 r12628 39 39 </p> 40 40 <p class="submit"> 41 <input id="submit" type="submit" name="Submit" class="submit" value="<?php _e('Activate »') ?>" />41 <input id="submit" type="submit" name="Submit" class="submit" value="<?php esc_attr_e('Activate') ?>" /> 42 42 </p> 43 43 </form> -
trunk/wp-admin/ms-admin.php
r12627 r12628 46 46 <input type="hidden" name="action" value="users" /> 47 47 <input type="text" name="s" value="" size="17" /> 48 <input class="button" type="submit" name="submit" value="<?php _e("Search Users »"); ?>" />48 <input class="button" type="submit" name="submit" value="<?php esc_attr_e("Search Users"); ?>" /> 49 49 </p> 50 50 </form> … … 54 54 <input type="hidden" name="action" value="blogs" /> 55 55 <input type="text" name="s" value="" size="17" /> 56 <input class="button" type="submit" name="blog_name" value="<?php _e("Search Blogs »"); ?>" />56 <input class="button" type="submit" name="blog_name" value="<?php esc_attr_e("Search Blogs"); ?>" /> 57 57 </p> 58 58 </form> -
trunk/wp-admin/ms-sites.php
r12622 r12628 141 141 </tr> 142 142 </table> 143 <p class="submit" style="margin:-15px 0 -5px 230px;"><input type="submit" name="Submit" value="<?php _esc_attr_e('Update Options »') ?>" /></p>143 <p class="submit" style="margin:-15px 0 -5px 230px;"><input type="submit" name="Submit" value="<?php esc_attr_e('Update Options') ?>" /></p> 144 144 </div></div> 145 145 … … 181 181 ?> 182 182 </table> 183 <p class="submit" style="margin:-15px 0 -5px 230px;"><input type="submit" name="Submit" value="<?php esc_attr_e('Update Options »') ?>" /></p>183 <p class="submit" style="margin:-15px 0 -5px 230px;"><input type="submit" name="Submit" value="<?php esc_attr_e('Update Options') ?>" /></p> 184 184 </div></div> 185 185 </div> … … 215 215 <?php echo $out; ?> 216 216 </table> 217 <p class="submit" style="margin:-15px 0 -5px 230px;"><input type="submit" name="Submit" value="<?php esc_attr_e('Update Options »') ?>" /></p>217 <p class="submit" style="margin:-15px 0 -5px 230px;"><input type="submit" name="Submit" value="<?php esc_attr_e('Update Options') ?>" /></p> 218 218 </div></div> 219 219 <?php } ?> … … 257 257 } 258 258 echo "</table>"; 259 echo '<p class="submit" style="margin:-15px 0 -5px 230px;"><input type="submit" name="Submit" value="' . esc_attr__('Update Options »') . '" /></p>';259 echo '<p class="submit" style="margin:-15px 0 -5px 230px;"><input type="submit" name="Submit" value="' . esc_attr__('Update Options') . '" /></p>'; 260 260 echo "</div></div>"; 261 261 } … … 287 287 </tr> 288 288 </table> 289 <p class="submit" style="margin:-15px 0 -5px 230px;"><input type="submit" name="Submit" value="<?php esc_attr_e('Update Options »') ?>" /></p>289 <p class="submit" style="margin:-15px 0 -5px 230px;"><input type="submit" name="Submit" value="<?php esc_attr_e('Update Options') ?>" /></p> 290 290 </div></div> 291 291 … … 296 296 <?php do_action( 'wpmueditblogaction', $id ); ?> 297 297 </table> 298 <p class="submit" style="margin:-15px 0 -5px 230px;"><input type="submit" name="Submit" value="<?php esc_attr_e('Update Options »') ?>" /></p>298 <p class="submit" style="margin:-15px 0 -5px 230px;"><input type="submit" name="Submit" value="<?php esc_attr_e('Update Options') ?>" /></p> 299 299 </div></div> 300 300 -
trunk/wp-includes/ms-functions.php
r12624 r12628 1896 1896 <p><?php _e('Remember, once deleted your blog cannot be restored.') ?></p> 1897 1897 <form method='post' name='deletedirect'> 1898 <input type="hidden" name="page" value="<?php echo $_GET['page']?>" />1898 <input type="hidden" name="page" value="<?php echo esc_attr($_GET['page']) ?>" /> 1899 1899 <input type='hidden' name='action' value='deleteblog' /> 1900 1900 <p><input id='confirmdelete' type='checkbox' name='confirmdelete' value='1' /> <label for='confirmdelete'><strong><?php printf( __("I'm sure I want to permanently disable my blog, and I am aware I can never get it back or use %s again."), $current_blog->domain); ?></strong></label></p> 1901 <p class="submit"><input type='submit' value='<?php _e('Delete My Blog Permanently »') ?>' /></p>1901 <p class="submit"><input type='submit' value='<?php esc_attr_e('Delete My Blog Permanently') ?>' /></p> 1902 1902 </form> 1903 1903 <?php -
trunk/wp-signup.php
r12622 r12628 67 67 68 68 if( constant( "VHOST" ) == 'no' ) { 69 echo '<span class="prefix_address">' . $current_site->domain . $current_site->path . '</span><input name="blogname" type="text" id="blogname" value="'. $blogname.'" maxlength="50" /><br />';69 echo '<span class="prefix_address">' . $current_site->domain . $current_site->path . '</span><input name="blogname" type="text" id="blogname" value="'. esc_attr($blogname) .'" maxlength="50" /><br />'; 70 70 } else { 71 echo '<input name="blogname" type="text" id="blogname" value="'. $blogname.'" maxlength="50" /><span class="suffix_address">.' . $current_site->domain . $current_site->path . '</span><br />';71 echo '<input name="blogname" type="text" id="blogname" value="'.esc_attr($blogname).'" maxlength="50" /><span class="suffix_address">.' . $current_site->domain . $current_site->path . '</span><br />'; 72 72 } 73 73 if ( !is_user_logged_in() ) { … … 87 87 <p class="error"><?php echo $errmsg ?></p> 88 88 <?php } 89 echo '<input name="blog_title" type="text" id="blog_title" value="'. wp_specialchars($blog_title, 1).'" /></p>';89 echo '<input name="blog_title" type="text" id="blog_title" value="'.esc_attr($blog_title).'" /></p>'; 90 90 ?> 91 91 … … 124 124 echo '<p class="error">'.$errmsg.'</p>'; 125 125 } 126 echo '<input name="user_name" type="text" id="user_name" value="'. $user_name.'" maxlength="50" /><br />';126 echo '<input name="user_name" type="text" id="user_name" value="'. esc_attr($user_name) .'" maxlength="50" /><br />'; 127 127 _e('(Must be at least 4 characters, letters and numbers only.)'); 128 128 ?> … … 132 132 <p class="error"><?php echo $errmsg ?></p> 133 133 <?php } ?> 134 <input name="user_email" type="text" id="user_email" value="<?php echo wp_specialchars($user_email, 1) ?>" maxlength="200" /><br /><?php _e('(We’ll send your password to this address, so <strong>triple-check it</strong>.)') ?>134 <input name="user_email" type="text" id="user_email" value="<?php echo esc_attr($user_email) ?>" maxlength="200" /><br /><?php _e('(We’ll send your password to this address, so <strong>triple-check it</strong>.)') ?> 135 135 <?php 136 136 if ( $errmsg = $errors->get_error_message('generic') ) { … … 183 183 <?php do_action( "signup_hidden_fields" ); ?> 184 184 <?php show_blog_form($blogname, $blog_title, $errors); ?> 185 <p class="submit"><input type="submit" name="submit" class="submit" value="<?php _e('Create Blog »') ?>" /></p>185 <p class="submit"><input type="submit" name="submit" class="submit" value="<?php esc_attr_e('Create Blog') ?>" /></p> 186 186 </form> 187 187 <?php … … 260 260 </p> 261 261 262 <p class="submit"><input type="submit" name="submit" class="submit" value="<?php _e('Next »') ?>" /></p>262 <p class="submit"><input type="submit" name="submit" class="submit" value="<?php esc_attr_e('Next') ?>" /></p> 263 263 </form> 264 264 <?php … … 312 312 <form id="setupform" method="post" action="wp-signup.php"> 313 313 <input type="hidden" name="stage" value="validate-blog-signup" /> 314 <input type="hidden" name="user_name" value="<?php echo $user_name?>" />315 <input type="hidden" name="user_email" value="<?php echo $user_email?>" />314 <input type="hidden" name="user_name" value="<?php echo esc_attr($user_name) ?>" /> 315 <input type="hidden" name="user_email" value="<?php echo esc_attr($user_email) ?>" /> 316 316 <?php do_action( "signup_hidden_fields" ); ?> 317 317 <?php show_blog_form($blogname, $blog_title, $errors); ?> 318 <p class="submit"><input type="submit" name="submit" class="submit" value="<?php _e('Signup »') ?>" /></p>318 <p class="submit"><input type="submit" name="submit" class="submit" value="<?php esc_attr_e('Signup') ?>" /></p> 319 319 </form> 320 320 <?php
Note: See TracChangeset
for help on using the changeset viewer.