#Jetpack testing session last night before dim sum.
jetpack
a8cgm Austin automattic bowen island cloudfest development do_action git github harley davidson hero instagram iOS javascript jetpack kareless latergram lonestardrift meetup mercury officetoday photo101 photos php phptek pistol pokemongo Programming react rome scm ted travelmattic vancouver video wcbos wcdfw wcokc wcus whistler wichita falls woocommerce wooconf wordcamp WordPress
-
-
-
-
-
-
-
How to Use Jetpack Photon for WordPress Header Image
When doing some performance testing of the new site design, I realized that the header image wasn’t being processed by Photon.
Since there’s a filter for almost everything in WordPress, I look around a bit and found the theme_mod_$name filter.
/** * Filters the theme modification, or 'theme_mod', value. * * The dynamic portion of the hook name, $name, refers to * the key name of the modification array. For example, * 'header_textcolor', 'header_image', and so on depending * on the theme options. * * @since 2.2.0 * * @param string $current_mod The value of the current theme modification. */ return apply_filters( "theme_mod_{$name}", $mods[$name] );Using that filter, we can then modify the image source so that the image will be handled by Jetpack’s Photon.
add_filter( 'theme_mod_header_image', 'moh_photonize_header_image' ); function moh_photonize_header_image( $image ) { if ( $image && function_exists( 'jetpack_photon_url' ) ) { $image = jetpack_photon_url( $image ); } return $image; }At this point, if you were to reload your home page and check the source for your header image, you’ll notice that the image has something like
i1.wp.comin front of it. This means that our little snippet worked.What I haven’t yet figured out is how to properly set the width and height arguments for the image since we only have the URL and not an image attachment. ¯_(?)_/¯
-
The All-New Jetpack: Let’s See How You React
The Jetpack UI has been completely overhauled in 4.3. Release candidate 1 dropped today, so be sure to give it a spin.
The easiest way to test Jetpack 4.3 is to use the Jetpack Beta plugin.
Jetpack 4.3 is coming out next week! It’s the culmination of thousands of hours of work from dozens of talented engineers and designers. The Jetpack interface has been completely rethought …
Source: The All-New Jetpack: Let’s See How You React — Jetpack for WordPress
-
Jetpack 4.2 and 4.2.1: Performance Improvements and More
Jetpack 4.2.1 dropped today.
We had a rough start last week, but have since been hard at work fixing the performance issues that we had on large networks (8 Million+ users), so be sure to check out the updates for your WordPress site and get the latest version!
While I came in late to the project, having spent the past month or two focusing on SSO for 4.1, it’s been an honor to work with my Poseidon team (Miguel Lezama, Dan Walmsley, Enej Bajgoric) to get this out the door. Many thanks to all Automatticians who also helped make this a possibility by settings up systems, testing, providing feedback, etc.
Jetpack 4.2 and 4.2.1 brings you performance improvements along with some important security updates and enhancements to existing Jetpack modules.
Source: Jetpack 4.2 and 4.2.1: Performance Improvements and More — Jetpack for WordPress
-
Jetpack 4.1: My first large contribution to Jetpack
While I have contributed to a few Jetpack releases in the past, Jetpack 4.1 is the first release where I have contributed a significant amount of work.
The past couple of months I have worked hard on refreshing the Single Sign On (SSO) module. SSO makes it as easy as clicking a button to log in to a self-hosted WordPress site!
It was a fun project because I got to touch several different code bases, including: Jetpack, the WordPress.com API, Calypso (JavaScript version of WordPress.com), and the PHP parts of WordPress.com. Also, for each code base, unit tests were either created or updated.
Personally, this was an exciting release for me, but I’m stoked for the next two releases. We have some great UI and performance updates coming.
Check it out
Jetpack 4.1 dropped today. You can check out the release post for more information, or just head to your dashboard to update to the latest.
Jetpack 4.1 is here and it’s packed with performance improvements, new features, improvements to existing features, and bug fixes!
Source: Jetpack 4.1: Secure Sign On Improvements, Two New Sharing Buttons, and More — Jetpack for WordPress
Join our amazing team
While I did have the opportunity to write most of the SSO code for the release, the SSO refresh in 4.1 was only possible because of the amazing team we have.
- Rick Banister and Michael Arestad provided mocks as well feedback on the UX and UI.
- Brandon Kraft provided lots of feedback, pointed out old issues as well as conflicts with other plugins, and even created a core patch to add more actions to the login form.
- Jeremy Herve did a ton of work getting the release ready.
- The entire division participated in pre-release testing.
- My team reviewed my code and listened to my complaining.
If you’re interested in joining our team, we’re always hiring.















