Changeset 12733 for trunk/wp-includes/general-template.php
- Timestamp:
- 01/15/2010 10:11:12 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/general-template.php
r12701 r12733 211 211 'label_username' => __( 'Username' ), 212 212 'label_password' => __( 'Password' ), 213 'label_remember' => __( 'Remember Me' ), 214 'label_log_in' => __( 'Log In' ), 215 'id_username' => 'user_login', 216 'id_password' => 'user_pass', 217 'id_remember' => 'rememberme', 218 'id_submit' => 'wp-submit', 219 'remember' => true, 213 'label_remember' => __( 'Remember Me' ), 214 'label_log_in' => __( 'Log In' ), 215 'id_username' => 'user_login', 216 'id_password' => 'user_pass', 217 'id_remember' => 'rememberme', 218 'id_submit' => 'wp-submit', 219 'remember' => true, 220 220 'value_username' => '', 221 221 'value_remember' => false, // Set this to true to default the "Remember me" checkbox to checked 222 222 ); 223 223 $args = wp_parse_args( $args, apply_filters( 'login_form_defaults', $defaults ) ); 224 224 225 225 $form = ' 226 226 <form name="' . $args['form_id'] . '" id="' . $args['form_id'] . '" action="' . site_url( 'wp-login.php', 'login' ) . '" method="post"> … … 242 242 ' . do_action( 'login_form_bottom' ) . ' 243 243 </form>'; 244 244 245 245 if ( $args['echo'] ) 246 246 echo $form; … … 1302 1302 */ 1303 1303 function the_modified_date($d = '', $before='', $after='', $echo = true) { 1304 1304 1305 1305 $the_modified_date = $before . get_the_modified_date($d) . $after; 1306 1306 $the_modified_date = apply_filters('the_modified_date', $the_modified_date, $d, $before, $after); 1307 1307 1308 1308 if ( $echo ) 1309 1309 echo $the_modified_date; 1310 1310 else 1311 1311 return $the_modified_date; 1312 1312 1313 1313 } 1314 1314
Note: See TracChangeset
for help on using the changeset viewer.