Skip to content

Commit

Permalink
pushed wp repo
Browse files Browse the repository at this point in the history
  • Loading branch information
hsntgm committed Jun 30, 2024
1 parent 4f1328e commit 384052f
Show file tree
Hide file tree
Showing 29 changed files with 37 additions and 37 deletions.
2 changes: 1 addition & 1 deletion admin/css/fastcgi-cache-purge-and-preload-nginx.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Styles for FastCGI Cache Purge and Preload for Nginx
* Description: This CSS file contains styles for the FastCGI Cache Purge and Preload for Nginx
* Version: 2.0.1
* Version: 2.0.2
* Author: Hasan ÇALIŞIR
* Author Email: [email protected]
* Author URI: https://www.psauxit.com
Expand Down
2 changes: 1 addition & 1 deletion admin/fastcgi-cache-purge-and-preload-nginx-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: FastCGI Cache Purge and Preload for Nginx
* Plugin URI: https://github.com/psaux-it/nginx-fastcgi-cache-purge-and-preload
* Description: Manage FastCGI Cache Purge and Preload for Nginx operations directly from your WordPress admin dashboard.
* Version: 2.0.1
* Version: 2.0.2
* Author: Hasan ÇALIŞIR
* Author URI: https://www.psauxit.com/
* Author Email: [email protected]
Expand Down
2 changes: 1 addition & 1 deletion admin/js/fastcgi-cache-purge-and-preload-nginx.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* JavaScript for FastCGI Cache Purge and Preload for Nginx
* Description: This JavaScript file contains functions to manage FastCGI Cache Purge and Preload for Nginx plugin and interact with WordPress admin dashboard.
* Version: 2.0.1
* Version: 2.0.2
* Author: Hasan ÇALIŞIR
* Author Email: [email protected]
* Author URI: https://www.psauxit.com
Expand Down
2 changes: 1 addition & 1 deletion admin/js/nppp-disable-functionality.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* JavaScript for FastCGI Cache Purge and Preload for Nginx
* Description: This file contains disable functionality for FastCGI Cache Purge and Preload for Nginx
* Version: 2.0.1
* Version: 2.0.2
* Author: Hasan ÇALIŞIR
* Author Email: [email protected]
* Author URI: https://www.psauxit.com
Expand Down
2 changes: 1 addition & 1 deletion admin/js/preload-button-disable.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* JavaScript for FastCGI Cache Purge and Preload for Nginx
* Description: This JavaScript file contains function to disable Preload action if wget command not found on the host for FastCGI Cache Purge and Preload for Nginx
* Version: 2.0.1
* Version: 2.0.2
* Author: Hasan ÇALIŞIR
* Author Email: [email protected]
* Author URI: https://www.psauxit.com
Expand Down
2 changes: 1 addition & 1 deletion fastcgi-cache-purge-and-preload-nginx.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: FastCGI Cache Purge and Preload for Nginx
* Plugin URI: https://github.com/psaux-it/nginx-fastcgi-cache-purge-and-preload
* Description: Manage FastCGI Cache Purge and Preload for Nginx operations directly from your WordPress admin dashboard.
* Version: 2.0.1
* Version: 2.0.2
* Author: Hasan ÇALIŞIR
* Author URI: https://www.psauxit.com/
* Author Email: [email protected]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Frontend styles for FastCGI Cache Purge and Preload for Nginx
* Description: This CSS file contains frontend styles for the FastCGI Cache Purge and Preload for Nginx
* Version: 2.0.1
* Version: 2.0.2
* Author: Hasan ÇALIŞIR
* Author Email: [email protected]
* Author URI: https://www.psauxit.com
Expand Down
2 changes: 1 addition & 1 deletion frontend/index.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php // Silence is golden-psauxit
<?php // Silence is golden
2 changes: 1 addition & 1 deletion frontend/js/fastcgi-cache-purge-and-preload-nginx-front.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Frontend JavaScript for FastCGI Cache Purge and Preload for Nginx
* Description: This JavaScript file contains functions that shows on-page purge & preload actions messages for FastCGI Cache Purge and Preload for Nginx
* Version: 2.0.1
* Version: 2.0.2
* Author: Hasan ÇALIŞIR
* Author Email: [email protected]
* Author URI: https://www.psauxit.com
Expand Down
2 changes: 1 addition & 1 deletion frontend/js/nppp-admin-bar-icon-front.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Frontend JavaScript for FastCGI Cache Purge and Preload for Nginx
* Description: This JavaScript file contains admin bar icon css fix for FastCGI Cache Purge and Preload for Nginx
* Version: 2.0.1
* Version: 2.0.2
* Author: Hasan ÇALIŞIR
* Author Email: [email protected]
* Author URI: https://www.psauxit.com
Expand Down
2 changes: 1 addition & 1 deletion frontend/js/nppp-disable-functionality-front.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Frontend JavaScript for FastCGI Cache Purge and Preload for Nginx
* Description: This JavaScript file contains functions that disabling frontpage admin bar actions for FastCGI Cache Purge and Preload for Nginx
* Version: 2.0.1
* Version: 2.0.2
* Author: Hasan ÇALIŞIR
* Author Email: [email protected]
* Author URI: https://www.psauxit.com
Expand Down
2 changes: 1 addition & 1 deletion includes/admin-bar.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* WP Admin Bar code for FastCGI Cache Purge and Preload for Nginx
* Description: This file contains Admin Bar code for FastCGI Cache Purge and Preload for Nginx
* Version: 2.0.1
* Version: 2.0.2
* Author: Hasan ÇALIŞIR
* Author Email: [email protected]
* Author URI: https://www.psauxit.com
Expand Down
2 changes: 1 addition & 1 deletion includes/advanced.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Advanced table for FastCGI Cache Purge and Preload for Nginx
* Description: This file contains advanced table functions for FastCGI Cache Purge and Preload for Nginx
* Version: 2.0.1
* Version: 2.0.2
* Author: Hasan ÇALIŞIR
* Author Email: [email protected]
* Author URI: https://www.psauxit.com
Expand Down
2 changes: 1 addition & 1 deletion includes/configuration-parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Nginx config parser functions for FastCGI Cache Purge and Preload for Nginx
* Description: This file contains Nginx config parser functions for FastCGI Cache Purge and Preload for Nginx
* Version: 2.0.1
* Version: 2.0.2
* Author: Hasan ÇALIŞIR
* Author Email: [email protected]
* Author URI: https://www.psauxit.com
Expand Down
18 changes: 9 additions & 9 deletions includes/enqueue-assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Enqueue custom CSS and JavaScript files for FastCGI Cache Purge and Preload for Nginx
* Description: This file contains enqueue assets functions for FastCGI Cache Purge and Preload for Nginx
* Version: 2.0.1
* Version: 2.0.2
* Author: Hasan ÇALIŞIR
* Author Email: [email protected]
* Author URI: https://www.psauxit.com
Expand All @@ -27,7 +27,7 @@ function nppp_enqueue_nginx_fastcgi_cache_purge_preload_assets() {
wp_enqueue_style('nppp_tempus-dominus-css', plugins_url('../admin/css/tempus-dominus.min.css', __FILE__), array(), '6.9.4');

// Enqueue CSS files for Nginx FastCGI Cache Purge and Preload Plugin
wp_enqueue_style('nppp_admin-css', plugins_url('../admin/css/fastcgi-cache-purge-and-preload-nginx.css', __FILE__), array(), '2.0.1');
wp_enqueue_style('nppp_admin-css', plugins_url('../admin/css/fastcgi-cache-purge-and-preload-nginx.css', __FILE__), array(), '2.0.2');

// Enqueue jQuery UI core, jQuery UI Tabs, jQuery UI Accordion
wp_enqueue_script('jquery-ui-core');
Expand All @@ -54,7 +54,7 @@ function nppp_enqueue_nginx_fastcgi_cache_purge_preload_assets() {
wp_enqueue_script('nppp_tempus-dominus-js', plugins_url('../admin/js/tempus-dominus.min.js', __FILE__), array('nppp_popper-js'), '6.9.4', true);

// Enqueue JavaScript files for Nginx FastCGI Cache Purge and Preload Plugin
wp_enqueue_script('nppp_admin-js', plugins_url('../admin/js/fastcgi-cache-purge-and-preload-nginx.js', __FILE__), array('jquery'), '2.0.1', true);
wp_enqueue_script('nppp_admin-js', plugins_url('../admin/js/fastcgi-cache-purge-and-preload-nginx.js', __FILE__), array('jquery'), '2.0.2', true);

// Retrieve plugin options.
$options = get_option('nginx_cache_settings');
Expand Down Expand Up @@ -141,7 +141,7 @@ function nppp_enqueue_nginx_fastcgi_cache_purge_preload_requisite_assets() {
$output = shell_exec('type wget');
if (empty($output)) {
// Wget is not available
wp_enqueue_script('preload-button-disable', plugins_url('../admin/js/preload-button-disable.js', __FILE__), array('jquery'), '2.0.1', true);
wp_enqueue_script('preload-button-disable', plugins_url('../admin/js/preload-button-disable.js', __FILE__), array('jquery'), '2.0.2', true);
} else {
// Wget is available, dequeue the preload-button-disable.js if it's already enqueued
wp_dequeue_script('preload-button-disable');
Expand All @@ -150,7 +150,7 @@ function nppp_enqueue_nginx_fastcgi_cache_purge_preload_requisite_assets() {
} else {
// This plugin only works on Linux with nginx
// Disable plugin functionality to prevent unexpected behaviors.
wp_enqueue_script('nppp-disable-functionality', plugins_url('../admin/js/nppp-disable-functionality.js', __FILE__), array('jquery'), '2.0.1', true);
wp_enqueue_script('nppp-disable-functionality', plugins_url('../admin/js/nppp-disable-functionality.js', __FILE__), array('jquery'), '2.0.2', true);
}
}

Expand All @@ -161,21 +161,21 @@ function nppp_enqueue_nginx_fastcgi_cache_purge_preload_front_assets() {
if (wp_verify_nonce($nonce, 'nppp_redirect_nonce')) {
if (!is_admin()) {
// Enqueue CSS files for Nginx FastCGI Cache Purge and Preload Plugin
wp_enqueue_style('nppp_admin-front-css', plugins_url('../frontend/css/fastcgi-cache-purge-and-preload-nginx-front.css', __FILE__), array(), '2.0.1');
wp_enqueue_style('nppp_admin-front-css', plugins_url('../frontend/css/fastcgi-cache-purge-and-preload-nginx-front.css', __FILE__), array(), '2.0.2');
// Enqueue JavaScript files for Nginx FastCGI Cache Purge and Preload Plugin frontend
wp_enqueue_script('nppp_admin-front-js', plugins_url('../frontend/js/fastcgi-cache-purge-and-preload-nginx-front.js', __FILE__), array('jquery'), '2.0.1', true);
wp_enqueue_script('nppp_admin-front-js', plugins_url('../frontend/js/fastcgi-cache-purge-and-preload-nginx-front.js', __FILE__), array('jquery'), '2.0.2', true);
}
}
}

// Check plugin requirements and limit the functionality accordingly on front-end
$nppp_met = nppp_plugin_requirements_met();
if (!$nppp_met) {
wp_enqueue_script('nppp-disable-functionality-front', plugins_url('../frontend/js/nppp-disable-functionality-front.js', __FILE__), array('jquery'), '2.0.1', true);
wp_enqueue_script('nppp-disable-functionality-front', plugins_url('../frontend/js/nppp-disable-functionality-front.js', __FILE__), array('jquery'), '2.0.2', true);
} else {
wp_dequeue_script('nppp-disable-functionality-front');
}

// Enqueue CSS and JavaScript files for frontend admin bar icon style set
// wp_enqueue_script('nppp-admin-bar-icon-front', plugins_url('../frontend/js/nppp-admin-bar-icon-front.js', __FILE__), array('jquery'), '2.0.1', true);
// wp_enqueue_script('nppp-admin-bar-icon-front', plugins_url('../frontend/js/nppp-admin-bar-icon-front.js', __FILE__), array('jquery'), '2.0.2', true);
}
2 changes: 1 addition & 1 deletion includes/help.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* FAQ for FastCGI Cache Purge and Preload for Nginx
* Description: This help file contains informations about FastCGI Cache Purge and Preload for Nginx plugin usage.
* Version: 2.0.1
* Version: 2.0.2
* Author: Hasan ÇALIŞIR
* Author Email: [email protected]
* Author URI: https://www.psauxit.com
Expand Down
2 changes: 1 addition & 1 deletion includes/log.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Logging & status functions for FastCGI Cache Purge and Preload for Nginx
* Description: This file contains Logging & status functions for FastCGI Cache Purge and Preload for Nginx
* Version: 2.0.1
* Version: 2.0.2
* Author: Hasan ÇALIŞIR
* Author Email: [email protected]
* Author URI: https://www.psauxit.com
Expand Down
2 changes: 1 addition & 1 deletion includes/pre-checks.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Pre-checks for FastCGI Cache Purge and Preload for Nginx
* Description: This pre-check file contains several critical checks for FastCGI Cache Purge and Preload for Nginx
* Version: 2.0.1
* Version: 2.0.2
* Author: Hasan ÇALIŞIR
* Author Email: [email protected]
* Author URI: https://www.psauxit.com
Expand Down
2 changes: 1 addition & 1 deletion includes/preload.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Preload action functions for FastCGI Cache Purge and Preload for Nginx
* Description: This file contains preload action functions for FastCGI Cache Purge and Preload for Nginx
* Version: 2.0.1
* Version: 2.0.2
* Author: Hasan ÇALIŞIR
* Author Email: [email protected]
* Author URI: https://www.psauxit.com
Expand Down
2 changes: 1 addition & 1 deletion includes/purge.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Purge action functions for FastCGI Cache Purge and Preload for Nginx
* Description: This file contains Purge action functions for FastCGI Cache Purge and Preload for Nginx
* Version: 2.0.1
* Version: 2.0.2
* Author: Hasan ÇALIŞIR
* Author Email: [email protected]
* Author URI: https://www.psauxit.com
Expand Down
2 changes: 1 addition & 1 deletion includes/reject_regex.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Default wget reject regex pattern for FastCGI Cache Purge and Preload for Nginx
* Description: This txt file contains default wget reject regex pattern for FastCGI Cache Purge and Preload for Nginx
* Version: 2.0.1
* Version: 2.0.2
* Author: Hasan ÇALIŞIR
* Author Email: [email protected]
* Author URI: https://www.psauxit.com
Expand Down
2 changes: 1 addition & 1 deletion includes/rest-api-helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* REST API Helper for FastCGI Cache Purge and Preload for Nginx
* Description: This file contains REST API related code for FastCGI Cache Purge and Preload for Nginx
* Version: 2.0.1
* Version: 2.0.2
* Author: Hasan ÇALIŞIR
* Author Email: [email protected]
* Author URI: https://www.psauxit.com
Expand Down
2 changes: 1 addition & 1 deletion includes/rest-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Rest API for FastCGI Cache Purge and Preload for Nginx
* Description: This file contains rest api functions for FastCGI Cache Purge and Preload for Nginx
* Version: 2.0.1
* Version: 2.0.2
* Author: Hasan ÇALIŞIR
* Author Email: [email protected]
* Author URI: https://www.psauxit.com
Expand Down
2 changes: 1 addition & 1 deletion includes/schedule.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Preload action related schedule cron events for FastCGI Cache Purge and Preload for Nginx
* Description: This file contains preload action related schedule cron events functions for FastCGI Cache Purge and Preload for Nginx
* Version: 2.0.1
* Version: 2.0.2
* Author: Hasan ÇALIŞIR
* Author Email: [email protected]
* Author URI: https://www.psauxit.com
Expand Down
2 changes: 1 addition & 1 deletion includes/send-mail.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Send mail code for FastCGI Cache Purge and Preload for Nginx
* Description: This file contains send mail code for FastCGI Cache Purge and Preload for Nginx
* Version: 2.0.1
* Version: 2.0.2
* Author: Hasan ÇALIŞIR
* Author Email: [email protected]
* Author URI: https://www.psauxit.com
Expand Down
2 changes: 1 addition & 1 deletion includes/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Settings page for FastCGI Cache Purge and Preload for Nginx
* Description: This file contains settings page functions for FastCGI Cache Purge and Preload for Nginx
* Version: 2.0.1
* Version: 2.0.2
* Author: Hasan ÇALIŞIR
* Author Email: [email protected]
* Author URI: https://www.psauxit.com
Expand Down
2 changes: 1 addition & 1 deletion includes/status.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Status page for FastCGI Cache Purge and Preload for Nginx
* Description: This file contains functions which shows information about FastCGI Cache Purge and Preload for Nginx
* Version: 2.0.1
* Version: 2.0.2
* Author: Hasan ÇALIŞIR
* Author Email: [email protected]
* Author URI: https://www.psauxit.com
Expand Down
2 changes: 1 addition & 1 deletion includes/svg.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* SVG icon code for FastCGI Cache Purge and Preload for Nginx
* Description: This file contains svg icon code for FastCGI Cache Purge and Preload for Nginx
* Version: 2.0.1
* Version: 2.0.2
* Author: Hasan ÇALIŞIR
* Author Email: [email protected]
* Author URI: https://www.psauxit.com
Expand Down
2 changes: 1 addition & 1 deletion includes/wp-filesystem.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* WP_Filesytem functions for FastCGI Cache Purge and Preload for Nginx
* Description: This file contains WP_Filesytem functions for FastCGI Cache Purge and Preload for Nginx
* Version: 2.0.1
* Version: 2.0.2
* Author: Hasan ÇALIŞIR
* Author Email: [email protected]
* Author URI: https://www.psauxit.com
Expand Down

0 comments on commit 384052f

Please sign in to comment.