Changeset 9025 for trunk/wp-includes/functions.php
- Timestamp:
- 09/28/2008 09:05:37 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r9013 r9025 2146 2146 $trans['switch']['theme'] = array( __( 'Your attempt to switch to this theme: "%s" has failed.' ), 'use_id' ); 2147 2147 2148 $trans['log']['out'] = array( sprintf( __( 'You are attempting to log out of %s' ), get_bloginfo( 'sitename' ) ), false ); 2149 2148 2150 if ( isset( $trans[$verb][$noun] ) ) { 2149 2151 if ( !empty( $trans[$verb][$noun][1] ) ) { … … 2179 2181 if ( wp_get_referer() ) 2180 2182 $html .= "</p><p><a href='" . remove_query_arg( 'updated', clean_url( wp_get_referer() ) ) . "'>" . __( 'Please try again.' ) . "</a>"; 2183 elseif ( 'log-out' == $action ) 2184 $html .= "</p><p>" . sprintf( __( "Do you really want to <a href='%s'>log out</a>?"), wp_nonce_url( site_url('wp-login.php?action=logout', 'login'), 'log-out' ) ); 2185 2181 2186 wp_die( $html, $title); 2182 2187 }
Note: See TracChangeset
for help on using the changeset viewer.