Hi. Is this still supported?
I’m getting a lot of warning errors PHP Warning: Invalid argument supplied for foreach() in /home/xxxxx/public_html/account1/xxxxx/wp-content/plugins/hide-trackbacks/hide-trackbacks.php on line 112
Thank you
]]>Hello!
The function create_function() is deprecated in php 7.2, it’s showing a warning.
It’s relating to this line in the hide-trackbacks.php:
add_action('plugins_loaded', create_function('', 'global $svd_hide_trackbacks; $svd_hide_trackbacks = new SVD_HideTrackbacks();'));
Are you still supporting this plugin and would you be able to offer an update for it?
Thanks a lot! ??
]]>Well – hope this can be updated. This warning message appears if the plugin is activated on a site running PHP 7.0.
“Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; SVD_HideTrackbacks has a deprecated constructor in /srv/www/htdocs/wp-content/plugins/hide-trackbacks/hide-trackbacks.php on line 32”
]]>The plugin is hiding legitimate comments. Seems to be limited to the last three comments posted.
]]>Hi,
Nice plugin. But I found a problem when combining it with paged comments.
If paged comments is enabled, and a post has lots of ping/trackbacks, the page number is calculated incorrectly after posting a comment. For example, suppose there are 30 comments and 20 trackbacks, with 20 comments per page. Therefore there are 2 pages of comments. But now try posting a comment. The comment is submitted, but then redirects to “…/comment-page-3”, which displays no comments. The page counter should ignore the pingbacks and redirect to comment-page-2.
There must be some piece of code somewhere in WP that is bypassing the Hide Trackbacks filters and getting the full comment count.
]]>Accidentily submitted the add new plugin form without adding a download link. My apologies. Correction below.
Download link:
https://dl.dropbox.com/u/70903/temp/hide-trackbacks.zip