diff --git a/i18n/continents.php b/i18n/continents.php index e32fefc0bd3..351f8490320 100644 --- a/i18n/continents.php +++ b/i18n/continents.php @@ -8,9 +8,7 @@ * @version 2.5.0 */ -if ( ! defined( 'ABSPATH' ) ) { - exit; -} +defined( 'ABSPATH' ) || exit; return array( 'AF' => array( diff --git a/i18n/countries.php b/i18n/countries.php index fea8fc6a3c5..b50bb88a079 100644 --- a/i18n/countries.php +++ b/i18n/countries.php @@ -8,9 +8,7 @@ * @version 2.5.0 */ -if ( ! defined( 'ABSPATH' ) ) { - exit; -} +defined( 'ABSPATH' ) || exit; return array( 'AF' => __( 'Afghanistan', 'woocommerce' ), diff --git a/i18n/locale-info.php b/i18n/locale-info.php index 6c8ba6dbc47..c680895aa07 100644 --- a/i18n/locale-info.php +++ b/i18n/locale-info.php @@ -6,9 +6,7 @@ * @version 3.4.0 */ -if ( ! defined( 'ABSPATH' ) ) { - exit; -} +defined( 'ABSPATH' ) || exit; return array( 'AU' => array( diff --git a/i18n/states/AO.php b/i18n/states/AO.php index 1571c28d75c..021a63765de 100644 --- a/i18n/states/AO.php +++ b/i18n/states/AO.php @@ -8,9 +8,7 @@ global $states; -if ( ! defined( 'ABSPATH' ) ) { - exit; -} +defined( 'ABSPATH' ) || exit; $states['AO'] = array( 'BGO' => __( 'Bengo', 'woocommerce' ), diff --git a/i18n/states/AR.php b/i18n/states/AR.php index 20e01a86f99..6a8e05e374e 100644 --- a/i18n/states/AR.php +++ b/i18n/states/AR.php @@ -8,9 +8,7 @@ global $states; -if ( ! defined( 'ABSPATH' ) ) { - exit; -} +defined( 'ABSPATH' ) || exit; $states['AR'] = array( 'C' => __( 'Ciudad Autónoma de Buenos Aires', 'woocommerce' ), diff --git a/i18n/states/AU.php b/i18n/states/AU.php index 36735eaa225..d6c2ac161a0 100644 --- a/i18n/states/AU.php +++ b/i18n/states/AU.php @@ -8,9 +8,7 @@ global $states; -if ( ! defined( 'ABSPATH' ) ) { - exit; -} +defined( 'ABSPATH' ) || exit; $states['AU'] = array( 'ACT' => __( 'Australian Capital Territory', 'woocommerce' ), diff --git a/i18n/states/BD.php b/i18n/states/BD.php index 22103f8e5bf..3d0a099d0b7 100644 --- a/i18n/states/BD.php +++ b/i18n/states/BD.php @@ -8,9 +8,7 @@ global $states; -if ( ! defined( 'ABSPATH' ) ) { - exit; -} +defined( 'ABSPATH' ) || exit; $states['BD'] = array( 'BAG' => __( 'Bagerhat', 'woocommerce' ), diff --git a/i18n/states/BG.php b/i18n/states/BG.php index f17b90845ed..3053ed4bd48 100644 --- a/i18n/states/BG.php +++ b/i18n/states/BG.php @@ -8,9 +8,7 @@ global $states; -if ( ! defined( 'ABSPATH' ) ) { - exit; -} +defined( 'ABSPATH' ) || exit; $states['BG'] = array( 'BG-01' => __( 'Blagoevgrad', 'woocommerce' ), diff --git a/i18n/states/BO.php b/i18n/states/BO.php index 2962f587862..657f6ec1fa8 100644 --- a/i18n/states/BO.php +++ b/i18n/states/BO.php @@ -8,9 +8,7 @@ global $states; -if ( ! defined( 'ABSPATH' ) ) { - exit; -} +defined( 'ABSPATH' ) || exit; $states['BO'] = array( 'B' => __( 'Chuquisaca', 'woocommerce' ), diff --git a/i18n/states/BR.php b/i18n/states/BR.php index 4d6c4656744..7d2faada55f 100644 --- a/i18n/states/BR.php +++ b/i18n/states/BR.php @@ -8,9 +8,7 @@ global $states; -if ( ! defined( 'ABSPATH' ) ) { - exit; -} +defined( 'ABSPATH' ) || exit; $states['BR'] = array( 'AC' => __( 'Acre', 'woocommerce' ), diff --git a/i18n/states/CA.php b/i18n/states/CA.php index a6fccea2e37..89f3ccccbd0 100644 --- a/i18n/states/CA.php +++ b/i18n/states/CA.php @@ -8,9 +8,7 @@ global $states; -if ( ! defined( 'ABSPATH' ) ) { - exit; -} +defined( 'ABSPATH' ) || exit; $states['CA'] = array( 'AB' => __( 'Alberta', 'woocommerce' ), diff --git a/i18n/states/CH.php b/i18n/states/CH.php index fdf2f70f1ed..2a8c0836dd8 100644 --- a/i18n/states/CH.php +++ b/i18n/states/CH.php @@ -8,9 +8,7 @@ global $states; -if ( ! defined( 'ABSPATH' ) ) { - exit; -} +defined( 'ABSPATH' ) || exit; $states['CH'] = array( 'AG' => __( 'Aargau', 'woocommerce' ), diff --git a/i18n/states/CN.php b/i18n/states/CN.php index c1605b67c40..d5e38e6ed54 100644 --- a/i18n/states/CN.php +++ b/i18n/states/CN.php @@ -8,9 +8,7 @@ global $states; -if ( ! defined( 'ABSPATH' ) ) { - exit; -} +defined( 'ABSPATH' ) || exit; $states['CN'] = array( 'CN1' => __( 'Yunnan / 云南', 'woocommerce' ), diff --git a/i18n/states/ES.php b/i18n/states/ES.php index 6f888c634b7..91dbde7f178 100644 --- a/i18n/states/ES.php +++ b/i18n/states/ES.php @@ -8,9 +8,7 @@ global $states; -if ( ! defined( 'ABSPATH' ) ) { - exit; -} +defined( 'ABSPATH' ) || exit; $states['ES'] = array( 'C' => __( 'A Coruña', 'woocommerce' ), diff --git a/i18n/states/GR.php b/i18n/states/GR.php index e53ec8989be..5c190e8817c 100644 --- a/i18n/states/GR.php +++ b/i18n/states/GR.php @@ -8,9 +8,7 @@ global $states; -if ( ! defined( 'ABSPATH' ) ) { - exit; -} +defined( 'ABSPATH' ) || exit; $states['GR'] = array( 'I' => __( 'Αττική', 'woocommerce' ), diff --git a/i18n/states/HK.php b/i18n/states/HK.php index cafa3619f36..8eb62c0b442 100644 --- a/i18n/states/HK.php +++ b/i18n/states/HK.php @@ -8,9 +8,7 @@ global $states; -if ( ! defined( 'ABSPATH' ) ) { - exit; -} +defined( 'ABSPATH' ) || exit; $states['HK'] = array( 'HONG KONG' => __( 'Hong Kong Island', 'woocommerce' ), diff --git a/i18n/states/HU.php b/i18n/states/HU.php index 255e58fa26a..f140c199856 100644 --- a/i18n/states/HU.php +++ b/i18n/states/HU.php @@ -8,9 +8,7 @@ global $states; -if ( ! defined( 'ABSPATH' ) ) { - exit; -} +defined( 'ABSPATH' ) || exit; $states['HU'] = array( 'BK' => __( 'Bács-Kiskun', 'woocommerce' ), diff --git a/i18n/states/ID.php b/i18n/states/ID.php index 44ac816d43d..bfd4d2723bb 100644 --- a/i18n/states/ID.php +++ b/i18n/states/ID.php @@ -8,9 +8,7 @@ global $states; -if ( ! defined( 'ABSPATH' ) ) { - exit; -} +defined( 'ABSPATH' ) || exit; $states['ID'] = array( 'AC' => __( 'Daerah Istimewa Aceh', 'woocommerce' ), diff --git a/i18n/states/IE.php b/i18n/states/IE.php index ca507f8ee0c..8df5ee01a5a 100644 --- a/i18n/states/IE.php +++ b/i18n/states/IE.php @@ -8,9 +8,7 @@ global $states; -if ( ! defined( 'ABSPATH' ) ) { - exit; -} +defined( 'ABSPATH' ) || exit; $states['IE'] = array( 'CW' => __( 'Carlow', 'woocommerce' ), diff --git a/i18n/states/IN.php b/i18n/states/IN.php index dbf77c15127..27c56dad9de 100644 --- a/i18n/states/IN.php +++ b/i18n/states/IN.php @@ -8,9 +8,7 @@ global $states; -if ( ! defined( 'ABSPATH' ) ) { - exit; -} +defined( 'ABSPATH' ) || exit; $states['IN'] = array( 'AP' => __( 'Andhra Pradesh', 'woocommerce' ), diff --git a/i18n/states/IR.php b/i18n/states/IR.php index aeecb4496c3..bc296868c55 100644 --- a/i18n/states/IR.php +++ b/i18n/states/IR.php @@ -8,9 +8,7 @@ global $states; -if ( ! defined( 'ABSPATH' ) ) { - exit; -} +defined( 'ABSPATH' ) || exit; $states['IR'] = array( 'KHZ' => __( 'Khuzestan (خوزستان)', 'woocommerce' ), diff --git a/i18n/states/IT.php b/i18n/states/IT.php index db5de5de01e..90882d5d3ea 100644 --- a/i18n/states/IT.php +++ b/i18n/states/IT.php @@ -8,9 +8,7 @@ global $states; -if ( ! defined( 'ABSPATH' ) ) { - exit; -} +defined( 'ABSPATH' ) || exit; $states['IT'] = array( 'AG' => __( 'Agrigento', 'woocommerce' ), diff --git a/i18n/states/JP.php b/i18n/states/JP.php index d625c80212c..7bea3c13aa0 100644 --- a/i18n/states/JP.php +++ b/i18n/states/JP.php @@ -11,9 +11,7 @@ global $states; -if ( ! defined( 'ABSPATH' ) ) { - exit; -} +defined( 'ABSPATH' ) || exit; $states['JP'] = array( 'JP01' => __( 'Hokkaido', 'woocommerce' ), diff --git a/i18n/states/MD.php b/i18n/states/MD.php index bae791642ce..6c0f8745875 100644 --- a/i18n/states/MD.php +++ b/i18n/states/MD.php @@ -14,9 +14,7 @@ global $states; -if ( ! defined( 'ABSPATH' ) ) { - exit; -} +defined( 'ABSPATH' ) || exit; $states['MD'] = array( 'C' => __( 'Chișinău', 'woocommerce' ), diff --git a/i18n/states/MX.php b/i18n/states/MX.php index 88385054575..11df06c7d57 100644 --- a/i18n/states/MX.php +++ b/i18n/states/MX.php @@ -8,9 +8,7 @@ global $states; -if ( ! defined( 'ABSPATH' ) ) { - exit; -} +defined( 'ABSPATH' ) || exit; $states['MX'] = array( 'DF' => __( 'Ciudad de México', 'woocommerce' ), diff --git a/i18n/states/MY.php b/i18n/states/MY.php index 51ad05cd2e3..ac553d15e2f 100644 --- a/i18n/states/MY.php +++ b/i18n/states/MY.php @@ -8,9 +8,7 @@ global $states; -if ( ! defined( 'ABSPATH' ) ) { - exit; -} +defined( 'ABSPATH' ) || exit; $states['MY'] = array( 'JHR' => __( 'Johor', 'woocommerce' ), diff --git a/i18n/states/NG.php b/i18n/states/NG.php index 83ec2ccdc26..1785b29d1ca 100644 --- a/i18n/states/NG.php +++ b/i18n/states/NG.php @@ -8,9 +8,7 @@ global $states; -if ( ! defined( 'ABSPATH' ) ) { - exit; -} +defined( 'ABSPATH' ) || exit; $states['NG'] = array( 'AB' => __( 'Abia', 'woocommerce' ), diff --git a/i18n/states/NP.php b/i18n/states/NP.php index 95b6e1d27b8..ca85ff9800a 100644 --- a/i18n/states/NP.php +++ b/i18n/states/NP.php @@ -8,9 +8,7 @@ global $states; -if ( ! defined( 'ABSPATH' ) ) { - exit; -} +defined( 'ABSPATH' ) || exit; $states['NP'] = array( 'BAG' => __( 'Bagmati', 'woocommerce' ), diff --git a/i18n/states/NZ.php b/i18n/states/NZ.php index 2b93cffffc4..2c02e643481 100644 --- a/i18n/states/NZ.php +++ b/i18n/states/NZ.php @@ -8,9 +8,7 @@ global $states; -if ( ! defined( 'ABSPATH' ) ) { - exit; -} +defined( 'ABSPATH' ) || exit; $states['NZ'] = array( 'NL' => __( 'Northland', 'woocommerce' ), diff --git a/i18n/states/PE.php b/i18n/states/PE.php index 73e316873f8..cf45cc7f05d 100644 --- a/i18n/states/PE.php +++ b/i18n/states/PE.php @@ -8,9 +8,7 @@ global $states; -if ( ! defined( 'ABSPATH' ) ) { - exit; -} +defined( 'ABSPATH' ) || exit; $states['PE'] = array( 'CAL' => __( 'El Callao', 'woocommerce' ), diff --git a/i18n/states/PH.php b/i18n/states/PH.php index 28a51a7c23e..f9dff15fafc 100644 --- a/i18n/states/PH.php +++ b/i18n/states/PH.php @@ -8,9 +8,7 @@ global $states; -if ( ! defined( 'ABSPATH' ) ) { - exit; -} +defined( 'ABSPATH' ) || exit; $states['PH'] = array( 'ABR' => __( 'Abra', 'woocommerce' ), diff --git a/i18n/states/PK.php b/i18n/states/PK.php index a55a3c6c1c4..ffa121deefd 100644 --- a/i18n/states/PK.php +++ b/i18n/states/PK.php @@ -8,9 +8,7 @@ global $states; -if ( ! defined( 'ABSPATH' ) ) { - exit; -} +defined( 'ABSPATH' ) || exit; $states['PK'] = array( 'JK' => __( 'Azad Kashmir', 'woocommerce' ), diff --git a/i18n/states/RO.php b/i18n/states/RO.php index a8c3186be77..2ac2c1ff661 100644 --- a/i18n/states/RO.php +++ b/i18n/states/RO.php @@ -11,9 +11,7 @@ global $states; -if ( ! defined( 'ABSPATH' ) ) { - exit; -} +defined( 'ABSPATH' ) || exit; $states['RO'] = array( 'AB' => __( 'Alba', 'woocommerce' ), diff --git a/i18n/states/TR.php b/i18n/states/TR.php index 9808494b1e7..4897c8e2c2d 100644 --- a/i18n/states/TR.php +++ b/i18n/states/TR.php @@ -8,9 +8,7 @@ global $states; -if ( ! defined( 'ABSPATH' ) ) { - exit; -} +defined( 'ABSPATH' ) || exit; $states['TR'] = array( 'TR01' => __( 'Adana', 'woocommerce' ), diff --git a/i18n/states/US.php b/i18n/states/US.php index ed9d6ff6c04..fe910403064 100644 --- a/i18n/states/US.php +++ b/i18n/states/US.php @@ -8,9 +8,7 @@ global $states; -if ( ! defined( 'ABSPATH' ) ) { - exit; -} +defined( 'ABSPATH' ) || exit; $states['US'] = array( 'AL' => __( 'Alabama', 'woocommerce' ), diff --git a/i18n/states/ZA.php b/i18n/states/ZA.php index f094ae4421e..b2e303aaf55 100644 --- a/i18n/states/ZA.php +++ b/i18n/states/ZA.php @@ -8,9 +8,7 @@ global $states; -if ( ! defined( 'ABSPATH' ) ) { - exit; -} +defined( 'ABSPATH' ) || exit; $states['ZA'] = array( 'EC' => __( 'Eastern Cape', 'woocommerce' ),