| : |
|
' . esc_html( A13FRAMEWORK_IMPORTER_TMP_DIR ) . ' ';
} else {
/* translators: %s: directory name */
printf( ' ' . esc_html__( 'To allow import, make %s writable.', 'rife-free' ) . '', ''.esc_html( A13FRAMEWORK_IMPORTER_TMP_DIR ).'' );
}
?> |
| : |
|
' . sprintf( esc_html__( '%1$s - We can not determine the true memory limit that is set on your server. It is possible that your server admin blocked manipulating this limit. See: %2$s', 'rife-free' ), esc_html( size_format( $memory ) ), '' . esc_html__( 'Increasing memory allocated to PHP', 'rife-free' ) . '' ) . '';
}
elseif ( $memory < 100663296 ) {//96MB
/* translators: %1$s is memory available and %2$s is link to "Increasing memory allocated to PHP" article */
echo ' ' . sprintf( esc_html__( '%1$s - Having memory lower than 96 MB(we recommend 128 MB or more) can produce errors while importing demo data, depending on how many plugins you have active. See: %2$s', 'rife-free' ), esc_html( size_format( $memory ) ), '' . esc_html__( 'Increasing memory allocated to PHP', 'rife-free' ) . '' ) . '';
}
elseif ( $memory < 134217728 ) {//128MB
/* translators: %1$s is memory available and %2$s is link to "Increasing memory allocated to PHP" article */
echo ' ' . sprintf( esc_html__( '%1$s - You should be fine with so much memory, however, depending on how many plugins you have active you should change it to 128 MB or more. See: %2$s', 'rife-free' ), esc_html( size_format( $memory ) ), '' . esc_html__( 'Increasing memory allocated to PHP', 'rife-free' ) . '' ) . '';
}
else {
echo ' ' . esc_html( size_format( $memory ) ) . '';
}
?> |
| : |
|
' . sprintf( esc_html__( '%1$s - We recommend a minimum PHP version of 5.6. Having version 7 or higher is even better. See: %2$s', 'rife-free' ), esc_html( $php_version ), '' . esc_html__( 'How to update your PHP version', 'rife-free' ) . '' ) . '';
}
elseif ( version_compare( $php_version, '5.6', '<' ) ) {
/* translators: %1$s is PHP version number and %2$s is link to "How to update your PHP version" article */
echo ' ' . sprintf( esc_html__( '%1$s - We recommend a minimum PHP version of 5.6. Having version 7 or higher is even better. See: %2$s', 'rife-free' ), esc_html( $php_version ), '' . esc_html__( 'How to update your PHP version', 'rife-free' ) . '' ) . '';
}
else {
echo ' ' . esc_html( $php_version ) . '';
}
} else {
esc_html_e( "Couldn't determine PHP version because phpversion() doesn't exist.", 'rife-free' );
}
?> |
| : |
|
0 ){
if ( $max_execution_time < 30 ) {
/* translators: %1$s - time in seconds, %2$s - max_execution_time */
echo ' ' . sprintf( esc_html__( '%1$s - Having %2$s less than 30 can hurt the import process. We recommend setting it to at least 60 if possible, even if only for the import process.', 'rife-free' ), esc_html( $max_execution_time ), 'max_execution_time' ) . '';
}
else {
echo ' ' . esc_html( $max_execution_time ) . '';
}
}
else{
echo '' . esc_html( $max_execution_time ) . '';
}
?>
|
| : |
|
' . sprintf( esc_html__( '%s - too low value for this setting might cause problems. Recommended 64MB or more.', 'rife-free' ), esc_html( size_format( $post_max_size ) ) ) . '';
}
else {
echo ' ' . esc_html( size_format( $post_max_size ) ) . '';
}
?> |
| : |
|
' . sprintf( esc_html__( '%s - too low value for this setting might cause problems. Recommended 64MB or more.', 'rife-free' ), esc_html( size_format( $max_upload_size ) ) ) . '';
}
else {
echo ' ' . esc_html( size_format( $max_upload_size ) ) . '';
}
?> |