wp-favorite-posts
wp-favorite-posts copied to clipboard
This WordPress plugin allows visitors to add favorite posts.
Fix warning if $post is empty
I have a problem with wpfp_link() function and PHP 8.0: ` PHP Fatal error: Uncaught Error: Attempt to modify property "ID" on null in /wp-content/plugins/wp-favorite-posts/wp-favorite-posts.php:152 Stack trace: #0 /wp-content/plugins/wp-favorite-posts/wp-favorite-posts.php(80): wpfp_link()...
I worked on a site that was "pen" tested recently and to cut a long story short - it was pulled up on not using nonces. It was using this...