• Resolved BackuPs

    (@backups)


    Hi

    Notice: Trying to get property of non-object in /home/public_html/wp-content/plugins/simple-share-buttons-adder/simple-share-buttons-adder.php on line 674

    please change line 674 in simple-share-buttons-adder.php

    to in order to get rid of notification message in admin area.

    if (isset($post->post_content) && preg_match_all( '/'. $pattern .'/s', $post->post_content, $matches )
    			&& array_key_exists( 2, $matches )
    			&& in_array('ssba_hide', $matches[2])
    			&& $booShortCode == FALSE) {
    
    			// exit the function returning the content without the buttons
    			return $content;
    		}

    Thank you !

    https://www.ads-software.com/plugins/simple-share-buttons-adder/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi BackuPs,

    Thanks so much for posting this. It really helped me.

    David, is there a plan to integrate this in a future version?

    Thank you!

    Plugin Author Simple Share

    (@davidoffneal)

    Thank you for taking the time to report this and provide a fix to the notice.

    I have made the change locally and the next release will include the fix.

    David

    Thread Starter BackuPs

    (@backups)

    Hi David,

    No, a Big Thank you for making such a great plugin !

    Hi David,

    Thanks for the update. I downloaded and installed version 5.6, but I don’t see the fix for this…
    Is that possible?

    Thank you for a great plugin
    Lea

    It is still an issue
    The fix would be appreciated
    Thanks

    Plugin Author Simple Share

    (@davidoffneal)

    My apologies, this was omitted from the current release. I have made the change and it shall be included in the next version.

    Thanks,

    David

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Please change code to get rid of notification message’ is closed to new replies.