Plugin Directory

Changeset 3446388


Ignore:
Timestamp:
01/25/2026 04:06:04 AM (42 hours ago)
Author:
anton.aleksandrov
Message:

Version 1.6.5

Location:
wpbenchmark
Files:
2 edited
4 copied

Legend:

Unmodified
Added
Removed
  • wpbenchmark/tags/1.6.5/readme.txt

    r3412884 r3446388  
    77Tested up to: 6.9
    88Requires PHP: 5.6
    9 Stable tag: 1.6.4
     9Stable tag: 1.6.5
    1010License: GPLv3
    1111License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    5858
    5959== Changelog ==
     60
     611.6.5  - removed "ping me" feature, as this was causing some abuse for my server. Feature will rely on your Wordpress cron.
    6062
    61631.6.4  - fix execution time overhead, renaming plugin to comply with trademarks and community rules.
  • wpbenchmark/tags/1.6.5/wp-benchmark-io.php

    r3355594 r3446388  
    88Description: Benchmark your WordPress server's speed and capabilities, featuring scheduled performance monitoring and WordPress-specific tests for objective host comparisons.
    99Text Domain:
    10 Version: 1.6.4
     10Version: 1.6.5
    1111Requires PHP: 5.6
    1212Network: true
     
    197197                    wp_schedule_single_event( time()+60, self::$schedulled_event_name, $event_args );
    198198
    199                     if (isset($_REQUEST["attempt_to_ping_me"])) {
    200                         if ($_REQUEST["attempt_to_ping_me"]==1) {
    201                             update_option(self::$attempt_pingback_option, 1);
    202                             self::ask_for_pingback(60);
    203                         } else {
    204                             update_option(self::$attempt_pingback_option, 0);
    205                         }
    206                     } else {
    207                         update_option(self::$attempt_pingback_option, 0);
    208                     }
     199                    update_option(self::$attempt_pingback_option, 0);
     200                    #if (isset($_REQUEST["attempt_to_ping_me"])) {
     201                    #   if ($_REQUEST["attempt_to_ping_me"]==1) {
     202                    #       update_option(self::$attempt_pingback_option, 1);
     203                    #       self::ask_for_pingback(60);
     204                    #   } else {
     205                    #       update_option(self::$attempt_pingback_option, 0);
     206                    #   }
     207                    #} else {
     208                    #   update_option(self::$attempt_pingback_option, 0);
     209                    #}
    209210                }
    210211            } # END IF DOA isset
     
    942943                    <div class='wpio-row'>
    943944                    <div class='wpio-col-7' style='padding-left:2em; margin-bottom:10px;'>
    944                         <div style='padding-bottom:10px; font-size:1.2em;'>
    945                             <label><input type='checkbox' name='attempt_to_ping_me' value='1'> - attempt to ping my Wordpress. Enable, if your Wordpress has very low traffic. My script will attempt to ping back to trigger scheduled event, but I can not promise accuracy.</label>
    946                         </div>
    947945                        <button type='submit' class='wpio-btn wpio-btn-success wpio-btn-block wpio-btn-lg'>Enable scheduled benchmarking</button>
    948946                    </div>
     
    14741472            wp_schedule_single_event( time()+296, $event_name, $args );
    14751473       
    1476             $ask_for_pingback = get_option(self::$attempt_pingback_option);
    1477             if (isset($ask_for_pingback)) {
    1478                 if ($ask_for_pingback==1) {
    1479                     // ask for pingback
    1480                     self::ask_for_pingback(296);
    1481                 }
    1482             }
     1474            #$ask_for_pingback = get_option(self::$attempt_pingback_option);
     1475            #if (isset($ask_for_pingback)) {
     1476            #   if ($ask_for_pingback==1) {
     1477            #       // ask for pingback
     1478            #       self::ask_for_pingback(296);
     1479            #   }
     1480            #}
    14831481        }
    14841482    }
     
    14881486    */
    14891487    static function ask_for_pingback($after_time=300) {
    1490         if ($after_time<296) {
    1491             $after_time=296;
    1492         }
    1493 
    1494         $data = array();
    1495         $data["site_url"] = get_site_url();
    1496         $data["after_time"] = $after_time;
    1497 
    1498         wp_remote_post("https://collect.wpbenchmark.io/ping_me_back.php", array("body"=>$data));
     1488        #if ($after_time<296) {
     1489        #   $after_time=296;
     1490        #}
     1491
     1492        #$data = array();
     1493        #$data["site_url"] = get_site_url();
     1494        #$data["after_time"] = $after_time;
     1495
     1496        # wp_remote_post("https://collect.wpbenchmark.io/ping_me_back.php", array("body"=>$data));
    14991497
    15001498        return true;
  • wpbenchmark/trunk/readme.txt

    r3412884 r3446388  
    77Tested up to: 6.9
    88Requires PHP: 5.6
    9 Stable tag: 1.6.4
     9Stable tag: 1.6.5
    1010License: GPLv3
    1111License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    5858
    5959== Changelog ==
     60
     611.6.5  - removed "ping me" feature, as this was causing some abuse for my server. Feature will rely on your Wordpress cron.
    6062
    61631.6.4  - fix execution time overhead, renaming plugin to comply with trademarks and community rules.
  • wpbenchmark/trunk/wp-benchmark-io.php

    r3355594 r3446388  
    88Description: Benchmark your WordPress server's speed and capabilities, featuring scheduled performance monitoring and WordPress-specific tests for objective host comparisons.
    99Text Domain:
    10 Version: 1.6.4
     10Version: 1.6.5
    1111Requires PHP: 5.6
    1212Network: true
     
    197197                    wp_schedule_single_event( time()+60, self::$schedulled_event_name, $event_args );
    198198
    199                     if (isset($_REQUEST["attempt_to_ping_me"])) {
    200                         if ($_REQUEST["attempt_to_ping_me"]==1) {
    201                             update_option(self::$attempt_pingback_option, 1);
    202                             self::ask_for_pingback(60);
    203                         } else {
    204                             update_option(self::$attempt_pingback_option, 0);
    205                         }
    206                     } else {
    207                         update_option(self::$attempt_pingback_option, 0);
    208                     }
     199                    update_option(self::$attempt_pingback_option, 0);
     200                    #if (isset($_REQUEST["attempt_to_ping_me"])) {
     201                    #   if ($_REQUEST["attempt_to_ping_me"]==1) {
     202                    #       update_option(self::$attempt_pingback_option, 1);
     203                    #       self::ask_for_pingback(60);
     204                    #   } else {
     205                    #       update_option(self::$attempt_pingback_option, 0);
     206                    #   }
     207                    #} else {
     208                    #   update_option(self::$attempt_pingback_option, 0);
     209                    #}
    209210                }
    210211            } # END IF DOA isset
     
    942943                    <div class='wpio-row'>
    943944                    <div class='wpio-col-7' style='padding-left:2em; margin-bottom:10px;'>
    944                         <div style='padding-bottom:10px; font-size:1.2em;'>
    945                             <label><input type='checkbox' name='attempt_to_ping_me' value='1'> - attempt to ping my Wordpress. Enable, if your Wordpress has very low traffic. My script will attempt to ping back to trigger scheduled event, but I can not promise accuracy.</label>
    946                         </div>
    947945                        <button type='submit' class='wpio-btn wpio-btn-success wpio-btn-block wpio-btn-lg'>Enable scheduled benchmarking</button>
    948946                    </div>
     
    14741472            wp_schedule_single_event( time()+296, $event_name, $args );
    14751473       
    1476             $ask_for_pingback = get_option(self::$attempt_pingback_option);
    1477             if (isset($ask_for_pingback)) {
    1478                 if ($ask_for_pingback==1) {
    1479                     // ask for pingback
    1480                     self::ask_for_pingback(296);
    1481                 }
    1482             }
     1474            #$ask_for_pingback = get_option(self::$attempt_pingback_option);
     1475            #if (isset($ask_for_pingback)) {
     1476            #   if ($ask_for_pingback==1) {
     1477            #       // ask for pingback
     1478            #       self::ask_for_pingback(296);
     1479            #   }
     1480            #}
    14831481        }
    14841482    }
     
    14881486    */
    14891487    static function ask_for_pingback($after_time=300) {
    1490         if ($after_time<296) {
    1491             $after_time=296;
    1492         }
    1493 
    1494         $data = array();
    1495         $data["site_url"] = get_site_url();
    1496         $data["after_time"] = $after_time;
    1497 
    1498         wp_remote_post("https://collect.wpbenchmark.io/ping_me_back.php", array("body"=>$data));
     1488        #if ($after_time<296) {
     1489        #   $after_time=296;
     1490        #}
     1491
     1492        #$data = array();
     1493        #$data["site_url"] = get_site_url();
     1494        #$data["after_time"] = $after_time;
     1495
     1496        # wp_remote_post("https://collect.wpbenchmark.io/ping_me_back.php", array("body"=>$data));
    14991497
    15001498        return true;
Note: See TracChangeset for help on using the changeset viewer.