diff --git a/core/admin/admin-publish.php b/core/admin/admin-publish.php index 2c0d576..a309c30 100644 --- a/core/admin/admin-publish.php +++ b/core/admin/admin-publish.php @@ -36,7 +36,6 @@ function myarcade_publish_games() { $cat = $_POST['category']; $posts = (isset($_POST['games'])) ? intval($_POST['games']) : false; $download_screens = (isset($_POST['downloadscreens'])) ? true : false; - $download_games = (isset($_POST['downloadgames'])) ? true : false; // Generate the query $query_array = array(); @@ -227,12 +226,6 @@ function(data) { } ?> -
- '.sprintf(__("The games directory '%s' must be writeable (chmod 777) in order to download games.", 'myarcadeplugin'), $upload_dir['gamesdir'] ).'

'; - } - ?> -
@@ -342,7 +335,7 @@ function myarcade( id ) { schedule: '', count: myarcade_count, download_screens: '', - download_games: '' + download_games: 'false' }, success: function( response ) { if ( response !== Object( response ) || ( typeof response.success === "undefined" && typeof response.error === "undefined" ) ) {