jetpack icon indicating copy to clipboard operation
jetpack copied to clipboard

Publicize: publicize_checkbox_default filter not respected

Open RCowles opened this issue 11 years ago • 23 comments

The publicize_checkbox_default filter no longer seems to be working to prevent Publicize connections from being auto-selected.

Steps to repro:

  1. On a site with active Publicize connections, include add_filter( 'publicize_checkbox_default', '__return_false' ); in functions.php or a functionality plugin.
  2. Create a new post: Dashboard > Posts > Add New.
  3. Note the Publicize options in the Publish meta box.

Expected: No options are selected. Actual: All options are selected.

It's worth noting that after clicking the "Edit Details" link that the checkboxes are then deselected. Here is a gif for reference: pub

RCowles avatar Jan 27 '15 16:01 RCowles

This is also not respected when posting from android or importing stuff from like ifttt.com. It only works from desktop.

AnnaMariaEriksson avatar Feb 16 '15 13:02 AnnaMariaEriksson

@jeherve + @jkudish - this seems to be a good candidate for the Publicize Next ( https://github.com/Automattic/jetpack/milestones/Publicize%20Next ) milestone - no?

allendav avatar May 01 '15 23:05 allendav

This filter is likely to die off soon and be replaced with something else. Stay tuned.

jkudish avatar May 02 '15 03:05 jkudish

Also reported here: https://wordpress.org/support/topic/publicize-options?replies=4#post-6941787

RCowles avatar May 13 '15 22:05 RCowles

Also reported here: https://wordpress.org/support/topic/opt-in-to-publicize-to-facebook-instead-of-opt-out?replies=1

csonnek avatar May 11 '16 20:05 csonnek

Also here: 2750972-t

danjjohnson avatar Aug 01 '16 13:08 danjjohnson

Is this going to be fixed?

RoySmyth avatar Jan 31 '17 22:01 RoySmyth

@RoySmyth This will be fixed, but I'm afraid I don't have an ETA yet. We'll update this issue as soon as we start working on the problem.

jeherve avatar Feb 01 '17 12:02 jeherve

So, what is the deal with this? Will it be fixed? Will it be replaced by something else?

axtho avatar Nov 23 '17 12:11 axtho

@axtho We are not working on Publicize right now, but when we do we'll update this issue.

jeherve avatar Nov 23 '17 18:11 jeherve

Good news. I figured out a workaround.

First, install the Add Admin Javascript plugin.

Then in the plugin settings "Admin jQuery JavaScript" box, paste the following script:

/* Disable Jetpack Publicize by default */ $('.wpas-submit-facebook, .wpas-submit-twitter, .wpas-submit-linkedin, .wpas-submit-tumblr, .wpas-submit-path, .wpas-submit-google_plus').prop('checked', false);

mattszcz avatar Nov 28 '17 16:11 mattszcz

Any clues on when you'll work on Publicize and fix this?

arunsathiya avatar Dec 17 '17 17:12 arunsathiya

@arunsathiya We do not have an ETA for this fix right now, but we'll update this issue when we do.

jeherve avatar Dec 18 '17 08:12 jeherve

932618-zen

richardmtl avatar Feb 09 '18 21:02 richardmtl

Is there an open issue that tracks the need to prevent plugins (like UltimateMember) from causing Publicize to fire during plugin activation?

ChipNowacek avatar Feb 11 '18 21:02 ChipNowacek

@ChipNowacek Not yet. Could you create a new issue and tell us more about that problem?

Thank you!

jeherve avatar Feb 12 '18 17:02 jeherve

1337327-zen

dericleeyy avatar Aug 11 '18 08:08 dericleeyy

1350197-zen

snowmads avatar Aug 15 '18 22:08 snowmads

1443744-zen

kriskorn avatar Sep 26 '18 11:09 kriskorn

1464622-zen https://developer.jetpack.com/hooks/publicize_checkbox_default/#comment-13714

RCowles avatar Oct 09 '18 13:10 RCowles