: | |
: | |
: | version ); ?> |
: | |
: | |
: | |
: | |
: | |
: | ' . sprintf( __( '%s - We recommend setting memory to at least 64MB. See: Increasing memory allocated to PHP', 'woocommerce' ), wp_convert_bytes_to_hr( $memory ), 'http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP' ) . ''; } else { echo '' . wp_convert_bytes_to_hr( $memory ) . ''; } ?> |
: | ' . __( 'Yes', 'woocommerce' ) . ''; else echo '' . __( 'No', 'woocommerce' ) . ''; ?> |
: | |
: | |
: | |
: | plugin_path() . '/logs/paypal.txt', 'a' ) )
echo '' . __( 'Log directory is writable.', 'woocommerce' ) . '';
else
echo '' . __( 'Log directory (woocommerce/logs/ ) is not writable. Logging will not be possible.', 'woocommerce' ) . '';
?> |
: | |
: | $cl_line ) {
if ( preg_match( '/^[0-9]/', $cl_line ) ) {
$date = str_replace( '.' , '-' , trim( substr( $cl_line , 0 , strpos( $cl_line , '-' ) ) ) );
$version = preg_replace( '~[^0-9,.]~' , '' ,stristr( $cl_line , "version" ) );
$update = trim( str_replace( "*" , "" , $cl_lines[ $line_num + 1 ] ) );
$version_data = array( 'date' => $date , 'version' => $version , 'update' => $update , 'changelog' => $changelog );
set_transient( $plugin . '_version_data', $version_data , 60*60*12 );
break;
}
}
}
}
if ( ! empty( $version_data['version'] ) && version_compare( $version_data['version'], $plugin_data['Version'], '!=' ) )
$version_string = ' – ' . $version_data['version'] . ' ' . __( 'is available', 'woocommerce' ) . '';
}
$wc_plugins[] = $plugin_data['Name'] . ' ' . __( 'by', 'woocommerce' ) . ' ' . $plugin_data['Author'] . ' ' . __( 'version', 'woocommerce' ) . ' ' . $plugin_data['Version'] . $version_string;
}
}
if ( sizeof( $wc_plugins ) == 0 )
echo '-';
else
echo implode( ', ', $wc_plugins ); ?> |
: | '.__( 'Yes', 'woocommerce' ).'' : ''.__( 'No', 'woocommerce' ).''; ?> |
' . esc_html( $page_name ) . ': | '; $error = false; $page_id = get_option( $values['option'] ); // Page ID check if ( ! $page_id ) { echo '' . __( 'Page not set', 'woocommerce' ) . ''; $error = true; } else { // Shortcode check if ( $values['shortcode'] ) { $page = get_post( $page_id ); if ( empty( $page ) ) { echo '' . sprintf( __( 'Page does not exist', 'woocommerce' ) ) . ''; $error = true; } else if ( ! strstr( $page->post_content, $values['shortcode'] ) ) { echo '' . sprintf( __( 'Page does not contain the shortcode: %s', 'woocommerce' ), $values['shortcode'] ) . ''; $error = true; } } } if ( ! $error ) echo '#' . absint( $page_id ) . ' - ' . str_replace( home_url(), '', get_permalink( $page_id ) ) . ''; echo ' |
: | 0 ) ); foreach ( $terms as $term ) $display_terms[] = $term->name . ' (' . $term->slug . ')'; echo implode( ', ', array_map( 'esc_html', $display_terms ) ); ?> |
: | 0 ) ); foreach ( $terms as $term ) $display_terms[] = $term->name . ' (' . $term->slug . ')'; echo implode( ', ', array_map( 'esc_html', $display_terms ) ); ?> |
: | plugin_path() . '/templates/';
$found_files = array();
$files = woocommerce_scan_template_files( $template_path );
foreach ( $files as $file ) {
if ( file_exists( get_stylesheet_directory() . '/' . $file ) ) {
$found_files[] = '/' . $file;
} elseif( file_exists( get_stylesheet_directory() . '/woocommerce/' . $file ) ) {
$found_files[] = '/woocommerce/' . $file;
}
}
if ( $found_files ) {
echo implode( ', ', $found_files ); } else { _e( 'No core overrides present in theme.', 'woocommerce' ); } ?> |
' . __( 'Product Transients Cleared', 'woocommerce' ) . '
' . sprintf( __( '%d Transients Rows Cleared', 'woocommerce' ), $rows + $rows2 ) . '
' . __( 'Roles successfully reset', 'woocommerce' ) . '
' . __( 'Terms successfully recounted', 'woocommerce' ) . '
' . sprintf( __( 'There was an error calling %s::%s', 'woocommerce' ), get_class( $callback[0] ), $callback[1] ) . '
' . sprintf( __( 'There was an error calling %s', 'woocommerce' ), $callback ) . '