Improve help tip docblock and remove space
This commit is contained in:
parent
9a926aef4f
commit
33ad23f371
|
@ -378,13 +378,12 @@ function wc_save_order_items( $order_id, $items ) {
|
|||
}
|
||||
|
||||
/**
|
||||
* Add help tips.
|
||||
* Display a WooCommerce help tip.
|
||||
*
|
||||
* @since 2.5.0
|
||||
*
|
||||
* @param string $tip Help tip text
|
||||
* @param bool $allow_html Allow sanitized HTML if true or escape
|
||||
* @param string $tip Help tip text
|
||||
* @param bool $allow_html Allow sanitized HTML if true or escape
|
||||
* @return string
|
||||
*/
|
||||
function wc_help_tip( $tip, $allow_html = false ) {
|
||||
|
|
|
@ -1606,7 +1606,7 @@ class WC_Geo_IP {
|
|||
*/
|
||||
public function geoip_country_code_by_addr_v6( $addr ) {
|
||||
$country_id = $this->geoip_country_id_by_addr_v6( $addr );
|
||||
if ( $country_id !== false && isset( $this->GEOIP_COUNTRY_CODES[ $country_id ] ) ) {
|
||||
if ( $country_id !== false && isset( $this->GEOIP_COUNTRY_CODES[ $country_id ] ) ) {
|
||||
return $this->GEOIP_COUNTRY_CODES[ $country_id ];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue