Skip to content

Commit

Permalink
Merge branch 'master' into fix/update-settings-controller
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfabian committed Dec 6, 2018
2 parents 379f257 + 164758a commit dc39d26
Show file tree
Hide file tree
Showing 70 changed files with 18 additions and 83 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ before_script:
else
echo "xdebug.ini does not exist"
fi
- export PATH="$HOME/.composer/vendor/bin:$PATH"
- export PATH="$HOME/.config/composer/vendor/bin:$PATH"
- bash tests/bin/install.sh woocommerce_test root '' localhost $WP_VERSION
- bash tests/bin/travis.sh before

Expand Down
2 changes: 1 addition & 1 deletion includes/admin/settings/views/html-keys-edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
);
?>
<select class="wc-customer-search" id="key_user" data-placeholder="<?php esc_attr_e( 'Search for a user&hellip;', 'woocommerce' ); ?>" data-allow_clear="true">
<option value="<?php echo esc_attr( $user_id ); ?>" selected="selected"><?php echo esc_html( $user_string ); ?><option>
<option value="<?php echo esc_attr( $user_id ); ?>" selected="selected"><?php echo esc_html( $user_string ); ?></option>
</select>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion includes/class-wc-product-factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class WC_Product_Factory {
*
* @param mixed $product_id WC_Product|WP_Post|int|bool $product Product instance, post instance, numeric or false to use global $post.
* @param array $deprecated Previously used to pass arguments to the factory, e.g. to force a type.
* @return WC_Product|bool Product object or null if the product cannot be loaded.
* @return WC_Product|bool Product object or false if the product cannot be loaded.
*/
public function get_product( $product_id = false, $deprecated = array() ) {
$product_id = $this->get_product_id( $product_id );
Expand Down
1 change: 0 additions & 1 deletion templates/auth/footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates/Auth
* @version 2.4.0
*/
Expand Down
1 change: 0 additions & 1 deletion templates/auth/form-grant-access.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates/Auth
* @version 2.4.0
*/
Expand Down
1 change: 0 additions & 1 deletion templates/auth/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates/Auth
* @version 2.4.0
*/
Expand Down
1 change: 0 additions & 1 deletion templates/cart/cart-item-data.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.4.0
*/
Expand Down
1 change: 0 additions & 1 deletion templates/cart/cart-totals.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.3.6
*/
Expand Down
1 change: 0 additions & 1 deletion templates/cart/cross-sells.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 3.0.0
*/
Expand Down
1 change: 0 additions & 1 deletion templates/cart/mini-cart.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 3.5.0
*/
Expand Down
1 change: 0 additions & 1 deletion templates/cart/proceed-to-checkout-button.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.4.0
*/
Expand Down
1 change: 0 additions & 1 deletion templates/checkout/form-billing.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 3.0.9
*/
Expand Down
1 change: 0 additions & 1 deletion templates/checkout/form-shipping.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 3.0.9
*/
Expand Down
1 change: 0 additions & 1 deletion templates/checkout/order-receipt.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 3.2.0
*/
Expand Down
1 change: 0 additions & 1 deletion templates/checkout/review-order.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 3.3.0
*/
Expand Down
1 change: 0 additions & 1 deletion templates/checkout/thankyou.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 3.2.0
*/
Expand Down
1 change: 0 additions & 1 deletion templates/content-product_cat.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.6.1
*/
Expand Down
2 changes: 1 addition & 1 deletion templates/emails/admin-cancelled-order.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
*/
do_action( 'woocommerce_email_header', $email_heading, $email ); ?>

<?php /* translators: %1$s: Customer full name. %2$s: Order numer */ ?>
<?php /* translators: %1$s: Customer full name. %2$s: Order number */ ?>
<p><?php printf( esc_html__( 'Alas. Just to let you know &mdash; %1$s has cancelled order #%2$s:', 'woocommerce' ), esc_html( $order->get_formatted_billing_full_name() ), esc_html( $order->get_order_number() ) ); ?></p>

<?php
Expand Down
1 change: 0 additions & 1 deletion templates/emails/email-addresses.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates/Emails
* @version 3.2.1
*/
Expand Down
1 change: 0 additions & 1 deletion templates/emails/email-customer-details.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates/Emails
* @version 2.5.0
*/
Expand Down
1 change: 0 additions & 1 deletion templates/emails/email-footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates/Emails
* @version 2.3.0
*/
Expand Down
1 change: 0 additions & 1 deletion templates/emails/email-header.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates/Emails
* @version 2.4.0
*/
Expand Down
1 change: 0 additions & 1 deletion templates/emails/plain/email-order-items.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates/Emails/Plain
* @version 3.2.0
*/
Expand Down
1 change: 0 additions & 1 deletion templates/global/breadcrumb.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.3.0
* @see woocommerce_breadcrumb()
Expand Down
1 change: 0 additions & 1 deletion templates/global/form-login.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 3.3.0
*/
Expand Down
1 change: 0 additions & 1 deletion templates/global/sidebar.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 1.6.4
*/
Expand Down
1 change: 0 additions & 1 deletion templates/global/wrapper-end.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 3.3.0
*/
Expand Down
1 change: 0 additions & 1 deletion templates/global/wrapper-start.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 3.3.0
*/
Expand Down
1 change: 0 additions & 1 deletion templates/loop/add-to-cart.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 3.3.0
*/
Expand Down
1 change: 0 additions & 1 deletion templates/loop/loop-end.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.0.0
*/
Expand Down
1 change: 0 additions & 1 deletion templates/loop/loop-start.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 3.3.0
*/
Expand Down
1 change: 0 additions & 1 deletion templates/loop/no-products-found.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.0.0
*/
Expand Down
1 change: 0 additions & 1 deletion templates/loop/orderby.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 3.3.0
*/
Expand Down
1 change: 0 additions & 1 deletion templates/loop/price.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 1.6.4
*/
Expand Down
1 change: 0 additions & 1 deletion templates/loop/rating.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 3.0.0
*/
Expand Down
1 change: 0 additions & 1 deletion templates/loop/result-count.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 3.3.0
*/
Expand Down
1 change: 0 additions & 1 deletion templates/loop/sale-flash.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 1.6.4
*/
Expand Down
1 change: 0 additions & 1 deletion templates/myaccount/dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.6.0
*/
Expand Down
1 change: 0 additions & 1 deletion templates/myaccount/downloads.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 3.2.0
*/
Expand Down
1 change: 0 additions & 1 deletion templates/myaccount/my-address.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.6.0
*/
Expand Down
1 change: 0 additions & 1 deletion templates/myaccount/my-downloads.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.0.0
* @deprecated 2.6.0
Expand Down
1 change: 0 additions & 1 deletion templates/myaccount/navigation.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.6.0
*/
Expand Down
1 change: 0 additions & 1 deletion templates/myaccount/orders.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 3.2.0
*/
Expand Down
1 change: 0 additions & 1 deletion templates/myaccount/payment-methods.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.6.0
*/
Expand Down
1 change: 0 additions & 1 deletion templates/myaccount/view-order.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 3.0.0
*/
Expand Down
1 change: 0 additions & 1 deletion templates/order/order-details-item.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 3.0.0
*/
Expand Down
1 change: 0 additions & 1 deletion templates/order/order-details.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 3.5.2
*/
Expand Down
1 change: 0 additions & 1 deletion templates/order/order-downloads.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author Automattic
* @package WooCommerce/Templates
* @version 3.3.0
*/
Expand Down
1 change: 0 additions & 1 deletion templates/order/tracking.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.2.0
*/
Expand Down
Loading

0 comments on commit dc39d26

Please sign in to comment.