• Publicize is automatically posting to our social media even though we have this code in our functions.php (which worked up until today.)

    // uncheck publicize box for jetpack by default
    add_filter( ‘publicize_checkbox_default’, ‘__return_false’ );

    We have turned off Publicize for now until we hear from support.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter richmurphycctv

    (@richmurphycctv)

    Folo up reference link. I found the information on doing this at:

    https://jetpack.com/2013/10/15/ever-accidentally-publicize-a-post-that-you-didnt/

    Ever accidentally publicize a post that you didn’t mean to?
    POSTED ON OCTOBER 15, 2013 BY JEREMY
    Ever accidentally publicize a post that you didn’t mean to? This snippet will prevent the connections from being auto-selected, so you need to manually select them if you’d like to publicize something.

    1
    add_filter( ‘publicize_checkbox_default’, ‘__return_false’ );
    You can place this code snippet in your theme’s functions.php file, or in a functionality plugin.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    Could you walk me through the steps you usually follow to publish your posts? Do you post via the dashboard, or via a third-party editor? If you post from your dashboard, can you confirm that the checkboxes are unchecked when you hit the Publish button?

    If you save your post as a draft before to post, do the checkboxes remain unchecked?

    Could you also give me an example of a post where you experienced that issue? If you want your site URL to remain private, you can also contact us via this contact form:
    https://jetpack.com/contact-support/

    Thread Starter richmurphycctv

    (@richmurphycctv)

    We publish posts through the WP dashboard. The checkboxes are unchecked when we save as draft as a default by the line of php I have in functions. add_filter( ‘publicize_checkbox_default’, ‘__return_false’ );

    Earlier I checked, saved as draft. When I went back to uncheck, the checkboxes were empty.

    I deactivated Publicize earlier today, but a post just published posted to our social media.
    This one: https://www.cctv-america.com/2016/09/07/china-pledges-improved-relations-during-asean-summit

    When I went to check Jetpack settings and publicize was turned back on. I deactivated again, refreshed and it was activated again. WTF? Happened twice. it won’t stay deactivated.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    When I went to check Jetpack settings and publicize was turned back on. I deactivated again, refreshed and it was activated again. WTF? Happened twice. it won’t stay deactivated.

    That’s weird indeed. Would you mind contacting us via this contact form, so we can run some tests on your site with you?

    Thanks!

    Thread Starter richmurphycctv

    (@richmurphycctv)

    I may have a clue for you to research. When I deactivated from the new dashboard (https://www.cctv-america.com/wp-admin/admin.php?page=jetpack#/engagement) in Jetpack it reactivated numerous times.

    When I went to Jetpack settings in the plugins on my WP dashboard and deactivated there, it stuck and did not reactivate. https://www.cctv-america.com/wp-admin/admin.php?page=jetpack_modules

    At the same time, I also took the line out of functions.php for now. add_filter( ‘publicize_checkbox_default’, ‘__return_false’ );

    I don’t know which change had the effect on deactivation. But the dashboard change makes more sense to me.

    BTW: I did file this issue in a contact form yesterday.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    I did file this issue in a contact form yesterday.

    Excellent! We’ll get back to you soon on that! Thanks for your patience.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    I believe I may have found the source of the problem; I was able to reproduce the issue, and it seems to be a bug in Jetpack. We’ll work on getting this fixed, and you can follow our progress here:
    https://github.com/Automattic/jetpack/issues/5149

    I’ll also post again here as soon as I have news about this!

    Thread Starter richmurphycctv

    (@richmurphycctv)

    There was an update to Jetpack this morning. Is this the fix.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    No, this hasn’t been fixed yet, unfortunately. I’ll let you know when a fix is available.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    This should now be fixed. Give it a try, and let me know if you still experience issues.

    Sorry again for the inconvenience.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Publicize auto posting to social despite checkbox_default’, ‘__return_false’ is closed to new replies.