@@ -12,39 +12,39 @@ |
||
12 | 12 | * @author Beñat Espiña <[email protected]> |
13 | 13 | */ |
14 | 14 | |
15 | -define('WP_MEMORY_LIMIT', '64M'); |
|
15 | +define('WP_MEMORY_LIMIT', '64M'); |
|
16 | 16 | |
17 | -define('DB_NAME', 'database_name_here'); |
|
18 | -define('DB_USER', 'username_here'); |
|
19 | -define('DB_PASSWORD', 'password_here'); |
|
20 | -define('DB_HOST', 'localhost'); |
|
21 | -define('DB_CHARSET', 'utf8'); |
|
22 | -define('DB_COLLATE', ''); |
|
17 | +define('DB_NAME', 'database_name_here'); |
|
18 | +define('DB_USER', 'username_here'); |
|
19 | +define('DB_PASSWORD', 'password_here'); |
|
20 | +define('DB_HOST', 'localhost'); |
|
21 | +define('DB_CHARSET', 'utf8'); |
|
22 | +define('DB_COLLATE', ''); |
|
23 | 23 | |
24 | -define('WP_DEBUG', true); |
|
24 | +define('WP_DEBUG', true); |
|
25 | 25 | define('AUTOMATIC_UPDATER_DISABLED', true); |
26 | -define('DISALLOW_FILE_EDIT', true); |
|
27 | -define('DISALLOW_FILE_MODS', true); |
|
26 | +define('DISALLOW_FILE_EDIT', true); |
|
27 | +define('DISALLOW_FILE_MODS', true); |
|
28 | 28 | |
29 | 29 | // See: https://api.wordpress.org/secret-key/1.1/salt/ |
30 | -define('AUTH_KEY', 'Put your unique phrase here'); |
|
31 | -define('SECURE_AUTH_KEY', 'Put your unique phrase here'); |
|
32 | -define('LOGGED_IN_KEY', 'Put your unique phrase here'); |
|
33 | -define('NONCE_KEY', 'Put your unique phrase here'); |
|
34 | -define('AUTH_SALT', 'Put your unique phrase here'); |
|
35 | -define('SECURE_AUTH_SALT', 'Put your unique phrase here'); |
|
36 | -define('LOGGED_IN_SALT', 'Put your unique phrase here'); |
|
37 | -define('NONCE_SALT', 'Put your unique phrase here'); |
|
38 | - |
|
39 | -define('MAILER_SMTP', false); |
|
40 | -define('MAILER_HOST', 'localhost'); // ex: smtp.sparkpostmail.com |
|
41 | -define('MAILER_PORT', 25); // ex: 587 |
|
42 | -define('MAILER_USERNAME', ''); // ex: SMTP_Injection |
|
43 | -define('MAILER_PASSWORD', ''); |
|
44 | -define('MAILER_TRANSPORT', ''); // ex. tls |
|
30 | +define('AUTH_KEY', 'Put your unique phrase here'); |
|
31 | +define('SECURE_AUTH_KEY', 'Put your unique phrase here'); |
|
32 | +define('LOGGED_IN_KEY', 'Put your unique phrase here'); |
|
33 | +define('NONCE_KEY', 'Put your unique phrase here'); |
|
34 | +define('AUTH_SALT', 'Put your unique phrase here'); |
|
35 | +define('SECURE_AUTH_SALT', 'Put your unique phrase here'); |
|
36 | +define('LOGGED_IN_SALT', 'Put your unique phrase here'); |
|
37 | +define('NONCE_SALT', 'Put your unique phrase here'); |
|
38 | + |
|
39 | +define('MAILER_SMTP', false); |
|
40 | +define('MAILER_HOST', 'localhost'); // ex: smtp.sparkpostmail.com |
|
41 | +define('MAILER_PORT', 25); // ex: 587 |
|
42 | +define('MAILER_USERNAME', ''); // ex: SMTP_Injection |
|
43 | +define('MAILER_PASSWORD', ''); |
|
44 | +define('MAILER_TRANSPORT', ''); // ex. tls |
|
45 | 45 | |
46 | 46 | define('TRANSLATION_DOMAIN', 'Put your translation domain'); |
47 | -define('XMLRPC_ENABLED', false); |
|
47 | +define('XMLRPC_ENABLED', false); |
|
48 | 48 | |
49 | -define('WP_CACHE', false); |
|
49 | +define('WP_CACHE', false); |
|
50 | 50 | define('WPML_FORCE_UPDATES', true); |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace App; |
15 | 15 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace App\PostTypes; |
15 | 15 |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace App\PostTypes\Post; |
15 | 15 | |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | |
25 | 25 | public function postType() : void |
26 | 26 | { |
27 | - add_action('init', function () { |
|
27 | + add_action('init', function() { |
|
28 | 28 | remove_post_type_support(self::NAME, 'editor'); |
29 | 29 | add_post_type_support(self::NAME, 'page-attributes'); |
30 | 30 | }, 100); |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace App\PostTypes\Post; |
15 | 15 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace App\Configuration; |
15 | 15 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace App\Configuration; |
15 | 15 |