jetpack
This commit is contained in:
parent
549be0e03c
commit
1aae9b6ab6
|
|
@ -23,6 +23,7 @@ function load_3rd_party() {
|
|||
'class.jetpack-amp-support.php',
|
||||
'class-jetpack-crm-data.php',
|
||||
'class-jetpack-modules-overrides.php', // Special case. Tools to be used to override module settings.
|
||||
'class-salesforce-lead-form.php', // not a module but the handler for Salesforce forms
|
||||
'creative-mail.php',
|
||||
'jetpack-backup.php',
|
||||
'jetpack-boost.php',
|
||||
|
|
@ -44,6 +45,27 @@ function load_3rd_party() {
|
|||
}
|
||||
|
||||
add_filter( 'jetpack_development_version', __NAMESPACE__ . '\atomic_weekly_override' );
|
||||
add_filter( 'jetpack_get_available_modules', __NAMESPACE__ . '\atomic_remove_modules' );
|
||||
|
||||
if ( ( new Host() )->is_atomic_platform() && ! defined( 'DISABLE_JETPACK_WAF' ) ) {
|
||||
define( 'DISABLE_JETPACK_WAF', true );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Disables modules not compatible with the Atomic platform.
|
||||
*
|
||||
* @param array $modules Filterable value for `jetpack_get_available_modules.
|
||||
*
|
||||
* @return array Array of module slugs.
|
||||
*/
|
||||
function atomic_remove_modules( $modules ) {
|
||||
if ( ( new Host() )->is_atomic_platform() ) {
|
||||
// WAF should never be available on the Atomic platform.
|
||||
unset( $modules['waf'] );
|
||||
}
|
||||
|
||||
return $modules;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -0,0 +1,142 @@
|
|||
<?php
|
||||
/**
|
||||
* Salesforce Lead Form using Jetpack Contact Forms.
|
||||
*
|
||||
* @package automattic/jetpack
|
||||
*/
|
||||
|
||||
namespace Automattic\Jetpack;
|
||||
|
||||
/**
|
||||
* Class Salesforce_Lead_Form
|
||||
*
|
||||
* Hooks on Jetpack's Contact form to send form data to Salesforce.
|
||||
*/
|
||||
class Salesforce_Lead_Form {
|
||||
/**
|
||||
* Salesforce_Contact_Form constructor.
|
||||
* Hooks on `grunion_after_feedback_post_inserted` action to send form data to Salesforce.
|
||||
*/
|
||||
public static function initialize() {
|
||||
add_action( 'grunion_after_feedback_post_inserted', array( __CLASS__, 'process_salesforce_form' ), 10, 4 );
|
||||
}
|
||||
|
||||
/**
|
||||
* Process Salesforce Lead forms
|
||||
*
|
||||
* @param int $post_id - the post_id for the CPT that is created.
|
||||
* @param array $fields - Grunion_Contact_Form_Field array.
|
||||
* @param bool $is_spam - marked as spam by Akismet(?).
|
||||
* @param array $entry_values - extra fields added to from the contact form.
|
||||
*
|
||||
* @return null|void
|
||||
*/
|
||||
public static function process_salesforce_form( $post_id, $fields, $is_spam, $entry_values ) {
|
||||
// if spam (hinted by akismet?), don't process
|
||||
if ( $is_spam ) {
|
||||
return;
|
||||
}
|
||||
|
||||
$blocks = parse_blocks( get_the_content() );
|
||||
|
||||
$filtered_blocks = self::get_salesforce_contact_form_blocks( $blocks );
|
||||
|
||||
// no contact-form blocks with salesforceData and organizationId, move on
|
||||
if ( empty( $filtered_blocks ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// more than one form on post, skipping process
|
||||
if ( count( $filtered_blocks ) > 1 ) {
|
||||
return;
|
||||
}
|
||||
|
||||
$attrs = $filtered_blocks[0]['attrs']['salesforceData'];
|
||||
$organization_id = $attrs['organizationId'];
|
||||
// Double sanity check: no organization ID? Abort.
|
||||
if ( empty( $organization_id ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
$keyed_fields = array_map(
|
||||
function ( $field ) {
|
||||
return $field->value;
|
||||
},
|
||||
$fields
|
||||
);
|
||||
|
||||
// this is yet TBD, campaign IDs are hard to get from SF app/UI, but if
|
||||
// the user filled it, then send as API field Campaign_ID
|
||||
if ( ! empty( $attrs['campaignId'] ) ) {
|
||||
$keyed_fields['Campaign_ID'] = $attrs['campaignId'];
|
||||
}
|
||||
|
||||
// add post/page URL as lead_source
|
||||
$keyed_fields['lead_source'] = $entry_values['entry_permalink'];
|
||||
$keyed_fields['oid'] = $organization_id;
|
||||
|
||||
// we got this far, try and send it. Need to check for errors on submit
|
||||
try {
|
||||
self::send_to_salesforce( $keyed_fields );
|
||||
} catch ( \Exception $e ) {
|
||||
// phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_trigger_error
|
||||
trigger_error( sprintf( 'Jetpack Form: Sending lead to Salesforce failed: %s', esc_html( $e->getMessage() ) ) );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* POST to Salesforce WebToLead servlet
|
||||
*
|
||||
* @param array $data The data key/value pairs to send in POST.
|
||||
* @param array $options Options for POST.
|
||||
*
|
||||
* @return array|WP_Error The result value from wp_remote_post
|
||||
*/
|
||||
public static function send_to_salesforce( $data, $options = array() ) {
|
||||
global $wp_version;
|
||||
|
||||
$user_agent = "WordPress/{$wp_version} | Jetpack/" . constant( 'JETPACK__VERSION' ) . '; ' . get_bloginfo( 'url' );
|
||||
$url = 'https://webto.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8';
|
||||
$args = array(
|
||||
'body' => $data,
|
||||
'headers' => array(
|
||||
'Content-Type' => 'application/x-www-form-urlencoded',
|
||||
'user-agent' => $user_agent,
|
||||
),
|
||||
'sslverify' => empty( $options['sslverify'] ) ? false : $options['sslverify'],
|
||||
);
|
||||
|
||||
$args = apply_filters( 'jetpack_contactform_salesforce_request_args', $args );
|
||||
return wp_remote_post( $url, $args );
|
||||
}
|
||||
|
||||
/**
|
||||
* Extracts any jetpack/contact-form found on post.
|
||||
*
|
||||
* @param array $block_array - Array of blocks.
|
||||
*
|
||||
* @return array Array of jetpack/contact-form blocks found.
|
||||
*/
|
||||
public static function get_salesforce_contact_form_blocks( $block_array ) {
|
||||
$jetpack_form_blocks = array();
|
||||
foreach ( $block_array as $block ) {
|
||||
if (
|
||||
$block['blockName'] === 'jetpack/contact-form' &&
|
||||
isset( $block['attrs']['salesforceData'] ) &&
|
||||
$block['attrs']['salesforceData'] &&
|
||||
isset( $block['attrs']['salesforceData']['sendToSalesforce'] ) &&
|
||||
$block['attrs']['salesforceData']['sendToSalesforce'] &&
|
||||
isset( $block['attrs']['salesforceData']['organizationId'] ) &&
|
||||
$block['attrs']['salesforceData']['organizationId']
|
||||
) {
|
||||
$jetpack_form_blocks[] = $block;
|
||||
} elseif ( isset( $block['innerBlocks'] ) ) {
|
||||
$jetpack_form_blocks = array_merge( $jetpack_form_blocks, self::get_salesforce_contact_form_blocks( $block['innerBlocks'] ) );
|
||||
}
|
||||
}
|
||||
|
||||
return $jetpack_form_blocks;
|
||||
}
|
||||
}
|
||||
|
||||
Salesforce_Lead_Form::initialize();
|
||||
|
|
@ -1,6 +1,7 @@
|
|||
<?php //phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
|
||||
|
||||
use Automattic\Jetpack\Assets;
|
||||
use Automattic\Jetpack\Stats\Tracking_Pixel as Stats_Tracking_Pixel;
|
||||
use Automattic\Jetpack\Sync\Functions;
|
||||
|
||||
/**
|
||||
|
|
@ -139,7 +140,6 @@ class Jetpack_AMP_Support {
|
|||
*/
|
||||
public static function amp_disable_the_content_filters() {
|
||||
if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
|
||||
add_filter( 'videopress_show_2015_player', '__return_true' );
|
||||
add_filter( 'protected_embeds_use_form_post', '__return_false' );
|
||||
remove_filter( 'the_title', 'widont' );
|
||||
}
|
||||
|
|
@ -178,10 +178,12 @@ class Jetpack_AMP_Support {
|
|||
* @since 6.2.1
|
||||
*/
|
||||
public static function add_stats_pixel() {
|
||||
if ( ! has_action( 'wp_footer', 'stats_footer' ) ) {
|
||||
if ( ! has_action( 'wp_footer', array( Stats_Tracking_Pixel::class, 'add_to_footer' ) ) ) {
|
||||
return;
|
||||
}
|
||||
stats_render_amp_footer( stats_build_view_data() );
|
||||
|
||||
$stats_data = Stats_Tracking_Pixel::build_view_data();
|
||||
Stats_Tracking_Pixel::render_amp_footer( $stats_data );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -334,10 +336,10 @@ class Jetpack_AMP_Support {
|
|||
* @return array Dimensions.
|
||||
*/
|
||||
private static function extract_image_dimensions_from_getimagesize( $dimensions ) {
|
||||
if ( ! ( defined( 'IS_WPCOM' ) && IS_WPCOM && function_exists( 'jetpack_require_lib' ) ) ) {
|
||||
if ( ! ( defined( 'IS_WPCOM' ) && IS_WPCOM && function_exists( 'require_lib' ) ) ) {
|
||||
return $dimensions;
|
||||
}
|
||||
jetpack_require_lib( 'wpcom/imagesize' );
|
||||
require_lib( 'wpcom/imagesize' );
|
||||
|
||||
foreach ( $dimensions as $url => $value ) {
|
||||
if ( is_array( $value ) ) {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,670 @@
|
|||
|
||||
### This is a list detailing changes for all Jetpack releases.
|
||||
|
||||
## 11.0 - 2022-06-07
|
||||
## 11.6 - 2022-12-06
|
||||
### Enhancements
|
||||
- Editor: adds an experimental editor extension that displays a placeholder blogging prompt when starting a new post. [#26680]
|
||||
- Form Block: fix form placeholder background color. [#27629]
|
||||
- Form Block: add a new form variation and template for a Salesforce Lead form. [#26903]
|
||||
- Form Block: enable editing placeholders on form input fields. [#27514]
|
||||
- Form Block: feedback export function is now integrated with the feedback table filters [#27427]
|
||||
- Form Block: improve the styling and formatting of the form submission page after a form block is submitted. [#27392]
|
||||
- Form Block: move the 'check for spam' buttont to below the responses table on the feedback page in WP Admin. [#27562]
|
||||
- Form Block: update design for Feedback table in WP Admin. [#27368]
|
||||
- Form Block: updates Form block placeholder to include pattern selection modal [#27337]
|
||||
- Form Block: updates Form block to allow layout blocks [#27410]
|
||||
- Form Block: updates URL validitity check [#27138]
|
||||
- Pre-Publish Panel: split out the email subscribers & social followers count in the pre-publish panel. [#27436]
|
||||
- SEO: add a 'noindex' checkbox for posts and pages. [#27409]
|
||||
- SEO: add a per post/page HTML title option. [#27236]
|
||||
- Stats: add stats option `enable_calypso_stats` to allow users to enable the new Calypso Stats experience [#27431]
|
||||
- Stats: conditionally load the new Calypso Stats package [#27247]
|
||||
- VideoPress: adds VideoPress feedback link to the VideoPress block. [#27450]
|
||||
- VideoPress: detect if the video has a vtt chapters file [#27544]
|
||||
- WordAds: add US Privacy support for additional states (Colorado, Connecticut, Utah, and Virginia). [#27045]
|
||||
|
||||
### Improved compatibility
|
||||
- Improves compatibility with the Jetpack Protect standalone plugin. [#26069]
|
||||
|
||||
### Bug fixes
|
||||
- Dashboard: fixes issue where default icon would be empty [#27511]
|
||||
- Form block: fix form patterns modal scrollbar behavior [#27692]
|
||||
- Form block: fix contact Form view responses URL [#27707]
|
||||
- Form block: add line breaks back to plain text email submissions. [#27723]
|
||||
- Provide a fix for WPA click tracking in Agencies card [#27503]
|
||||
- SSO: fix setting toggle inconsistency. [#27481]
|
||||
- Stats: stop stats loading indefinitely when a hashtag exists [#27539]
|
||||
- Widget Visibility: fix error with WooCommerce Product Categories block [#27542]
|
||||
|
||||
### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
|
||||
- Custom CSS: Removing compatibility checks and files for sites running WordPress versions < 4.7. [#27187]
|
||||
- Dashboard: Fix React javascscript:void console errors. [#27052]
|
||||
- Decouple the Jetpack subscription block rendering logic from Jetpack Subscription Widget shortcode [#26947]
|
||||
- Init 11.6-a.6 [#27403]
|
||||
- Remove CSS from main plugin file [#27594]
|
||||
- Removes old save() implementation for the subscription block. Doesn't impact user experience as the block is already dynamic. [#27519]
|
||||
- SEO: exclude posts with meta jetpack_seo_noindex set true from Jetpack news sitemap. [#27742]
|
||||
- Stats: take off new Stats backend for security concerns [#27589]
|
||||
- Sync: Add unit tests [#27606]
|
||||
- Tests: Clean up wpcom-compat functions no longer needed post-de-Fusioning. [#27407]
|
||||
- Updated package dependencies. [#26069]
|
||||
- Update how wpcom_gifting_subscription is saved so an option value of false can be created [#27507]
|
||||
- Update Form patterns modal filter query [#27703]
|
||||
- Updating testing instructions [#27642]
|
||||
|
||||
## 11.6-a.5 - 2022-11-14
|
||||
### Enhancements
|
||||
- Form Block: add block alignment control for the form wrapper: center, wide and full [#27151]
|
||||
- Form Block: remove connection button from the Form block toolbar [#27301]
|
||||
|
||||
### Improved compatibility
|
||||
- Sitemaps: improve compatibility with recent Google Image Sitemap changes. [#24341]
|
||||
|
||||
### Bug fixes
|
||||
- Dashboard: prevent scrolling to the active settings menu item on page load. [#27347]
|
||||
- VideoPress: fix issue with uploading VideoPress videos in the Full Site Editor. [#27339]
|
||||
- Shortcodes: fix content_width handling for various shortcodes. [#27276]
|
||||
|
||||
### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
|
||||
- Action Bar: disable experimental feature for now until the team returns to work on it. [#27358]
|
||||
- Dashboard: removing the user license activation notice. [#27329]
|
||||
- Updated package dependencies. [#26930]
|
||||
- Update the default value of subscription gifting option. [#27374]
|
||||
|
||||
## 11.6-a.3 - 2022-11-07
|
||||
### Enhancements
|
||||
- Form block: add support links to form type selector. [#27134]
|
||||
- Form block: register Jetpack forms in the pattern inserter. [#27030]
|
||||
|
||||
### Improved compatibility
|
||||
- Form block: update Form child blocks to show the "Manage Responses" section on the Sidebar. [#27127]
|
||||
- VideoPress (beta): introduce Video Chapters beta block. [#27241]
|
||||
|
||||
### Bug fixes
|
||||
- Customizer: make sure the menu item is shown for block themes. [#27238]
|
||||
- Image Editor: fix issue where users are not able to edit/crop and restore images. [#27224]
|
||||
- Related Posts Block: when 3 posts are output, increase the width closer to 100%. [#27228]
|
||||
|
||||
### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
|
||||
- Deprecation warnings are now issued for `jetpack_require_lib()`, `jetpack_require_lib_dir()`, and the `jetpack_require_lib_dir` filter. [#27273]
|
||||
- Endpoints: add a missing break statement in the site API endpoint. [#27225]
|
||||
- Featured image email template toggle: add missing 'featured_image_email_enabled' option update. [#27049]
|
||||
- Form block: rename child blocks names to be more meaningful. [#27131]
|
||||
- JSON API: add 1.4 versions to dev in order to browse in https://developer.wordpress.com/docs/api/console/ [#27239]
|
||||
- Remove include of `functions.is-mobile.php` from `class.jetpack-user-agent.php` to restore status quo. [#27217]
|
||||
- Remove nonexistent site editor styles entry point. [#27263]
|
||||
- Updated package dependencies.
|
||||
- WPcom: sync endpoint file. [#27258]
|
||||
|
||||
## 11.6-a.1 - 2022-11-01
|
||||
### Enhancements
|
||||
- Form block: update contact-form icon [#27010]
|
||||
- Form block: update Contact Form Sidebar to include Manage Responses section and split Form Settings section into more specific sections [#26970]
|
||||
- Form block: update Contact Form Toolbar to include a form settings dropdown [#27105]
|
||||
- Stats: update mentions of "Site Stats" to "Jetpack Stats" [#27069]
|
||||
|
||||
### Bug fixes
|
||||
- SSO: properly disable "match by email" by default. [#27102]
|
||||
- WordPress.com REST API: Fix fatal error in site ID endpoint. [#27059]
|
||||
|
||||
### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
|
||||
- Added wpcom_gifting_subscription for syncing [#27116]
|
||||
- Dashboard: Fixed the Related Posts card link to the block editor support doc. [#27112]
|
||||
- E2E tests: disabled update plugin e2e test [#27124]
|
||||
- Gifting subscription: Add wpcom_gifting_subscription option to the site settings endpoint [#27137]
|
||||
- Gifting subscription: Update wpcom_gifting_subscription option default value [#27204]
|
||||
- Infinite Scroll: Bring in some JS fixes from wpcom. [#27065]
|
||||
- Init cycle [#27053]
|
||||
- Likes: Delete wpcom code paths. Things are just too different to de-Fusion. [#27062]
|
||||
- Remove remaining calls to `jetpack_require_lib()`, mainly for non-Fusioned stuff. [#27094]
|
||||
- Sync endpoint with wpcom [#27097]
|
||||
- Sync sites endpoints from wpcom. [#27059]
|
||||
- Updated package dependencies. [#27089]
|
||||
|
||||
## [11.5] - 2022-11-01
|
||||
### Enhancements
|
||||
- Dashboard: add connection widget for unconnected sites. [#26596]
|
||||
- Dashboard: add Jetpack Search Free and Jetpack Social to My Products. [#27007, #26990]
|
||||
- Form block: add Contact Form child blocks to the Block Library. [#26937]
|
||||
- Form block: add default spacing attributes on all form variations. [#26916]
|
||||
- Form block: change layout flex styles. [#26914]
|
||||
- Form block: move Contact Form child blocks to a new category and remove some Core blocks from the child blocks list. [#26896]
|
||||
- Form block: remove duplicated contact form settings from the Contact Form block's toolbar in favor of the sidebar. [#26911]
|
||||
- Jetpack Social: display broken connections to user in editor. [#25803]
|
||||
- Subscription block: revert the subscription block subscriber count change. [#27082]
|
||||
|
||||
### Bug fixes
|
||||
- Form block: include spacing between Contact Form blocks to allow the block inserter to be shown on mouse hover. [#26818]
|
||||
- Form block: prevent contact form from escaping valid URL characters in the redirect URL [#27141]
|
||||
- Publicize Components: Fix the panel component refactor [#27095]
|
||||
- Social: Ensure we have a user connection when loading the module [#27061]
|
||||
|
||||
### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
|
||||
- Add post-purchase onboardings to Recommendation flows [#26484]
|
||||
- Bring media-v1-1-endpoint in sync with wpcom [#27004]
|
||||
- Comment: Added featured_image_email_enabled for syncing [#27009]
|
||||
- Compatibility: WordPress 6.1 compatibility [#27084]
|
||||
- CSSTidy: adding margin-block as valid CSS properties [#26961]
|
||||
- Fix broken `@covers` in tests, and reconfigure coverage directives to not scan ridiculous numbers of files. [#26931]
|
||||
- Fix visual issues of the Product Price component in the Jetpack plugin [#27032]
|
||||
- Log and readme cleanup for 11.5-beta [#27055]
|
||||
- Search: updated documentation as Search now supports 38 languages [#27025]
|
||||
- Search: use search dashboard CTA instead of product page which wasn't detecting if free plan is active correctly. [#27016]
|
||||
- Social: Refactored the resharing UI and moved some additional components to publicize-components [#25993]
|
||||
- Updated package dependencies. [#25993, #26705, #26980]
|
||||
- Update `jetpack_is_mobile()` and `Jetpack_User_Agent_Info` for sync to wpcom. [#26971]
|
||||
|
||||
## 11.5-a.9 - 2022-10-19
|
||||
### Bug fixes
|
||||
- Contact Form: display consent form field result in notification emails and feedback views. [#26878]
|
||||
- Contact Form: remove overlay causing issues with the block inserter hover behavior. [#26910]
|
||||
|
||||
### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
|
||||
- Add $all_values param to contact_form_to filter [#26810]
|
||||
- Copy wpcom hack from D17161 [#26891]
|
||||
- Featured image: Add featured_image_email_enabled option to the site settings endpoint [#26696]
|
||||
- Init 11.5-a.8 [#26879]
|
||||
- Remove an obsolete hack in class.wpcom-json-api-render-endpoint.php [#26893]
|
||||
- Sharing: Add caching for DB queries. [#26933]
|
||||
- Updated package dependencies. [#26808]
|
||||
- Update jetpack_require_lib to require_once [#26804]
|
||||
- WordPress.com REST API: exposed P2 design elements in API response [#26863]
|
||||
|
||||
## 11.5-a.7 - 2022-10-17
|
||||
### Enhancements
|
||||
- Dashboard: ensure Apps card is always displayed, regardless of whether promotions are active. [#26659]
|
||||
- Form block: improve parent block selection when inner block is already selected. [#26687]
|
||||
- Subscription block: don't include Jetpack Social connections in subscriber count. [#26751]
|
||||
|
||||
### Bug fixes
|
||||
- Payment Buttons block: fix payment-buttons font sizes taking precedence over the font sizes of contained button blocks. [#26839]
|
||||
|
||||
### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
|
||||
- Manually sync site settings endpoint files with their WPCOM counterparts [#26747]
|
||||
- Search: changed Search CTA link to Search upsell page of the search package [#26807]
|
||||
- Updated package dependencies. [#26826, #26828, #26851]
|
||||
|
||||
## 11.5-a.5 - 2022-10-13
|
||||
### Enhancements
|
||||
- VideoPress: move videopress/video transfrom from VideoPress plugin to Jetpack plugin [#26799]
|
||||
|
||||
### Bug fixes
|
||||
- CRM: Fix unmounted state updates in Form CRM integration [#26688]
|
||||
- Get Apps card: Iterate on link to jetpack.com/apps to ensure backwards compatibility and click-tracking [#26668]
|
||||
|
||||
### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
|
||||
- init cycle [#26754]
|
||||
- Dashboard: fix dashboard backup link for Atomic sites. [#26766]
|
||||
- Replace usages of stats_get_from_restapi with corresponding methods from Stats package, WPCOM_Stats [#26719]
|
||||
- Updated jetpack_require_lib to require_once for Instagram class [#26802]
|
||||
- Updated package dependencies. [#26545]
|
||||
- Update to Typescript to reap the benefits (such as added safety and automation) [#26644]
|
||||
- Updating changelog and readme [#26755]
|
||||
|
||||
## 11.5-a.3 - 2022-10-11
|
||||
### Enhancements
|
||||
- Payment Buttons block: add typography controls. [#26580]
|
||||
- Social: show pre-publish panel if the site has connections enabled. [#26663]
|
||||
|
||||
### Improved compatibility
|
||||
- Contact Form Block: removed compatibility checks involving automatic deactivation of contact form functionality. [#26714]
|
||||
|
||||
### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
|
||||
- Bump version to 11.5-a.2 [#26646]
|
||||
- Changelog [#26647]
|
||||
- Fixed versions [#26750]
|
||||
- Integrate Stats package in Jetpack plugin. [#26640]
|
||||
- Jetpack_PostImages::get_image now returns null, not empty array, on failure to find an image. [#26670]
|
||||
- Shortcodes: fix wufoo shortcode output. [#26671]
|
||||
- Updated package dependencies. [#26633, #26640, #26683, #26726]
|
||||
- Update js-packages/licensing dependency version. [#25973]
|
||||
|
||||
## 11.5-a.1 - 2022-10-05
|
||||
### Enhancements
|
||||
- Dashboard: add a new illustration for WooCommerce recommendation. [#26492]
|
||||
- Stats: change mentions of "Site Stats" with "Jetpack Stats". [#26566]
|
||||
- VideoPress: change the toolbar text for the "Edit video" button on the VideoPress block to "Replace" to match the core video block's toolbar. [#26513]
|
||||
- Payment Button block: support a wider varity of layout options. [#26134]
|
||||
- Publicize: make the pre-publish panel initially closed by default. [#26512]
|
||||
- Subscriptions: bold the display reader numbers in subscriptions panel instead of underlined. [#26507]
|
||||
|
||||
### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
|
||||
- masterbar: Remove wpcom-specific references to de-Fusioned stubs. [#26447]
|
||||
- Require components lib directly instead of using deprecated `jetpack_require_lib()`. [#26321]
|
||||
- Revert previously added Backup UI initialization. [#26617]
|
||||
- Updated package dependencies. [#26457]
|
||||
- WordPress.com REST API: Adds difm_lite_site_options key to get site API response. [#26217]
|
||||
- Unit Tests: add check for removing the WAF module from sites hosted on the Atomic platform. [#26452]
|
||||
|
||||
## [11.4] - 2022-10-04
|
||||
### Enhancements
|
||||
- Editor: update icon sizing in the Jetpack sidebar for consistency. [#26281]
|
||||
- Recommendations: update assistant with question for agency managed sites. [#26302]
|
||||
|
||||
### Bug fixes
|
||||
- Admin: fix JavaScript errors related to the Jetpack disconnect option on multisite networks. [#26308]
|
||||
- Backup: update initialization of UI menu. [#23532]
|
||||
- Payments block: make filtering patterns used for the payments intro more robust. [#26465]
|
||||
- Social: prevent the package being initialized without a user connection. [#26543]
|
||||
|
||||
### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
|
||||
- Account Connection Card: remove magic mobile link. [#26311]
|
||||
- Dashboard: update display of Jetpack app offering. [#26276]
|
||||
- Disconnect Dialog: fix prop types to avoid warnings from React. [#26340]
|
||||
- E2E tests: use CI build artifacts in e2e tests. [#26278]
|
||||
- Masterbar: always load CSS from Jetpack, not Fusioned paths, in preparation for de-Fusioning. [#26444]
|
||||
- Mock update API response in sync test. [#26389]
|
||||
- Register `pcast.pocketcasts.net` for oEmbed even with WordPress 6.1, they only register `pca.st`. [#26324]
|
||||
- Removed connection-ui package dependency. [#26381]
|
||||
- SEO: refactor editor sidebar panel to share code. [#26288]
|
||||
- Site Accelerator: update image used for site accelerator recommendation. [#26335]
|
||||
- Social: align Jetpack and Social to use the connection-test-results endpoint in the block editor. [#26274]
|
||||
- Social: move the share limits logic to the social package. [#26294]
|
||||
- Sync changes to modules/masterbar/nudges/additional-css/ from wpcom. [#26362]
|
||||
- Updated package dependencies.
|
||||
- WPcom: always disable WAF on WoA sites. [#26401]
|
||||
- WPcom: apply Calypso 'Add new site' styles to wp-admin. [#26290]
|
||||
|
||||
## 11.4-a.7 - 2022-09-22
|
||||
### Improved compatibility
|
||||
- WC Pay: resolves issue for WooCommerce Payments that could result in a fatal for some sites on PHP 8+. [#26304]
|
||||
|
||||
## 11.3.2 - 2022-09-22
|
||||
### Improved compatibility
|
||||
- WC Pay: resolves issue for WooCommerce Payments that could result in a fatal for some sites on PHP 8+. [#26304]
|
||||
|
||||
## 11.4-a.5 - 2022-09-20
|
||||
### Enhancements
|
||||
- Payment Blocks: add core typography settings to the buttons. [#26108]
|
||||
- VideoPress Block (beta): various enhancements and fixes for styling, vtt files, and block settings. [#26266, #26182, #26201, #26269, #26286, #26270, #26264, #26225, #26260, #26238, #26209, #26285, #26283]
|
||||
|
||||
### Bug fixes
|
||||
- Fonts: set the `Automattic\Jetpack\Fonts\Introspectors\Global_Styles::enqueue_global_styles_fonts` callback priority in the `init` hook to 22 to prevent it from causing style issues with sites that have Gutenberg > 13.5 activated. [#26193]
|
||||
- Jetpack: fix a typo when selecting the VideoPress attachment info description field. [#26233]
|
||||
- Subscriptions: add clearer messaging for past-published posts. [#26085]
|
||||
|
||||
### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
|
||||
- Connection: extract Restore Connection functionality into the JS package. [#26034]
|
||||
- E2E tests: removed deprecated Slack notification code. [#26215]
|
||||
- General: show Jetpack icon in the post publish audio panel. [#26257]
|
||||
- Publicize: add `is-healthy` endpoint to post field. [#26216]
|
||||
- Updated package dependencies.
|
||||
- WAF: add loading of the WAF from Jetpack to avoid use of actions.php [#24730]
|
||||
- WPcom: add context-sensitive menu items to sidebar for domain-only sites. [#26102]
|
||||
- WPcom: prevent upgrade nudge of paid blocks from being visible on the block list view. [#26237]
|
||||
|
||||
## 11.4-a.3 - 2022-09-13
|
||||
### Enhancements
|
||||
- VideoPress block (beta): register the video-chapters beta feature with basic controls. [#26177]
|
||||
|
||||
### Improved compatibility
|
||||
- Jetpack: update styling for Jetpack logo shown in pre-publish panels for Jetpack and Jetpack Social plugins. [#26101, #26162]
|
||||
- Pay with PayPal block: the `postLinkUrl` attribute now uses the immutable post GUID to ensure correct editor state. [#26063]
|
||||
- Subscriptions: do not load Subscriptions block while using Jetpack Offline Mode. [#26179]
|
||||
- VideoPress: move jetpack_videopress_guid REST custom field to VideoPress package. [#26140]
|
||||
|
||||
### Bug fixes
|
||||
- Widgets: add source check for broken image. [#26110]
|
||||
|
||||
### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
|
||||
- SEO Tools: fix a couple of unique key prop warnings. [#26082]
|
||||
- QR Post: update post-publish panel to show Jetpack logo. [#26163]
|
||||
- Tests: fix factory method calls. [#26109]
|
||||
- Updated package dependencies.
|
||||
- WordPress.com REST API: expose user interactions attribute within sites API response. [#26130]
|
||||
|
||||
## 11.4-a.1 - 2022-09-08
|
||||
### Enhancements
|
||||
- Blocks: add "BETA" labels for beta extensions used in the block editor context. [#25852, #25938]
|
||||
- Jetpack: brand Jetpack features in publishing flows. [#26044, #26064]
|
||||
- Payment Buttons: add support for vertical dimensions controls. [#26058]
|
||||
- QR Post: remove redundant buttons from the opened modal. [#25929]
|
||||
- VideoPress Block (beta): allow editing of some block settings while uploading. [#24556]
|
||||
|
||||
### Bug fixes
|
||||
- Post Images: avoid PHP notices when fetching images from posts with missing metadata. [#25829]
|
||||
- Donations Block: avoid race condition when updating currency. [#26061]
|
||||
|
||||
### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
|
||||
- Added E2E tests for the Jetpack WAF. [#25643]
|
||||
- Fix an undefined array key access in `WPCOM_JSON_API_List_Post_Formats_Endpoint`. [#25991]
|
||||
- Jetpack: add Social Previews components to separate package. [#25931]
|
||||
- Jetpack: implement a temporary solution to register VideoPress block v6 in dotcom. [#25902]
|
||||
- Jetpack: remove VideoPress v6 block from Jetpack plugin. [#25873]
|
||||
- Publicize Connections Post Field: fix tests. [#26084]
|
||||
- Related Posts: append original user agent to API requests. [#25946]
|
||||
- Remove usage of jetpack_require_lib() for class-jetpack-mapbox-helper. [#25958]
|
||||
- Updated package dependencies.
|
||||
- VideoPress: migrate pluging features to separate package. [#25877]
|
||||
- VideoPress: moved jetpack_videopress_guid REST custom field to VideoPress package. [#26043]
|
||||
- WordPress.com toolbar: allow enabling an "Advertising" menu item via a new filter. [#25874]
|
||||
|
||||
## 11.3.1 - 2022-09-08
|
||||
### Improved compatibility
|
||||
- Notifications: improve third-party cookie check to work with modsecurity rules. [#26122]
|
||||
|
||||
## [11.3] - 2022-09-06
|
||||
### Enhancements
|
||||
- General: enable the Post List package in Jetpack to display extra information alongside each post in wp-admin dashboard Posts screen. [#25301]
|
||||
|
||||
### Improved compatibility
|
||||
- Jetpack: register VideoPress Video block from Jetpack plugin. [#25429]
|
||||
- Publicize: replace Publicize with Jetpack Social. [#25787]
|
||||
- VideoPress: rely on videopress package for XMLRPC initialization. [#25863]
|
||||
|
||||
### Bug fixes
|
||||
- Carousel: ensure carousel still opens when clicking on a gallery image that has a figcaption with a link inside. [#26032]
|
||||
- Subscriptions Block: fix input and submit button coupling for Safari when split style is selected. [#25805]
|
||||
- Subscriptions Block: remove inline styles from subscription notification. [#25793]
|
||||
- Tiled Gallery: ensure the link to the original image URL is used when linking to media files. [#25655]
|
||||
- VideoPress: fix a js error when closing a non-VideoPress video modal in the Media Library. [#25834]
|
||||
|
||||
### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
|
||||
- Added tracks to record when the new recommendations bubble is visible and when the user clicks on it [#25728]
|
||||
- Compat: wp_startswith should only pass to strpos if string is passed. [#25797]
|
||||
- Moved the permission check for the Tweetstorm endpoint into a helper class. [#26062]
|
||||
- Update 'View Summary' button to 'View recommendations' to clear up where it goes [#25986]
|
||||
- Updated copy and links in recommendations [#25967]
|
||||
- Deprecated `jetpack_require_lib` and `jetpack_require_lib_dir`. No `_deprecated_function` calls yet, that will come after we've removed internal uses. [#25886]
|
||||
- Enhancement: Update security plan recommendation to promote Jetpack Protect to increase installs [#25391]
|
||||
- Fixed the criteria for showing VideoPress upsells in the Jetpack Dashboard [#25691]
|
||||
- Fix JS error when installing boost plugin from recommendations [#25835]
|
||||
- Fix some linting issues in tiled-gallery and remove files from the linter exclude list [#25784]
|
||||
- Include custom post types items inside the calypso admin menu [#25670]
|
||||
- Jetpack: update to the lastest changes of the VideoPress pkg API [#25844]
|
||||
- Leverage placeholder attribute when rendering the shortcode in wpcom [#25923]
|
||||
- Updated management of installing state for recommended features [#25451]
|
||||
- Updated package dependencies.
|
||||
|
||||
## 11.3-a.11 - 2022-08-23
|
||||
### Bug fixes
|
||||
- Carousel: remove errant '<' character being displayed. [#25795]
|
||||
|
||||
## 11.3-a.9 - 2022-08-23
|
||||
### Enhancements
|
||||
- Payments block: add new container block to support using multiple inline Payment Button blocks. [#25297]
|
||||
- VideoPress block (beta): add support to pause/resume video upload. [#25392]
|
||||
|
||||
### Improved compatibility
|
||||
- Podcast Player block: set default RSS feed cache timeout for podcasts to 1 hour. [#25709]
|
||||
|
||||
### Bug fixes
|
||||
- Carousel: ensure that clicks on rounded images in galleries will load a custom URL when it is specified. [#25410]
|
||||
- Carousel: improve the logic for adding carousel data so we can handle reusable blocks correctly. [#25441]
|
||||
- Dashboard Widget: do not show the stats configuration links when the feature is inactive. [#25653]
|
||||
|
||||
### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
|
||||
- Blocks: add Pocket Casts as oEmbed provider. [#25696]
|
||||
- Doc update: add information about block deprecation. [#25735]
|
||||
- E2E tests: bump dependencies. [#25725]
|
||||
- JITMs added to My Jetpack [#22452]
|
||||
- Licenses: fix issue in the license activation notice banner that appears even after being dismissed. [#25269]
|
||||
- Recommendations: add a new recommendation for backups. [#25446]
|
||||
- Recommendations: add a recommendation for Jetpack Boost. [#25431]
|
||||
- SAL: bring Jetpack files in sync with WordPress.com files. [#25639]
|
||||
- Admin: sync class-wpcom-admin-menu file. [#25726]
|
||||
- Updated package dependencies. [#25338]
|
||||
- VideoPress: ensure that the player's resources are only loaded when necessary, when a video was added to the page. [#24985]
|
||||
- VideoPress: fix VideoPress pkg version. [#25683]
|
||||
|
||||
## 11.3-a.7 - 2022-08-17
|
||||
### Bug fixes
|
||||
- VideoPress: remove inclusion of modules/videopress/utility-functions.php from Jetpack shortcodes module to prevent errors. [#25660]
|
||||
|
||||
## 11.3-a.5 - 2022-08-16
|
||||
### Enhancements
|
||||
- Payments block: add a new `useWidth` hook to control the width settings of a block. [#25394]
|
||||
- Google Analytics: add support for the DNT sent by the browser. [#25423]
|
||||
- Dashboard: add new card to highlight options available to WordPress agencies. [#25041]
|
||||
|
||||
### Improved compatibility
|
||||
- VideoPress: minify videopress-token-bridge. [#25354]
|
||||
- Notifications: do not attempt to display the Notifications panel when 3rd-party cookies are disabled in the browser. [#25448]
|
||||
|
||||
### Bug fixes
|
||||
- Carousel: resolve a PHP warning when non-attachments are processed. [#25400]
|
||||
- Dashboard: avoid displaying a blank dashboard page for editors when the site owner has an unused license. [#25395]
|
||||
- Calendly block: update the embed options link. [#25442]
|
||||
|
||||
### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
|
||||
- P2: Hide Jetpack menu for all p2 spaces/hubs. [#25405]
|
||||
- VideoPress: migrate code from the plugin to the package. [#25412]
|
||||
- VideoPress: move dependencies to the package. [#25398]
|
||||
- Updated package dependencies. [#25433]
|
||||
|
||||
## 11.3-a.3 - 2022-08-09
|
||||
### Enhancements
|
||||
- Payments block: use Block API v2 to simplify the overall markup. [#25384]
|
||||
- Payments block: ensure the plan name field will update according to the other options selected, unless it's already been modified. [#25397]
|
||||
|
||||
### Improved compatibility
|
||||
- Backup: add disclaimer text and link to the backup product card that links to an FAQ on the Pricing page. [#25265]
|
||||
|
||||
### Bug fixes
|
||||
- WordPress.com REST API: add missing site owner id to single site REST API response. [#25367]
|
||||
|
||||
### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
|
||||
- Dashboard: do not show a VideoPress upgrade banner on paid WoA sites. [#25368]
|
||||
- Latest Instagram Posts Block: update Instagram gallery endpoint to use access token id as an integer. [#25337]
|
||||
- Nav Unification: improve performance when fetching user information. [#25333]
|
||||
- Updated package dependencies. [#24477, #25265, #25334]
|
||||
|
||||
## 11.3-a.1 - 2022-08-03
|
||||
### Enhancements
|
||||
- GSuite blocks (beta): add blocks for Google document embeds. Currently a JETPACK_BETA_BLOCKS feature. [#24628]
|
||||
- Payments Block: include 'earn' patterns in the block UI. [#24914]
|
||||
- VideoPress Block (beta): add support to pause/resume upload. [#25350]
|
||||
|
||||
### Improved compatibility
|
||||
- Jetpack: register VideoPress block from its editor.js file. [#25349]
|
||||
- VideoPress Block (beta): move VideoPress REST endpoint to package. [#25042]
|
||||
- Podcast Player: add support for podcast player to have per-feed cache timeouts. [#24966]
|
||||
- SEO Tools: avoid conflicts with SEOPress and SEOKEY plugins. [#25277]
|
||||
|
||||
### Bug fixes
|
||||
- Subscriptions Block: fix subscriber count display when padding dimension is added. [#25262]
|
||||
|
||||
### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
|
||||
- Contact Form Block: use a less strict comparison for Atomic compat. [#25278]
|
||||
- Tooling: disable postcss deprecation notices for build. [#25296]
|
||||
- E2E tests: only retry failed tests in CI. [#25273]
|
||||
- Google Docs Embed Block (beta): switch to a stricter check for Google Docs URLs. [#25345]
|
||||
- Masterbar: bugfix removing empty space between folded adminbar and editor [#25331]
|
||||
- Admin: calipsoify the `site-editor.php` route so that it opens the Site Editor from the Gutenframe to comply with deprecations in Gutenberg 13.7. [#25281]
|
||||
|
||||
## [11.2] - 2022-08-02
|
||||
### Enhancements
|
||||
- Native Block Inserter: only display blocks under a Jetpack heading if the host app is WordPress. [#25155]
|
||||
- VideoPress Block (beta): add block transforms for the VideoPress block. [#25154]
|
||||
|
||||
### Bug fixes
|
||||
- Admin menu: display the translations for the plan name. [#25169]
|
||||
- Comments: avoid PHP Notice when using Jetpack's Comment form feature when your site is no longer properly connected to WordPress.com. [#25127]
|
||||
- Connection: fix Jetpack redirect after registration. [#25135]
|
||||
- Masterbar: ensure that the WordPress.com Add Ons menu item doesn't display on Jetpack-connected sites. [#25085]
|
||||
- Sharing: ensure that sharing buttons are not displayed for excerpts. [#24896]
|
||||
- Sharing: hide button information in Blog Posts block in editor. [#25346]
|
||||
- Slideshow Block: support wide and full alignment options. [#25107]
|
||||
- Subscribe Block: fix support for allowed HTML tags in submit button. [#25114]
|
||||
- VideoPress: avoid PHP notices when inserting videos that miss some metadata. [#25129]
|
||||
|
||||
### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
|
||||
- Add last_updated API field to the sites endpoint. [#25116]
|
||||
- Cleanup old videopress player code (D75134-code). [#23384]
|
||||
- E2E tests: cancel partner plan when resetting test environment. [#25264]
|
||||
- Init 11.2-a.6 cycle. [#25126]
|
||||
- Jetpack 11.2 changelog editorial [#25276]
|
||||
- Jetpack 11.2-a.5 changelog editorial. [#25128]
|
||||
- Publicize: Remove folder from modules. [#25049]
|
||||
- Search: remove Calypso search page link in admin menu for simple sites. [#25149]
|
||||
- Update analytics. [#25257]
|
||||
- Updated package dependencies. [#24929]
|
||||
- Updating composer.lock. [#25142]
|
||||
- VideoPress Block (beta): under the hood improvements such as emit events to window where bridge runs. [#25148]
|
||||
- WordPress.com REST API: remove default for 'dont_change_homepage' in the '/sites/%s/themes/mine' endpoint. [#25141]
|
||||
|
||||
## 11.2-a.5 - 2022-07-19
|
||||
### Enhancements
|
||||
- Blocks: enable Jetpack block collection for the native editor block inserter (on self hosted Jetpack sites). [#25092]
|
||||
- Connection: make sure pre-existing settings are respected on plugin activation. [#24980]
|
||||
- VideoPress: add UX improvements including fallback thumbnail replaced by loading element, and better error messaging (in Beta only). [#25088, #25064]
|
||||
|
||||
### Improved compatibility
|
||||
- Admin UI: add h1 page headings for better screen reader navigation. [#24930]
|
||||
- Custom Post Types: change Nova functions to public to re-allow hooking. [#25084]
|
||||
|
||||
### Bug fixes
|
||||
- Form block: fix Checkbox Group option color. [#24932]
|
||||
- Masterbar: fix All Posts dashboard redirect issue when switching between classic and default editor views. [#25074]
|
||||
|
||||
### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
|
||||
- E2E tests: remove the search package build step. [#25080]
|
||||
- Rewrite to drop dependency on experimental BlockVariationPicker from Gutenberg. [#24909]
|
||||
- Updated package dependencies. [#24710, #24836, #24998, #25086]
|
||||
- VideoPress: under the hood improvements including using core components, migrating features to the VideoPress package, removing unused attributes and better handling of the block loading state. [#25095, #25062, #25069, #25096, #24997, #25047]
|
||||
- WordPress.com REST API: allow an extra endpoint to a themed WordPress.com endpoint. [#25070]
|
||||
|
||||
## 11.2-a.3 - 2022-07-12
|
||||
### Enhancements
|
||||
- Podcast Player: add new actions to make it possible for users to set up code that runs for podcast fetches. [#25046]
|
||||
- VideoPress Block: add enhancements such as an upload progress bar, improved UX, and limited preview attempts (available in Beta only). [#24953, #24891, #24963, #24897]
|
||||
|
||||
### Bug fixes
|
||||
- Form block: preserve line breaks in form submissions. [#25040]
|
||||
- Gathering Twitter Threads: ensure that only contributors can access the endpoint to unroll threads. [#25005]
|
||||
- Stats: fix dashboard widget form name to allow form choices to be saved. [#25039]
|
||||
- Subscriptions: format the number of subscribers displayed in the block editor's controls. [#25063]
|
||||
|
||||
### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
|
||||
- E2E tests: fixed pretest cleanup script not running. [#25051]
|
||||
- Editor: Only add `x-wp-api-fetch-from-editor` header on non-CORS requests. [#25052]
|
||||
- Rename hasActiveSiteFeature -> siteHasFeature. [#25044]
|
||||
- Updated package dependencies. [#24823, #25048, #25055]
|
||||
- Use JS built-in `URLSearchParams` instead of `query-string` package. [#24994]
|
||||
- VideoPress: under the hood improvements such as adding new components. [#24974, #25058]
|
||||
- VideoPress: add videopress package as dependency. [#25045]
|
||||
|
||||
## 11.2-a.1 - 2022-07-06
|
||||
### Enhancements
|
||||
- Contact Form Block: add a lock to the contact form submit button. [#24838]
|
||||
- VideoPress: add an overlay to VideoPress Block to improve the UX when selecting the video player. [#24899]
|
||||
- VideoPress: allow caption style attribute to be edited and applied. [#24902]
|
||||
- VideoPress: improve VideoPress block preview behavior. [#24890] [#24869]
|
||||
- VideoPress: improve VideoPress block layout markup and styles. [#24939]
|
||||
- VideoPress: add upload error message. [#24894]
|
||||
|
||||
### Bug fixes
|
||||
- Contact Form Block: prevent error notice when processing submission from 404 page. [#24870]
|
||||
- Product Descriptions: fix search price on Search Product Description by accounting for sale coupons and ensuring the correct JP Search tier is shown. [#24901]
|
||||
- Related Posts: avoid PHP warnings when visiting AMP post views. [#24938]
|
||||
- Slideshow Block: override container display to prevent a gap between slideshow and contents. [#24961]
|
||||
- Stats: allow custom user role stats settings to be properly recognized and saved. [#24887]
|
||||
- VideoPress: fix bug when getting the video preview of the VideoPress block. [#24936]
|
||||
|
||||
### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
|
||||
- Admin dashboard: update text and add link to the Backup aag card. [#24919]
|
||||
- At-a-glance: replace obsolete `javascript:void(0)` hrefs. [#24915]
|
||||
- E2E tests: improvements to E2E and dedicated sync tests. [#24934] [#24882]
|
||||
- E2E tests: regroup specs. [#24889]
|
||||
- Publicize: synced changes made to Publicize package files. [#24941] [#24943]
|
||||
- Tests: fix incorrect React prop type in select-dropdown/item. [#24915]
|
||||
- Updated package dependencies. [#24923]
|
||||
- VideoPress: under the hood improvements including moving to a VideoPressPlayer component, uploading progress handler function and saving custom sizes [#24883] [#24858] [#24893]
|
||||
- VideoPress: save video player attributes of the VideoPress block. [#24888]
|
||||
- VideoPress: add VideoPressUploader component. [#24920]
|
||||
- VideoPress: include private videos URL in VideoPress block (v6) GUID parse. [#24918]
|
||||
- WordPress.com tests: mark AMP-related tests as skipped when running in WP.com. [#24855]
|
||||
|
||||
## [11.1] - 2022-07-05
|
||||
### Enhancements
|
||||
- Dashboard: add "Getting started with Jetpack Backup" video to Assistant and "At a glance" dashboard. [#24774]
|
||||
- VideoPress: introduce VideoPress block currently in beta status. [#24821, #24844, #24848]
|
||||
|
||||
### Improved compatibility
|
||||
- Connection: update connection banner to use updated Emerald styling. [#24501]
|
||||
- VideoPress: update non-iframe player to latest version for sites using the `jetpack_videopress_player_use_iframe` filter. [#24846]
|
||||
|
||||
### Bug fixes
|
||||
- CLI: avoid PHP notice when running connection tests. [#24802]
|
||||
- Contact Form: ensure the forms are always properly displayed. [#24857]
|
||||
- Dashboard: fix the link to Anti-spam stats. [#24880]
|
||||
- Form Block: radio, select, and multiple checkbox fields can now have option with a value of '0'. [#24926]
|
||||
- Payments Block: only add PayPal email meta to Payment posts. [#24806]
|
||||
- Payments Block: remove hardcoded recurring-payments button color. [#24801]
|
||||
- Subscribe Block: fix double-quote breaking the Subscribe block button. [#24763]
|
||||
|
||||
### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
|
||||
- Add integration tests for Sync checksums. [#24772]
|
||||
- E2E tests: improve sync tests. [#24798]
|
||||
- E2E tests: retry failing tests. [#24809]
|
||||
- Minor phpcs fixes to bring things in sync with dotcom. [#24608]
|
||||
- Remove autounit annotation. [#24845]
|
||||
- Updated package dependencies. [#24794, #24827, #24831]
|
||||
- WordPress.com REST API: add new action allowing you to trigger an action right before we switch themes via the API. [#24818]
|
||||
- WordPress.com REST API: add new AMP deprecation field to the site settings. [#24814]
|
||||
|
||||
## 11.1-a.5 - 2022-06-21
|
||||
### Enhancements
|
||||
- VideoPress: enable blocks with VideoPress markdown to be previewed within the mobile app. [#24548]
|
||||
|
||||
### Bug fixes
|
||||
- Contact Form Block: display expected success message when used in FSE header or footer. [#24727]
|
||||
- Photon: do not return Photonized URLs to the block editor in WordPress 6.0. [#24769]
|
||||
- Search: avoid broken images in search results by preferring the _jetpack_featured_media_url postmeta over the GUID. [#24718]
|
||||
- SEO Tools: allow WooCommerce to use custom SEO description for the shop page. [#24726]
|
||||
- Sharing: avoid fatal errors when email sharing process is called without clicking on the button. [#24776]
|
||||
- VideoPress: fix embeds in classic editor when theme has no $content_width set. [#24756]
|
||||
- VideoPress Block: fix Cancel button on block and provide better error message when video format is not supported. [#24757]
|
||||
|
||||
### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
|
||||
- E2E tests: bump @playwright/test and allure-playwright versions. [#24749]
|
||||
- Fix a React warning in contact-info/address block. [#24700]
|
||||
- Fix inconsistent Sync Delays test. [#24746]
|
||||
- Renaming master to trunk. [#24661]
|
||||
- Updated package dependencies.
|
||||
- WPcom: make required plan for memberships conditional. [#24741]
|
||||
|
||||
## 11.1-a.3 - 2022-06-14
|
||||
### Bug fixes
|
||||
- Connection: move the connection_url_redirect action handling to the connection package. [#24529]
|
||||
- Dashboard: format anti-spam stats properly, including in languages using a space as thousands separator. [#24676]
|
||||
- Mailchimp Block: center spinner during loading block content. [#24694]
|
||||
|
||||
### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
|
||||
- Modified gendered language in code comments to be inclusive. [#24716]
|
||||
- Updated package dependencies. [#23871]
|
||||
- WPcom: fix crashing of server-side rendered blocks. [#24720]
|
||||
|
||||
## 11.1-a.1 - 2022-06-08
|
||||
### Enhancements
|
||||
- Recipe Block (beta): introduce a new Recipe block to display an easy to read recipe anywhere on your site. Currently a JETPACK_BETA_BLOCKS feature. [#24343]
|
||||
- WAF: update messaging around sites without latest firewall rules access. [#24642]
|
||||
- WAF: add links to support documentation. [#24641]
|
||||
|
||||
### Improved compatibility
|
||||
- Blocks: add Jetpack block elements to WPML configuration so they can be translated. [#24651]
|
||||
- Publicize: configure Publicize only when the module is active. [#24557]
|
||||
|
||||
### Bug fixes
|
||||
- Contact Form: support saving array of data, such as multiple checkboxes. [#24645]
|
||||
- Payment Block: fix issue preventing images in payment buttons. [#24667]
|
||||
- VideoPress: fix average color parameter for seekbar. [#24606]
|
||||
|
||||
### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
|
||||
- Dashboard: update link to Protect features in disconnect modal. [#24618]
|
||||
- P2: display integration tools menu item for P2 hub sites. [#24663]
|
||||
- PHPCS: contact form cleanup. [#24450]
|
||||
- PHPCS: remaining cleanup for class.jetpack.php file. [#24531]
|
||||
- Related Posts: avoid fatal errors when calling related posts with multiple exclusions. [#24629]
|
||||
- Reorder JS imports for `import/order` eslint rule. [#24601]
|
||||
- Updated package dependencies. [#24510, #24576, #24596]
|
||||
- VideoPress: add "allow='clipboard-write'" in iframe for embed in order to fix the Clipboard API on Chrome. [#24616]
|
||||
- VideoPress: make sure "false" will be casted as false for useaveragecolor. [#24615]
|
||||
- WoA: add check to prevent duplicate Custom CSS menu item on plan-less sites. [#24631]
|
||||
- WPcom: add support for WordPress.com Starter plan. [#24496]
|
||||
- WPcom: deprecate jetpack_api_exclude_comment_types_count filter in favor of jetpack_api_include_comment_types_count for more accurate comment counts. [#24512]
|
||||
|
||||
## [11.0] - 2022-05-31
|
||||
### Enhancements
|
||||
- Publicize: load Publicize only if the Publicize module is active. [#24557]
|
||||
- Sharing: update the email sharing button to use mailto links instead of server submissions. [#24040]
|
||||
|
|
@ -13,26 +676,23 @@
|
|||
- Stats: ensure the Stats column can always be displayed, even when the post type does not support comments. [#24482]
|
||||
|
||||
### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
|
||||
- Added TS check to build process [#24329]
|
||||
- Add Jetpack Backup 1GB to several lists/components of supported products [#24541]
|
||||
- Admin: update products icons. [#24559]
|
||||
- Added TS check to build process [#24329]
|
||||
- Changed logic to initialize Publicize classes. [#24451]
|
||||
- Custom CSS: Add WoA check to prevent duplicate menu item on plan-less sites. [#24631]
|
||||
- E2E tests: fix broken Mailchimp test [#24534]
|
||||
- Fix changelog and readme [#24488]
|
||||
- Infinite scroll: update support for Google Analytics feature to track infinite scroll. [#24533]
|
||||
- Init 11.0-a.12 [#24487]
|
||||
- Jetpack: correct prices in product descriptions [#24461]
|
||||
- Infinite scroll: update support for Google Analytics feature to track infinite scroll. [#24533]
|
||||
- Nonce fix for some phpcs likes cleanup [#24490]
|
||||
- Number format the number of subscribers in the subscribers panel when publishing a post [#24544]
|
||||
- phpcs changes for likes [#24368]
|
||||
- Publicize Components: Move the remaining components and hooks required for Jetpack Social [#24464]
|
||||
- Refactor to use hasActiveSiteFeature to centralize the source of truth to WPCOM_Features. [#24152]
|
||||
- Related Posts: avoid fatal errors when calling related posts with multiple exclusions. [#24629]
|
||||
- Sync: Add '_jetpack_blogging_prompt_key' to rest api public metadata via the rest_api_allowed_public_metadata filter [#24515]
|
||||
- Jetpack: correct prices in product descriptions [#24461]
|
||||
- Updated package dependencies. [#24432]
|
||||
- Use correct `COOKIEPATH` constant. [#24516]
|
||||
- VideoPress: make sure "false" will be casted as false for useaveragecolor [#24615]
|
||||
|
||||
## 11.0-a.11 - 2022-05-24
|
||||
### Bug fixes
|
||||
|
|
@ -6670,6 +7330,12 @@ Other bugfixes and enhancements at https://github.com/Automattic/jetpack/commits
|
|||
|
||||
- Initial release
|
||||
|
||||
[11.5]: https://wp.me/p1moTy-Ppq
|
||||
[11.4]: https://wp.me/p1moTy-O5I
|
||||
[11.3]: https://wp.me/p1moTy-M5i
|
||||
[11.2]: https://wp.me/p1moTy-JYL
|
||||
[11.1]: https://wp.me/p1moTy-Juo
|
||||
[11.0]: https://wp.me/p1moTy-IbF
|
||||
[10.9]: https://wp.me/p1moTy-EHd
|
||||
[10.8]: https://wp.me/p1moTy-CTQ
|
||||
[10.7]: https://wp.me/p1moTy-AMD
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -1 +1 @@
|
|||
.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper{align-items:center;background:#000;border-radius:2px;box-shadow:inset 0 0 1px #fff;display:flex;font-size:14px;height:48px;justify-content:space-between;padding:0 20px}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .banner-description,.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .banner-title{color:#fff}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .jetpack-upgrade-plan-banner__description,.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .jetpack-upgrade-plan-banner__title{margin-right:10px}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button{flex-shrink:0;height:28px;line-height:1;margin-left:auto}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary{background:#e34c84;color:#fff}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary:hover{background:#eb6594}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary.is-busy{background-image:linear-gradient(-45deg,#e34c84 28%,#ab235a 0,#ab235a 72%,#e34c84 0);background-size:100px 100%}.jetpack-upgrade-plan-banner.block-editor-block-list__block{margin-bottom:0;margin-top:0}.jetpack-upgrade-plan-banner.wp-block[data-align=left],.jetpack-upgrade-plan-banner.wp-block[data-align=right]{height:48px}.jetpack-upgrade-plan-banner.wp-block[data-align=left] .jetpack-upgrade-plan-banner__wrapper,.jetpack-upgrade-plan-banner.wp-block[data-align=right] .jetpack-upgrade-plan-banner__wrapper{max-width:580px;width:100%}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive>*{pointer-events:auto;-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none}.block-editor-warning{border:1px solid #e0e0e0;padding:10px 14px}.block-editor-warning .block-editor-warning__message{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}.block-editor-warning .block-editor-warning__actions .components-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-weight:inherit;text-decoration:none}
|
||||
.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper{align-items:center;background:#000;border-radius:2px;box-shadow:inset 0 0 1px #fff;display:flex;font-size:14px;justify-content:space-between;padding:0 20px}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .banner-description,.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .banner-title{color:#fff}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .jetpack-upgrade-plan-banner__description,.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .jetpack-upgrade-plan-banner__title{margin-right:10px}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button{flex-shrink:0;height:28px;line-height:1;margin-left:auto}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary{background:#e34c84;color:#fff}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary:hover{background:#eb6594}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary.is-busy{background-image:linear-gradient(-45deg,#e34c84 28%,#ab235a 0,#ab235a 72%,#e34c84 0);background-size:100px 100%}.jetpack-upgrade-plan-banner.block-editor-block-list__block{margin-bottom:0;margin-top:0}.jetpack-upgrade-plan-banner.wp-block[data-align=left] .jetpack-upgrade-plan-banner__wrapper,.jetpack-upgrade-plan-banner.wp-block[data-align=right] .jetpack-upgrade-plan-banner__wrapper{max-width:580px;width:100%}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive>*{pointer-events:auto;-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none}.block-editor-warning{border:1px solid #e0e0e0;padding:10px 14px}.block-editor-warning .block-editor-warning__message{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}.block-editor-warning .block-editor-warning__actions .components-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-weight:inherit;text-decoration:none}
|
||||
|
|
@ -4,12 +4,25 @@ object-assign
|
|||
@license MIT
|
||||
*/
|
||||
|
||||
/*!
|
||||
Copyright (c) 2018 Jed Watson.
|
||||
Licensed under the MIT License (MIT), see
|
||||
http://jedwatson.github.io/classnames
|
||||
*/
|
||||
|
||||
/*!
|
||||
Copyright (c) 2018 Jed Watson.
|
||||
Licensed under the MIT License (MIT), see
|
||||
http://jedwatson.github.io/classnames
|
||||
*/
|
||||
|
||||
/*!
|
||||
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
||||
*
|
||||
* Copyright (c) 2014-2017, Jon Schlinkert.
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @license
|
||||
* Lodash <https://lodash.com/>
|
||||
|
|
@ -19,6 +32,16 @@ object-assign
|
|||
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
||||
*/
|
||||
|
||||
/**
|
||||
* @license React
|
||||
* use-sync-external-store-shim.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/** @license React v0.20.2
|
||||
* scheduler.production.min.js
|
||||
*
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper{align-items:center;background:#000;border-radius:2px;box-shadow:inset 0 0 1px #fff;display:flex;font-size:14px;height:48px;justify-content:space-between;padding:0 20px}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .banner-description,.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .banner-title{color:#fff}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .jetpack-upgrade-plan-banner__description,.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .jetpack-upgrade-plan-banner__title{margin-left:10px}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button{flex-shrink:0;height:28px;line-height:1;margin-right:auto}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary{background:#e34c84;color:#fff}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary:hover{background:#eb6594}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary.is-busy{background-image:linear-gradient(45deg,#e34c84 28%,#ab235a 0,#ab235a 72%,#e34c84 0);background-size:100px 100%}.jetpack-upgrade-plan-banner.block-editor-block-list__block{margin-bottom:0;margin-top:0}.jetpack-upgrade-plan-banner.wp-block[data-align=left],.jetpack-upgrade-plan-banner.wp-block[data-align=right]{height:48px}.jetpack-upgrade-plan-banner.wp-block[data-align=left] .jetpack-upgrade-plan-banner__wrapper,.jetpack-upgrade-plan-banner.wp-block[data-align=right] .jetpack-upgrade-plan-banner__wrapper{max-width:580px;width:100%}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive>*{pointer-events:auto;-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none}.block-editor-warning{border:1px solid #e0e0e0;padding:10px 14px}.block-editor-warning .block-editor-warning__message{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}.block-editor-warning .block-editor-warning__actions .components-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-weight:inherit;text-decoration:none}
|
||||
.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper{align-items:center;background:#000;border-radius:2px;box-shadow:inset 0 0 1px #fff;display:flex;font-size:14px;justify-content:space-between;padding:0 20px}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .banner-description,.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .banner-title{color:#fff}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .jetpack-upgrade-plan-banner__description,.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .jetpack-upgrade-plan-banner__title{margin-left:10px}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button{flex-shrink:0;height:28px;line-height:1;margin-right:auto}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary{background:#e34c84;color:#fff}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary:hover{background:#eb6594}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary.is-busy{background-image:linear-gradient(45deg,#e34c84 28%,#ab235a 0,#ab235a 72%,#e34c84 0);background-size:100px 100%}.jetpack-upgrade-plan-banner.block-editor-block-list__block{margin-bottom:0;margin-top:0}.jetpack-upgrade-plan-banner.wp-block[data-align=left] .jetpack-upgrade-plan-banner__wrapper,.jetpack-upgrade-plan-banner.wp-block[data-align=right] .jetpack-upgrade-plan-banner__wrapper{max-width:580px;width:100%}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive>*{pointer-events:auto;-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none}.block-editor-warning{border:1px solid #e0e0e0;padding:10px 14px}.block-editor-warning .block-editor-warning__message{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}.block-editor-warning .block-editor-warning__actions .components-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-weight:inherit;text-decoration:none}
|
||||
|
|
@ -1 +1 @@
|
|||
<?php return array('dependencies' => array('wp-data', 'wp-dom-ready', 'wp-polyfill'), 'version' => 'e06afcade5e07b738f17');
|
||||
<?php return array('dependencies' => array('wp-data', 'wp-dom-ready', 'wp-polyfill'), 'version' => '9cbe4935910cbb105eda');
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
!function(){var t={80425:function(t,e,r){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(r.p=window.Jetpack_Block_Assets_Base_Url.url)},9818:function(t){"use strict";t.exports=window.wp.data},47701:function(t){"use strict";t.exports=window.wp.domReady}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n](i,i.exports,r),i.exports}r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,{a:e}),e},r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},function(){var t;r.g.importScripts&&(t=r.g.location+"");var e=r.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var n=e.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=t+"../"}(),function(){"use strict";r(80425)}(),function(){"use strict";var t=r(47701),e=r.n(t),n=r(9818);const o="jetpack/media-source";e()((function(){var t;const e=null===(t=(0,n.select)(o))||void 0===t?void 0:t.getDefaultMediaSource();var r;e||(null===(r=document)||void 0===r||r.body.classList.add("no-media-source"));document.body.addEventListener("click",(t=>{var r,i,c,u,s;if(null==t||null===(r=t.target)||void 0===r||null===(i=r.classList)||void 0===i||!i.contains("wp-block-jetpack-dialogue__timestamp_link"))return;const a=null===(c=t.target)||void 0===c||null===(u=c.href)||void 0===u||null===(s=u.split("#"))||void 0===s?void 0:s[1];a&&e&&(t.preventDefault(),(0,n.dispatch)(o).setMediaSourceCurrentTime(e.id,a),(0,n.dispatch)(o).playMediaSource(e.id,a))}))}))}()}();
|
||||
!function(){var t={80425:function(t,e,r){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(r.p=window.Jetpack_Block_Assets_Base_Url.url)},9818:function(t){"use strict";t.exports=window.wp.data},47701:function(t){"use strict";t.exports=window.wp.domReady}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n](i,i.exports,r),i.exports}r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,{a:e}),e},r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},function(){var t;r.g.importScripts&&(t=r.g.location+"");var e=r.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var n=e.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=t+"../"}(),function(){"use strict";r(80425)}(),function(){"use strict";var t=r(9818),e=r(47701);const n="jetpack/media-source";r.n(e)()((function(){var e;const r=null===(e=(0,t.select)(n))||void 0===e?void 0:e.getDefaultMediaSource();var o;r||(null===(o=document)||void 0===o||o.body.classList.add("no-media-source"));document.body.addEventListener("click",(e=>{var o,i,c,u,s;if(null==e||null===(o=e.target)||void 0===o||null===(i=o.classList)||void 0===i||!i.contains("wp-block-jetpack-dialogue__timestamp_link"))return;const a=null===(c=e.target)||void 0===c||null===(u=c.href)||void 0===u||null===(s=u.split("#"))||void 0===s?void 0:s[1];a&&r&&(e.preventDefault(),(0,t.dispatch)(n).setMediaSourceCurrentTime(r.id,a),(0,t.dispatch)(n).playMediaSource(r.id,a))}))}))}()}();
|
||||
|
|
@ -1 +1 @@
|
|||
<?php return array('dependencies' => array('lodash', 'wp-dom-ready', 'wp-keycodes', 'wp-polyfill', 'wp-url'), 'version' => 'db13ce542535a0710707');
|
||||
<?php return array('dependencies' => array('lodash', 'wp-dom-ready', 'wp-keycodes', 'wp-polyfill', 'wp-url'), 'version' => 'f6a2b55079f25e52735e');
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
.wp-block-jetpack-donations .donations__container{border:1px solid #ccc}.wp-block-jetpack-donations .donations__nav{border-bottom:1px solid #ccc;display:flex}.wp-block-jetpack-donations .donations__nav-item{background:#fff;border-left:1px solid #ccc;color:#1e1e1e;cursor:pointer;display:inline-block;flex:1;font-size:16px;font-weight:700;padding:12px;text-align:center}@media(min-width:600px){.wp-block-jetpack-donations .donations__nav-item{padding:16px 24px}}.wp-block-jetpack-donations .donations__nav-item:first-child{border-left:none}.wp-block-jetpack-donations .donations__nav-item.is-active{background:var(--wp-admin-theme-color);color:#fff;cursor:default}.wp-block-jetpack-donations .donations__content{padding:16px}@media(min-width:600px){.wp-block-jetpack-donations .donations__content{padding:32px}}.wp-block-jetpack-donations .donations__content h4,.wp-block-jetpack-donations .donations__content p{margin:0 0 16px}@media(min-width:600px){.wp-block-jetpack-donations .donations__content h4,.wp-block-jetpack-donations .donations__content p{margin:0 0 24px}}.wp-block-jetpack-donations .donations__amounts{display:flex;flex-wrap:wrap;margin-bottom:16px}@media(min-width:600px){.wp-block-jetpack-donations .donations__amounts{margin:0 0 24px}}.wp-block-jetpack-donations .donations__amount{background-color:#fff;border:1px solid #ccc;color:#1e1e1e;display:inline-block;font-size:16px;font-weight:600;margin-bottom:8px;margin-right:8px;padding:16px 24px;white-space:nowrap}.wp-block-jetpack-donations .donations__amount.has-error{box-shadow:0 0 0 1px #fff,0 0 0 3px #cc1818;outline:2px solid transparent;outline-offset:-2px}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value{margin-left:4px;min-width:60px}.wp-block-jetpack-donations .donations__separator{margin-bottom:16px;margin-top:16px}@media(min-width:600px){.wp-block-jetpack-donations .donations__separator{margin-bottom:32px;margin-top:32px}}.wp-block-jetpack-donations .donations__donate-button,.wp-block-jetpack-donations .donations__donate-button-wrapper{margin:0}.jetpack-memberships-modal #TB_title{display:none}#TB_window.jetpack-memberships-modal{background-color:transparent;background-image:url(https://s0.wp.com/i/loading/dark-200.gif);background-position:center 150px;background-repeat:no-repeat;background-size:50px;border:none;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;height:100%}#TB_window.jetpack-memberships-modal,.jetpack-memberships-modal #TB_iframeContent{bottom:0;left:0;margin:0!important;position:absolute;right:0;top:0;width:100%!important}.jetpack-memberships-modal #TB_iframeContent{height:100%!important}BODY.modal-open{overflow:hidden}@keyframes spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.wp-block-jetpack-donations .donations__container:not(.loaded){height:200px;position:relative;width:100%}.wp-block-jetpack-donations .donations__container:not(.loaded) *{display:none}.wp-block-jetpack-donations .donations__container:not(.loaded):before{background-color:#949494;border-radius:100%;content:"";height:16px;left:50%;opacity:.7;position:absolute;top:50%;transform:translate(-50%,-50%);width:16px}.wp-block-jetpack-donations .donations__container:not(.loaded):after{animation:spinner 1s linear infinite;background-color:#fff;border-radius:100%;content:"";height:3.5555555556px;left:50%;margin-left:-5.3333333333px;margin-top:-5.3333333333px;position:absolute;top:50%;transform-origin:5.3333333333px 5.3333333333px;width:3.5555555556px}.wp-block-jetpack-donations .donations__tab.is-annual .donations__monthly-item,.wp-block-jetpack-donations .donations__tab.is-annual .donations__one-time-item,.wp-block-jetpack-donations .donations__tab.is-monthly .donations__annual-item,.wp-block-jetpack-donations .donations__tab.is-monthly .donations__one-time-item,.wp-block-jetpack-donations .donations__tab.is-one-time .donations__annual-item,.wp-block-jetpack-donations .donations__tab.is-one-time .donations__monthly-item{display:none}.wp-block-jetpack-donations .donations__amount{cursor:pointer}.wp-block-jetpack-donations .donations__amount.is-selected{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color);outline:2px solid transparent;outline-offset:-2px}.wp-block-jetpack-donations .donations__custom-amount{cursor:text}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value{display:inline-block;text-align:left;white-space:pre-wrap}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value:empty:after{color:#ccc;content:attr(data-empty-text)}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value:focus{outline:none}.wp-block-jetpack-donations .donations__donate-button.is-disabled{opacity:.2;pointer-events:none}
|
||||
.wp-block-jetpack-donations .donations__container{border:1px solid #ccc}.wp-block-jetpack-donations .donations__nav{border-bottom:1px solid #ccc;display:flex}.wp-block-jetpack-donations .donations__nav-item{background:#fff;border-left:1px solid #ccc;color:#1e1e1e;cursor:pointer;display:inline-block;flex:1;font-size:16px;font-weight:700;padding:12px;text-align:center}@media(min-width:600px){.wp-block-jetpack-donations .donations__nav-item{padding:16px 24px}}.wp-block-jetpack-donations .donations__nav-item:first-child{border-left:none}.wp-block-jetpack-donations .donations__nav-item.is-active{background:var(--wp-admin-theme-color);color:#fff;cursor:default}.wp-block-jetpack-donations .donations__content{padding:16px}@media(min-width:600px){.wp-block-jetpack-donations .donations__content{padding:32px}}.wp-block-jetpack-donations .donations__content h4,.wp-block-jetpack-donations .donations__content p{margin:0 0 16px}@media(min-width:600px){.wp-block-jetpack-donations .donations__content h4,.wp-block-jetpack-donations .donations__content p{margin:0 0 24px}}.wp-block-jetpack-donations .donations__amounts{display:flex;flex-wrap:wrap;margin-bottom:16px}@media(min-width:600px){.wp-block-jetpack-donations .donations__amounts{margin:0 0 24px}}.wp-block-jetpack-donations .donations__amount{background-color:#fff;border:1px solid #ccc;color:#1e1e1e;display:inline-block;font-size:16px;font-weight:600;margin-bottom:8px;margin-right:8px;padding:16px 24px;white-space:nowrap}.wp-block-jetpack-donations .donations__amount.has-error{box-shadow:0 0 0 1px #fff,0 0 0 3px #cc1818;outline:2px solid transparent;outline-offset:-2px}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value{margin-left:4px;min-width:60px}.wp-block-jetpack-donations .donations__separator{margin-bottom:16px;margin-top:16px}@media(min-width:600px){.wp-block-jetpack-donations .donations__separator{margin-bottom:32px;margin-top:32px}}.wp-block-jetpack-donations .donations__donate-button,.wp-block-jetpack-donations .donations__donate-button-wrapper{margin:0}.jetpack-memberships-modal #TB_title{display:none}#TB_window.jetpack-memberships-modal{background-color:transparent;background-image:url(https://s0.wp.com/i/loading/dark-200.gif);background-position:center 150px;background-repeat:no-repeat;background-size:50px;border:none;bottom:0;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;height:100%;left:0;margin:0!important;right:0;top:0;width:100%!important}.jetpack-memberships-modal #TB_iframeContent{bottom:0;height:100%!important;left:0;margin:0!important;position:absolute;right:0;top:0;width:100%!important}BODY.modal-open{overflow:hidden}@keyframes spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.wp-block-jetpack-donations .donations__container:not(.loaded){height:200px;position:relative;width:100%}.wp-block-jetpack-donations .donations__container:not(.loaded) *{display:none}.wp-block-jetpack-donations .donations__container:not(.loaded):before{background-color:#949494;border-radius:100%;content:"";height:16px;left:50%;opacity:.7;position:absolute;top:50%;transform:translate(-50%,-50%);width:16px}.wp-block-jetpack-donations .donations__container:not(.loaded):after{animation:spinner 1s linear infinite;background-color:#fff;border-radius:100%;content:"";height:3.5555555556px;left:50%;margin-left:-5.3333333333px;margin-top:-5.3333333333px;position:absolute;top:50%;transform-origin:5.3333333333px 5.3333333333px;width:3.5555555556px}.wp-block-jetpack-donations .donations__tab.is-annual .donations__monthly-item,.wp-block-jetpack-donations .donations__tab.is-annual .donations__one-time-item,.wp-block-jetpack-donations .donations__tab.is-monthly .donations__annual-item,.wp-block-jetpack-donations .donations__tab.is-monthly .donations__one-time-item,.wp-block-jetpack-donations .donations__tab.is-one-time .donations__annual-item,.wp-block-jetpack-donations .donations__tab.is-one-time .donations__monthly-item{display:none}.wp-block-jetpack-donations .donations__amount{cursor:pointer}.wp-block-jetpack-donations .donations__amount.is-selected{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color);outline:2px solid transparent;outline-offset:-2px}.wp-block-jetpack-donations .donations__custom-amount{cursor:text}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value{display:inline-block;text-align:left;white-space:pre-wrap}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value:empty:after{color:#ccc;content:attr(data-empty-text)}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value:focus{outline:none}.wp-block-jetpack-donations .donations__donate-button.is-disabled{opacity:.2;pointer-events:none}
|
||||
|
|
@ -1 +1 @@
|
|||
.wp-block-jetpack-donations .donations__container{border:1px solid #ccc}.wp-block-jetpack-donations .donations__nav{border-bottom:1px solid #ccc;display:flex}.wp-block-jetpack-donations .donations__nav-item{background:#fff;border-right:1px solid #ccc;color:#1e1e1e;cursor:pointer;display:inline-block;flex:1;font-size:16px;font-weight:700;padding:12px;text-align:center}@media(min-width:600px){.wp-block-jetpack-donations .donations__nav-item{padding:16px 24px}}.wp-block-jetpack-donations .donations__nav-item:first-child{border-right:none}.wp-block-jetpack-donations .donations__nav-item.is-active{background:var(--wp-admin-theme-color);color:#fff;cursor:default}.wp-block-jetpack-donations .donations__content{padding:16px}@media(min-width:600px){.wp-block-jetpack-donations .donations__content{padding:32px}}.wp-block-jetpack-donations .donations__content h4,.wp-block-jetpack-donations .donations__content p{margin:0 0 16px}@media(min-width:600px){.wp-block-jetpack-donations .donations__content h4,.wp-block-jetpack-donations .donations__content p{margin:0 0 24px}}.wp-block-jetpack-donations .donations__amounts{display:flex;flex-wrap:wrap;margin-bottom:16px}@media(min-width:600px){.wp-block-jetpack-donations .donations__amounts{margin:0 0 24px}}.wp-block-jetpack-donations .donations__amount{background-color:#fff;border:1px solid #ccc;color:#1e1e1e;display:inline-block;font-size:16px;font-weight:600;margin-bottom:8px;margin-left:8px;padding:16px 24px;white-space:nowrap}.wp-block-jetpack-donations .donations__amount.has-error{box-shadow:0 0 0 1px #fff,0 0 0 3px #cc1818;outline:2px solid transparent;outline-offset:-2px}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value{margin-right:4px;min-width:60px}.wp-block-jetpack-donations .donations__separator{margin-bottom:16px;margin-top:16px}@media(min-width:600px){.wp-block-jetpack-donations .donations__separator{margin-bottom:32px;margin-top:32px}}.wp-block-jetpack-donations .donations__donate-button,.wp-block-jetpack-donations .donations__donate-button-wrapper{margin:0}.jetpack-memberships-modal #TB_title{display:none}#TB_window.jetpack-memberships-modal{background-color:transparent;background-image:url(https://s0.wp.com/i/loading/dark-200.gif);background-position:center 150px;background-repeat:no-repeat;background-size:50px;border:none;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;height:100%}#TB_window.jetpack-memberships-modal,.jetpack-memberships-modal #TB_iframeContent{bottom:0;left:0;margin:0!important;position:absolute;right:0;top:0;width:100%!important}.jetpack-memberships-modal #TB_iframeContent{height:100%!important}BODY.modal-open{overflow:hidden}@keyframes spinner{0%{transform:rotate(0deg)}to{transform:rotate(-1turn)}}.wp-block-jetpack-donations .donations__container:not(.loaded){height:200px;position:relative;width:100%}.wp-block-jetpack-donations .donations__container:not(.loaded) *{display:none}.wp-block-jetpack-donations .donations__container:not(.loaded):before{background-color:#949494;border-radius:100%;content:"";height:16px;opacity:.7;position:absolute;right:50%;top:50%;transform:translate(50%,-50%);width:16px}.wp-block-jetpack-donations .donations__container:not(.loaded):after{animation:spinner 1s linear infinite;background-color:#fff;border-radius:100%;content:"";height:3.5555555556px;margin-right:-5.3333333333px;margin-top:-5.3333333333px;position:absolute;right:50%;top:50%;transform-origin:5.3333333333px 5.3333333333px;width:3.5555555556px}.wp-block-jetpack-donations .donations__tab.is-annual .donations__monthly-item,.wp-block-jetpack-donations .donations__tab.is-annual .donations__one-time-item,.wp-block-jetpack-donations .donations__tab.is-monthly .donations__annual-item,.wp-block-jetpack-donations .donations__tab.is-monthly .donations__one-time-item,.wp-block-jetpack-donations .donations__tab.is-one-time .donations__annual-item,.wp-block-jetpack-donations .donations__tab.is-one-time .donations__monthly-item{display:none}.wp-block-jetpack-donations .donations__amount{cursor:pointer}.wp-block-jetpack-donations .donations__amount.is-selected{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color);outline:2px solid transparent;outline-offset:-2px}.wp-block-jetpack-donations .donations__custom-amount{cursor:text}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value{display:inline-block;text-align:right;white-space:pre-wrap}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value:empty:after{color:#ccc;content:attr(data-empty-text)}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value:focus{outline:none}.wp-block-jetpack-donations .donations__donate-button.is-disabled{opacity:.2;pointer-events:none}
|
||||
.wp-block-jetpack-donations .donations__container{border:1px solid #ccc}.wp-block-jetpack-donations .donations__nav{border-bottom:1px solid #ccc;display:flex}.wp-block-jetpack-donations .donations__nav-item{background:#fff;border-right:1px solid #ccc;color:#1e1e1e;cursor:pointer;display:inline-block;flex:1;font-size:16px;font-weight:700;padding:12px;text-align:center}@media(min-width:600px){.wp-block-jetpack-donations .donations__nav-item{padding:16px 24px}}.wp-block-jetpack-donations .donations__nav-item:first-child{border-right:none}.wp-block-jetpack-donations .donations__nav-item.is-active{background:var(--wp-admin-theme-color);color:#fff;cursor:default}.wp-block-jetpack-donations .donations__content{padding:16px}@media(min-width:600px){.wp-block-jetpack-donations .donations__content{padding:32px}}.wp-block-jetpack-donations .donations__content h4,.wp-block-jetpack-donations .donations__content p{margin:0 0 16px}@media(min-width:600px){.wp-block-jetpack-donations .donations__content h4,.wp-block-jetpack-donations .donations__content p{margin:0 0 24px}}.wp-block-jetpack-donations .donations__amounts{display:flex;flex-wrap:wrap;margin-bottom:16px}@media(min-width:600px){.wp-block-jetpack-donations .donations__amounts{margin:0 0 24px}}.wp-block-jetpack-donations .donations__amount{background-color:#fff;border:1px solid #ccc;color:#1e1e1e;display:inline-block;font-size:16px;font-weight:600;margin-bottom:8px;margin-left:8px;padding:16px 24px;white-space:nowrap}.wp-block-jetpack-donations .donations__amount.has-error{box-shadow:0 0 0 1px #fff,0 0 0 3px #cc1818;outline:2px solid transparent;outline-offset:-2px}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value{margin-right:4px;min-width:60px}.wp-block-jetpack-donations .donations__separator{margin-bottom:16px;margin-top:16px}@media(min-width:600px){.wp-block-jetpack-donations .donations__separator{margin-bottom:32px;margin-top:32px}}.wp-block-jetpack-donations .donations__donate-button,.wp-block-jetpack-donations .donations__donate-button-wrapper{margin:0}.jetpack-memberships-modal #TB_title{display:none}#TB_window.jetpack-memberships-modal{background-color:transparent;background-image:url(https://s0.wp.com/i/loading/dark-200.gif);background-position:center 150px;background-repeat:no-repeat;background-size:50px;border:none;bottom:0;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;height:100%;left:0;margin:0!important;right:0;top:0;width:100%!important}.jetpack-memberships-modal #TB_iframeContent{bottom:0;height:100%!important;left:0;margin:0!important;position:absolute;right:0;top:0;width:100%!important}BODY.modal-open{overflow:hidden}@keyframes spinner{0%{transform:rotate(0deg)}to{transform:rotate(-1turn)}}.wp-block-jetpack-donations .donations__container:not(.loaded){height:200px;position:relative;width:100%}.wp-block-jetpack-donations .donations__container:not(.loaded) *{display:none}.wp-block-jetpack-donations .donations__container:not(.loaded):before{background-color:#949494;border-radius:100%;content:"";height:16px;opacity:.7;position:absolute;right:50%;top:50%;transform:translate(50%,-50%);width:16px}.wp-block-jetpack-donations .donations__container:not(.loaded):after{animation:spinner 1s linear infinite;background-color:#fff;border-radius:100%;content:"";height:3.5555555556px;margin-right:-5.3333333333px;margin-top:-5.3333333333px;position:absolute;right:50%;top:50%;transform-origin:5.3333333333px 5.3333333333px;width:3.5555555556px}.wp-block-jetpack-donations .donations__tab.is-annual .donations__monthly-item,.wp-block-jetpack-donations .donations__tab.is-annual .donations__one-time-item,.wp-block-jetpack-donations .donations__tab.is-monthly .donations__annual-item,.wp-block-jetpack-donations .donations__tab.is-monthly .donations__one-time-item,.wp-block-jetpack-donations .donations__tab.is-one-time .donations__annual-item,.wp-block-jetpack-donations .donations__tab.is-one-time .donations__monthly-item{display:none}.wp-block-jetpack-donations .donations__amount{cursor:pointer}.wp-block-jetpack-donations .donations__amount.is-selected{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color);outline:2px solid transparent;outline-offset:-2px}.wp-block-jetpack-donations .donations__custom-amount{cursor:text}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value{display:inline-block;text-align:right;white-space:pre-wrap}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value:empty:after{color:#ccc;content:attr(data-empty-text)}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value:focus{outline:none}.wp-block-jetpack-donations .donations__donate-button.is-disabled{opacity:.2;pointer-events:none}
|
||||
|
|
@ -1 +1 @@
|
|||
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'wp-a11y', 'wp-annotations', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-widgets'), 'version' => 'b0d5fa7f2d5f64c923a4');
|
||||
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-annotations', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-widgets'), 'version' => 'f192ccbc45c2015135ae');
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -18,6 +18,13 @@ object-assign
|
|||
http://jedwatson.github.io/classnames
|
||||
*/
|
||||
|
||||
/*!
|
||||
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
||||
*
|
||||
* Copyright (c) 2014-2017, Jon Schlinkert.
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
|
||||
/*!
|
||||
2021 Jason Mulligan <jason.mulligan@avoidwork.com>
|
||||
@version 8.0.6
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -1 +1 @@
|
|||
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'wp-a11y', 'wp-annotations', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-widgets'), 'version' => '3bcf88c286585f65ce1a');
|
||||
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-annotations', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-widgets'), 'version' => '97ee114767a8f1aa6634');
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -18,6 +18,13 @@ object-assign
|
|||
http://jedwatson.github.io/classnames
|
||||
*/
|
||||
|
||||
/*!
|
||||
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
||||
*
|
||||
* Copyright (c) 2014-2017, Jon Schlinkert.
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
|
||||
/*!
|
||||
2021 Jason Mulligan <jason.mulligan@avoidwork.com>
|
||||
@version 8.0.6
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -1 +1 @@
|
|||
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-widgets'), 'version' => '60b661140a5ec855d575');
|
||||
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-widgets'), 'version' => '520d1b8c540932381c64');
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -12,6 +12,13 @@
|
|||
http://jedwatson.github.io/classnames
|
||||
*/
|
||||
|
||||
/*!
|
||||
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
||||
*
|
||||
* Copyright (c) 2014-2017, Jon Schlinkert.
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
|
||||
/*!
|
||||
2021 Jason Mulligan <jason.mulligan@avoidwork.com>
|
||||
@version 8.0.6
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -1 +1 @@
|
|||
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'wp-a11y', 'wp-annotations', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-widgets'), 'version' => 'dbb54acec1552018e1ab');
|
||||
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-annotations', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-widgets'), 'version' => 'c463fd53880803901b6b');
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -18,6 +18,13 @@ object-assign
|
|||
http://jedwatson.github.io/classnames
|
||||
*/
|
||||
|
||||
/*!
|
||||
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
||||
*
|
||||
* Copyright (c) 2014-2017, Jon Schlinkert.
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
|
||||
/*!
|
||||
2021 Jason Mulligan <jason.mulligan@avoidwork.com>
|
||||
@version 8.0.6
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1 @@
|
|||
<?php return array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => 'f6de523de8f807ad92ce');
|
||||
|
|
@ -0,0 +1 @@
|
|||
.wp-block-jetpack-google-docs-embed{border:1px solid #ccc;flex-basis:50%}.wp-block-jetpack-google-docs-embed.aligncenter{margin-left:auto;margin-right:auto}.wp-block-jetpack-google-docs-embed.alignleft,.wp-block-jetpack-google-docs-embed.alignright{margin-bottom:20px;max-width:600px}@media only screen and (min-width:600px){.wp-block-jetpack-google-docs-embed.alignleft{float:left;margin-right:20px!important}.wp-block-jetpack-google-docs-embed.alignright{float:right;margin-left:20px!important}}.wp-block-jetpack-google-docs-embed.ar-50 .wp-block-jetpack-google-docs-embed__wrapper:before{padding-top:50%}.wp-block-jetpack-google-docs-embed.ar-100 .wp-block-jetpack-google-docs-embed__wrapper:before{padding-top:100%}.wp-block-jetpack-google-docs-embed__wrapper{position:relative}.wp-block-jetpack-google-docs-embed__wrapper:before{content:"";display:block;padding-top:50%}.wp-block-jetpack-google-docs-embed__wrapper--error:before{content:none}.wp-block-jetpack-google-docs-embed__error-msg{background-color:#f8f9fa;color:#333;font-size:16px;margin:0;padding:20px}.wp-block-jetpack-google-docs-embed__error-msg:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4.125 12A7.875 7.875 0 0 1 12 4.124a7.875 7.875 0 1 1-7.875 7.874ZM12 3a9 9 0 1 0 0 17.999A9 9 0 1 0 12 3Zm.041 5.28c.31 0 .563.253.563.563v4.5a.562.562 0 0 1-1.125 0v-4.5c0-.31.252-.562.562-.562Zm-.562 7.313c0-.31.252-.563.562-.563h.011a.562.562 0 0 1 0 1.125h-.01a.562.562 0 0 1-.563-.562Z' fill='%231E2935'/%3E%3C/svg%3E");background-position:top;background-repeat:no-repeat;background-size:20px;content:"";display:inline-block;height:20px;margin-right:8px;position:relative;top:4px;width:20px}.wp-block-jetpack-google-docs-embed__error-msg a{color:#333;text-decoration:underline}.wp-block-jetpack-google-docs-embed__error-msg a:focus,.wp-block-jetpack-google-docs-embed__error-msg a:hover{text-decoration:none}.wp-block-jetpack-google-docs-embed .loader{background-color:#fff;display:none;height:100%;position:absolute;text-align:center;top:0;width:100%;z-index:99}.wp-block-jetpack-google-docs-embed .loader.is-active{display:block}.wp-block-jetpack-google-docs-embed .loader span{position:relative;top:50%;transform:translateY(-50%)}.wp-block-jetpack-google-docs-embed iframe{bottom:0;height:100%;left:0;max-width:100%;position:absolute;right:0;top:0;width:100%}.editor-styles-wrapper .wp-block-jetpack-google-docs-embed figure{margin:0}.editor-styles-wrapper [data-align=left] .wp-block-jetpack-google-docs-embed,.editor-styles-wrapper [data-align=right] .wp-block-jetpack-google-docs-embed{width:auto}.editor-styles-wrapper [data-align=left] .wp-block-jetpack-google-docs-embed__wrapper:before,.editor-styles-wrapper [data-align=right] .wp-block-jetpack-google-docs-embed__wrapper:before{content:none}.editor-styles-wrapper [data-align=left] iframe,.editor-styles-wrapper [data-align=right] iframe{position:relative}.editor-styles-wrapper [data-align=left] .wp-block-jetpack-google-docs-embed{margin-right:20px}.editor-styles-wrapper [data-align=right] .wp-block-jetpack-google-docs-embed{margin-left:20px}html[amp] .wp-block-jetpack-google-docs-embed.alignleft,html[amp] .wp-block-jetpack-google-docs-embed.alignright{float:none}html[amp] .wp-block-jetpack-google-docs-embed__wrapper:before{content:none}html[amp] .wp-block-jetpack-google-docs-embed__error-msg:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M1.5 3.5v11h11V10H14v5a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h5v1.5H1.5Z' fill='%231E2935'/%3E%3Cpath d='m15.922 1.178-8.907 8.907-1.06-1.06L14.86.118l1.06 1.06Z' fill='%231E2935'/%3E%3Cpath d='M7.5 0H16v1.5H7.5V0Z' fill='%231E2935'/%3E%3Cpath d='M16 0v8.5h-1.5V0H16Z' fill='%231E2935'/%3E%3C/svg%3E");background-size:12px;height:12px;top:1px;width:12px}html[amp] .wp-block-jetpack-google-docs-embed .loader{display:none}
|
||||
|
|
@ -0,0 +1 @@
|
|||
!function(){var t={80425:function(t,e,o){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(o.p=window.Jetpack_Block_Assets_Base_Url.url)},47701:function(t){"use strict";t.exports=window.wp.domReady}},e={};function o(r){var n=e[r];if(void 0!==n)return n.exports;var c=e[r]={exports:{}};return t[r](c,c.exports,o),c.exports}o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,{a:e}),e},o.d=function(t,e){for(var r in e)o.o(e,r)&&!o.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},function(){var t;o.g.importScripts&&(t=o.g.location+"");var e=o.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var r=e.getElementsByTagName("script");r.length&&(t=r[r.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o.p=t+"../"}(),function(){"use strict";o(80425)}(),function(){"use strict";var t=o(47701);const e=()=>{const t=document.querySelectorAll(".wp-block-jetpack-google-docs-embed");if(!t)return;const e=window.Jetpack_Google_Docs.error_msg;if(!e)return;const o=`<p class="wp-block-jetpack-google-docs-embed__error-msg">${e}</p>`;t.forEach((t=>{const e=t.querySelector("iframe"),r=t.querySelector(".loader");if(!e)return;const n=e.getAttribute("src").match(/^(http|https):\/\/(docs\.google.com)\/presentation\/d\/([A-Za-z0-9_-]+).*?$/i);if(null===n||void 0===n[1]||void 0===n[2]||void 0===n[3])return r.classList.remove("is-active"),void e.addEventListener("load",(function(){0===Object.keys(this.contentWindow).length&&(t.innerHTML=o)}));const c=n[3],i=`https://docs.google.com/presentation/d/${c}/edit`,s=`https://docs.google.com/presentation/d/${c}/embed`;e.setAttribute("src",i),e.addEventListener("load",(function(){s!==e.getAttribute("src")&&i===e.getAttribute("src")?0===Object.keys(this.contentWindow).length?t.innerHTML=o:e.setAttribute("src",s):r.classList.remove("is-active")}))}))};o.n(t)()((()=>{e()}))}()}();
|
||||
|
|
@ -0,0 +1 @@
|
|||
.wp-block-jetpack-google-docs-embed{border:1px solid #ccc;flex-basis:50%}.wp-block-jetpack-google-docs-embed.aligncenter{margin-left:auto;margin-right:auto}.wp-block-jetpack-google-docs-embed.alignleft,.wp-block-jetpack-google-docs-embed.alignright{margin-bottom:20px;max-width:600px}@media only screen and (min-width:600px){.wp-block-jetpack-google-docs-embed.alignleft{float:right;margin-left:20px!important}.wp-block-jetpack-google-docs-embed.alignright{float:left;margin-right:20px!important}}.wp-block-jetpack-google-docs-embed.ar-50 .wp-block-jetpack-google-docs-embed__wrapper:before{padding-top:50%}.wp-block-jetpack-google-docs-embed.ar-100 .wp-block-jetpack-google-docs-embed__wrapper:before{padding-top:100%}.wp-block-jetpack-google-docs-embed__wrapper{position:relative}.wp-block-jetpack-google-docs-embed__wrapper:before{content:"";display:block;padding-top:50%}.wp-block-jetpack-google-docs-embed__wrapper--error:before{content:none}.wp-block-jetpack-google-docs-embed__error-msg{background-color:#f8f9fa;color:#333;font-size:16px;margin:0;padding:20px}.wp-block-jetpack-google-docs-embed__error-msg:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4.125 12A7.875 7.875 0 0 1 12 4.124a7.875 7.875 0 1 1-7.875 7.874ZM12 3a9 9 0 1 0 0 17.999A9 9 0 1 0 12 3Zm.041 5.28c.31 0 .563.253.563.563v4.5a.562.562 0 0 1-1.125 0v-4.5c0-.31.252-.562.562-.562Zm-.562 7.313c0-.31.252-.563.562-.563h.011a.562.562 0 0 1 0 1.125h-.01a.562.562 0 0 1-.563-.562Z' fill='%231E2935'/%3E%3C/svg%3E");background-position:top;background-repeat:no-repeat;background-size:20px;content:"";display:inline-block;height:20px;margin-left:8px;position:relative;top:4px;width:20px}.wp-block-jetpack-google-docs-embed__error-msg a{color:#333;text-decoration:underline}.wp-block-jetpack-google-docs-embed__error-msg a:focus,.wp-block-jetpack-google-docs-embed__error-msg a:hover{text-decoration:none}.wp-block-jetpack-google-docs-embed .loader{background-color:#fff;display:none;height:100%;position:absolute;text-align:center;top:0;width:100%;z-index:99}.wp-block-jetpack-google-docs-embed .loader.is-active{display:block}.wp-block-jetpack-google-docs-embed .loader span{position:relative;top:50%;transform:translateY(-50%)}.wp-block-jetpack-google-docs-embed iframe{bottom:0;height:100%;left:0;max-width:100%;position:absolute;right:0;top:0;width:100%}.editor-styles-wrapper .wp-block-jetpack-google-docs-embed figure{margin:0}.editor-styles-wrapper [data-align=left] .wp-block-jetpack-google-docs-embed,.editor-styles-wrapper [data-align=right] .wp-block-jetpack-google-docs-embed{width:auto}.editor-styles-wrapper [data-align=left] .wp-block-jetpack-google-docs-embed__wrapper:before,.editor-styles-wrapper [data-align=right] .wp-block-jetpack-google-docs-embed__wrapper:before{content:none}.editor-styles-wrapper [data-align=left] iframe,.editor-styles-wrapper [data-align=right] iframe{position:relative}.editor-styles-wrapper [data-align=left] .wp-block-jetpack-google-docs-embed{margin-left:20px}.editor-styles-wrapper [data-align=right] .wp-block-jetpack-google-docs-embed{margin-right:20px}html[amp] .wp-block-jetpack-google-docs-embed.alignleft,html[amp] .wp-block-jetpack-google-docs-embed.alignright{float:none}html[amp] .wp-block-jetpack-google-docs-embed__wrapper:before{content:none}html[amp] .wp-block-jetpack-google-docs-embed__error-msg:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M1.5 3.5v11h11V10H14v5a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h5v1.5H1.5Z' fill='%231E2935'/%3E%3Cpath d='m15.922 1.178-8.907 8.907-1.06-1.06L14.86.118l1.06 1.06Z' fill='%231E2935'/%3E%3Cpath d='M7.5 0H16v1.5H7.5V0Z' fill='%231E2935'/%3E%3Cpath d='M16 0v8.5h-1.5V0H16Z' fill='%231E2935'/%3E%3C/svg%3E");background-size:12px;height:12px;top:1px;width:12px}html[amp] .wp-block-jetpack-google-docs-embed .loader{display:none}
|
||||
|
|
@ -1,37 +0,0 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="351" height="264" fill="none">
|
||||
<path fill="#fff" stroke="#DCDCDE" d="M.5.5h350V263H.5z"/>
|
||||
<path fill="#fff" stroke="#DCDCDE" d="M47.6.5H.5V263h47z"/>
|
||||
<mask id="a" width="18" height="18" x="15" y="18" maskUnits="userSpaceOnUse">
|
||||
<path fill="#fff" fill-rule="evenodd" d="M23.9 18.8a8.6 8.6 0 100 17.2 8.6 8.6 0 000-17.2zm-7.3 8.6c0-1 .2-2 .6-3l3.5 9.5a7.3 7.3 0 01-4-6.5zm5.2 7a7.3 7.3 0 004.5-.1v-.1L24 28l-2.2 6.4zM25 24l.8-.1c.4 0 .4-.6 0-.6l-2 .1-1.9-.1c-.4 0-.4.6 0 .6h.7l1.2 3.2-1.6 4.8-2.7-8h.9c.4 0 .3-.6 0-.6l-2 .1h-.5a7.3 7.3 0 0111-1.4c-.8 0-1.3.6-1.3 1.3 0 .6.3 1 .6 1.6l.1.1c.3.5.6 1.1.6 2 0 .6-.2 1.3-.5 2.2v.2l-.8 2.4L25 24zm4.9 3.3l-2.2 6.4a7.3 7.3 0 002.7-9.8v.7c0 .8-.1 1.6-.5 2.7z" clip-rule="evenodd"/>
|
||||
</mask>
|
||||
<g mask="url(#a)">
|
||||
<path fill="#101517" d="M15.3 18.8h17.1v17.1H15.3z"/>
|
||||
</g>
|
||||
<g clip-path="url(#clip0)">
|
||||
<path fill="#1877F2" d="M32.5 90a8.6 8.6 0 10-10 8.5v-6h-2.1V90h2.2v-1.9c0-2.1 1.2-3.3 3.2-3.3l2 .1V87h-1.2c-1 0-1.4.7-1.4 1.4V90h2.4l-.4 2.5h-2v6a8.6 8.6 0 007.3-8.5z"/>
|
||||
<path fill="#fff" d="M27.2 92.5l.4-2.5h-2.4v-1.6c0-.7.4-1.4 1.4-1.4h1.1v-2l-2-.2c-1.9 0-3.1 1.2-3.1 3.3V90h-2.2v2.5h2.2v6a8.6 8.6 0 002.6 0v-6h2z"/>
|
||||
</g>
|
||||
<g clip-path="url(#clip1)">
|
||||
<path fill="#1DA1F2" d="M20.4 126.2c6 0 9.4-5 9.4-9.4v-.4c.6-.5 1.1-1 1.6-1.7l-1.9.5c.7-.4 1.2-1 1.4-1.8-.6.4-1.3.6-2 .8a3.3 3.3 0 00-5.7 3 9.4 9.4 0 01-6.8-3.5 3.3 3.3 0 001 4.4c-.5 0-1-.1-1.4-.4a3.3 3.3 0 002.6 3.3c-.5.1-1 .2-1.5 0a3.3 3.3 0 003.1 2.3 6.6 6.6 0 01-4.9 1.4c1.5 1 3.3 1.5 5 1.5"/>
|
||||
</g>
|
||||
<g clip-path="url(#clip2)">
|
||||
<path fill="#4285F4" d="M33 58.7l-.1-1.7h-8.2v3.2h4.7a4 4 0 01-1.8 2.6V65h2.8a8.2 8.2 0 002.6-6.2z"/>
|
||||
<path fill="#34A853" d="M24.7 67c2.3 0 4.3-.8 5.7-2l-2.8-2.2c-.8.5-1.8.8-3 .8a5.2 5.2 0 01-4.8-3.5h-2.9v2.2a8.7 8.7 0 007.8 4.7z"/>
|
||||
<path fill="#FBBC04" d="M19.8 60.1a5 5 0 010-3.2v-2.2h-2.9a8.4 8.4 0 000 7.6l2.9-2.2z"/>
|
||||
<path fill="#EA4335" d="M24.7 53.4c1.2 0 2.4.4 3.3 1.2l2.5-2.4a8.7 8.7 0 00-13.6 2.5l2.9 2.2c.7-2 2.6-3.5 4.9-3.5z"/>
|
||||
</g>
|
||||
<path fill="#1d2327" fill-opacity=".8" d="M87.2 160.1H128v11.2H87.2z"/>
|
||||
<path fill="#D7D8DA" d="M86.9 175.8h210.2v7.2H86.9zM86.9 187.9h198.2v7.2H86.9zM86.9 206.5H136v7.1H86.9zM71.2 21.1h256.2v123.2H71.2z"/>
|
||||
<path stroke="#DCDCDE" d="M71.7 21.6h255.2V226H71.7z"/>
|
||||
<defs>
|
||||
<clipPath id="clip0">
|
||||
<path fill="#fff" d="M0 0h17.1v17.1H0z" transform="translate(15.3 81.4)"/>
|
||||
</clipPath>
|
||||
<clipPath id="clip1">
|
||||
<path fill="#fff" d="M0 0h17.1v17.1H0z" transform="translate(15.3 109.3)"/>
|
||||
</clipPath>
|
||||
<clipPath id="clip2">
|
||||
<path fill="#fff" d="M0 0h17v17H0z" transform="translate(16 50)"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 2.7 KiB |
|
|
@ -40,10 +40,24 @@
|
|||
"videopress",
|
||||
"wordads",
|
||||
"payments-intro",
|
||||
"post-publish-qr-post-panel"
|
||||
"post-publish-qr-post-panel",
|
||||
"payment-buttons"
|
||||
],
|
||||
"beta": [
|
||||
"amazon",
|
||||
"contact-form/salesforce-lead-form",
|
||||
"google-docs-embed",
|
||||
"recipe",
|
||||
"videopress/video",
|
||||
"videopress/video-chapters"
|
||||
],
|
||||
"experimental": [
|
||||
"anchor-fm",
|
||||
"blogging-prompts",
|
||||
"premium-content",
|
||||
"conversation",
|
||||
"dialogue"
|
||||
],
|
||||
"beta": [ "amazon" ],
|
||||
"experimental": [ "anchor-fm", "premium-content", "conversation", "dialogue" ],
|
||||
"no-post-editor": [
|
||||
"business-hours",
|
||||
"button",
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
<?php return array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => '57d744288a63364db9cc');
|
||||
<?php return array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => '95152738347ccfecd83f');
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -1 +1 @@
|
|||
<?php return array('dependencies' => array('lodash', 'wp-components', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-token-list'), 'version' => '0b280fc84ed68481c1d6');
|
||||
<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-components', 'wp-dom-ready', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-polyfill', 'wp-token-list'), 'version' => '9a13a9b5950932468e74');
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
.wp-block-jetpack-map .wp-block-jetpack-map__gm-container{background:#e0e0e0;min-height:400px;overflow:hidden;text-align:left;width:100%}.wp-block-jetpack-map .mapboxgl-popup{max-width:300px}.wp-block-jetpack-map .mapboxgl-popup h3{font-size:1.3125em;font-weight:400;margin-bottom:.5rem}.wp-block-jetpack-map .mapboxgl-popup p{margin-bottom:0}.wp-block-jetpack-map .mapboxgl-ctrl-group button{background-color:transparent!important;border-radius:0}.wp-block-jetpack-map-marker{height:38px;opacity:.9;width:32px}
|
||||
.wp-block-jetpack-map-marker{height:38px;opacity:.9;width:32px}.wp-block-jetpack-map .wp-block-jetpack-map__gm-container{background:#e0e0e0;min-height:400px;overflow:hidden;text-align:left;width:100%}.wp-block-jetpack-map .mapboxgl-popup{max-width:300px}.wp-block-jetpack-map .mapboxgl-popup h3{font-size:1.3125em;font-weight:400;margin-bottom:.5rem}.wp-block-jetpack-map .mapboxgl-popup p{margin-bottom:0}.wp-block-jetpack-map .mapboxgl-ctrl-group button{background-color:transparent!important;border-radius:0}
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1,6 @@
|
|||
/*!
|
||||
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
||||
*
|
||||
* Copyright (c) 2014-2017, Jon Schlinkert.
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
|
|
@ -1 +1 @@
|
|||
.wp-block-jetpack-map .wp-block-jetpack-map__gm-container{background:#e0e0e0;min-height:400px;overflow:hidden;text-align:right;width:100%}.wp-block-jetpack-map .mapboxgl-popup{max-width:300px}.wp-block-jetpack-map .mapboxgl-popup h3{font-size:1.3125em;font-weight:400;margin-bottom:.5rem}.wp-block-jetpack-map .mapboxgl-popup p{margin-bottom:0}.wp-block-jetpack-map .mapboxgl-ctrl-group button{background-color:transparent!important;border-radius:0}.wp-block-jetpack-map-marker{height:38px;opacity:.9;width:32px}
|
||||
.wp-block-jetpack-map-marker{height:38px;opacity:.9;width:32px}.wp-block-jetpack-map .wp-block-jetpack-map__gm-container{background:#e0e0e0;min-height:400px;overflow:hidden;text-align:right;width:100%}.wp-block-jetpack-map .mapboxgl-popup{max-width:300px}.wp-block-jetpack-map .mapboxgl-popup h3{font-size:1.3125em;font-weight:400;margin-bottom:.5rem}.wp-block-jetpack-map .mapboxgl-popup p{margin-bottom:0}.wp-block-jetpack-map .mapboxgl-ctrl-group button{background-color:transparent!important;border-radius:0}
|
||||
|
|
@ -0,0 +1 @@
|
|||
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '257313f331a51a3c1041');
|
||||
|
|
@ -0,0 +1 @@
|
|||
.wp-block-jetpack-payment-buttons{--jetpack-payment-buttons-gap:0.5em}.wp-block-jetpack-payment-buttons.is-layout-flex{gap:var(--jetpack-payment-buttons-gap)}.wp-block-jetpack-payment-buttons .wp-block-button__link{width:100%}.wp-block-jetpack-payment-buttons.has-custom-font-size .wp-block-jetpack-button .wp-block-button__link:not(.has-custom-font-size){font-size:inherit}
|
||||
|
|
@ -0,0 +1 @@
|
|||
!function(){var t={80425:function(t,r,e){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(e.p=window.Jetpack_Block_Assets_Base_Url.url)}},r={};function e(n){var o=r[n];if(void 0!==o)return o.exports;var c=r[n]={exports:{}};return t[n](c,c.exports,e),c.exports}e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,{a:r}),r},e.d=function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),e.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},function(){var t;e.g.importScripts&&(t=e.g.location+"");var r=e.g.document;if(!t&&r&&(r.currentScript&&(t=r.currentScript.src),!t)){var n=r.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=t+"../"}(),function(){"use strict";e(80425)}()}();
|
||||
|
|
@ -0,0 +1 @@
|
|||
.wp-block-jetpack-payment-buttons{--jetpack-payment-buttons-gap:0.5em}.wp-block-jetpack-payment-buttons.is-layout-flex{gap:var(--jetpack-payment-buttons-gap)}.wp-block-jetpack-payment-buttons .wp-block-button__link{width:100%}.wp-block-jetpack-payment-buttons.has-custom-font-size .wp-block-jetpack-button .wp-block-button__link:not(.has-custom-font-size){font-size:inherit}
|
||||
|
|
@ -1 +1 @@
|
|||
<?php return array('dependencies' => array('lodash', 'wp-a11y', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '2b08488a6df68e5105b7');
|
||||
<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-a11y', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-polyfill'), 'version' => '3e2650e6049368023f5b');
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -3,3 +3,10 @@
|
|||
Licensed under the MIT License (MIT), see
|
||||
http://jedwatson.github.io/classnames
|
||||
*/
|
||||
|
||||
/*!
|
||||
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
||||
*
|
||||
* Copyright (c) 2014-2017, Jon Schlinkert.
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
<?php return array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => '051a0c618ec2c5577d3c');
|
||||
|
|
@ -0,0 +1 @@
|
|||
.wp-block-jetpack-recipe-title.has-background{margin:0}.wp-block-jetpack-recipe-details{align-items:center;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(max-content,150px));margin-bottom:3rem;margin-top:1.75rem}@media(min-width:782px){.wp-block-jetpack-recipe-details{margin-bottom:6rem}}.wp-block-jetpack-recipe-details.alignright{justify-content:right}.wp-block-jetpack-recipe-details.aligncenter{justify-content:center}.wp-block-jetpack-recipe-details__detail{font-size:.875rem;margin-right:1rem;padding-right:1rem;text-align:center}.wp-block-jetpack-recipe-details__detail:not(:last-child){border-right:1px solid}.wp-block-jetpack-recipe-details__detail p{margin:0;text-transform:uppercase}.wp-block-jetpack-recipe-details__detail p:first-child{color:#555;font-size:.75rem}.wp-block-jetpack-recipe-step{counter-increment:list;list-style-type:none;padding-bottom:1rem;position:relative}.wp-block-jetpack-recipe-step:before{align-items:center;background-color:var(--step-highlight-color);border-radius:50%;color:var(--step-text-color);content:counter(list);display:flex;font-size:.875rem;height:28px;justify-content:center;left:-2.5rem;line-height:1;position:absolute;text-align:center;width:28px}
|
||||
|
|
@ -0,0 +1 @@
|
|||
!function(){var e={80425:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(n.p=window.Jetpack_Block_Assets_Base_Url.url)},47701:function(e){"use strict";e.exports=window.wp.domReady}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");r.length&&(e=r[r.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e+"../"}(),function(){"use strict";n(80425)}(),function(){"use strict";var e=n(47701),t=n.n(e);class r{constructor(e){this.block=e,this.style=document.createElement("style"),this.initRecipePrint()}getPrintBtns(){return this.block.querySelectorAll(".wp-block-jetpack-recipe-details__detail--print .wp-block-button__link")}removeStyles(){window.onfocus=()=>{document.head.contains(this.style)&&document.head.removeChild(this.style)}}initRecipePrint(){this.getPrintBtns().forEach((e=>{e.addEventListener("click",(e=>{e.preventDefault(),this.style.id="jetpack-recipe-block-print-style",this.style.innerHTML="\n @media print {\n .wp-site-blocks > header,\n .wp-site-blocks > footer,\n .wp-site-blocks > main > *:not(.wp-block-post-content),\n .wp-site-blocks > main > .wp-block-post-content > *:not(.wp-block-jetpack-recipe),\n .wp-block-jetpack-recipe-details__detail--print {\n display: none;\n }\n \n .wp-block-jetpack-recipe-details {\n display: grid;\n gap: 1rem;\n margin-bottom: 6rem;\n margin-top: 1.75rem;\n grid-template-columns: repeat(auto-fit, minmax(100px, 150px));\n }\n \n .wp-block-jetpack-recipe-details__detail {\n font-size: 0.875rem;\n margin-right: 1rem;\n padding-right: 1rem;\n text-align: center;\n }\n \n .wp-block-jetpack-recipe-details__detail:not(:last-child) {\n border-right: 1px solid currentColor;\n }\n \n .wp-block-jetpack-recipe-details__detail p {\n margin: 0;\n text-transform: uppercase;\n }\n \n .wp-block-jetpack-recipe-details__detail p:first-child {\n font-size: 0.75rem;\n color: #555;\n }\n \n .wp-block-jetpack-recipe-step {\n counter-increment: list;\n list-style-type: none;\n position: relative;\n padding-bottom: 1rem;\n }\n \n .wp-block-jetpack-recipe-step::before {\n align-items: center;\n background-color: var(--step-highlight-color);\n border-radius: 50%;\n color: var(--step-text-color);\n content: counter(list);\n display: flex;\n font-size: 0.875rem;\n height: 28px;\n justify-content: center;\n left: -2.5rem;\n line-height: 1;\n position: absolute;\n text-align: center;\n width: 28px;\n }\n \n .wp-block-jetpack-recipe-step p {\n margin: 0;\n }\n }\n ",document.head.appendChild(this.style),window.print()}))})),this.removeStyles()}}t()((()=>{document.querySelectorAll(".wp-block-jetpack-recipe").forEach((e=>new r(e)))}))}()}();
|
||||
|
|
@ -0,0 +1 @@
|
|||
.wp-block-jetpack-recipe-title.has-background{margin:0}.wp-block-jetpack-recipe-details{align-items:center;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(max-content,150px));margin-bottom:3rem;margin-top:1.75rem}@media(min-width:782px){.wp-block-jetpack-recipe-details{margin-bottom:6rem}}.wp-block-jetpack-recipe-details.alignright{justify-content:right}.wp-block-jetpack-recipe-details.aligncenter{justify-content:center}.wp-block-jetpack-recipe-details__detail{font-size:.875rem;margin-left:1rem;padding-left:1rem;text-align:center}.wp-block-jetpack-recipe-details__detail:not(:last-child){border-left:1px solid}.wp-block-jetpack-recipe-details__detail p{margin:0;text-transform:uppercase}.wp-block-jetpack-recipe-details__detail p:first-child{color:#555;font-size:.75rem}.wp-block-jetpack-recipe-step{counter-increment:list;list-style-type:none;padding-bottom:1rem;position:relative}.wp-block-jetpack-recipe-step:before{align-items:center;background-color:var(--step-highlight-color);border-radius:50%;color:var(--step-text-color);content:counter(list);display:flex;font-size:.875rem;height:28px;justify-content:center;line-height:1;position:absolute;right:-2.5rem;text-align:center;width:28px}
|
||||
|
|
@ -1 +1 @@
|
|||
<?php return array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => '9dbe93c5befcee5817d1');
|
||||
<?php return array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => '6efa01627f443efeaf25');
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
.jetpack-memberships-modal #TB_title{display:none}#TB_window.jetpack-memberships-modal{background-color:transparent;background-image:url(https://s0.wp.com/i/loading/dark-200.gif);background-position:center 150px;background-repeat:no-repeat;background-size:50px;border:none;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;height:100%}#TB_window.jetpack-memberships-modal,.jetpack-memberships-modal #TB_iframeContent{bottom:0;left:0;margin:0!important;position:absolute;right:0;top:0;width:100%!important}.jetpack-memberships-modal #TB_iframeContent{height:100%!important}BODY.modal-open{overflow:hidden}.wp-block-jetpack-recurring-payments.aligncenter .wp-block-jetpack-button{text-align:center}.wp-block-jetpack-recurring-payments .wp-block-jetpack-button{color:#fff}
|
||||
.jetpack-memberships-modal #TB_title{display:none}#TB_window.jetpack-memberships-modal{background-color:transparent;background-image:url(https://s0.wp.com/i/loading/dark-200.gif);background-position:center 150px;background-repeat:no-repeat;background-size:50px;border:none;bottom:0;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;height:100%;left:0;margin:0!important;right:0;top:0;width:100%!important}.jetpack-memberships-modal #TB_iframeContent{bottom:0;height:100%!important;left:0;margin:0!important;position:absolute;right:0;top:0;width:100%!important}BODY.modal-open{overflow:hidden}.wp-block-jetpack-recurring-payments.aligncenter .wp-block-jetpack-button{text-align:center}
|
||||
|
|
@ -1 +1 @@
|
|||
.jetpack-memberships-modal #TB_title{display:none}#TB_window.jetpack-memberships-modal{background-color:transparent;background-image:url(https://s0.wp.com/i/loading/dark-200.gif);background-position:center 150px;background-repeat:no-repeat;background-size:50px;border:none;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;height:100%}#TB_window.jetpack-memberships-modal,.jetpack-memberships-modal #TB_iframeContent{bottom:0;left:0;margin:0!important;position:absolute;right:0;top:0;width:100%!important}.jetpack-memberships-modal #TB_iframeContent{height:100%!important}BODY.modal-open{overflow:hidden}.wp-block-jetpack-recurring-payments.aligncenter .wp-block-jetpack-button{text-align:center}.wp-block-jetpack-recurring-payments .wp-block-jetpack-button{color:#fff}
|
||||
.jetpack-memberships-modal #TB_title{display:none}#TB_window.jetpack-memberships-modal{background-color:transparent;background-image:url(https://s0.wp.com/i/loading/dark-200.gif);background-position:center 150px;background-repeat:no-repeat;background-size:50px;border:none;bottom:0;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;height:100%;left:0;margin:0!important;right:0;top:0;width:100%!important}.jetpack-memberships-modal #TB_iframeContent{bottom:0;height:100%!important;left:0;margin:0!important;position:absolute;right:0;top:0;width:100%!important}BODY.modal-open{overflow:hidden}.wp-block-jetpack-recurring-payments.aligncenter .wp-block-jetpack-button{text-align:center}
|
||||
|
|
@ -1 +1 @@
|
|||
<?php return array('dependencies' => array('lodash', 'wp-dom-ready', 'wp-escape-html', 'wp-polyfill'), 'version' => '00e7f45910b2c9be01ff');
|
||||
<?php return array('dependencies' => array('lodash', 'wp-dom-ready', 'wp-escape-html', 'wp-polyfill'), 'version' => 'f0cb106e19ea48f9d1fe');
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1 +1 @@
|
|||
<?php return array('dependencies' => array('lodash', 'react', 'wp-blob', 'wp-components', 'wp-compose', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-keycodes', 'wp-polyfill'), 'version' => '3c5d933cbaac265fbda3');
|
||||
<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-blob', 'wp-components', 'wp-compose', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-keycodes', 'wp-polyfill'), 'version' => '716770c1859840357e7e');
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -3,3 +3,10 @@
|
|||
Licensed under the MIT License (MIT), see
|
||||
http://jedwatson.github.io/classnames
|
||||
*/
|
||||
|
||||
/*!
|
||||
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
||||
*
|
||||
* Copyright (c) 2014-2017, Jon Schlinkert.
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -1 +1 @@
|
|||
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'ce65d91e42591d36601d');
|
||||
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '8e0d5c88a817a1869ee2');
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1,14 +1,16 @@
|
|||
<?php
|
||||
/**
|
||||
* Used by the blogging prompt feature of the mobile app.
|
||||
* Used by the blogging prompt feature.
|
||||
*
|
||||
* @package automattic/jetpack
|
||||
*/
|
||||
|
||||
add_filter( 'rest_api_allowed_public_metadata', 'jetpack_blogging_prompts_add_meta_data' );
|
||||
/**
|
||||
* Hooked functions.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Adds the blogging prompt key post metq to the list of allowed post meta to be updated by rest api.
|
||||
* Adds the blogging prompt key post meta to the list of allowed post meta to be updated by rest api.
|
||||
*
|
||||
* @param array $keys Array of post meta keys that are allowed public metadata.
|
||||
*
|
||||
|
|
@ -18,3 +20,209 @@ function jetpack_blogging_prompts_add_meta_data( $keys ) {
|
|||
$keys[] = '_jetpack_blogging_prompt_key';
|
||||
return $keys;
|
||||
}
|
||||
|
||||
add_filter( 'rest_api_allowed_public_metadata', 'jetpack_blogging_prompts_add_meta_data' );
|
||||
|
||||
/**
|
||||
* Sets up a new post as an answer to a blogging prompt.
|
||||
*
|
||||
* Called on `wp_insert_post` hook.
|
||||
*
|
||||
* @param int $post_id ID of post being inserted.
|
||||
* @return void
|
||||
*/
|
||||
function jetpack_setup_blogging_prompt_response( $post_id ) {
|
||||
// phpcs:ignore WordPress.Security.NonceVerification.Recommended
|
||||
$prompt_id = isset( $_GET['answer_prompt'] ) && absint( $_GET['answer_prompt'] ) ? absint( $_GET['answer_prompt'] ) : false;
|
||||
|
||||
if ( ! jetpack_is_new_post_screen() || ! $prompt_id ) {
|
||||
return;
|
||||
}
|
||||
|
||||
if ( jetpack_is_valid_blogging_prompt( $prompt_id ) ) {
|
||||
update_post_meta( $post_id, '_jetpack_blogging_prompt_key', $prompt_id );
|
||||
wp_add_post_tags( $post_id, 'dailyprompt' );
|
||||
}
|
||||
}
|
||||
|
||||
add_action( 'wp_insert_post', 'jetpack_setup_blogging_prompt_response' );
|
||||
|
||||
/**
|
||||
* Utility functions.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Retrieve daily blogging prompts from the wpcom API and cache them.
|
||||
*
|
||||
* @param int $time Unix timestamp representing the day for which to get blogging prompts.
|
||||
* @return stdClass[] Array of blogging prompt objects.
|
||||
*/
|
||||
function jetpack_get_daily_blogging_prompts( $time = 0 ) {
|
||||
// Default to the current time in the site's timezone.
|
||||
$timestamp = $time ? $time : current_time( 'timestamp' ); // phpcs:ignore WordPress.DateTime.CurrentTimeTimestamp.Requested
|
||||
|
||||
// Include prompts from the previous day, just in case someone has an outdated prompt id.
|
||||
$day_before = date_i18n( 'Y-m-d', $timestamp - DAY_IN_SECONDS );
|
||||
$locale = jetpack_get_mag16_locale();
|
||||
$transient_key = 'jetpack_blogging_prompt_' . $day_before . '_' . $locale;
|
||||
$daily_prompts = get_transient( $transient_key );
|
||||
|
||||
// Return the cached prompt, if we have it. Otherwise fetch it from the API.
|
||||
if ( false !== $daily_prompts ) {
|
||||
return $daily_prompts;
|
||||
}
|
||||
|
||||
$blog_id = \Jetpack_Options::get_option( 'id' );
|
||||
$path = '/sites/' . $blog_id . '/blogging-prompts?from=' . $day_before . '&number=10&_locale=' . $locale;
|
||||
$args = array(
|
||||
'headers' => array(
|
||||
'Content-Type' => 'application/json',
|
||||
'X-Forwarded-For' => ( new \Automattic\Jetpack\Status\Visitor() )->get_ip( true ),
|
||||
),
|
||||
// `method` and `url` are needed for using `WPCOM_API_Direct::do_request`
|
||||
// `wpcom_json_api_request_as_user` will generate and overwrite these.
|
||||
'method' => \WP_REST_Server::READABLE,
|
||||
'url' => JETPACK__WPCOM_JSON_API_BASE . '/wpcom/v2' . $path,
|
||||
);
|
||||
|
||||
if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
|
||||
// This will load the library, but it may be too late to automatically load any endpoints using WPCOM_API_Direct::register_endpoints.
|
||||
// In that case, call `wpcom_rest_api_v2_load_plugin_files( 'wp-content/rest-api-plugins/endpoints/blogging-prompts.php' )`
|
||||
// on the `init` hook to load the blogging-prompts endpoint before calling this function.
|
||||
require_lib( 'wpcom-api-direct' );
|
||||
$response = \WPCOM_API_Direct::do_request( $args );
|
||||
} else {
|
||||
$response = \Automattic\Jetpack\Connection\Client::wpcom_json_api_request_as_user( $path, 'v2', $args, null, 'wpcom' );
|
||||
}
|
||||
$response_status = wp_remote_retrieve_response_code( $response );
|
||||
|
||||
if ( is_wp_error( $response ) || $response_status !== \WP_Http::OK ) {
|
||||
return null;
|
||||
}
|
||||
|
||||
$body = json_decode( wp_remote_retrieve_body( $response ) );
|
||||
$prompts = $body->prompts;
|
||||
set_transient( $transient_key, $prompts, DAY_IN_SECONDS );
|
||||
|
||||
return $prompts;
|
||||
}
|
||||
|
||||
/**
|
||||
* Trim language code for to match one of the 16 languages translated for WP.com
|
||||
*
|
||||
* The blogging-prompts API currently only has translations for these languages, and
|
||||
* won't fall back to generic versions. e.g. fr_BE will return English, so we trim to
|
||||
* fr to get the French translations.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function jetpack_get_mag16_locale() {
|
||||
$locale = get_locale();
|
||||
|
||||
if ( ! in_array( strtolower( $locale ), array( 'zh_cn', 'zh_tw', 'pt_br' ), true ) ) {
|
||||
// Trim the locale from the end of the language code, unless we specifically translate that version of the language.
|
||||
return preg_replace( '/(_.*)$/i', '', $locale );
|
||||
} elseif ( 'pt' === $locale ) {
|
||||
// We have Portuguese (Brazil), but not Portuguese (Portugal) translations.
|
||||
return 'pt_br';
|
||||
}
|
||||
|
||||
return $locale;
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines if the site has publish posts or plans to publish posts.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
function jetpack_has_or_will_publish_posts() {
|
||||
// Lets count the posts.
|
||||
$count_posts_object = wp_count_posts( 'post' );
|
||||
$count_posts = (int) $count_posts_object->publish + (int) $count_posts_object->future + (int) $count_posts_object->draft;
|
||||
|
||||
return $count_posts_object->publish >= 2 || $count_posts >= 100;
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines if the site has a posts page or shows posts on the front page.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
function jetpack_has_posts_page() {
|
||||
// The site is set up to be a blog.
|
||||
if ( 'posts' === get_option( 'show_on_front' ) ) {
|
||||
return true;
|
||||
}
|
||||
|
||||
// There is a page set to show posts.
|
||||
$is_posts_page_set = (int) get_option( 'page_for_posts' ) > 0;
|
||||
if ( $is_posts_page_set ) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines if site had the "Write" intent set when created.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
function jetpack_has_write_intent() {
|
||||
return 'write' === get_option( 'site_intent', '' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines if the current screen (in wp-admin) is creating a new post.
|
||||
*
|
||||
* /wp-admin/post-new.php
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
function jetpack_is_new_post_screen() {
|
||||
global $current_screen;
|
||||
|
||||
if (
|
||||
$current_screen instanceof \WP_Screen &&
|
||||
'add' === $current_screen->action &&
|
||||
'post' === $current_screen->post_type
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines if the site might have a blog.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
function jetpack_is_potential_blogging_site() {
|
||||
return jetpack_has_write_intent() || jetpack_has_posts_page() || jetpack_has_or_will_publish_posts();
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if the given prompt id is included in today's blogging prompts.
|
||||
*
|
||||
* Would be best to use the API to check if the prompt id is valid for any day,
|
||||
* but for now we're only using one prompt per day.
|
||||
*
|
||||
* @param int $prompt_id id of blogging prompt.
|
||||
* @return bool
|
||||
*/
|
||||
function jetpack_is_valid_blogging_prompt( $prompt_id ) {
|
||||
$daily_prompts = jetpack_get_daily_blogging_prompts();
|
||||
|
||||
if ( ! $daily_prompts ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
foreach ( $daily_prompts as $prompt ) {
|
||||
if ( $prompt->id === $prompt_id ) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-components', 'wp-data', 'wp-date', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '9d8b598e16df8e4bb708');
|
||||
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-components', 'wp-data', 'wp-date', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => 'efd08427e3c78fa28b69');
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -31,7 +31,7 @@ object-assign
|
|||
*/
|
||||
|
||||
/*!
|
||||
* tabbable 5.3.2
|
||||
* tabbable 5.3.3
|
||||
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -1 +1 @@
|
|||
<?php return array('dependencies' => array(), 'version' => '810e5473c97be67de3f2');
|
||||
<?php return array('dependencies' => array(), 'version' => '1e3880ded356f666bb1a');
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -1 +1 @@
|
|||
<?php return array('dependencies' => array(), 'version' => '7e82a11d60451a204cce');
|
||||
<?php return array('dependencies' => array(), 'version' => '400da67ba64bc447d2d9');
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
jQuery(document).ready((function(n){var e=n(".jp-connect-button, .jp-banner__alt-connect-button").eq(0),t=n(".jp-connect-full__tos-blurb"),a=n("#jetpack-connection-cards, .jp-connect-full__dismiss-paragraph, .jp-connect-full__testimonial"),o="";e.on("click",(function(e){if(e.preventDefault(),"undefined"==typeof URLSearchParams)o="";else{var t=new URLSearchParams(n(this).prop("search"));o=t&&t.get("from")}a.length&&a.fadeOut(600),i.startConnectionFlow()}));var i={isRegistering:!1,isPaidPlan:!1,startConnectionFlow:function(){var e=n("#jetpack-connection-cards, .jp-connect-full__testimonial");e.length&&e.fadeOut(600),i.isRegistering||i.handleConnection()},startAuthorizationFlow:function(n){n.alternateAuthorizeUrl?window.location=n.alternateAuthorizeUrl:window.location=n.authorizeUrl},handleConnection:function(){if(e.hasClass("jp-banner__alt-connect-button")){var a=o&&"&from="+o||"";window.location=jpConnect.connectInPlaceUrl+a}else{i.isRegistering=!0,t.hide(),e.hide(),i.triggerLoadingState();var r=jpConnect.apiBaseUrl+"/connection/register";window.Initial_State&&window.Initial_State.calypsoEnv&&(r=r+"?"+n.param({calypso_env:window.Initial_State.calypsoEnv})),n.ajax({url:r,type:"POST",data:{registration_nonce:jpConnect.registrationNonce,_wpnonce:jpConnect.apiNonce,from:o},error:i.handleConnectionError,success:i.startAuthorizationFlow})}},triggerLoadingState:function(){var e=n("<span>").addClass("jp-connect-full__button-container-loading").text(jpConnect.buttonTextRegistering).appendTo(".jp-connect-full__button-container"),t=n("<div>").addClass("jp-spinner"),a=n("<div>").addClass("jp-spinner__outer").appendTo(t);n("<div>").addClass("jp-spinner__inner").appendTo(a),e.after(t)},fetchPlanType:function(){return n.ajax({url:jpConnect.apiBaseUrl+"/site",type:"GET",data:{_wpnonce:jpConnect.apiSiteDataNonce},success:function(n){var e=JSON.parse(n.data);i.isPaidPlan=e.options.is_pending_plan||!e.plan.is_free}})},receiveData:function(n){if(n.origin===jpConnect.jetpackApiDomain)switch(n.data){case"close":window.removeEventListener("message",this.receiveData),i.handleAuthorizationComplete();break;case"wpcom_nocookie":i.handleConnectionError()}},handleAuthorizationComplete:function(){i.isRegistering=!1,i.fetchPlanType().always((function(){if(i.isPaidPlan){var n=document.createElement("a");n.href=jpConnect.dashboardUrl;var e=window.location.pathname===n.pathname&&window.location.hash.length&&n.hash.length;window.location.assign(jpConnect.dashboardUrl),e&&window.location.reload(!0)}else window.location.assign(jpConnect.plansPromptUrl)}))},handleConnectionError:function(n){i.isRegistering=!1,window.location=e.attr("href")}};o=location.hash.split("&from=")[1]}));
|
||||
jQuery(document).ready((function(n){var t=n(".jp-connect-button, #jp-connect-button--alt").eq(0),e=n(".jp-connect-full__tos-blurb"),o=n("#jetpack-connection-cards, .jp-connect-full__dismiss-paragraph, .jp-connect-full__testimonial"),a="";t.on("click",(function(t){if(t.preventDefault(),"undefined"==typeof URLSearchParams)a="";else{var e=new URLSearchParams(n(this).prop("search"));a=e&&e.get("from")}o.length&&o.fadeOut(600),i.startConnectionFlow()}));var i={isRegistering:!1,isPaidPlan:!1,startConnectionFlow:function(){var t=n("#jetpack-connection-cards, .jp-connect-full__testimonial");t.length&&t.fadeOut(600),i.isRegistering||i.handleConnection()},startAuthorizationFlow:function(n){n.alternateAuthorizeUrl?window.location=n.alternateAuthorizeUrl:window.location=n.authorizeUrl},handleConnection:function(){if("jp-connect-button--alt"!==t.attr("id")){i.isRegistering=!0,e.hide(),t.hide(),i.triggerLoadingState();var o=jpConnect.apiBaseUrl+"/connection/register";window.Initial_State&&window.Initial_State.calypsoEnv&&(o=o+"?"+n.param({calypso_env:window.Initial_State.calypsoEnv})),n.ajax({url:o,type:"POST",data:{registration_nonce:jpConnect.registrationNonce,_wpnonce:jpConnect.apiNonce,from:a},error:i.handleConnectionError,success:i.startAuthorizationFlow})}else{var r=a&&"&from="+a||"";window.location=jpConnect.connectInPlaceUrl+r}},triggerLoadingState:function(){var t=n("<span>").addClass("jp-connect-full__button-container-loading").text(jpConnect.buttonTextRegistering).appendTo(".jp-connect-full__button-container"),e=n("<div>").addClass("jp-spinner"),o=n("<div>").addClass("jp-spinner__outer").appendTo(e);n("<div>").addClass("jp-spinner__inner").appendTo(o),t.after(e)},fetchPlanType:function(){return n.ajax({url:jpConnect.apiBaseUrl+"/site",type:"GET",data:{_wpnonce:jpConnect.apiSiteDataNonce},success:function(n){var t=JSON.parse(n.data);i.isPaidPlan=t.options.is_pending_plan||!t.plan.is_free}})},receiveData:function(n){if(n.origin===jpConnect.jetpackApiDomain)switch(n.data){case"close":window.removeEventListener("message",this.receiveData),i.handleAuthorizationComplete();break;case"wpcom_nocookie":i.handleConnectionError()}},handleAuthorizationComplete:function(){i.isRegistering=!1,i.fetchPlanType().always((function(){if(i.isPaidPlan){var n=document.createElement("a");n.href=jpConnect.dashboardUrl;var t=window.location.pathname===n.pathname&&window.location.hash.length&&n.hash.length;window.location.assign(jpConnect.dashboardUrl),t&&window.location.reload(!0)}else window.location.assign(jpConnect.plansPromptUrl)}))},handleConnectionError:function(n){i.isRegistering=!1,window.location=t.attr("href")}};a=location.hash.split("&from=")[1]}));
|
||||
|
|
@ -1 +1 @@
|
|||
<?php return array('dependencies' => array(), 'version' => 'a2298af12124ff37a73d');
|
||||
<?php return array('dependencies' => array(), 'version' => 'af92cec51767b493f314');
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
jQuery((function(a){if("undefined"!=typeof jetpack_empty_spam_button_parameters){var t=a("<div/>").addClass("jetpack-empty-spam-container"),e=a("<a />").addClass("button-secondary").addClass("jetpack-empty-spam").attr("href","#").attr("data-progress-label",jetpack_empty_spam_button_parameters.progress_label).attr("data-success-url",jetpack_empty_spam_button_parameters.success_url).attr("data-failure-url",jetpack_empty_spam_button_parameters.failure_url).attr("data-spam-feedbacks-count",jetpack_empty_spam_button_parameters.spam_count).attr("data-nonce",jetpack_empty_spam_button_parameters.nonce).text(jetpack_empty_spam_button_parameters.label);t.append(e);var s=a("<span />").addClass("jetpack-empty-spam-spinner");t.append(s),a(".tablenav.top .actions, .tablenav.bottom .actions").not(".bulkactions").append(t)}function n(t,e){var s=a("#jetpack-check-feedback-spam").data("nonce-name"),p=a("#"+s).attr("value"),c=a("#jetpack-check-feedback-spam").data("failure-url"),d={action:"grunion_recheck_queue",offset:t,limit:e};d[s]=p,a.post(ajaxurl,d).fail((function(a){window.location.href=c})).done((function(a){a.processed<e?window.location.reload():n(t+e,e)}))}a(document).on("click","#jetpack-check-feedback-spam:not(.button-disabled)",(function(t){t.preventDefault(),a("#jetpack-check-feedback-spam:not(.button-disabled)").addClass("button-disabled"),a(".jetpack-check-feedback-spam-spinner").addClass("spinner").show(),n(0,100)}));var p=0,c=0;function d(){var t=a(".jetpack-empty-spam"),e=t.data("nonce"),s=Math.round(c/p*1e3)/10;t.text(t.data("progress-label").replace("%1$s",s)),a.post(ajaxurl,{action:"jetpack_delete_spam_feedbacks",nonce:e}).fail((function(a){window.location.href=t.data("failure-url")})).done((function(a){c+=a.data.counts.deleted,a.data.counts.deleted<a.data.counts.limit?window.location.href=t.data("success-url"):d()}))}a(document).on("click",".jetpack-empty-spam",(function(t){t.preventDefault(),a(this).hasClass("button-disabled")||(a(".jetpack-empty-spam").addClass("button-disabled").addClass("emptying"),a(".jetpack-empty-spam-spinner").addClass("spinner").addClass("is-active"),a(".jetpack-empty-spam").text(a(".jetpack-empty-spam").data("progress-label").replace("%1$s","0")),p=parseInt(a(this).data("spam-feedbacks-count"),10),d())}))}));
|
||||
jQuery((function(a){if("undefined"!=typeof jetpack_empty_spam_button_parameters){var t=a("<div/>").addClass("jetpack-empty-spam-container"),e=a("<a />").addClass("button-secondary").addClass("jetpack-empty-spam").attr("href","#").attr("data-progress-label",jetpack_empty_spam_button_parameters.progress_label).attr("data-success-url",jetpack_empty_spam_button_parameters.success_url).attr("data-failure-url",jetpack_empty_spam_button_parameters.failure_url).attr("data-spam-feedbacks-count",jetpack_empty_spam_button_parameters.spam_count).attr("data-nonce",jetpack_empty_spam_button_parameters.nonce).text(jetpack_empty_spam_button_parameters.label);t.append(e);var n=a("<span />").addClass("jetpack-empty-spam-spinner");t.append(n),a(".tablenav.top .actions, .tablenav.bottom .actions").not(".bulkactions").append(t)}function s(t,e){var n=a("#jetpack-check-feedback-spam").data("nonce-name"),c=a("#"+n).attr("value"),p=a("#jetpack-check-feedback-spam").data("failure-url"),o={action:"grunion_recheck_queue",offset:t,limit:e};o[n]=c,a.post(ajaxurl,o).fail((function(){window.location.href=p})).done((function(a){a.processed<e?window.location.reload():s(t+e,e)}))}a(document).on("click","#jetpack-check-feedback-spam:not(.button-disabled)",(function(t){t.preventDefault(),a("#jetpack-check-feedback-spam:not(.button-disabled)").addClass("button-disabled"),a(".jetpack-check-feedback-spam-spinner").addClass("spinner").show(),s(0,100)}));var c=0,p=0;function o(){var t=a(".jetpack-empty-spam"),e=t.data("nonce"),n=Math.round(p/c*1e3)/10;t.text(t.data("progress-label").replace("%1$s",n)),a.post(ajaxurl,{action:"jetpack_delete_spam_feedbacks",nonce:e}).fail((function(a){window.location.href=t.data("failure-url")})).done((function(a){p+=a.data.counts.deleted,a.data.counts.deleted<a.data.counts.limit?window.location.href=t.data("success-url"):o()}))}a(document).on("click",".jetpack-empty-spam",(function(t){t.preventDefault(),a(this).hasClass("button-disabled")||(a(".jetpack-empty-spam").addClass("button-disabled").addClass("emptying"),a(".jetpack-empty-spam-spinner").addClass("spinner").addClass("is-active"),a(".jetpack-empty-spam").text(a(".jetpack-empty-spam").data("progress-label").replace("%1$s","0")),c=parseInt(a(this).data("spam-feedbacks-count"),10),o())})),a(document).ready((function(){function t(t,e,n){a.post(ajaxurl,{action:"grunion_ajax_spam",post_id:t,make_it:e,sub_menu:jQuery(".subsubsub .current").attr("href"),_ajax_nonce:window.__grunionPostStatusNonce},(function(e){a("#post-"+t).css({backgroundColor:n}).fadeOut(350,(function(){a(this).remove(),a(".subsubsub").html(e)}))}))}a("tr.type-feedback .row-actions a").click((function(e){e.preventDefault();var n=a(e.target).closest("tr.type-feedback").attr("id").match(/^post\-(\d+)/);if(n){var s=parseInt(n[1],10);a(e.target).parent().hasClass("spam")&&(e.preventDefault(),t(s,"spam","#FF7979")),a(e.target).parent().hasClass("trash")&&(e.preventDefault(),t(s,"trash","#FF7979")),a(e.target).parent().hasClass("unspam")&&(e.preventDefault(),t(s,"ham","#59C859")),a(e.target).parent().hasClass("untrash")&&(e.preventDefault(),t(s,"publish","#59C859"))}}))})),a(document).on("click","#jetpack-export-feedback",(function(t){t.preventDefault();var e=a("#jetpack-export-feedback").data("nonce-name"),n=a("#"+e).attr("value"),s=window.location.search.match(/(\?|\&)m=(\d+)/),c=window.location.search.match(/(\?|\&)jetpack_form_parent_id=(\d+)/),p=[];a("#posts-filter .check-column input[type=checkbox]:checked").each((function(){p.push(parseInt(a(this).attr("value"),10))})),a.post(ajaxurl,{action:"feedback_export",year:s?s[2].substr(0,4):"",month:s?s[2].substr(4,2):"",post:c?parseInt(c[2],10):"all",selected:p,[e]:n},(function(a){var t=new Blob([a],{type:"application/octetstream"}),e=document.createElement("a");e.href=window.URL.createObjectURL(t),e.download="feedback.csv",document.body.appendChild(e),e.click(),document.body.removeChild(e),window.URL.revokeObjectURL(e.href)}))}))}));
|
||||
|
|
@ -1 +0,0 @@
|
|||
<?php return array('dependencies' => array(), 'version' => 'db55320b901cec83554e');
|
||||
|
|
@ -1 +0,0 @@
|
|||
!function(){var t,s;window.wp,t=jQuery,(s=window.wp.customize).controlConstructor.jetpackCss=s.Control.extend({modes:{default:"text/css",less:"text/x-less",sass:"text/x-scss"},_updating:!1,ready:function(){this.opts=window._jp_css_settings,this.$input=t("<textarea />",{name:this.setting.id,class:"for-codemirror hidden"}).val(this.setting()),this.container.append(this.$input),s(this.setting.id,_.bind((function(t){var i=new s.Element(this.$input);this.elements=[i],i.sync(t),i.set(t())}),this)),this.opts.useRichEditor?this.initCodeMirror():this.$input.removeClass("hidden"),s.bind("ready",_.bind(this.addLabels,this))},initCodeMirror:function(){this.editor=window.CodeMirror.fromTextArea(this.$input.get(0),{mode:this.getMode(),lineNumbers:!0,tabSize:2,indentWithTabs:!0,lineWrapping:!0}),this.addListeners()},addListeners:function(){var s=!1;t("#accordion-section-custom_css > .accordion-section-title").click(_.bind(_.debounce(this.editor.refresh,250),this.editor)),this.editor.on("focus",(function(t){t.refresh()})),this.editor.on("change",_.bind((function(t){this._updating=!0,this.$input.val(t.getValue()).trigger("change"),this._updating=!1,s||(window.ga&&window.ga("send","event","Customizer","Typed Custom CSS"),s=!0)}),this)),this.editor.on("focus",(function(){window.ga&&window.ga("send","event","Customizer","Focused CSS Editor")})),this.setting.bind("change",_.bind(this.externalChange,this))},getMode:function(){var t=s("jetpack_custom_css[preprocessor]")();return""!==t&&this.modes[t]||(t="default"),this.modes[t]},externalChange:function(){this._updating||this.editor.setValue(this.setting())},refresh:function(t){"accordion-section-custom_css"===t&&setTimeout(_.bind((function(){this.editor.refresh()}),this),300)},addLabels:function(){this.addTitle("jetpack_css_mode_control",this.opts.l10n.mode),this.addTitle("jetpack_mobile_css_control",this.opts.l10n.mobile),this.addDesc("wpcom_custom_css_content_width_control",this.opts.l10n.contentWidth);var s=this._getControl("wpcom_custom_css_content_width_control");s&&s.find("input").after("<span>px</span>"),t("<div />",{id:"css-help-links",class:"css-help"}).appendTo(this.container),t("<a />",{id:"help-link",target:"_blank",href:this.opts.cssHelpUrl,text:this.opts.l10n.css_help_title}).prependTo("#css-help-links"),this.opts.areThereCssRevisions&&t("<a />",{id:"revisions-link",target:"_blank",href:this.opts.revisionsUrl,text:this.opts.l10n.revisions}).prependTo("#css-help-links")},addTitle:function(t,s){var i=this._getControl(t);i&&i.prepend('<span class="customize-control-title">'+s+"<span>")},addDesc:function(t,s){var i=this._getControl(t);i&&i.append('<span class="description">'+s+"<span>")},_getControl:function(t){var i=s.control.value(t);return i?i.container:null}})}();
|
||||
|
|
@ -1 +0,0 @@
|
|||
<?php return array('dependencies' => array(), 'version' => 'a7fc86e0f09a5a5e166d');
|
||||
|
|
@ -1 +0,0 @@
|
|||
!function(){var e,s,o,c,t;e=jQuery,c=function(){s.height(o.height()-s.offset().top-250)},t=function(){s=e("#safecss"),o=e(window),postboxes.add_postbox_toggles("editcss"),c(),e("#safecssform").on("click","#preview",(function(e){e.preventDefault(),document.forms.safecssform.target="csspreview",document.forms.safecssform.action.value="preview",document.forms.safecssform.submit(),document.forms.safecssform.target="",document.forms.safecssform.action.value="save"}))},window.onresize=c,addLoadEvent(t),jQuery((function(e){e(".edit-preprocessor").bind("click",(function(s){s.preventDefault(),e("#preprocessor-select").slideDown(),e(this).hide()})),e(".cancel-preprocessor").bind("click",(function(s){s.preventDefault(),e("#preprocessor-select").slideUp((function(){e(".edit-preprocessor").show(),e("#preprocessor_choices").val(e("#custom_css_preprocessor").val())}))})),e(".save-preprocessor").bind("click",(function(s){s.preventDefault(),e("#preprocessor-select").slideUp(),e("#preprocessor-display").text(e("#preprocessor_choices option:selected").text()),e("#custom_css_preprocessor").val(e("#preprocessor_choices").val()).change(),e(".edit-preprocessor").show()})),e(".edit-css-mode").bind("click",(function(s){s.preventDefault(),e("#css-mode-select").slideDown(),e(this).hide()})),e(".cancel-css-mode").bind("click",(function(s){s.preventDefault(),e("#css-mode-select").slideUp((function(){e(".edit-css-mode").show(),e("input[name=add_to_existing_display][value="+e("#add_to_existing").val()+"]").attr("checked",!0)}))})),e(".save-css-mode").bind("click",(function(s){s.preventDefault(),e("#css-mode-select").slideUp(),e("#css-mode-display").text("true"===e("input[name=add_to_existing_display]:checked").val()?"Add-on":"Replacement"),e("#add_to_existing").val(e("input[name=add_to_existing_display]:checked").val()),e(".edit-css-mode").show()}))}))}();
|
||||
|
|
@ -1 +0,0 @@
|
|||
<?php return array('dependencies' => array(), 'version' => '5c7f15d0c19bca568f08');
|
||||
|
|
@ -1 +0,0 @@
|
|||
!function(){var t,e;t=jQuery,e={modes:{default:"text/css",less:"text/x-less",sass:"text/x-scss"},init:function(){this.$textarea=t("#safecss"),this.editor=window.CodeMirror.fromTextArea(this.$textarea.get(0),{mode:this.getMode(),lineNumbers:!0,tabSize:2,indentWithTabs:!0,lineWrapping:!0}),this.setEditorHeight()},addListeners:function(){t(window).on("resize",_.bind(_.debounce(this.setEditorHeight,100),this)),this.editor.on("change",_.bind((function(t){this.$textarea.val(t.getValue())}),this)),t("#preprocessor_choices").change(_.bind((function(){this.editor.setOption("mode",this.getMode())}),this))},setEditorHeight:function(){var e=t("html").height()-t(this.editor.getWrapperElement()).offset().top;this.editor.setSize(null,e)},getMode:function(){var e=t("#preprocessor_choices").val();return""!==e&&this.modes[e]||(e="default"),this.modes[e]}},t(document).ready(_.bind(e.init,e))}();
|
||||
|
|
@ -1 +1 @@
|
|||
<?php return array('dependencies' => array(), 'version' => 'a03ee67f61c922de9ef7');
|
||||
<?php return array('dependencies' => array(), 'version' => 'fac55854b1f214a0aa1c');
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -1 +1 @@
|
|||
<?php return array('dependencies' => array(), 'version' => '9278d66461ebf5e6b3f4');
|
||||
<?php return array('dependencies' => array(), 'version' => '6016e63f7654fc0bfa2a');
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
!function(e){var n=e(".jp-wpcom-connect__vertical-nav-container"),c=e(".jp-wpcom-connect__content-container"),i=e(".jp-banner__button-container .next-feature"),t=e(".jp-connect-full__container"),o=e(".jp-connect-full__dismiss, .jp-connect-full__dismiss-paragraph"),s=e("#welcome-panel"),a=e("#message"),l=e(".connection-banner-dismiss");function r(e){n.find(".vertical-menu__feature-item-is-selected").removeClass("vertical-menu__feature-item-is-selected"),c.find(".jp__slide-is-active").removeClass("jp__slide-is-active"),n.children().eq(e).addClass("vertical-menu__feature-item-is-selected"),c.children().eq(e).addClass("jp__slide-is-active")}e(window).on("load",(function(){s.insertBefore(a)})),l.on("click",(function(){e(a).hide();var n={action:"jetpack_connection_banner",nonce:jp_banner.connectionBannerNonce,dismissBanner:!0};e.post(jp_banner.ajax_url,n,(function(n){!0!==n.success&&e(a).show()}))})),n.on("click",".vertical-menu__feature-item:not( .vertical-menu__feature-item-is-selected )",(function(){r(e(this).index())})),i.on("click",(function(n){n.preventDefault(),r(e(this).closest(".jp-wpcom-connect__slide").index()+1)})),o.on("click",(function(){e(t).hide()})),e(document).keyup((function(n){27===n.keyCode&&e(o).click()}))}(jQuery);
|
||||
!function(){var n,c,e,o,i,a;n=jQuery,c=n(".jp-connect-full__container"),e=n(".jp-connect-full__dismiss, .jp-connect-full__dismiss-paragraph"),o=n("#welcome-panel"),i=n(".jp-connection-banner"),a=n(".jp-connection-banner__dismiss"),n(window).on("load",(function(){o.insertBefore(i)})),a.on("click",(function(){n(i).hide();var c={action:"jetpack_connection_banner",nonce:jp_banner.connectionBannerNonce,dismissBanner:!0};n.post(jp_banner.ajax_url,c,(function(c){!0!==c.success&&n(i).show()}))})),e.on("click",(function(){n(c).hide()})),n(document).keyup((function(c){"Escape"===c.code&&n(e).click()}))}();
|
||||
|
|
@ -1 +1 @@
|
|||
<?php return array('dependencies' => array(), 'version' => '33b911fc9450c41c3e65');
|
||||
<?php return array('dependencies' => array(), 'version' => '550c1dab2865e708d8e7');
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
!function(e,t,a,n,o,s,i,l){"use strict";var c,r,d,u,p;t(".wp-list-table.jetpack-modules"),d=t(".navbar-form"),u=t("#srch-term-search-input"),t(".jp-frame"),p=t("#doaction"),c=new n.Modules({items:a}),new o.List_Table({el:"#the-list",model:c}),c.trigger("change"),r=function(e){t(".subsubsub").find('a[data-title="'+t(this).data("title")+'"]').addClass("current").closest("li").siblings().find("a.current").removeClass("current"),e.preventDefault(),c.trigger("change")},t(".subsubsub a").on("click",{modules:c},r),d.on("click",".button-group .button",{modules:c},(function(e){e.preventDefault(),t(this).addClass("active").siblings(".active").removeClass("active"),c.trigger("change")})),u.on("keyup search",(function(e){9!==e.keyCode&&c.trigger("change")})),u.prop("placeholder",s.search_placeholder),p.on("click",(function(a){var n,o=t(".jetpack-modules-list-table-form").serialize(),s=t(this).siblings("select").val();o.length&&"-1"!==s&&(n="admin.php?page=jetpack&action="+encodeURIComponent(s),n+="&"+o,n+="&_wpnonce="+encodeURIComponent(l.bulk),e.location.href=n),a.preventDefault()}))}(window,jQuery,window.jetpackModulesData.modules,window.jetpackModules.models,window.jetpackModules.views,window.jetpackModulesData.i18n,window.jetpackModulesData.modalinfo,window.jetpackModulesData.nonces);
|
||||
!function(e,t,a,n,o,s,i,l){"use strict";var c,r,d,u,p;t(".wp-list-table.jetpack-modules"),d=t(".navbar-form"),u=t("#srch-term-search-input"),t(".jp-frame"),p=t("#doaction"),c=new n.Modules({items:a}),new o.List_Table({el:"#the-list",model:c}),c.trigger("change"),r=function(e){t(".subsubsub").find('a[data-title="'+t(this).data("title")+'"]').addClass("current").closest("li").siblings().find("a.current").removeClass("current"),e.preventDefault(),c.trigger("change")},t(".subsubsub a").on("click",{modules:c},r),d.on("click",".button-group .button",{modules:c},(function(e){e.preventDefault(),t(this).addClass("active").siblings(".active").removeClass("active"),c.trigger("change")})),u.on("keyup search",(function(e){"Tab"!==e.code&&c.trigger("change")})),u.prop("placeholder",s.search_placeholder),p.on("click",(function(a){var n,o=t(".jetpack-modules-list-table-form").serialize(),s=t(this).siblings("select").val();o.length&&"-1"!==s&&(n="admin.php?page=jetpack&action="+encodeURIComponent(s),n+="&"+o,n+="&_wpnonce="+encodeURIComponent(l.bulk),e.location.href=n),a.preventDefault()}))}(window,jQuery,window.jetpackModulesData.modules,window.jetpackModules.models,window.jetpackModules.views,window.jetpackModulesData.i18n,window.jetpackModulesData.modalinfo,window.jetpackModulesData.nonces);
|
||||
|
|
@ -1 +1 @@
|
|||
<?php return array('dependencies' => array(), 'version' => 'ad64f071c2651dcbebfa');
|
||||
<?php return array('dependencies' => array(), 'version' => 'f1bb9d621e8dc71bf243');
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
!function(){var n,e,a,t,o;n=jQuery,e=n("#jp-recommendations-banner-main"),a=n("#jp-recommendations-banner__form"),t=n("#jp-recommendations-banner__continue-button"),o=n("#jp-recommendations-banner__notice-dismiss"),a.on("change",(function(e){"checkbox"===e.target.type&&e.target.parentElement&&"label"===e.target.parentElement.tagName.toLowerCase()&&(n('label.checked input[name="'+e.target.name+'"]').length>0?e.target.parentElement.classList.remove("checked"):e.target.parentElement.classList.add("checked"))})),t.on("click",(function(){var e={};["personal","business","store","other"].forEach((function(a){e[a]=n("input[name='"+a+"']").prop("checked")})),n.post(jp_banner.ajax_url,{action:"jetpack_recommendations_banner",nonce:jp_banner.nonce,personal:e.personal,business:e.business,store:e.store,other:e.other},(function(n){!0===n.success&&window.location.assign(jp_banner.recommendations_url)}))})),o.on("click",(function(){n(e).hide();var a={action:"jetpack_recommendations_banner",nonce:jp_banner.nonce,dismissBanner:!0};n.post(jp_banner.ajax_url,a,(function(a){!0!==a.success&&n(e).show()}))}))}();
|
||||
!function(){var n,e,a,t,o;n=jQuery,e=n("#jp-recommendations-banner-main"),a=n("#jp-recommendations-banner__form"),t=n("#jp-recommendations-banner__continue-button"),o=n("#jp-recommendations-banner__notice-dismiss"),a.on("change",(function(e){"checkbox"===e.target.type&&e.target.parentElement&&"label"===e.target.parentElement.tagName.toLowerCase()&&(n('label.checked input[name="'+e.target.name+'"]').length>0?e.target.parentElement.classList.remove("checked"):e.target.parentElement.classList.add("checked"))})),t.on("click",(function(){var e={};["builder","store","personal"].forEach((function(a){e[a]=n("input[name='"+a+"']").prop("checked")})),n.post(jp_banner.ajax_url,{action:"jetpack_recommendations_banner",nonce:jp_banner.nonce,personal:e.personal,builder:e.builder,store:e.store},(function(n){!0===n.success&&window.location.assign(jp_banner.recommendations_url)}))})),o.on("click",(function(){n(e).hide();var a={action:"jetpack_recommendations_banner",nonce:jp_banner.nonce,dismissBanner:!0};n.post(jp_banner.ajax_url,a,(function(a){!0!==a.success&&n(e).show()}))}))}();
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue