This commit is contained in:
Prospress Inc
2019-09-12 11:49:11 +02:00
committed by Remco Tolsma
parent 42964bef17
commit a60db3815d
131 changed files with 6719 additions and 3502 deletions

View File

@@ -0,0 +1,25 @@
<?php
/**
* Display a row in the related orders table for a unknown subscription or order.
*
* @var int $order_id A WC_Order or WC_Subscription order id.
* @var string $relationship The order's or subscription's relationship.
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
?>
<tr>
<td>
<?php echo sprintf( esc_html_x( '#%s', 'hash before order number', 'woocommerce-subscriptions' ), esc_html( $order_id ) ); ?>
<div class="wcs-unknown-order-info-wrapper">
<a href="https://docs.woocommerce.com/document/subscriptions/orders/#section-8"><?php echo wcs_help_tip( sprintf( "This %s couldn't be loaded from the database. %s Click to learn more.", $relationship, '</br>' ) ); ?></a>
</div>
</td>
<td><?php echo esc_html( $relationship ); ?></td>
<td>&mdash;</td>
<td>&mdash;</td>
<td>&mdash;</td>
</tr>