fixed a typo with context in class-wc-install.php

This commit is contained in:
claudiosmweb 2014-05-30 11:13:26 -03:00
parent 098a6afbbf
commit 00262a19f2
1 changed files with 2 additions and 2 deletions

View File

@ -224,7 +224,7 @@ class WC_Install {
'content' => '[' . apply_filters( 'woocommerce_cart_shortcode_tag', 'woocommerce_cart' ) . ']'
),
'checkout' => array(
'name' => _x( 'checkout', 'Paeg slug', 'woocommerce' ),
'name' => _x( 'checkout', 'Page slug', 'woocommerce' ),
'title' => _x( 'Checkout', 'Page title', 'woocommerce' ),
'content' => '[' . apply_filters( 'woocommerce_checkout_shortcode_tag', 'woocommerce_checkout' ) . ']'
),
@ -685,7 +685,7 @@ class WC_Install {
if ( preg_match( $regexp, $response['body'], $matches ) ) {
$version = trim( $matches[1] );
$notices = (array) preg_split('~[\r\n]+~', trim( $matches[2] ) );
if ( version_compare( WC_VERSION, $version, '<' ) ) {
$upgrade_notice .= '<div class="wc_plugin_upgrade_notice">';