Jetpack 4.0.3: Critical Security Update

Jetpack 4.0.3 contains a critical security update, and you should update all the sites you manage as soon as possible. You can update through your dashboard, or download Jetpack manually here.

jetpack-security

Continue reading → Jetpack 4.0.3: Critical Security Update

Posted in Releases | Tagged , , | 2 Comments

Hook of the Month: Customize Modules, Shortcodes, and Widgets

Whether you’re a blogger, a business owner, or a developer – Jetpack comes with many different features you can use to build your site, write your posts, and promote them. However, you may not use all of these features. This month, we’ll discover how to use filters to customize the list of features added by Jetpack.

Photo: Andrewfhart / Flickr

Photo: Andrewfhart / Flickr

Use filters to customize the Jetpack features available on your site

Posted in Code snippets, Tips & Tricks | Tagged , , , , , | 1 Comment

Jetpack 3.9.5 and 3.9.6: Maintenance Releases

WordPress 4.5 will be released in a few weeks, and we’ve made updates to Jetpack to account for the significant changes that will be introduced in this new version of WordPress.

These updates have involved making sure that certain Jetpack features work properly in the Customizer view, namely adding support for selective refresh. Big thanks to @westonruter for contributing the code!

Other enhancements and bug fixes:

miguel

  • Contact Form: no longer calling the datepicker method if it’s not available.
  • Single Sign On: settings checkboxes now honor filters and constants that restrict certain sign-in modes.
  • Shortcodes: fixed a problem with Gist fetching.
  • Shortcodes: fixed invalid HTML5 markup in YouTube embed code.
  • Shortcodes: made Vimeo links work properly in case of multiple mixed uses in one post.

Thanks to everyone who contributed to 3.9.5:

Christopher Finke, Derek Smart, Elio Rivero, Igor Zinovyev, Jeremy Herve, Matt Wiebe, Michael Cain, Miguel Lezama, Mo Jangda, Philip John, Tammie Lister, and Weston Ruter.

Jetpack 3.9.6 was also released today to fix an issue with some comments incorrectly rendering video embeds. Our apologies! Consider it an early April Fools’ Day joke…

Posted in Releases | Tagged , , , , , | Comments Off on Jetpack 3.9.5 and 3.9.6: Maintenance Releases

Jetpack 3.8.2 – Photon and YouTube Shortcode Fixes

Jetpack 3.8.2 is out! In this release, we focused on fixing a few specific and annoying bugs that popped up.

Jetpack – Supercharge your WordPress

Photon:

We fixed a regression created in version 3.8.1 where Photon did not respect some custom image sizes from other plugins or themes. Photon respects all image sizes again.

YouTube Shortcode:

WordPress 4.4 made some changes to the way Shortcodes are parsed, which broke our YouTube shortcode.  We’re now filtering this shortcode to output properly so you don’t need to go back update your shortcodes in your existing posts – we’ve taken care of that for you.

Wufoo Shortcode:

We’ve tightened up security in the Wufoo shortcode.  If you use this shortcode, you should upgrade to 3.8.2 as soon as possible.

Other minor fixes:

We’ve also cleared up a couple very minor bugs with Carousel, Publicize, Google+ widget, and Infinite Scroll.

Contributors for this release include Aaron Graham, Alex Mills, Alexander Concha, Brandon Kraft, Derek Smart, Eduardo Reveles, Elio Rivero, Eric Binnion, Igor Zinovyev, Jeremy Herve, Kat Hagan, Lance Willett, Miguel Lezama, Rocco Tripaldi, Sam Hotchkiss, and Takashi Irie.

Thank you for your contributions!

See full changelog.

Posted in Releases | Tagged , , , | 3 Comments

How to disable specific shortcodes in Jetpack

Jetpack includes many shortcodes allowing you to embed videos, audio files, images, and other media into your posts.

If you want to deactivate a specific shortcode without deactivating the Shortcodes module, you can add the following code to your theme’s functions.php file, or to a functionality plugin:

function my_remove_shortcode_function( $shortcodes ) {
	$jetpack_shortcodes_dir = WP_CONTENT_DIR . '/plugins/jetpack/modules/shortcodes/';
	
	$shortcodes_to_unload = array( 'ted.php', 'soundcloud.php', );

	foreach ( $shortcodes_to_unload as $shortcode ) {
		if ( $key = array_search( $jetpack_shortcodes_dir . $shortcode, $shortcodes ) ) {
			unset( $shortcodes[$key] );
		}
	}
		
	return $shortcodes;
}
add_filter( 'jetpack_shortcodes_to_include', 'my_remove_shortcode_function' );

In the code above, you’ll need to add to or remove shortcodes from the $shortcodes_to_unload array. It requires the file name of the shortcode you want to deactivate.

Posted in Code snippets, Tips & Tricks | Tagged | Comments Off on How to disable specific shortcodes in Jetpack
  • Recent Comments

    Muş Emlak on Jetpack 4.1: Secure Sign On Im…
    Jakob Boman on Jetpack 4.1: Secure Sign On Im…
    Jeremy on Jetpack 4.1: Secure Sign On Im…
    frenckcoppola on Jetpack 4.1: Secure Sign On Im…
    Jeremy on Jetpack 4.1: Secure Sign On Im…
  • Archives

  • Enter your email address to follow this blog and receive notifications of new posts by email.

  • Install Jetpack to see our line-up of features.

    Install Jetpack Now

    Don’t need all Jetpack’s features? No problem. Only activate what you need!

    Follow

    Get every new post delivered to your Inbox.

    Join 56,602 other followers