Skip to content

Commit

Permalink
Update wordpress.php
Browse files Browse the repository at this point in the history
  • Loading branch information
varunsridharan authored Jul 3, 2020
1 parent d2a5bde commit 3c42f4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/generator-app/wordpress.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
require_once __DIR__ . '/common.php';
define( 'SAVE_PATH', URLS_FILES . 'wp/plugins/' );
define( 'ITEMS_JSON_LINK', 'https://cdn.svarun.dev/wordpress.org/plugins.json' );
define( 'ITEMS_JSON_LINK', 'https://cdn.svarun.dev/json/wordpress-org-items.json' );
try {
$json = json_decode( file_get_contents( ITEMS_JSON_LINK ), true );
if ( is_array( $json ) ) {
Expand All @@ -24,4 +24,4 @@
$msg = '🛑 Unknown Error !!' . PHP_EOL . PHP_EOL;
$msg .= print_r( $exception->getMessage(), true );
die( $msg );
}
}

0 comments on commit 3c42f4c

Please sign in to comment.