Changeset 7063
- Timestamp:
- 02/27/2008 05:19:58 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-filesystem-ftpext.php
r7039 r7063 90 90 if( '/' != substr($base, -1) ) $base .= '/'; 91 91 92 if($echo) echo __('Changing to ') . $base.'<br>';92 if($echo) echo sprintf(__('Changing to %s'), $base) .'<br>'; 93 93 if( false === ftp_chdir($this->link, $base) ) 94 94 return false; 95 95 96 96 if( $this->exists($base . 'wp-settings.php') ){ 97 if($echo) echo __('Found ') . $base . 'wp-settings.php<br>';97 if($echo) echo sprintf(__('Found %s'), $base . 'wp-settings.php') . '<br>'; 98 98 $this->wp_base = $base; 99 99 return $this->wp_base; … … 110 110 foreach($arrPath as $key=>$folder){ 111 111 if( $this->is_dir($base . $folder) ){ 112 if($echo) echo __('Found ') . $folder . ' ' . __('Changing to') . ' ' . $base . $folder . '/<br>';112 if($echo) echo sprintf(__('Found %s'), $folder) . ' ' . sprintf(__('Changing to %s'), $base . $folder . '/') . '<br>'; 113 113 return $this->find_base_dir($base . $folder . '/',$echo); 114 114 } -
trunk/wp-admin/includes/dashboard.php
r7048 r7063 273 273 $comment_post_link = "<a href='$comment_post_url'>$comment_post_title</a>"; 274 274 $comment_link = '<a class="comment-link" href="' . get_comment_link() . '">#</a>'; 275 $comment_meta = sprintf( __( 'From <strong>% s</strong> on %s %s' ), get_comment_author(), $comment_post_link, $comment_link );275 $comment_meta = sprintf( __( 'From <strong>%1$s</strong> on %2$s %3$s' ), get_comment_author(), $comment_post_link, $comment_link ); 276 276 277 277 if ( $is_first ) : $is_first = false; -
trunk/wp-includes/functions.php
r7045 r7063 1639 1639 if( defined('WP_DEBUG') && ( true === WP_DEBUG ) && apply_filters( 'deprecated_function_trigger_error', true )) { 1640 1640 if( !is_null($replacement) ) 1641 trigger_error( printf( __("% s is <strong>deprecated</strong> since version %s! Use %s instead."), $function, $version, $replacement ) );1641 trigger_error( printf( __("%1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead."), $function, $version, $replacement ) ); 1642 1642 else 1643 trigger_error( printf( __("% s is <strong>deprecated</strong> since version %s with no alternative available."), $function, $version ) );1643 trigger_error( printf( __("%1$s is <strong>deprecated</strong> since version %2$s with no alternative available."), $function, $version ) ); 1644 1644 } 1645 1645 } … … 1674 1674 if( defined('WP_DEBUG') && ( true === WP_DEBUG ) && apply_filters( 'deprecated_file_trigger_error', true )) { 1675 1675 if( !is_null($replacement) ) 1676 trigger_error( printf( __("% s is <strong>deprecated</strong> since version %s! Use %s instead."), $file, $version, $replacement ) );1676 trigger_error( printf( __("%1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead."), $file, $version, $replacement ) ); 1677 1677 else 1678 trigger_error( printf( __("% s is <strong>deprecated</strong> since version %s with no alternative available."), $file, $version ) );1678 trigger_error( printf( __("%1$s is <strong>deprecated</strong> since version %2$s with no alternative available."), $file, $version ) ); 1679 1679 } 1680 1680 }
Note: See TracChangeset
for help on using the changeset viewer.