Robert
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Job Manager] Empty Trash via WPCLIwp post delete $(wp post list --post_status=trash --format=ids)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: 524946The content of the test request I see in the debugger starts with:
RIFF� WEBPVP8LForum: Plugins
In reply to: [Stop Spammers Classic] class error in kpg_ss_challengeYour last update was 10 months ago. What is your release plan for the next version?
Forum: Plugins
In reply to: [Stop Spammers Classic] class error in kpg_ss_challengeI 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
$posttwo 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
$postparameter from the function call as well as from the function definition.- This reply was modified 9 years, 3 months ago by Robert.
Sure, thanks for answering. Here it is: https://github.com/RavanH/xml-sitemap-feed/pull/7
Sidenote: I was unable to find that Github-Repo because under the developers tab on ww.wp.xz.cn there is just the SVN repo.
- This reply was modified 9 years, 6 months ago by Robert.
Forum: Plugins
In reply to: [Exploit Scanner] PHP7 compatibilityYep, the code worked for me and what is the best test: it also worked for @slushman
Forum: Plugins
In reply to: [More Privacy Options] Clean PHP Programming – avoid PHP Noticespull request created at Github Pull Request #1
Forum: Plugins
In reply to: [Broken Link Checker] V1.10.10: Deprecated Constructor in Deprecated_LogI 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
In reply to: [Redirection] php 7 – RE_Log has a deprecated constructorI 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
In reply to: [AppBanners] Please add option for avoiding …Your response time is amazing. Did not know about
checked. Thanks for incorporating the change.We use as custom callback “ajaxComplete”. Can I somehow issue a pull request? Are you on GitHub?
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.