: | [?]'; ?> | |
: | [?]'; ?> | |
: | [?]'; ?> | version ); ?> |
: | [?]'; ?> | |
: | [?]'; ?> | ' . __( 'Log directory (%s) is writable.', 'woocommerce' ) . '', WC_LOG_DIR );
} else {
printf( '' . __( 'Log directory (%s ) is not writable. To allow logging, make this writable or define a custom WC_LOG_DIR .', 'woocommerce' ) . '', WC_LOG_DIR );
}
?> |
: | [?]'; ?> | |
: | [?]'; ?> | |
: | [?]'; ?> | |
: | [?]'; ?> | ' . sprintf( __( '%s - We recommend setting memory to at least 64MB. See: Increasing memory allocated to PHP', 'woocommerce' ), size_format( $memory ), 'http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP' ) . ''; } else { echo '' . size_format( $memory ) . ''; } ?> |
: | [?]'; ?> | ' . __( 'Yes', 'woocommerce' ) . ''; else echo '' . __( 'No', 'woocommerce' ) . ''; ?> |
: | [?]'; ?> | |
: | [?]'; ?> | |
: | [?]'; ?> | |
: | [?]'; ?> | |
: | [?]'; ?> | |
: | [?]'; ?> | |
: | [?]'; ?> | |
: | [?]'; ?> | db_version(); ?> |
: | [?]'; ?> | |
: | [?]'; ?> | ' . sprintf( __( 'Default timezone is %s - it should be UTC', 'woocommerce' ), $default_timezone ) . ''; } else { echo '' . sprintf( __( 'Default timezone is %s', 'woocommerce' ), $default_timezone ) . ''; } ?> |
: | ||
' . $key . ': | [?] | ' . ( $val ? $val : __( 'N/A', 'woocommerce' ) ) . ' |
[?]'; ?> | ||
: | ' . $plugin_name . '';
}
if ( strstr( $dirname, 'woocommerce' ) ) {
if ( false === ( $version_data = get_transient( md5( $plugin ) . '_version_data' ) ) ) {
$changelog = wp_remote_get( 'http://dzv365zjfbd8v.cloudfront.net/changelogs/' . $dirname . '/changelog.txt' );
$cl_lines = explode( "\n", wp_remote_retrieve_body( $changelog ) );
if ( ! empty( $cl_lines ) ) {
foreach ( $cl_lines as $line_num => $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( md5( $plugin ) . '_version_data', $version_data, DAY_IN_SECONDS );
break;
}
}
}
}
if ( ! empty( $version_data['version'] ) && version_compare( $version_data['version'], $plugin_data['Version'], '>' ) ) {
$version_string = ' – ' . $version_data['version'] . ' ' . __( 'is available', 'woocommerce' ) . '';
}
if ( $plugin_data['Network'] != false ) {
$network_string = ' – ', $wc_plugins ); ?> |
|
: | [?]'; ?> | '.__( 'Yes', 'woocommerce' ).'' : ''.__( 'No', 'woocommerce' ).''; ?> |
[?]'; ?> | ' . __( 'Yes', 'woocommerce' ) . '' : '' . __( 'No', 'woocommerce' ) . ''; ?> | |
[?]'; ?> | ' . __( 'Yes', 'woocommerce' ) . '' : '' . __( 'No', 'woocommerce' ) . ''; ?> | |
: | [?]'; ?> | '.__( 'Yes', 'woocommerce' ).'' : ''.__( 'No', 'woocommerce' ).''; ?> |
[?]'; ?> | () | |
[?]'; ?> | ||
[?]'; ?> | ||
[?]'; ?> | ||
[?]'; ?> | ||
' . esc_html( $page_name ) . ': | '; echo '[?] | '; $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[] = strtolower( $term->name ) . ' (' . $term->slug . ')'; echo implode( ', ', array_map( 'esc_html', $display_terms ) ); ?> | |
: | [?]'; ?> | Name; ?> |
: | [?]'; ?> | Version; if ( ! empty( $theme_version_data['version'] ) && version_compare( $theme_version_data['version'], $active_theme->Version, '!=' ) ) { echo ' – ' . $theme_version_data['version'] . ' ' . __( 'is available', 'woocommerce' ) . ''; } ?> |
: | [?]'; ?> | {'Author URI'}; ?> |
: | [?]'; ?> | ' . __( 'Yes', 'woocommerce' ) . '' : '' . __( 'No', 'woocommerce' ) . ' – ' . sprintf( __( 'We recommend using a child theme. See: How to create a child theme', 'woocommerce' ), 'http://codex.wordpress.org/Child_Themes' ) . ''; ?> |
: | [?]'; ?> | Name; ?> |
: | [?]'; ?> | Version; ?> |
: | [?]'; ?> | {'Author URI'}; ?> |
: | [?]'; ?> | template, wc_get_core_supported_themes() ) ) { echo '' . __( 'Not Declared', 'woocommerce' ) . ''; } else { echo '' . __( 'Yes', 'woocommerce' ) . ''; } ?> | : | [?]'; ?> | template ) . '/custom.css' ) ) { echo '' . __( 'Yes', 'woocommerce' ) . ''; } else { echo '' . __( 'No', 'woocommerce' ) . ''; } ?> |
[?]'; ?> | ||
(): | ', $found_plugin_files ); ?> | |
: | ||