Title: Robert's Replies | WordPress.org

---

# Robert

  [  ](https://wordpress.org/support/users/e2robert/)

 *   [Profile](https://wordpress.org/support/users/e2robert/)
 *   [Topics Started](https://wordpress.org/support/users/e2robert/topics/)
 *   [Replies Created](https://wordpress.org/support/users/e2robert/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/e2robert/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/e2robert/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/e2robert/engagements/)
 *   [Favorites](https://wordpress.org/support/users/e2robert/favorites/)

 Search replies:

## Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Job Manager] Empty Trash via WPCLI](https://wordpress.org/support/topic/empty-trash-via-wpcli/)
 *  [Robert](https://wordpress.org/support/users/e2robert/)
 * (@e2robert)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/empty-trash-via-wpcli/#post-17409011)
 * `wp post delete $(wp post list --post_status=trash --format=ids)`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[EWWW Image Optimizer] WebP rules verified, but self-test failed: WebP response failed mime-type test.](https://wordpress.org/support/topic/webp-rules-verified-but-self-test-failed-webp-response-failed-mime-type-test/)
 *  [Robert](https://wordpress.org/support/users/e2robert/)
 * (@e2robert)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/webp-rules-verified-but-self-test-failed-webp-response-failed-mime-type-test/#post-15449384)
 * I also have the same issue, although browsers do show the Webp image.
 *     ```
       ewww_image_optimizer_test_webp_mime_error()
       webp (real-world) verification succeeded
       png mime check failed: 524946
       ```
   
 * The content of the test request I see in the debugger starts with: `RIFF� WEBPVP8L`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Stop Spammers Classic] class error in kpg_ss_challenge](https://wordpress.org/support/topic/class-error-in-kpg_ss_challenge/)
 *  [Robert](https://wordpress.org/support/users/e2robert/)
 * (@e2robert)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/class-error-in-kpg_ss_challenge/#post-8811406)
 * Your last update was 10 months ago. What is your release plan for the next version?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Stop Spammers Classic] class error in kpg_ss_challenge](https://wordpress.org/support/topic/class-error-in-kpg_ss_challenge/)
 *  [Robert](https://wordpress.org/support/users/e2robert/)
 * (@e2robert)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/class-error-in-kpg_ss_challenge/#post-8748860)
 * I got a lot of errors as well. The line 383 reads as:
 *     ```
       public function kpg_ss_add_allow($ip,$options=array(),$stats=array(),$post=array(),$post=array()) {
       ```
   
 * As you can see there is a parameter defined as `$post` two times.
    Its also called
   like:
 *     ```
       $allowset=$this->kpg_ss_add_allow($ip,$options,$stats,$post,$post);
       ```
   
 *  from line 60
 * The fix might be very easy, by removing the 2nd `$post` parameter from the function
   call as well as from the function definition.
    -  This reply was modified 9 years, 5 months ago by [Robert](https://wordpress.org/support/users/e2robert/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[XML Sitemap & Google News] Object cache issue results in outdated last-modified values on index sitemap](https://wordpress.org/support/topic/object-cache-issue-results-in-outdated-last-modified-values-on-index-sitemap/)
 *  Thread Starter [Robert](https://wordpress.org/support/users/e2robert/)
 * (@e2robert)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/object-cache-issue-results-in-outdated-last-modified-values-on-index-sitemap/#post-8375360)
 * Sure, thanks for answering. Here it is: [https://github.com/RavanH/xml-sitemap-feed/pull/7](https://github.com/RavanH/xml-sitemap-feed/pull/7)
 * Sidenote: I was unable to find that Github-Repo because under the developers 
   tab on wordpress.org there is just the SVN repo.
    -  This reply was modified 9 years, 8 months ago by [Robert](https://wordpress.org/support/users/e2robert/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Exploit Scanner] PHP7 compatibility](https://wordpress.org/support/topic/php7-compatibility-12/)
 *  Thread Starter [Robert](https://wordpress.org/support/users/e2robert/)
 * (@e2robert)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/php7-compatibility-12/#post-8172095)
 * Yep, the code worked for me and what is the best test: it also worked for [@slushman](https://wordpress.org/support/users/slushman/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[More Privacy Options] Clean PHP Programming – avoid PHP Notices](https://wordpress.org/support/topic/clean-php-programming-avoid-php-notices/)
 *  Thread Starter [Robert](https://wordpress.org/support/users/e2robert/)
 * (@e2robert)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/clean-php-programming-avoid-php-notices/#post-7387288)
 * pull request created at [Github Pull Request #1](https://github.com/wp-plugins/more-privacy-options/pull/1)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Broken Link Checker] V1.10.10: Deprecated Constructor in Deprecated_Log](https://wordpress.org/support/topic/v11010-log-deprecated-notices/)
 *  [Robert](https://wordpress.org/support/users/e2robert/)
 * (@e2robert)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/v11010-log-deprecated-notices/#post-6875462)
 * I found an additional one in table-printer.php. The list now reads as:
 *     ```
       File: wp-content/plugins/broken-link-checker/core/core.php
       > Line 40: PHP 4 constructors are now deprecated
           function wsBrokenLinkChecker($loader, $conf)
           {
           }
   
       File: wp-content/plugins/broken-link-checker/includes/admin/table-printer.php
       > Line 28: PHP 4 constructors are now deprecated
           function blcTablePrinter($core)
           {
           }
   
       File: wp-content/plugins/broken-link-checker/includes/screen-meta-links.php
       > Line 31: PHP 4 constructors are now deprecated
           function wsScreenMetaLinks11()
           {
           }
   
       File: wp-content/plugins/broken-link-checker/includes/module-base.php
       > Line 32: PHP 4 constructors are now deprecated
           function blcModule($module_id, $cached_header, &$plugin_conf, &$module_manager)
           {
           }
   
       File: wp-content/plugins/broken-link-checker/includes/config-manager.php
       > Line 23: PHP 4 constructors are now deprecated
           function blcConfigurationManager($option_name = '', $default_settings = null)
           {
           }
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Redirection] php 7 – RE_Log has a deprecated constructor](https://wordpress.org/support/topic/php-7-re_log-has-a-deprecated-constructor/)
 *  [Robert](https://wordpress.org/support/users/e2robert/)
 * (@e2robert)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/php-7-re_log-has-a-deprecated-constructor/#post-6883875)
 * I also conducted PHP7 compatibility tests on our WordPress pages and the following
   messages are relevant for your project:
 *     ```
       $ vendor/bin/php7cc --no-interaction --except=cache --except=wp-admin --except=wp-includes . .
   
       File: wp-content/plugins/redirection/models/match.php
       > Line 6: PHP 4 constructors are now deprecated
           function Red_Match($values = '')
           {
           }
   
       File: wp-content/plugins/redirection/models/action.php
       > Line 5: PHP 4 constructors are now deprecated
           function Red_Action($values)
           {
           }
   
       File: wp-content/plugins/redirection/models/redirect.php
       > Line 21: PHP 4 constructors are now deprecated
           function Red_Item($values, $type = '', $match = '')
           {
           }
   
       File: wp-content/plugins/redirection/models/log.php
       > Line 12: PHP 4 constructors are now deprecated
           function RE_Log($values)
           {
           }
       > Line 148: PHP 4 constructors are now deprecated
           function RE_404($values)
           {
           }
       ```
   
 * What these messages mean: You need to specify the constructor as `function __construct()`.
   If you want you can still obtain PHP4 compatibility by keeping the PHP4-style
   constructors like:
 *     ```
       function RE_LOG($values) {
          $this->__construct($values);
       }
       function __construct( $values ) {
       	foreach ( $values AS $key => $value ) {
       		$this->$key = $value;
       	}
   
       	$this->created = mysql2date( 'U', $this->created );
       	$this->url = stripslashes( $this->url );
       }
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AppBanners] Please add option for avoiding …](https://wordpress.org/support/topic/please-add-option-for-avoiding/)
 *  Thread Starter [Robert](https://wordpress.org/support/users/e2robert/)
 * (@e2robert)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/please-add-option-for-avoiding/#post-6502037)
 * Your response time is amazing. Did not know about `checked`. Thanks for incorporating
   the change.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Responsive Lightbox & Gallery] Infinite scrolling causes galleries to be re-initialized!](https://wordpress.org/support/topic/infinite-scrolling-causes-galleries-to-be-re-initialized/)
 *  Thread Starter [Robert](https://wordpress.org/support/users/e2robert/)
 * (@e2robert)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/infinite-scrolling-causes-galleries-to-be-re-initialized/#post-6369513)
 * We use as custom callback “ajaxComplete”. Can I somehow issue a pull request?
   Are you on GitHub?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Responsive Lightbox & Gallery] Infinite scrolling causes galleries to be re-initialized!](https://wordpress.org/support/topic/infinite-scrolling-causes-galleries-to-be-re-initialized/)
 *  Thread Starter [Robert](https://wordpress.org/support/users/e2robert/)
 * (@e2robert)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/infinite-scrolling-causes-galleries-to-be-re-initialized/#post-6369441)
 * Its a custom plugin that may not work in your environment. But any infinite scrolling
   should result in the same fault. By loading another page via Ajax in the background,
   all galleries are re-initialized. Those that were already here, are initialized
   a second time (causing troubles with tosrus) and the new ones get initialized
   once.

Viewing 12 replies - 1 through 12 (of 12 total)