echo __ => _e
This commit is contained in:
@@ -359,7 +359,7 @@ if ( class_exists( 'WP_Importer' ) ) {
|
||||
else:
|
||||
|
||||
echo '<p><strong>' . __( 'Sorry, there has been an error.', 'sportspress' ) . '</strong><br />';
|
||||
echo __( 'The CSV is invalid.', 'sportspress' ) . '</p>';
|
||||
_e( 'The CSV is invalid.', 'sportspress' ) . '</p>';
|
||||
$this->footer();
|
||||
die();
|
||||
|
||||
|
||||
@@ -126,7 +126,7 @@ if ( class_exists( 'WP_Importer' ) ) {
|
||||
else:
|
||||
|
||||
echo '<p><strong>' . __( 'Sorry, there has been an error.', 'sportspress' ) . '</strong><br />';
|
||||
echo __( 'The CSV is invalid.', 'sportspress' ) . '</p>';
|
||||
_e( 'The CSV is invalid.', 'sportspress' ) . '</p>';
|
||||
$this->footer();
|
||||
die();
|
||||
|
||||
|
||||
@@ -119,7 +119,7 @@ if ( class_exists( 'WP_Importer' ) ) {
|
||||
else:
|
||||
|
||||
echo '<p><strong>' . __( 'Sorry, there has been an error.', 'sportspress' ) . '</strong><br />';
|
||||
echo __( 'The CSV is invalid.', 'sportspress' ) . '</p>';
|
||||
_e( 'The CSV is invalid.', 'sportspress' ) . '</p>';
|
||||
$this->footer();
|
||||
die();
|
||||
|
||||
|
||||
@@ -83,7 +83,7 @@ if ( class_exists( 'WP_Importer' ) ) {
|
||||
else:
|
||||
|
||||
echo '<p><strong>' . __( 'Sorry, there has been an error.', 'sportspress' ) . '</strong><br />';
|
||||
echo __( 'The CSV is invalid.', 'sportspress' ) . '</p>';
|
||||
_e( 'The CSV is invalid.', 'sportspress' ) . '</p>';
|
||||
$this->footer();
|
||||
die();
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php _e( 'WP Multisite Enabled','sportspress' ); ?>:</td>
|
||||
<td><?php if ( is_multisite() ) echo __( 'Yes', 'sportspress' ); else echo __( 'No', 'sportspress' ); ?></td>
|
||||
<td><?php if ( is_multisite() ) _e( 'Yes', 'sportspress' ); else _e( 'No', 'sportspress' ); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php _e( 'Web Server Info','sportspress' ); ?>:</td>
|
||||
|
||||
@@ -531,7 +531,7 @@ class SP_Install {
|
||||
if ( preg_match( $regexp, $response['body'], $matches ) ) {
|
||||
$changelog = (array) preg_split( '~[\r\n]+~', trim( $matches[2] ) );
|
||||
|
||||
echo __( 'What\'s new:', 'sportspress' ) . '<div style="font-weight: normal;">';
|
||||
_e( 'What\'s new:', 'sportspress' ) . '<div style="font-weight: normal;">';
|
||||
|
||||
$ul = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user