Merge pull request #11717 from woothemes/improve-configure-terms
Change "Configure terms" into a link
This commit is contained in:
commit
698c84827d
|
@ -367,7 +367,7 @@ class WC_Admin_Attributes {
|
||||||
<th scope="col"><?php _e( 'Slug', 'woocommerce' ); ?></th>
|
<th scope="col"><?php _e( 'Slug', 'woocommerce' ); ?></th>
|
||||||
<th scope="col"><?php _e( 'Type', 'woocommerce' ); ?></th>
|
<th scope="col"><?php _e( 'Type', 'woocommerce' ); ?></th>
|
||||||
<th scope="col"><?php _e( 'Order by', 'woocommerce' ); ?></th>
|
<th scope="col"><?php _e( 'Order by', 'woocommerce' ); ?></th>
|
||||||
<th scope="col" colspan="2"><?php _e( 'Terms', 'woocommerce' ); ?></th>
|
<th scope="col"><?php _e( 'Terms', 'woocommerce' ); ?></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
@ -422,8 +422,9 @@ class WC_Admin_Attributes {
|
||||||
} else {
|
} else {
|
||||||
echo '<span class="na">–</span>';
|
echo '<span class="na">–</span>';
|
||||||
}
|
}
|
||||||
?></td>
|
?>
|
||||||
<td class="attribute-actions"><a href="edit-tags.php?taxonomy=<?php echo esc_html( wc_attribute_taxonomy_name( $tax->attribute_name ) ); ?>&post_type=product" class="button alignright tips configure-terms" data-tip="<?php esc_attr_e( 'Configure terms', 'woocommerce' ); ?>"><?php _e( 'Configure terms', 'woocommerce' ); ?></a></td>
|
<br /><a href="edit-tags.php?taxonomy=<?php echo esc_html( wc_attribute_taxonomy_name( $tax->attribute_name ) ); ?>&post_type=product" class="configure-terms"><?php _e( 'Configure terms', 'woocommerce' ); ?></a>
|
||||||
|
</td>
|
||||||
</tr><?php
|
</tr><?php
|
||||||
endforeach;
|
endforeach;
|
||||||
else :
|
else :
|
||||||
|
|
Loading…
Reference in New Issue