@@ -2,7 +2,7 @@ |
||
| 2 | 2 | |
| 3 | 3 | header( 'Content-Type: text/plain' ); |
| 4 | 4 | |
| 5 | -$data = file_get_contents( __DIR__ . '/../changelog.json' ); |
|
| 5 | +$data = file_get_contents( __DIR__.'/../changelog.json' ); |
|
| 6 | 6 | $changelog = json_decode( $data ); |
| 7 | 7 | |
| 8 | 8 | function render_changes( $changes, $level = 0 ) { |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -$data = file_get_contents( __DIR__ . '/../extensions.json' ); |
|
| 3 | +$data = file_get_contents( __DIR__.'/../extensions.json' ); |
|
| 4 | 4 | $extensions = json_decode( $data ); |
| 5 | 5 | |
| 6 | 6 | foreach ( $extensions as $extension ) { |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -$data = file_get_contents( __DIR__ . '/../changelog.json' ); |
|
| 3 | +$data = file_get_contents( __DIR__.'/../changelog.json' ); |
|
| 4 | 4 | $changelog = json_decode( $data ); |
| 5 | 5 | |
| 6 | 6 | function render_changes( $changes, $level = 0 ) { |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -$data = file_get_contents( __DIR__ . '/../providers.json' ); |
|
| 3 | +$data = file_get_contents( __DIR__.'/../providers.json' ); |
|
| 4 | 4 | $data = json_decode( $data ); |
| 5 | 5 | |
| 6 | 6 | $providers = array(); |
@@ -8,14 +8,14 @@ discard block |
||
| 8 | 8 | $providers[ $provider->slug ] = $provider; |
| 9 | 9 | } |
| 10 | 10 | |
| 11 | -$data = file_get_contents( __DIR__ . '/../gateways.json' ); |
|
| 11 | +$data = file_get_contents( __DIR__.'/../gateways.json' ); |
|
| 12 | 12 | $gateways = json_decode( $data ); |
| 13 | 13 | |
| 14 | 14 | foreach ( $gateways as $gateway ) { |
| 15 | 15 | if ( isset( $providers[ $gateway->provider ] ) ) { |
| 16 | 16 | $provider = $providers[ $gateway->provider ]; |
| 17 | 17 | |
| 18 | - if ( ! isset( $provider->gateways ) ) { |
|
| 18 | + if ( !isset( $provider->gateways ) ) { |
|
| 19 | 19 | $provider->gateways = array(); |
| 20 | 20 | } |
| 21 | 21 | |
@@ -2,7 +2,7 @@ discard block |
||
| 2 | 2 | |
| 3 | 3 | header( 'Content-Type: text/plain' ); |
| 4 | 4 | |
| 5 | -$data = file_get_contents( __DIR__ . '/../../package.json' ); |
|
| 5 | +$data = file_get_contents( __DIR__.'/../../package.json' ); |
|
| 6 | 6 | $pkg = json_decode( $data ); |
| 7 | 7 | |
| 8 | 8 | ?> |
@@ -15,7 +15,7 @@ discard block |
||
| 15 | 15 | Requires PHP: 5.3 |
| 16 | 16 | Stable tag: <?php echo $pkg->version, "\r\n"; ?> |
| 17 | 17 | |
| 18 | -<?php require __DIR__ . '/../general/description-short.php'; ?> |
|
| 18 | +<?php require __DIR__.'/../general/description-short.php'; ?> |
|
| 19 | 19 | |
| 20 | 20 | |
| 21 | 21 | == Description == |
@@ -43,4 +43,4 @@ discard block |
||
| 43 | 43 | |
| 44 | 44 | == Links == |
| 45 | 45 | |
| 46 | -<?php require __DIR__ . '/../general/links.php'; ?> |
|
| 46 | +<?php require __DIR__.'/../general/links.php'; ?> |
|
@@ -14,7 +14,7 @@ discard block |
||
| 14 | 14 | [](https://travis-ci.org/pronamic/wp-pronamic-ideal) |
| 15 | 15 | [](http://gruntjs.com/) |
| 16 | 16 | |
| 17 | -<?php include __DIR__ . '/../general/description-short.php'; ?> |
|
| 17 | +<?php include __DIR__.'/../general/description-short.php'; ?> |
|
| 18 | 18 | |
| 19 | 19 | |
| 20 | 20 | ## Gateways |
@@ -37,4 +37,4 @@ discard block |
||
| 37 | 37 | |
| 38 | 38 | ## Links |
| 39 | 39 | |
| 40 | -<?php include __DIR__ . '/../general/links.php'; ?> |
|
| 40 | +<?php include __DIR__.'/../general/links.php'; ?> |
|
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -$data = file_get_contents( __DIR__ . '/../extensions.json' ); |
|
| 3 | +$data = file_get_contents( __DIR__.'/../extensions.json' ); |
|
| 4 | 4 | $extensions = json_decode( $data ); |
| 5 | 5 | |
| 6 | 6 | ?> |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | foreach ( $options as $key_old => $key_new ) { |
| 36 | 36 | $value = get_option( $key_old ); |
| 37 | 37 | |
| 38 | - if ( ! empty( $value ) ) { |
|
| 38 | + if ( !empty( $value ) ) { |
|
| 39 | 39 | update_option( $key_new, $value ); |
| 40 | 40 | } |
| 41 | 41 | } |
@@ -8,4 +8,4 @@ |
||
| 8 | 8 | * @package Pronamic\WordPress\Pay |
| 9 | 9 | */ |
| 10 | 10 | |
| 11 | -require dirname( __FILE__ ) . '/update-3.7.0.php'; |
|
| 11 | +require dirname( __FILE__ ).'/update-3.7.0.php'; |
|