This commit is contained in:
parent
063cec490b
commit
af9769ebc3
|
|
@ -3,6 +3,7 @@ Options -indexes
|
||||||
|
|
||||||
RewriteCond %{REQUEST_URI} ^(.*)?wp-login\.php(.*)$ [OR]
|
RewriteCond %{REQUEST_URI} ^(.*)?wp-login\.php(.*)$ [OR]
|
||||||
RewriteCond %{REQUEST_URI} ^(.*)?wp-admin$
|
RewriteCond %{REQUEST_URI} ^(.*)?wp-admin$
|
||||||
|
RewriteCond %{REMOTE_ADDR} !^81\.231.
|
||||||
RewriteRule ^(.*)$ - [R=403,L]
|
RewriteRule ^(.*)$ - [R=403,L]
|
||||||
|
|
||||||
RewriteCond %{REQUEST_METHOD} ^(GET|POST|PUT|PATCH|DELETE) [NC]
|
RewriteCond %{REQUEST_METHOD} ^(GET|POST|PUT|PATCH|DELETE) [NC]
|
||||||
|
|
|
||||||
|
|
@ -661,3 +661,11 @@ table.comments td.comment p a:after {
|
||||||
.akismet-section-header__actions {
|
.akismet-section-header__actions {
|
||||||
line-height: 1.75rem;
|
line-height: 1.75rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.akismet-setup-instructions {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.akismet-setup-instructions form {
|
||||||
|
padding-bottom: 1.5rem;
|
||||||
|
}
|
||||||
|
|
@ -147,6 +147,11 @@ jQuery( function ( $ ) {
|
||||||
} );
|
} );
|
||||||
|
|
||||||
$( '.checkforspam' ).click( function( e ) {
|
$( '.checkforspam' ).click( function( e ) {
|
||||||
|
if ( $( this ).hasClass( 'checkforspam-pending-config' ) ) {
|
||||||
|
// Akismet hasn't been configured yet. Allow the user to proceed to the button's link.
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
||||||
if ( $( this ).hasClass( 'button-disabled' ) ) {
|
if ( $( this ).hasClass( 'button-disabled' ) ) {
|
||||||
|
|
@ -288,15 +293,6 @@ jQuery( function ( $ ) {
|
||||||
img.src = akismet_mshot_url( linkUrl );
|
img.src = akismet_mshot_url( linkUrl );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Sets the comment form privacy notice display to hide when one clicks Core's dismiss button on the related admin notice.
|
|
||||||
*/
|
|
||||||
$( '#akismet-privacy-notice-admin-notice' ).on( 'click', '.notice-dismiss', function () {
|
|
||||||
$.ajax( {
|
|
||||||
url: './options-general.php?page=akismet-key-config&akismet_comment_form_privacy_notice=hide',
|
|
||||||
} );
|
|
||||||
});
|
|
||||||
|
|
||||||
$( '.akismet-could-be-primary' ).each( function () {
|
$( '.akismet-could-be-primary' ).each( function () {
|
||||||
var form = $( this ).closest( 'form' );
|
var form = $( this ).closest( 'form' );
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
Plugin Name: Akismet Anti-Spam
|
Plugin Name: Akismet Anti-Spam
|
||||||
Plugin URI: https://akismet.com/
|
Plugin URI: https://akismet.com/
|
||||||
Description: Used by millions, Akismet is quite possibly the best way in the world to <strong>protect your blog from spam</strong>. It keeps your site protected even while you sleep. To get started: activate the Akismet plugin and then go to your Akismet Settings page to set up your API key.
|
Description: Used by millions, Akismet is quite possibly the best way in the world to <strong>protect your blog from spam</strong>. It keeps your site protected even while you sleep. To get started: activate the Akismet plugin and then go to your Akismet Settings page to set up your API key.
|
||||||
Version: 4.1.3
|
Version: 4.1.5
|
||||||
Author: Automattic
|
Author: Automattic
|
||||||
Author URI: https://automattic.com/wordpress-plugins/
|
Author URI: https://automattic.com/wordpress-plugins/
|
||||||
License: GPLv2 or later
|
License: GPLv2 or later
|
||||||
|
|
@ -37,7 +37,7 @@ if ( !function_exists( 'add_action' ) ) {
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
define( 'AKISMET_VERSION', '4.1.3' );
|
define( 'AKISMET_VERSION', '4.1.5' );
|
||||||
define( 'AKISMET__MINIMUM_WP_VERSION', '4.0' );
|
define( 'AKISMET__MINIMUM_WP_VERSION', '4.0' );
|
||||||
define( 'AKISMET__PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
|
define( 'AKISMET__PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
|
||||||
define( 'AKISMET_DELETE_LIMIT', 100000 );
|
define( 'AKISMET_DELETE_LIMIT', 100000 );
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,418 @@
|
||||||
|
=== Akismet Anti-Spam ===
|
||||||
|
|
||||||
|
== Archived Changelog Entries ==
|
||||||
|
|
||||||
|
This file contains older changelog entries, so we can keep the size of the standard WordPress readme.txt file reasonable.
|
||||||
|
For the latest changes, please see the "Changelog" section of the [readme.txt file](https://plugins.svn.wordpress.org/akismet/trunk/readme.txt).
|
||||||
|
|
||||||
|
= 4.0.8 =
|
||||||
|
*Release Date - 19 June 2018*
|
||||||
|
|
||||||
|
* Improved the grammar and consistency of the in-admin privacy related notes (notice and config).
|
||||||
|
* Revised in-admin explanation of the comment form privacy notice to make its usage clearer.
|
||||||
|
* Added `rel="nofollow noopener"` to the comment form privacy notice to improve SEO and security.
|
||||||
|
|
||||||
|
= 4.0.7 =
|
||||||
|
*Release Date - 28 May 2018*
|
||||||
|
|
||||||
|
* Based on user feedback, the link on "Learn how your comment data is processed." in the optional privacy notice now has a `target` of `_blank` and opens in a new tab/window.
|
||||||
|
* Updated the in-admin privacy notice to use the term "comment" instead of "contact" in "Akismet can display a notice to your users under your comment forms."
|
||||||
|
* Only show in-admin privacy notice if Akismet has an API Key configured
|
||||||
|
|
||||||
|
= 4.0.6 =
|
||||||
|
*Release Date - 26 May 2018*
|
||||||
|
|
||||||
|
* Moved away from using `empty( get_option() )` to instantiating a variable to be compatible with older versions of PHP (5.3, 5.4, etc).
|
||||||
|
|
||||||
|
= 4.0.5 =
|
||||||
|
*Release Date - 26 May 2018*
|
||||||
|
|
||||||
|
* Corrected version number after tagging. Sorry...
|
||||||
|
|
||||||
|
= 4.0.4 =
|
||||||
|
*Release Date - 26 May 2018*
|
||||||
|
|
||||||
|
* Added a hook to provide Akismet-specific privacy information for a site's privacy policy.
|
||||||
|
* Added tools to control the display of a privacy related notice under comment forms.
|
||||||
|
* Fixed HTML in activation failure message to close META and HEAD tag properly.
|
||||||
|
* Fixed a bug that would sometimes prevent Akismet from being correctly auto-configured.
|
||||||
|
|
||||||
|
= 4.0.3 =
|
||||||
|
*Release Date - 19 February 2018*
|
||||||
|
|
||||||
|
* Added a scheduled task to remove entries in wp_commentmeta that no longer have corresponding comments in wp_comments.
|
||||||
|
* Added a new `akismet_batch_delete_count` action to the batch delete methods for people who'd like to keep track of the numbers of records being processed by those methods.
|
||||||
|
|
||||||
|
= 4.0.2 =
|
||||||
|
*Release Date - 18 December 2017*
|
||||||
|
|
||||||
|
* Fixed a bug that could cause Akismet to recheck a comment that has already been manually approved or marked as spam.
|
||||||
|
* Fixed a bug that could cause Akismet to claim that some comments are still waiting to be checked when no comments are waiting to be checked.
|
||||||
|
|
||||||
|
= 4.0.1 =
|
||||||
|
*Release Date - 6 November 2017*
|
||||||
|
|
||||||
|
* Fixed a bug that could prevent some users from connecting Akismet via their Jetpack connection.
|
||||||
|
* Ensured that any pending Akismet-related events are unscheduled if the plugin is deactivated.
|
||||||
|
* Allow some JavaScript to be run asynchronously to avoid affecting page render speeds.
|
||||||
|
|
||||||
|
= 4.0 =
|
||||||
|
*Release Date - 19 September 2017*
|
||||||
|
|
||||||
|
* Added REST API endpoints for configuring Akismet and retrieving stats.
|
||||||
|
* Increased the minimum supported WordPress version to 4.0.
|
||||||
|
* Added compatibility with comments submitted via the REST API.
|
||||||
|
* Improved the progress indicator on the "Check for Spam" button.
|
||||||
|
|
||||||
|
= 3.3.4 =
|
||||||
|
*Release Date - 3 August 2017*
|
||||||
|
|
||||||
|
* Disabled Akismet's debug log output by default unless AKISMET_DEBUG is defined.
|
||||||
|
* URL previews now begin preloading when the mouse moves near them in the comments section of wp-admin.
|
||||||
|
* When a comment is caught by the Comment Blacklist, Akismet will always allow it to stay in the trash even if it is spam as well.
|
||||||
|
* Fixed a bug that was preventing an error from being shown when a site can't reach Akismet's servers.
|
||||||
|
|
||||||
|
= 3.3.3 =
|
||||||
|
*Release Date - 13 July 2017*
|
||||||
|
|
||||||
|
* Reduced amount of bandwidth used by the URL Preview feature.
|
||||||
|
* Improved the admin UI when the API key is manually pre-defined for the site.
|
||||||
|
* Removed a workaround for WordPress installations older than 3.3 that will improve Akismet's compatibility with other plugins.
|
||||||
|
* The number of spam blocked that is displayed on the WordPress dashboard will now be more accurate and updated more frequently.
|
||||||
|
* Fixed a bug in the Akismet widget that could cause PHP warnings.
|
||||||
|
|
||||||
|
= 3.3.2 =
|
||||||
|
*Release Date - 10 May 2017*
|
||||||
|
|
||||||
|
* Fixed a bug causing JavaScript errors in some browsers.
|
||||||
|
|
||||||
|
= 3.3.1 =
|
||||||
|
*Release Date - 2 May 2017*
|
||||||
|
|
||||||
|
* Improve performance by only requesting the akismet_comment_nonce option when absolutely necessary.
|
||||||
|
* Fixed two bugs that could cause PHP warnings.
|
||||||
|
* Fixed a bug that was preventing the "Remove author URL" feature from working after a comment was edited using "Quick Edit."
|
||||||
|
* Fixed a bug that was preventing the URL preview feature from working after a comment was edited using "Quick Edit."
|
||||||
|
|
||||||
|
= 3.3 =
|
||||||
|
*Release Date - 23 February 2017*
|
||||||
|
|
||||||
|
* Updated the Akismet admin pages with a new clean design.
|
||||||
|
* Fixed bugs preventing the `akismet_add_comment_nonce` and `akismet_update_alert` wrapper functions from working properly.
|
||||||
|
* Fixed bug preventing the loading indicator from appearing when re-checking all comments for spam.
|
||||||
|
* Added a progress indicator to the "Check for Spam" button.
|
||||||
|
* Added a success message after manually rechecking the Pending queue for spam.
|
||||||
|
|
||||||
|
= 3.2 =
|
||||||
|
*Release Date - 6 September 2016*
|
||||||
|
|
||||||
|
* Added a WP-CLI module. You can now check comments and recheck the moderation queue from the command line.
|
||||||
|
* Stopped using the deprecated jQuery function `.live()`.
|
||||||
|
* Fixed a bug in `remove_comment_author_url()` and `add_comment_author_url()` that could generate PHP notices.
|
||||||
|
* Fixed a bug that could cause an infinite loop for sites with very very very large comment IDs.
|
||||||
|
* Fixed a bug that could cause the Akismet widget title to be blank.
|
||||||
|
|
||||||
|
= 3.1.11 =
|
||||||
|
*Release Date - 12 May 2016*
|
||||||
|
|
||||||
|
* Fixed a bug that could cause the "Check for Spam" button to skip some comments.
|
||||||
|
* Fixed a bug that could prevent some spam submissions from being sent to Akismet.
|
||||||
|
* Updated all links to use https:// when possible.
|
||||||
|
* Disabled Akismet debug logging unless WP_DEBUG and WP_DEBUG_LOG are both enabled.
|
||||||
|
|
||||||
|
= 3.1.10 =
|
||||||
|
*Release Date - 1 April 2016*
|
||||||
|
|
||||||
|
* Fixed a bug that could cause comments caught as spam to be placed in the Pending queue.
|
||||||
|
* Fixed a bug that could have resulted in comments that were caught by the core WordPress comment blacklist not to have a corresponding History entry.
|
||||||
|
* Fixed a bug that could have caused avoidable PHP warnings in the error log.
|
||||||
|
|
||||||
|
= 3.1.9 =
|
||||||
|
*Release Date - 28 March 2016*
|
||||||
|
|
||||||
|
* Add compatibility with Jetpack so that Jetpack can automatically configure Akismet settings when appropriate.
|
||||||
|
* Fixed a bug preventing some comment data from being sent to Akismet.
|
||||||
|
|
||||||
|
= 3.1.8 =
|
||||||
|
*Release Date - 4 March 2016*
|
||||||
|
|
||||||
|
* Fixed a bug preventing Akismet from being used with some plugins that rewrite admin URLs.
|
||||||
|
* Reduced the amount of bandwidth used on Akismet API calls
|
||||||
|
* Reduced the amount of space Akismet uses in the database
|
||||||
|
* Fixed a bug that could cause comments caught as spam to be placed in the Pending queue.
|
||||||
|
|
||||||
|
= 3.1.7 =
|
||||||
|
*Release Date - 4 January 2016*
|
||||||
|
|
||||||
|
* Added documentation for the 'akismet_comment_nonce' filter.
|
||||||
|
* The post-install activation button is now accessible to screen readers and keyboard-only users.
|
||||||
|
* Fixed a bug that was preventing the "Remove author URL" feature from working in WordPress 4.4
|
||||||
|
|
||||||
|
= 3.1.6 =
|
||||||
|
*Release Date - 14 December 2015*
|
||||||
|
|
||||||
|
* Improve the notices shown after activating Akismet.
|
||||||
|
* Update some strings to allow for the proper plural forms in all languages.
|
||||||
|
|
||||||
|
= 3.1.5 =
|
||||||
|
*Release Date - 13 October 2015*
|
||||||
|
|
||||||
|
* Closes a potential XSS vulnerability.
|
||||||
|
|
||||||
|
= 3.1.4 =
|
||||||
|
*Release Date - 24 September 2015*
|
||||||
|
|
||||||
|
* Fixed a bug that was preventing some users from automatically connecting using Jetpack if they didn't have a current Akismet subscription.
|
||||||
|
* Fixed a bug that could cause comments caught as spam to be placed in the Pending queue.
|
||||||
|
* Error messages and instructions have been simplified to be more understandable.
|
||||||
|
* Link previews are enabled for all links inside comments, not just the author's website link.
|
||||||
|
|
||||||
|
= 3.1.3 =
|
||||||
|
*Release Date - 6 July 2015*
|
||||||
|
|
||||||
|
* Notify users when their account status changes after previously being successfully set up. This should help any users who are seeing blank Akismet settings screens.
|
||||||
|
|
||||||
|
= 3.1.2 =
|
||||||
|
*Release Date - 7 June 2015*
|
||||||
|
|
||||||
|
* Reduced the amount of space Akismet uses in the commentmeta table.
|
||||||
|
* Fixed a bug where some comments with quotes in the author name weren't getting history entries
|
||||||
|
* Pre-emptive security improvements to ensure that the Akismet plugin can't be used by attackers to compromise a WordPress installation.
|
||||||
|
* Better UI for the key entry field: allow whitespace to be included at the beginning or end of the key and strip it out automatically when the form is submitted.
|
||||||
|
* When deactivating the plugin, notify the Akismet API so the site can be marked as inactive.
|
||||||
|
* Clearer error messages.
|
||||||
|
|
||||||
|
= 3.1.1 =
|
||||||
|
*Release Date - 17th March, 2015*
|
||||||
|
|
||||||
|
* Improvements to the "Remove comment author URL" JavaScript
|
||||||
|
* Include the pingback pre-check from the 2.6 branch.
|
||||||
|
|
||||||
|
= 3.1 =
|
||||||
|
*Release Date - 11th March, 2015*
|
||||||
|
|
||||||
|
* Use HTTPS by default for all requests to Akismet.
|
||||||
|
* Fix for a situation where Akismet might strip HTML from a comment.
|
||||||
|
|
||||||
|
= 3.0.4 =
|
||||||
|
*Release Date - 11th December, 2014*
|
||||||
|
|
||||||
|
* Fix to make .htaccess compatible with Apache 2.4.
|
||||||
|
* Fix to allow removal of https author URLs.
|
||||||
|
* Fix to avoid stripping part of the author URL when removing and re-adding.
|
||||||
|
* Removed the "Check for Spam" button from the "Trash" and "Approved" queues, where it would have no effect.
|
||||||
|
* Allow automatic API key configuration when Jetpack is installed and connected to a WordPress.com account
|
||||||
|
|
||||||
|
= 3.0.3 =
|
||||||
|
*Release Date - 3rd November, 2014*
|
||||||
|
|
||||||
|
* Fix for sending the wrong data to delete_comment action that could have prevented old spam comments from being deleted.
|
||||||
|
* Added a filter to disable logging of Akismet debugging information.
|
||||||
|
* Added a filter for the maximum comment age when deleting old spam comments.
|
||||||
|
* Added a filter for the number per batch when deleting old spam comments.
|
||||||
|
* Removed the "Check for Spam" button from the Spam folder.
|
||||||
|
|
||||||
|
= 3.0.2 =
|
||||||
|
*Release Date - 18th August, 2014*
|
||||||
|
|
||||||
|
* Performance improvements.
|
||||||
|
* Fixed a bug that could truncate the comment data being sent to Akismet for checking.
|
||||||
|
|
||||||
|
= 3.0.1 =
|
||||||
|
*Release Date - 9th July, 2014*
|
||||||
|
|
||||||
|
* Removed dependency on PHP's fsockopen function
|
||||||
|
* Fix spam/ham reports to work when reported outside of the WP dashboard, e.g., from Notifications or the WP app
|
||||||
|
* Remove jQuery dependency for comment form JavaScript
|
||||||
|
* Remove unnecessary data from some Akismet comment meta
|
||||||
|
* Suspended keys will now result in all comments being put in moderation, not spam.
|
||||||
|
|
||||||
|
= 3.0.0 =
|
||||||
|
*Release Date - 15th April, 2014*
|
||||||
|
|
||||||
|
* Move Akismet to Settings menu
|
||||||
|
* Drop Akismet Stats menu
|
||||||
|
* Add stats snapshot to Akismet settings
|
||||||
|
* Add Akismet subscription details and status to Akismet settings
|
||||||
|
* Add contextual help for each page
|
||||||
|
* Improve Akismet setup to use Jetpack to automate plugin setup
|
||||||
|
* Fix "Check for Spam" to use AJAX to avoid page timing out
|
||||||
|
* Fix Akismet settings page to be responsive
|
||||||
|
* Drop legacy code
|
||||||
|
* Tidy up CSS and Javascript
|
||||||
|
* Replace the old discard setting with a new "discard pervasive spam" feature.
|
||||||
|
|
||||||
|
= 2.6.0 =
|
||||||
|
*Release Date - 18th March, 2014*
|
||||||
|
|
||||||
|
* Add ajax paging to the check for spam button to handle large volumes of comments
|
||||||
|
* Optimize javascript and add localization support
|
||||||
|
* Fix bug in link to spam comments from right now dashboard widget
|
||||||
|
* Fix bug with deleting old comments to avoid timeouts dealing with large volumes of comments
|
||||||
|
* Include X-Pingback-Forwarded-For header in outbound WordPress pingback verifications
|
||||||
|
* Add pre-check for pingbacks, to stop spam before an outbound verification request is made
|
||||||
|
|
||||||
|
= 2.5.9 =
|
||||||
|
*Release Date - 1st August, 2013*
|
||||||
|
|
||||||
|
* Update 'Already have a key' link to redirect page rather than depend on javascript
|
||||||
|
* Fix some non-translatable strings to be translatable
|
||||||
|
* Update Activation banner in plugins page to redirect user to Akismet config page
|
||||||
|
|
||||||
|
= 2.5.8 =
|
||||||
|
*Release Date - 20th January, 2013*
|
||||||
|
|
||||||
|
* Simplify the activation process for new users
|
||||||
|
* Remove the reporter_ip parameter
|
||||||
|
* Minor preventative security improvements
|
||||||
|
|
||||||
|
= 2.5.7 =
|
||||||
|
*Release Date - 13th December, 2012*
|
||||||
|
|
||||||
|
* FireFox Stats iframe preview bug
|
||||||
|
* Fix mshots preview when using https
|
||||||
|
* Add .htaccess to block direct access to files
|
||||||
|
* Prevent some PHP notices
|
||||||
|
* Fix Check For Spam return location when referrer is empty
|
||||||
|
* Fix Settings links for network admins
|
||||||
|
* Fix prepare() warnings in WP 3.5
|
||||||
|
|
||||||
|
= 2.5.6 =
|
||||||
|
*Release Date - 26th April, 2012*
|
||||||
|
|
||||||
|
* Prevent retry scheduling problems on sites where wp_cron is misbehaving
|
||||||
|
* Preload mshot previews
|
||||||
|
* Modernize the widget code
|
||||||
|
* Fix a bug where comments were not held for moderation during an error condition
|
||||||
|
* Improve the UX and display when comments are temporarily held due to an error
|
||||||
|
* Make the Check For Spam button force a retry when comments are held due to an error
|
||||||
|
* Handle errors caused by an invalid key
|
||||||
|
* Don't retry comments that are too old
|
||||||
|
* Improve error messages when verifying an API key
|
||||||
|
|
||||||
|
= 2.5.5 =
|
||||||
|
*Release Date - 11th January, 2012*
|
||||||
|
|
||||||
|
* Add nonce check for comment author URL remove action
|
||||||
|
* Fix the settings link
|
||||||
|
|
||||||
|
= 2.5.4 =
|
||||||
|
*Release Date - 5th January, 2012*
|
||||||
|
|
||||||
|
* Limit Akismet CSS and Javascript loading in wp-admin to just the pages that need it
|
||||||
|
* Added author URL quick removal functionality
|
||||||
|
* Added mShot preview on Author URL hover
|
||||||
|
* Added empty index.php to prevent directory listing
|
||||||
|
* Move wp-admin menu items under Jetpack, if it is installed
|
||||||
|
* Purge old Akismet comment meta data, default of 15 days
|
||||||
|
|
||||||
|
= 2.5.3 =
|
||||||
|
*Release Date - 8th Febuary, 2011*
|
||||||
|
|
||||||
|
* Specify the license is GPL v2 or later
|
||||||
|
* Fix a bug that could result in orphaned commentmeta entries
|
||||||
|
* Include hotfix for WordPress 3.0.5 filter issue
|
||||||
|
|
||||||
|
= 2.5.2 =
|
||||||
|
*Release Date - 14th January, 2011*
|
||||||
|
|
||||||
|
* Properly format the comment count for author counts
|
||||||
|
* Look for super admins on multisite installs when looking up user roles
|
||||||
|
* Increase the HTTP request timeout
|
||||||
|
* Removed padding for author approved count
|
||||||
|
* Fix typo in function name
|
||||||
|
* Set Akismet stats iframe height to fixed 2500px. Better to have one tall scroll bar than two side by side.
|
||||||
|
|
||||||
|
= 2.5.1 =
|
||||||
|
*Release Date - 17th December, 2010*
|
||||||
|
|
||||||
|
* Fix a bug that caused the "Auto delete" option to fail to discard comments correctly
|
||||||
|
* Remove the comment nonce form field from the 'Akismet Configuration' page in favor of using a filter, akismet_comment_nonce
|
||||||
|
* Fixed padding bug in "author" column of posts screen
|
||||||
|
* Added margin-top to "cleared by ..." badges on dashboard
|
||||||
|
* Fix possible error when calling akismet_cron_recheck()
|
||||||
|
* Fix more PHP warnings
|
||||||
|
* Clean up XHTML warnings for comment nonce
|
||||||
|
* Fix for possible condition where scheduled comment re-checks could get stuck
|
||||||
|
* Clean up the comment meta details after deleting a comment
|
||||||
|
* Only show the status badge if the comment status has been changed by someone/something other than Akismet
|
||||||
|
* Show a 'History' link in the row-actions
|
||||||
|
* Translation fixes
|
||||||
|
* Reduced font-size on author name
|
||||||
|
* Moved "flagged by..." notification to top right corner of comment container and removed heavy styling
|
||||||
|
* Hid "flagged by..." notification while on dashboard
|
||||||
|
|
||||||
|
= 2.5.0 =
|
||||||
|
*Release Date - 7th December, 2010*
|
||||||
|
|
||||||
|
* Track comment actions under 'Akismet Status' on the edit comment screen
|
||||||
|
* Fix a few remaining deprecated function calls ( props Mike Glendinning )
|
||||||
|
* Use HTTPS for the stats IFRAME when wp-admin is using HTTPS
|
||||||
|
* Use the WordPress HTTP class if available
|
||||||
|
* Move the admin UI code to a separate file, only loaded when needed
|
||||||
|
* Add cron retry feature, to replace the old connectivity check
|
||||||
|
* Display Akismet status badge beside each comment
|
||||||
|
* Record history for each comment, and display it on the edit page
|
||||||
|
* Record the complete comment as originally submitted in comment_meta, to use when reporting spam and ham
|
||||||
|
* Highlight links in comment content
|
||||||
|
* New option, "Show the number of comments you've approved beside each comment author."
|
||||||
|
* New option, "Use a nonce on the comment form."
|
||||||
|
|
||||||
|
= 2.4.0 =
|
||||||
|
*Release Date - 23rd August, 2010*
|
||||||
|
|
||||||
|
* Spell out that the license is GPLv2
|
||||||
|
* Fix PHP warnings
|
||||||
|
* Fix WordPress deprecated function calls
|
||||||
|
* Fire the delete_comment action when deleting comments
|
||||||
|
* Move code specific for older WP versions to legacy.php
|
||||||
|
* General code clean up
|
||||||
|
|
||||||
|
= 2.3.0 =
|
||||||
|
*Release Date - 5th June, 2010*
|
||||||
|
|
||||||
|
* Fix "Are you sure" nonce message on config screen in WPMU
|
||||||
|
* Fix XHTML compliance issue in sidebar widget
|
||||||
|
* Change author link; remove some old references to WordPress.com accounts
|
||||||
|
* Localize the widget title (core ticket #13879)
|
||||||
|
|
||||||
|
= 2.2.9 =
|
||||||
|
*Release Date - 2nd June, 2010*
|
||||||
|
|
||||||
|
* Eliminate a potential conflict with some plugins that may cause spurious reports
|
||||||
|
|
||||||
|
= 2.2.8 =
|
||||||
|
*Release Date - 27th May, 2010*
|
||||||
|
|
||||||
|
* Fix bug in initial comment check for ipv6 addresses
|
||||||
|
* Report comments as ham when they are moved from spam to moderation
|
||||||
|
* Report comments as ham when clicking undo after spam
|
||||||
|
* Use transition_comment_status action when available instead of older actions for spam/ham submissions
|
||||||
|
* Better diagnostic messages when PHP network functions are unavailable
|
||||||
|
* Better handling of comments by logged-in users
|
||||||
|
|
||||||
|
= 2.2.7 =
|
||||||
|
*Release Date - 17th December, 2009*
|
||||||
|
|
||||||
|
* Add a new AKISMET_VERSION constant
|
||||||
|
* Reduce the possibility of over-counting spam when another spam filter plugin is in use
|
||||||
|
* Disable the connectivity check when the API key is hard-coded for WPMU
|
||||||
|
|
||||||
|
= 2.2.6 =
|
||||||
|
*Release Date - 20th July, 2009*
|
||||||
|
|
||||||
|
* Fix a global warning introduced in 2.2.5
|
||||||
|
* Add changelog and additional readme.txt tags
|
||||||
|
* Fix an array conversion warning in some versions of PHP
|
||||||
|
* Support a new WPCOM_API_KEY constant for easier use with WordPress MU
|
||||||
|
|
||||||
|
= 2.2.5 =
|
||||||
|
*Release Date - 13th July, 2009*
|
||||||
|
|
||||||
|
* Include a new Server Connectivity diagnostic check, to detect problems caused by firewalls
|
||||||
|
|
||||||
|
= 2.2.4 =
|
||||||
|
*Release Date - 3rd June, 2009*
|
||||||
|
|
||||||
|
* Fixed a key problem affecting the stats feature in WordPress MU
|
||||||
|
* Provide additional blog information in Akismet API calls
|
||||||
|
|
@ -32,10 +32,6 @@ class Akismet_Admin {
|
||||||
if ( isset( $_POST['action'] ) && $_POST['action'] == 'enter-key' ) {
|
if ( isset( $_POST['action'] ) && $_POST['action'] == 'enter-key' ) {
|
||||||
self::enter_api_key();
|
self::enter_api_key();
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( ! empty( $_GET['akismet_comment_form_privacy_notice'] ) && empty( $_GET['settings-updated']) ) {
|
|
||||||
self::set_form_privacy_notice_option( $_GET['akismet_comment_form_privacy_notice'] );
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function init_hooks() {
|
public static function init_hooks() {
|
||||||
|
|
@ -70,11 +66,6 @@ class Akismet_Admin {
|
||||||
|
|
||||||
add_filter( 'all_plugins', array( 'Akismet_Admin', 'modify_plugin_description' ) );
|
add_filter( 'all_plugins', array( 'Akismet_Admin', 'modify_plugin_description' ) );
|
||||||
|
|
||||||
if ( class_exists( 'Jetpack' ) ) {
|
|
||||||
add_filter( 'akismet_comment_form_privacy_notice_url_display', array( 'Akismet_Admin', 'jetpack_comment_form_privacy_notice_url' ) );
|
|
||||||
add_filter( 'akismet_comment_form_privacy_notice_url_hide', array( 'Akismet_Admin', 'jetpack_comment_form_privacy_notice_url' ) );
|
|
||||||
}
|
|
||||||
|
|
||||||
// priority=1 because we need ours to run before core's comment anonymizer runs, and that's registered at priority=10
|
// priority=1 because we need ours to run before core's comment anonymizer runs, and that's registered at priority=10
|
||||||
add_filter( 'wp_privacy_personal_data_erasers', array( 'Akismet_Admin', 'register_personal_data_eraser' ), 1 );
|
add_filter( 'wp_privacy_personal_data_erasers', array( 'Akismet_Admin', 'register_personal_data_eraser' ), 1 );
|
||||||
}
|
}
|
||||||
|
|
@ -398,8 +389,23 @@ class Akismet_Admin {
|
||||||
|
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
echo '<div class="alignleft actions">';
|
echo '<div class="alignleft actions">';
|
||||||
|
|
||||||
|
$classes = array(
|
||||||
|
'button-secondary',
|
||||||
|
'checkforspam',
|
||||||
|
);
|
||||||
|
|
||||||
|
if ( ! Akismet::get_api_key() ) {
|
||||||
|
$link = admin_url( 'options-general.php?page=akismet-key-config' );
|
||||||
|
|
||||||
|
$classes[] = 'checkforspam-pending-config';
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( $comments_count->moderated == 0 ) {
|
||||||
|
$classes[] = 'button-disabled';
|
||||||
|
}
|
||||||
echo '<a
|
echo '<a
|
||||||
class="button-secondary checkforspam' . ( $comments_count->moderated == 0 ? ' button-disabled' : '' ) . '"
|
class="' . esc_attr( implode( ' ', $classes ) ) . '"
|
||||||
href="' . esc_url( $link ) . '"
|
href="' . esc_url( $link ) . '"
|
||||||
data-active-label="' . esc_attr( __( 'Checking for Spam', 'akismet' ) ) . '"
|
data-active-label="' . esc_attr( __( 'Checking for Spam', 'akismet' ) ) . '"
|
||||||
data-progress-label-format="' . esc_attr( __( '(%1$s%)', 'akismet' ) ) . '"
|
data-progress-label-format="' . esc_attr( __( '(%1$s%)', 'akismet' ) ) . '"
|
||||||
|
|
@ -575,10 +581,8 @@ class Akismet_Admin {
|
||||||
$history = Akismet::get_comment_history( $comment->comment_ID );
|
$history = Akismet::get_comment_history( $comment->comment_ID );
|
||||||
|
|
||||||
if ( $history ) {
|
if ( $history ) {
|
||||||
echo '<div class="akismet-history" style="margin: 13px;">';
|
|
||||||
|
|
||||||
foreach ( $history as $row ) {
|
foreach ( $history as $row ) {
|
||||||
$time = date( 'D d M Y @ h:i:m a', $row['time'] ) . ' GMT';
|
$time = date( 'D d M Y @ h:i:s a', $row['time'] ) . ' GMT';
|
||||||
|
|
||||||
$message = '';
|
$message = '';
|
||||||
|
|
||||||
|
|
@ -588,56 +592,62 @@ class Akismet_Admin {
|
||||||
// 1) Save space.
|
// 1) Save space.
|
||||||
// 2) The message can be translated into the current language of the blog, not stuck
|
// 2) The message can be translated into the current language of the blog, not stuck
|
||||||
// in the language of the blog when the comment was made.
|
// in the language of the blog when the comment was made.
|
||||||
$message = $row['message'];
|
$message = esc_html( $row['message'] );
|
||||||
}
|
}
|
||||||
|
|
||||||
// If possible, use a current translation.
|
// If possible, use a current translation.
|
||||||
switch ( $row['event'] ) {
|
switch ( $row['event'] ) {
|
||||||
case 'recheck-spam';
|
case 'recheck-spam';
|
||||||
$message = __( 'Akismet re-checked and caught this comment as spam.', 'akismet' );
|
$message = esc_html( __( 'Akismet re-checked and caught this comment as spam.', 'akismet' ) );
|
||||||
break;
|
break;
|
||||||
case 'check-spam':
|
case 'check-spam':
|
||||||
$message = __( 'Akismet caught this comment as spam.', 'akismet' );
|
$message = esc_html( __( 'Akismet caught this comment as spam.', 'akismet' ) );
|
||||||
break;
|
break;
|
||||||
case 'recheck-ham':
|
case 'recheck-ham':
|
||||||
$message = __( 'Akismet re-checked and cleared this comment.', 'akismet' );
|
$message = esc_html( __( 'Akismet re-checked and cleared this comment.', 'akismet' ) );
|
||||||
break;
|
break;
|
||||||
case 'check-ham':
|
case 'check-ham':
|
||||||
$message = __( 'Akismet cleared this comment.', 'akismet' );
|
$message = esc_html( __( 'Akismet cleared this comment.', 'akismet' ) );
|
||||||
break;
|
break;
|
||||||
case 'wp-blacklisted':
|
case 'wp-blacklisted':
|
||||||
$message = __( 'Comment was caught by wp_blacklist_check.', 'akismet' );
|
$message = sprintf( esc_html( __( 'Comment was caught by %s.', 'akismet' ) ), '<code>wp_blacklist_check</code>' );
|
||||||
break;
|
break;
|
||||||
case 'report-spam':
|
case 'report-spam':
|
||||||
if ( isset( $row['user'] ) ) {
|
if ( isset( $row['user'] ) ) {
|
||||||
$message = sprintf( __( '%s reported this comment as spam.', 'akismet' ), $row['user'] );
|
$message = esc_html( sprintf( __( '%s reported this comment as spam.', 'akismet' ), $row['user'] ) );
|
||||||
}
|
}
|
||||||
else if ( ! $message ) {
|
else if ( ! $message ) {
|
||||||
$message = __( 'This comment was reported as spam.', 'akismet' );
|
$message = esc_html( __( 'This comment was reported as spam.', 'akismet' ) );
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'report-ham':
|
case 'report-ham':
|
||||||
if ( isset( $row['user'] ) ) {
|
if ( isset( $row['user'] ) ) {
|
||||||
$message = sprintf( __( '%s reported this comment as not spam.', 'akismet' ), $row['user'] );
|
$message = esc_html( sprintf( __( '%s reported this comment as not spam.', 'akismet' ), $row['user'] ) );
|
||||||
}
|
}
|
||||||
else if ( ! $message ) {
|
else if ( ! $message ) {
|
||||||
$message = __( 'This comment was reported as not spam.', 'akismet' );
|
$message = esc_html( __( 'This comment was reported as not spam.', 'akismet' ) );
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'cron-retry-spam':
|
case 'cron-retry-spam':
|
||||||
$message = __( 'Akismet caught this comment as spam during an automatic retry.' , 'akismet');
|
$message = esc_html( __( 'Akismet caught this comment as spam during an automatic retry.' , 'akismet') );
|
||||||
break;
|
break;
|
||||||
case 'cron-retry-ham':
|
case 'cron-retry-ham':
|
||||||
$message = __( 'Akismet cleared this comment during an automatic retry.', 'akismet');
|
$message = esc_html( __( 'Akismet cleared this comment during an automatic retry.', 'akismet') );
|
||||||
break;
|
break;
|
||||||
case 'check-error':
|
case 'check-error':
|
||||||
if ( isset( $row['meta'], $row['meta']['response'] ) ) {
|
if ( isset( $row['meta'], $row['meta']['response'] ) ) {
|
||||||
$message = sprintf( __( 'Akismet was unable to check this comment (response: %s) but will automatically retry later.', 'akismet'), $row['meta']['response'] );
|
$message = sprintf( esc_html( __( 'Akismet was unable to check this comment (response: %s) but will automatically retry later.', 'akismet') ), '<code>' . esc_html( $row['meta']['response'] ) . '</code>' );
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$message = esc_html( __( 'Akismet was unable to check this comment but will automatically retry later.', 'akismet' ) );
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'recheck-error':
|
case 'recheck-error':
|
||||||
if ( isset( $row['meta'], $row['meta']['response'] ) ) {
|
if ( isset( $row['meta'], $row['meta']['response'] ) ) {
|
||||||
$message = sprintf( __( 'Akismet was unable to recheck this comment (response: %s).', 'akismet'), $row['meta']['response'] );
|
$message = sprintf( esc_html( __( 'Akismet was unable to recheck this comment (response: %s).', 'akismet') ), '<code>' . esc_html( $row['meta']['response'] ) . '</code>' );
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$message = esc_html( __( 'Akismet was unable to recheck this comment.', 'akismet' ) );
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
@ -645,27 +655,32 @@ class Akismet_Admin {
|
||||||
// Half of these used to be saved without the dash after 'status-changed'.
|
// Half of these used to be saved without the dash after 'status-changed'.
|
||||||
// See https://plugins.trac.wordpress.org/changeset/1150658/akismet/trunk
|
// See https://plugins.trac.wordpress.org/changeset/1150658/akismet/trunk
|
||||||
$new_status = preg_replace( '/^status-changed-?/', '', $row['event'] );
|
$new_status = preg_replace( '/^status-changed-?/', '', $row['event'] );
|
||||||
$message = sprintf( __( 'Comment status was changed to %s', 'akismet' ), $new_status );
|
$message = sprintf( esc_html( __( 'Comment status was changed to %s', 'akismet' ) ), '<code>' . esc_html( $new_status ) . '</code>' );
|
||||||
}
|
}
|
||||||
else if ( preg_match( '/^status-/', $row['event'] ) ) {
|
else if ( preg_match( '/^status-/', $row['event'] ) ) {
|
||||||
$new_status = preg_replace( '/^status-/', '', $row['event'] );
|
$new_status = preg_replace( '/^status-/', '', $row['event'] );
|
||||||
|
|
||||||
if ( isset( $row['user'] ) ) {
|
if ( isset( $row['user'] ) ) {
|
||||||
$message = sprintf( __( '%1$s changed the comment status to %2$s.', 'akismet' ), $row['user'], $new_status );
|
$message = sprintf( esc_html( __( '%1$s changed the comment status to %2$s.', 'akismet' ) ), $row['user'], '<code>' . esc_html( $new_status ) . '</code>' );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
echo '<div style="margin-bottom: 13px;">';
|
if ( ! empty( $message ) ) {
|
||||||
|
echo '<p>';
|
||||||
echo '<span style="color: #999;" alt="' . $time . '" title="' . $time . '">' . sprintf( esc_html__('%s ago', 'akismet'), human_time_diff( $row['time'] ) ) . '</span>';
|
echo '<span style="color: #999;" alt="' . $time . '" title="' . $time . '">' . sprintf( esc_html__('%s ago', 'akismet'), human_time_diff( $row['time'] ) ) . '</span>';
|
||||||
echo ' - ';
|
echo ' - ';
|
||||||
echo esc_html( $message );
|
echo $message; // esc_html() is done above so that we can use HTML in some messages.
|
||||||
echo '</div>';
|
echo '</p>';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
echo '</div>';
|
else {
|
||||||
|
echo '<p>';
|
||||||
|
echo esc_html( __( 'No comment history.', 'akismet' ) );
|
||||||
|
echo '</p>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -866,14 +881,6 @@ class Akismet_Admin {
|
||||||
) );
|
) );
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function display_privacy_notice_control_warning() {
|
|
||||||
if ( !current_user_can( 'manage_options' ) )
|
|
||||||
return;
|
|
||||||
Akismet::view( 'notice', array(
|
|
||||||
'type' => 'privacy',
|
|
||||||
) );
|
|
||||||
}
|
|
||||||
|
|
||||||
public static function display_spam_check_warning() {
|
public static function display_spam_check_warning() {
|
||||||
Akismet::fix_scheduled_recheck();
|
Akismet::fix_scheduled_recheck();
|
||||||
|
|
||||||
|
|
@ -1007,10 +1014,6 @@ class Akismet_Admin {
|
||||||
$notices[] = array( 'type' => $akismet_user->status );
|
$notices[] = array( 'type' => $akismet_user->status );
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( false === get_option( 'akismet_comment_form_privacy_notice' ) ) {
|
|
||||||
$notices[] = array( 'type' => 'privacy' );
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
// To see all variants when testing.
|
// To see all variants when testing.
|
||||||
$notices[] = array( 'type' => 'active-notice', 'time_saved' => 'Cleaning up spam takes time. Akismet has saved you 1 minute!' );
|
$notices[] = array( 'type' => 'active-notice', 'time_saved' => 'Cleaning up spam takes time. Akismet has saved you 1 minute!' );
|
||||||
|
|
@ -1056,12 +1059,13 @@ class Akismet_Admin {
|
||||||
elseif ( $hook_suffix == 'edit-comments.php' && wp_next_scheduled( 'akismet_schedule_cron_recheck' ) ) {
|
elseif ( $hook_suffix == 'edit-comments.php' && wp_next_scheduled( 'akismet_schedule_cron_recheck' ) ) {
|
||||||
self::display_spam_check_warning();
|
self::display_spam_check_warning();
|
||||||
}
|
}
|
||||||
else if ( isset( $_GET['akismet_recheck_complete'] ) ) {
|
|
||||||
|
if ( isset( $_GET['akismet_recheck_complete'] ) ) {
|
||||||
$recheck_count = (int) $_GET['recheck_count'];
|
$recheck_count = (int) $_GET['recheck_count'];
|
||||||
$spam_count = (int) $_GET['spam_count'];
|
$spam_count = (int) $_GET['spam_count'];
|
||||||
|
|
||||||
if ( $recheck_count === 0 ) {
|
if ( $recheck_count === 0 ) {
|
||||||
$message = __( 'There were no comments to check. Akismet will only check comments in the Pending queue.', 'akismet' );
|
$message = __( 'There were no comments to check. Akismet will only check comments awaiting moderation.', 'akismet' );
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$message = sprintf( _n( 'Akismet checked %s comment.', 'Akismet checked %s comments.', $recheck_count, 'akismet' ), number_format( $recheck_count ) );
|
$message = sprintf( _n( 'Akismet checked %s comment.', 'Akismet checked %s comments.', $recheck_count, 'akismet' ), number_format( $recheck_count ) );
|
||||||
|
|
@ -1080,14 +1084,6 @@ class Akismet_Admin {
|
||||||
else if ( isset( $_GET['akismet_recheck_error'] ) ) {
|
else if ( isset( $_GET['akismet_recheck_error'] ) ) {
|
||||||
echo '<div class="notice notice-error"><p>' . esc_html( __( 'Akismet could not recheck your comments for spam.', 'akismet' ) ) . '</p></div>';
|
echo '<div class="notice notice-error"><p>' . esc_html( __( 'Akismet could not recheck your comments for spam.', 'akismet' ) ) . '</p></div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
$akismet_comment_form_privacy_notice_option = get_option( 'akismet_comment_form_privacy_notice' );
|
|
||||||
if ( ! in_array( $akismet_comment_form_privacy_notice_option, array( 'hide', 'display' ) ) ) {
|
|
||||||
$api_key = Akismet::get_api_key();
|
|
||||||
if ( ! empty( $api_key ) ) {
|
|
||||||
self::display_privacy_notice_control_warning();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function display_status() {
|
public static function display_status() {
|
||||||
|
|
@ -1203,10 +1199,6 @@ class Akismet_Admin {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function jetpack_comment_form_privacy_notice_url( $url ) {
|
|
||||||
return str_replace( 'options-general.php', 'admin.php', $url );
|
|
||||||
}
|
|
||||||
|
|
||||||
public static function register_personal_data_eraser( $erasers ) {
|
public static function register_personal_data_eraser( $erasers ) {
|
||||||
$erasers['akismet'] = array(
|
$erasers['akismet'] = array(
|
||||||
'eraser_friendly_name' => __( 'Akismet', 'akismet' ),
|
'eraser_friendly_name' => __( 'Akismet', 'akismet' ),
|
||||||
|
|
|
||||||
|
|
@ -137,6 +137,11 @@ class Akismet {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function auto_check_comment( $commentdata ) {
|
public static function auto_check_comment( $commentdata ) {
|
||||||
|
// If no key is configured, then there's no point in doing any of this.
|
||||||
|
if ( ! self::get_api_key() ) {
|
||||||
|
return $commentdata;
|
||||||
|
}
|
||||||
|
|
||||||
self::$last_comment_result = null;
|
self::$last_comment_result = null;
|
||||||
|
|
||||||
$comment = $commentdata;
|
$comment = $commentdata;
|
||||||
|
|
@ -469,6 +474,43 @@ class Akismet {
|
||||||
// get the full comment history for a given comment, as an array in reverse chronological order
|
// get the full comment history for a given comment, as an array in reverse chronological order
|
||||||
public static function get_comment_history( $comment_id ) {
|
public static function get_comment_history( $comment_id ) {
|
||||||
$history = get_comment_meta( $comment_id, 'akismet_history', false );
|
$history = get_comment_meta( $comment_id, 'akismet_history', false );
|
||||||
|
if ( empty( $history ) || empty( $history[ 0 ] ) ) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
// To see all variants when testing.
|
||||||
|
$history[] = array( 'time' => 445856401, 'message' => 'Old versions of Akismet stored the message as a literal string in the commentmeta.', 'event' => null );
|
||||||
|
$history[] = array( 'time' => 445856402, 'event' => 'recheck-spam' );
|
||||||
|
$history[] = array( 'time' => 445856403, 'event' => 'check-spam' );
|
||||||
|
$history[] = array( 'time' => 445856404, 'event' => 'recheck-ham' );
|
||||||
|
$history[] = array( 'time' => 445856405, 'event' => 'check-ham' );
|
||||||
|
$history[] = array( 'time' => 445856406, 'event' => 'wp-blacklisted' );
|
||||||
|
$history[] = array( 'time' => 445856407, 'event' => 'report-spam' );
|
||||||
|
$history[] = array( 'time' => 445856408, 'event' => 'report-spam', 'user' => 'sam' );
|
||||||
|
$history[] = array( 'message' => 'sam reported this comment as spam (hardcoded message).', 'time' => 445856400, 'event' => 'report-spam', 'user' => 'sam' );
|
||||||
|
$history[] = array( 'time' => 445856409, 'event' => 'report-ham', 'user' => 'sam' );
|
||||||
|
$history[] = array( 'message' => 'sam reported this comment as ham (hardcoded message).', 'time' => 445856400, 'event' => 'report-ham', 'user' => 'sam' ); //
|
||||||
|
$history[] = array( 'time' => 445856410, 'event' => 'cron-retry-spam' );
|
||||||
|
$history[] = array( 'time' => 445856411, 'event' => 'cron-retry-ham' );
|
||||||
|
$history[] = array( 'time' => 445856412, 'event' => 'check-error' ); //
|
||||||
|
$history[] = array( 'time' => 445856413, 'event' => 'check-error', 'meta' => array( 'response' => 'The server was taking a nap.' ) );
|
||||||
|
$history[] = array( 'time' => 445856414, 'event' => 'recheck-error' ); // Should not generate a message.
|
||||||
|
$history[] = array( 'time' => 445856415, 'event' => 'recheck-error', 'meta' => array( 'response' => 'The server was taking a nap.' ) );
|
||||||
|
$history[] = array( 'time' => 445856416, 'event' => 'status-changedtrash' );
|
||||||
|
$history[] = array( 'time' => 445856417, 'event' => 'status-changedspam' );
|
||||||
|
$history[] = array( 'time' => 445856418, 'event' => 'status-changedhold' );
|
||||||
|
$history[] = array( 'time' => 445856419, 'event' => 'status-changedapprove' );
|
||||||
|
$history[] = array( 'time' => 445856420, 'event' => 'status-changed-trash' );
|
||||||
|
$history[] = array( 'time' => 445856421, 'event' => 'status-changed-spam' );
|
||||||
|
$history[] = array( 'time' => 445856422, 'event' => 'status-changed-hold' );
|
||||||
|
$history[] = array( 'time' => 445856423, 'event' => 'status-changed-approve' );
|
||||||
|
$history[] = array( 'time' => 445856424, 'event' => 'status-trash', 'user' => 'sam' );
|
||||||
|
$history[] = array( 'time' => 445856425, 'event' => 'status-spam', 'user' => 'sam' );
|
||||||
|
$history[] = array( 'time' => 445856426, 'event' => 'status-hold', 'user' => 'sam' );
|
||||||
|
$history[] = array( 'time' => 445856427, 'event' => 'status-approve', 'user' => 'sam' );
|
||||||
|
*/
|
||||||
|
|
||||||
usort( $history, array( 'Akismet', '_cmp_time' ) );
|
usort( $history, array( 'Akismet', '_cmp_time' ) );
|
||||||
return $history;
|
return $history;
|
||||||
}
|
}
|
||||||
|
|
@ -506,6 +548,10 @@ class Akismet {
|
||||||
public static function check_db_comment( $id, $recheck_reason = 'recheck_queue' ) {
|
public static function check_db_comment( $id, $recheck_reason = 'recheck_queue' ) {
|
||||||
global $wpdb;
|
global $wpdb;
|
||||||
|
|
||||||
|
if ( ! self::get_api_key() ) {
|
||||||
|
return new WP_Error( 'akismet-not-configured', __( 'Akismet is not configured. Please enter an API key.', 'akismet' ) );
|
||||||
|
}
|
||||||
|
|
||||||
$c = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM {$wpdb->comments} WHERE comment_ID = %d", $id ), ARRAY_A );
|
$c = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM {$wpdb->comments} WHERE comment_ID = %d", $id ), ARRAY_A );
|
||||||
|
|
||||||
if ( ! $c ) {
|
if ( ! $c ) {
|
||||||
|
|
@ -653,6 +699,13 @@ class Akismet {
|
||||||
if ( 'spam' != $comment->comment_approved )
|
if ( 'spam' != $comment->comment_approved )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
self::update_comment_history( $comment_id, '', 'report-spam' );
|
||||||
|
|
||||||
|
// If the user hasn't configured Akismet, there's nothing else to do at this point.
|
||||||
|
if ( ! self::get_api_key() ) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// use the original version stored in comment_meta if available
|
// use the original version stored in comment_meta if available
|
||||||
$as_submitted = self::sanitize_comment_as_submitted( get_comment_meta( $comment_id, 'akismet_as_submitted', true ) );
|
$as_submitted = self::sanitize_comment_as_submitted( get_comment_meta( $comment_id, 'akismet_as_submitted', true ) );
|
||||||
|
|
||||||
|
|
@ -685,9 +738,10 @@ class Akismet {
|
||||||
}
|
}
|
||||||
|
|
||||||
$response = Akismet::http_post( Akismet::build_query( $comment ), 'submit-spam' );
|
$response = Akismet::http_post( Akismet::build_query( $comment ), 'submit-spam' );
|
||||||
|
|
||||||
|
update_comment_meta( $comment_id, 'akismet_user_result', 'true' );
|
||||||
|
|
||||||
if ( $comment->reporter ) {
|
if ( $comment->reporter ) {
|
||||||
self::update_comment_history( $comment_id, '', 'report-spam' );
|
|
||||||
update_comment_meta( $comment_id, 'akismet_user_result', 'true' );
|
|
||||||
update_comment_meta( $comment_id, 'akismet_user', $comment->reporter );
|
update_comment_meta( $comment_id, 'akismet_user', $comment->reporter );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -703,6 +757,13 @@ class Akismet {
|
||||||
if ( !$comment ) // it was deleted
|
if ( !$comment ) // it was deleted
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
self::update_comment_history( $comment_id, '', 'report-ham' );
|
||||||
|
|
||||||
|
// If the user hasn't configured Akismet, there's nothing else to do at this point.
|
||||||
|
if ( ! self::get_api_key() ) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// use the original version stored in comment_meta if available
|
// use the original version stored in comment_meta if available
|
||||||
$as_submitted = self::sanitize_comment_as_submitted( get_comment_meta( $comment_id, 'akismet_as_submitted', true ) );
|
$as_submitted = self::sanitize_comment_as_submitted( get_comment_meta( $comment_id, 'akismet_as_submitted', true ) );
|
||||||
|
|
||||||
|
|
@ -735,9 +796,10 @@ class Akismet {
|
||||||
}
|
}
|
||||||
|
|
||||||
$response = self::http_post( Akismet::build_query( $comment ), 'submit-ham' );
|
$response = self::http_post( Akismet::build_query( $comment ), 'submit-ham' );
|
||||||
|
|
||||||
|
update_comment_meta( $comment_id, 'akismet_user_result', 'false' );
|
||||||
|
|
||||||
if ( $comment->reporter ) {
|
if ( $comment->reporter ) {
|
||||||
self::update_comment_history( $comment_id, '', 'report-ham' );
|
|
||||||
update_comment_meta( $comment_id, 'akismet_user_result', 'false' );
|
|
||||||
update_comment_meta( $comment_id, 'akismet_user', $comment->reporter );
|
update_comment_meta( $comment_id, 'akismet_user', $comment->reporter );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -860,6 +922,11 @@ class Akismet {
|
||||||
* has not been set and that Akismet should just choose the default behavior for that
|
* has not been set and that Akismet should just choose the default behavior for that
|
||||||
* situation.
|
* situation.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
if ( ! self::get_api_key() ) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$akismet_comment_nonce_option = apply_filters( 'akismet_comment_nonce', get_option( 'akismet_comment_nonce' ) );
|
$akismet_comment_nonce_option = apply_filters( 'akismet_comment_nonce', get_option( 'akismet_comment_nonce' ) );
|
||||||
|
|
||||||
if ( $akismet_comment_nonce_option == 'true' || $akismet_comment_nonce_option == '' ) {
|
if ( $akismet_comment_nonce_option == 'true' || $akismet_comment_nonce_option == '' ) {
|
||||||
|
|
@ -1187,6 +1254,10 @@ class Akismet {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( ! self::get_api_key() ) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
wp_register_script( 'akismet-form', plugin_dir_url( __FILE__ ) . '_inc/form.js', array(), AKISMET_VERSION, true );
|
wp_register_script( 'akismet-form', plugin_dir_url( __FILE__ ) . '_inc/form.js', array(), AKISMET_VERSION, true );
|
||||||
wp_enqueue_script( 'akismet-form' );
|
wp_enqueue_script( 'akismet-form' );
|
||||||
}
|
}
|
||||||
|
|
@ -1277,7 +1348,7 @@ p {
|
||||||
$message = '<strong>'.sprintf(esc_html__( 'Akismet %s requires WordPress %s or higher.' , 'akismet'), AKISMET_VERSION, AKISMET__MINIMUM_WP_VERSION ).'</strong> '.sprintf(__('Please <a href="%1$s">upgrade WordPress</a> to a current version, or <a href="%2$s">downgrade to version 2.4 of the Akismet plugin</a>.', 'akismet'), 'https://codex.wordpress.org/Upgrading_WordPress', 'https://wordpress.org/extend/plugins/akismet/download/');
|
$message = '<strong>'.sprintf(esc_html__( 'Akismet %s requires WordPress %s or higher.' , 'akismet'), AKISMET_VERSION, AKISMET__MINIMUM_WP_VERSION ).'</strong> '.sprintf(__('Please <a href="%1$s">upgrade WordPress</a> to a current version, or <a href="%2$s">downgrade to version 2.4 of the Akismet plugin</a>.', 'akismet'), 'https://codex.wordpress.org/Upgrading_WordPress', 'https://wordpress.org/extend/plugins/akismet/download/');
|
||||||
|
|
||||||
Akismet::bail_on_activation( $message );
|
Akismet::bail_on_activation( $message );
|
||||||
} else {
|
} elseif ( ! empty( $_SERVER['SCRIPT_NAME'] ) && false !== strpos( $_SERVER['SCRIPT_NAME'], '/wp-admin/plugins.php' ) ) {
|
||||||
add_option( 'Activated_Akismet', true );
|
add_option( 'Activated_Akismet', true );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
=== Akismet Anti-Spam ===
|
=== Akismet Anti-Spam ===
|
||||||
Contributors: matt, ryan, andy, mdawaffe, tellyworth, josephscott, lessbloat, eoigal, cfinke, automattic, jgs, procifer, stephdau
|
Contributors: matt, ryan, andy, mdawaffe, tellyworth, josephscott, lessbloat, eoigal, cfinke, automattic, jgs, procifer, stephdau
|
||||||
Tags: akismet, comments, spam, antispam, anti-spam, anti spam, comment moderation, comment spam, contact form spam, spam comments
|
Tags: akismet, comments, spam, antispam, anti-spam, anti spam, comment moderation, comment spam, contact form spam, spam comments
|
||||||
Requires at least: 4.0
|
Requires at least: 4.6
|
||||||
Tested up to: 5.2
|
Tested up to: 5.4
|
||||||
Stable tag: 4.1.3
|
Stable tag: 4.1.5
|
||||||
License: GPLv2 or later
|
License: GPLv2 or later
|
||||||
|
|
||||||
Akismet checks your comments and contact form submissions against our global database of spam to protect you and your site from malicious content.
|
Akismet checks your comments and contact form submissions against our global database of spam to protect you and your site from malicious content.
|
||||||
|
|
@ -30,6 +30,22 @@ Upload the Akismet plugin to your blog, activate it, and then enter your Akismet
|
||||||
|
|
||||||
== Changelog ==
|
== Changelog ==
|
||||||
|
|
||||||
|
= 4.1.5 =
|
||||||
|
*Release Date - 29 April 2020*
|
||||||
|
|
||||||
|
* Based on user feedback, we have dropped the in-admin notice explaining the availability of the "privacy notice" option in the AKismet settings screen. The option itself is available, but after displaying the notice for the last 2 years, it is now considered a known fact.
|
||||||
|
* Updated the "Requires at least" to WP 4.6, based on recommendations from https://wp-info.org/tools/checkplugini18n.php?slug=akismet
|
||||||
|
* Moved older changelog entries to a separate file to keep the size of this readme reasonable, also based on recommendations from https://wp-info.org/tools/checkplugini18n.php?slug=akismet
|
||||||
|
|
||||||
|
= 4.1.4 =
|
||||||
|
*Release Date - 17 March 2020*
|
||||||
|
|
||||||
|
* Only redirect to the Akismet setup screen upon plugin activation if the plugin was activated manually from within the plugin-related screens, to help users with non-standard install workflows, like WP-CLI.
|
||||||
|
* Update the layout of the initial setup screen to be more readable on small screens.
|
||||||
|
* If no API key has been entered, don't run code that expects an API key.
|
||||||
|
* Improve the readability of the comment history entries.
|
||||||
|
* Don't modify the comment form HTML if no API key has been set.
|
||||||
|
|
||||||
= 4.1.3 =
|
= 4.1.3 =
|
||||||
*Release Date - 31 October 2019*
|
*Release Date - 31 October 2019*
|
||||||
|
|
||||||
|
|
@ -61,414 +77,4 @@ Upload the Akismet plugin to your blog, activate it, and then enter your Akismet
|
||||||
* Hooked into the new "Personal Data Eraser" functionality from WordPress 4.9.6.
|
* Hooked into the new "Personal Data Eraser" functionality from WordPress 4.9.6.
|
||||||
* Added functionality to clear outdated alerts from Akismet.com.
|
* Added functionality to clear outdated alerts from Akismet.com.
|
||||||
|
|
||||||
= 4.0.8 =
|
For older changelog entries, please see the [additional changelog.txt file](https://plugins.svn.wordpress.org/akismet/trunk/changelog.txt) delivered with the plugin.
|
||||||
*Release Date - 19 June 2018*
|
|
||||||
|
|
||||||
* Improved the grammar and consistency of the in-admin privacy related notes (notice and config).
|
|
||||||
* Revised in-admin explanation of the comment form privacy notice to make its usage clearer.
|
|
||||||
* Added `rel="nofollow noopener"` to the comment form privacy notice to improve SEO and security.
|
|
||||||
|
|
||||||
= 4.0.7 =
|
|
||||||
*Release Date - 28 May 2018*
|
|
||||||
|
|
||||||
* Based on user feedback, the link on "Learn how your comment data is processed." in the optional privacy notice now has a `target` of `_blank` and opens in a new tab/window.
|
|
||||||
* Updated the in-admin privacy notice to use the term "comment" instead of "contact" in "Akismet can display a notice to your users under your comment forms."
|
|
||||||
* Only show in-admin privacy notice if Akismet has an API Key configured
|
|
||||||
|
|
||||||
= 4.0.6 =
|
|
||||||
*Release Date - 26 May 2018*
|
|
||||||
|
|
||||||
* Moved away from using `empty( get_option() )` to instantiating a variable to be compatible with older versions of PHP (5.3, 5.4, etc).
|
|
||||||
|
|
||||||
= 4.0.5 =
|
|
||||||
*Release Date - 26 May 2018*
|
|
||||||
|
|
||||||
* Corrected version number after tagging. Sorry...
|
|
||||||
|
|
||||||
= 4.0.4 =
|
|
||||||
*Release Date - 26 May 2018*
|
|
||||||
|
|
||||||
* Added a hook to provide Akismet-specific privacy information for a site's privacy policy.
|
|
||||||
* Added tools to control the display of a privacy related notice under comment forms.
|
|
||||||
* Fixed HTML in activation failure message to close META and HEAD tag properly.
|
|
||||||
* Fixed a bug that would sometimes prevent Akismet from being correctly auto-configured.
|
|
||||||
|
|
||||||
= 4.0.3 =
|
|
||||||
*Release Date - 19 February 2018*
|
|
||||||
|
|
||||||
* Added a scheduled task to remove entries in wp_commentmeta that no longer have corresponding comments in wp_comments.
|
|
||||||
* Added a new `akismet_batch_delete_count` action to the batch delete methods for people who'd like to keep track of the numbers of records being processed by those methods.
|
|
||||||
|
|
||||||
= 4.0.2 =
|
|
||||||
*Release Date - 18 December 2017*
|
|
||||||
|
|
||||||
* Fixed a bug that could cause Akismet to recheck a comment that has already been manually approved or marked as spam.
|
|
||||||
* Fixed a bug that could cause Akismet to claim that some comments are still waiting to be checked when no comments are waiting to be checked.
|
|
||||||
|
|
||||||
= 4.0.1 =
|
|
||||||
*Release Date - 6 November 2017*
|
|
||||||
|
|
||||||
* Fixed a bug that could prevent some users from connecting Akismet via their Jetpack connection.
|
|
||||||
* Ensured that any pending Akismet-related events are unscheduled if the plugin is deactivated.
|
|
||||||
* Allow some JavaScript to be run asynchronously to avoid affecting page render speeds.
|
|
||||||
|
|
||||||
= 4.0 =
|
|
||||||
*Release Date - 19 September 2017*
|
|
||||||
|
|
||||||
* Added REST API endpoints for configuring Akismet and retrieving stats.
|
|
||||||
* Increased the minimum supported WordPress version to 4.0.
|
|
||||||
* Added compatibility with comments submitted via the REST API.
|
|
||||||
* Improved the progress indicator on the "Check for Spam" button.
|
|
||||||
|
|
||||||
= 3.3.4 =
|
|
||||||
*Release Date - 3 August 2017*
|
|
||||||
|
|
||||||
* Disabled Akismet's debug log output by default unless AKISMET_DEBUG is defined.
|
|
||||||
* URL previews now begin preloading when the mouse moves near them in the comments section of wp-admin.
|
|
||||||
* When a comment is caught by the Comment Blacklist, Akismet will always allow it to stay in the trash even if it is spam as well.
|
|
||||||
* Fixed a bug that was preventing an error from being shown when a site can't reach Akismet's servers.
|
|
||||||
|
|
||||||
= 3.3.3 =
|
|
||||||
*Release Date - 13 July 2017*
|
|
||||||
|
|
||||||
* Reduced amount of bandwidth used by the URL Preview feature.
|
|
||||||
* Improved the admin UI when the API key is manually pre-defined for the site.
|
|
||||||
* Removed a workaround for WordPress installations older than 3.3 that will improve Akismet's compatibility with other plugins.
|
|
||||||
* The number of spam blocked that is displayed on the WordPress dashboard will now be more accurate and updated more frequently.
|
|
||||||
* Fixed a bug in the Akismet widget that could cause PHP warnings.
|
|
||||||
|
|
||||||
= 3.3.2 =
|
|
||||||
*Release Date - 10 May 2017*
|
|
||||||
|
|
||||||
* Fixed a bug causing JavaScript errors in some browsers.
|
|
||||||
|
|
||||||
= 3.3.1 =
|
|
||||||
*Release Date - 2 May 2017*
|
|
||||||
|
|
||||||
* Improve performance by only requesting the akismet_comment_nonce option when absolutely necessary.
|
|
||||||
* Fixed two bugs that could cause PHP warnings.
|
|
||||||
* Fixed a bug that was preventing the "Remove author URL" feature from working after a comment was edited using "Quick Edit."
|
|
||||||
* Fixed a bug that was preventing the URL preview feature from working after a comment was edited using "Quick Edit."
|
|
||||||
|
|
||||||
= 3.3 =
|
|
||||||
*Release Date - 23 February 2017*
|
|
||||||
|
|
||||||
* Updated the Akismet admin pages with a new clean design.
|
|
||||||
* Fixed bugs preventing the `akismet_add_comment_nonce` and `akismet_update_alert` wrapper functions from working properly.
|
|
||||||
* Fixed bug preventing the loading indicator from appearing when re-checking all comments for spam.
|
|
||||||
* Added a progress indicator to the "Check for Spam" button.
|
|
||||||
* Added a success message after manually rechecking the Pending queue for spam.
|
|
||||||
|
|
||||||
= 3.2 =
|
|
||||||
*Release Date - 6 September 2016*
|
|
||||||
|
|
||||||
* Added a WP-CLI module. You can now check comments and recheck the moderation queue from the command line.
|
|
||||||
* Stopped using the deprecated jQuery function `.live()`.
|
|
||||||
* Fixed a bug in `remove_comment_author_url()` and `add_comment_author_url()` that could generate PHP notices.
|
|
||||||
* Fixed a bug that could cause an infinite loop for sites with very very very large comment IDs.
|
|
||||||
* Fixed a bug that could cause the Akismet widget title to be blank.
|
|
||||||
|
|
||||||
= 3.1.11 =
|
|
||||||
*Release Date - 12 May 2016*
|
|
||||||
|
|
||||||
* Fixed a bug that could cause the "Check for Spam" button to skip some comments.
|
|
||||||
* Fixed a bug that could prevent some spam submissions from being sent to Akismet.
|
|
||||||
* Updated all links to use https:// when possible.
|
|
||||||
* Disabled Akismet debug logging unless WP_DEBUG and WP_DEBUG_LOG are both enabled.
|
|
||||||
|
|
||||||
= 3.1.10 =
|
|
||||||
*Release Date - 1 April 2016*
|
|
||||||
|
|
||||||
* Fixed a bug that could cause comments caught as spam to be placed in the Pending queue.
|
|
||||||
* Fixed a bug that could have resulted in comments that were caught by the core WordPress comment blacklist not to have a corresponding History entry.
|
|
||||||
* Fixed a bug that could have caused avoidable PHP warnings in the error log.
|
|
||||||
|
|
||||||
= 3.1.9 =
|
|
||||||
*Release Date - 28 March 2016*
|
|
||||||
|
|
||||||
* Add compatibility with Jetpack so that Jetpack can automatically configure Akismet settings when appropriate.
|
|
||||||
* Fixed a bug preventing some comment data from being sent to Akismet.
|
|
||||||
|
|
||||||
= 3.1.8 =
|
|
||||||
*Release Date - 4 March 2016*
|
|
||||||
|
|
||||||
* Fixed a bug preventing Akismet from being used with some plugins that rewrite admin URLs.
|
|
||||||
* Reduced the amount of bandwidth used on Akismet API calls
|
|
||||||
* Reduced the amount of space Akismet uses in the database
|
|
||||||
* Fixed a bug that could cause comments caught as spam to be placed in the Pending queue.
|
|
||||||
|
|
||||||
= 3.1.7 =
|
|
||||||
*Release Date - 4 January 2016*
|
|
||||||
|
|
||||||
* Added documentation for the 'akismet_comment_nonce' filter.
|
|
||||||
* The post-install activation button is now accessible to screen readers and keyboard-only users.
|
|
||||||
* Fixed a bug that was preventing the "Remove author URL" feature from working in WordPress 4.4
|
|
||||||
|
|
||||||
= 3.1.6 =
|
|
||||||
*Release Date - 14 December 2015*
|
|
||||||
|
|
||||||
* Improve the notices shown after activating Akismet.
|
|
||||||
* Update some strings to allow for the proper plural forms in all languages.
|
|
||||||
|
|
||||||
= 3.1.5 =
|
|
||||||
*Release Date - 13 October 2015*
|
|
||||||
|
|
||||||
* Closes a potential XSS vulnerability.
|
|
||||||
|
|
||||||
= 3.1.4 =
|
|
||||||
*Release Date - 24 September 2015*
|
|
||||||
|
|
||||||
* Fixed a bug that was preventing some users from automatically connecting using Jetpack if they didn't have a current Akismet subscription.
|
|
||||||
* Fixed a bug that could cause comments caught as spam to be placed in the Pending queue.
|
|
||||||
* Error messages and instructions have been simplified to be more understandable.
|
|
||||||
* Link previews are enabled for all links inside comments, not just the author's website link.
|
|
||||||
|
|
||||||
= 3.1.3 =
|
|
||||||
*Release Date - 6 July 2015*
|
|
||||||
|
|
||||||
* Notify users when their account status changes after previously being successfully set up. This should help any users who are seeing blank Akismet settings screens.
|
|
||||||
|
|
||||||
= 3.1.2 =
|
|
||||||
*Release Date - 7 June 2015*
|
|
||||||
|
|
||||||
* Reduced the amount of space Akismet uses in the commentmeta table.
|
|
||||||
* Fixed a bug where some comments with quotes in the author name weren't getting history entries
|
|
||||||
* Pre-emptive security improvements to ensure that the Akismet plugin can't be used by attackers to compromise a WordPress installation.
|
|
||||||
* Better UI for the key entry field: allow whitespace to be included at the beginning or end of the key and strip it out automatically when the form is submitted.
|
|
||||||
* When deactivating the plugin, notify the Akismet API so the site can be marked as inactive.
|
|
||||||
* Clearer error messages.
|
|
||||||
|
|
||||||
= 3.1.1 =
|
|
||||||
*Release Date - 17th March, 2015*
|
|
||||||
|
|
||||||
* Improvements to the "Remove comment author URL" JavaScript
|
|
||||||
* Include the pingback pre-check from the 2.6 branch.
|
|
||||||
|
|
||||||
= 3.1 =
|
|
||||||
*Release Date - 11th March, 2015*
|
|
||||||
|
|
||||||
* Use HTTPS by default for all requests to Akismet.
|
|
||||||
* Fix for a situation where Akismet might strip HTML from a comment.
|
|
||||||
|
|
||||||
= 3.0.4 =
|
|
||||||
*Release Date - 11th December, 2014*
|
|
||||||
|
|
||||||
* Fix to make .htaccess compatible with Apache 2.4.
|
|
||||||
* Fix to allow removal of https author URLs.
|
|
||||||
* Fix to avoid stripping part of the author URL when removing and re-adding.
|
|
||||||
* Removed the "Check for Spam" button from the "Trash" and "Approved" queues, where it would have no effect.
|
|
||||||
* Allow automatic API key configuration when Jetpack is installed and connected to a WordPress.com account
|
|
||||||
|
|
||||||
= 3.0.3 =
|
|
||||||
*Release Date - 3rd November, 2014*
|
|
||||||
|
|
||||||
* Fix for sending the wrong data to delete_comment action that could have prevented old spam comments from being deleted.
|
|
||||||
* Added a filter to disable logging of Akismet debugging information.
|
|
||||||
* Added a filter for the maximum comment age when deleting old spam comments.
|
|
||||||
* Added a filter for the number per batch when deleting old spam comments.
|
|
||||||
* Removed the "Check for Spam" button from the Spam folder.
|
|
||||||
|
|
||||||
= 3.0.2 =
|
|
||||||
*Release Date - 18th August, 2014*
|
|
||||||
|
|
||||||
* Performance improvements.
|
|
||||||
* Fixed a bug that could truncate the comment data being sent to Akismet for checking.
|
|
||||||
|
|
||||||
= 3.0.1 =
|
|
||||||
*Release Date - 9th July, 2014*
|
|
||||||
|
|
||||||
* Removed dependency on PHP's fsockopen function
|
|
||||||
* Fix spam/ham reports to work when reported outside of the WP dashboard, e.g., from Notifications or the WP app
|
|
||||||
* Remove jQuery dependency for comment form JavaScript
|
|
||||||
* Remove unnecessary data from some Akismet comment meta
|
|
||||||
* Suspended keys will now result in all comments being put in moderation, not spam.
|
|
||||||
|
|
||||||
= 3.0.0 =
|
|
||||||
*Release Date - 15th April, 2014*
|
|
||||||
|
|
||||||
* Move Akismet to Settings menu
|
|
||||||
* Drop Akismet Stats menu
|
|
||||||
* Add stats snapshot to Akismet settings
|
|
||||||
* Add Akismet subscription details and status to Akismet settings
|
|
||||||
* Add contextual help for each page
|
|
||||||
* Improve Akismet setup to use Jetpack to automate plugin setup
|
|
||||||
* Fix "Check for Spam" to use AJAX to avoid page timing out
|
|
||||||
* Fix Akismet settings page to be responsive
|
|
||||||
* Drop legacy code
|
|
||||||
* Tidy up CSS and Javascript
|
|
||||||
* Replace the old discard setting with a new "discard pervasive spam" feature.
|
|
||||||
|
|
||||||
= 2.6.0 =
|
|
||||||
*Release Date - 18th March, 2014*
|
|
||||||
|
|
||||||
* Add ajax paging to the check for spam button to handle large volumes of comments
|
|
||||||
* Optimize javascript and add localization support
|
|
||||||
* Fix bug in link to spam comments from right now dashboard widget
|
|
||||||
* Fix bug with deleting old comments to avoid timeouts dealing with large volumes of comments
|
|
||||||
* Include X-Pingback-Forwarded-For header in outbound WordPress pingback verifications
|
|
||||||
* Add pre-check for pingbacks, to stop spam before an outbound verification request is made
|
|
||||||
|
|
||||||
= 2.5.9 =
|
|
||||||
*Release Date - 1st August, 2013*
|
|
||||||
|
|
||||||
* Update 'Already have a key' link to redirect page rather than depend on javascript
|
|
||||||
* Fix some non-translatable strings to be translatable
|
|
||||||
* Update Activation banner in plugins page to redirect user to Akismet config page
|
|
||||||
|
|
||||||
= 2.5.8 =
|
|
||||||
*Release Date - 20th January, 2013*
|
|
||||||
|
|
||||||
* Simplify the activation process for new users
|
|
||||||
* Remove the reporter_ip parameter
|
|
||||||
* Minor preventative security improvements
|
|
||||||
|
|
||||||
= 2.5.7 =
|
|
||||||
*Release Date - 13th December, 2012*
|
|
||||||
|
|
||||||
* FireFox Stats iframe preview bug
|
|
||||||
* Fix mshots preview when using https
|
|
||||||
* Add .htaccess to block direct access to files
|
|
||||||
* Prevent some PHP notices
|
|
||||||
* Fix Check For Spam return location when referrer is empty
|
|
||||||
* Fix Settings links for network admins
|
|
||||||
* Fix prepare() warnings in WP 3.5
|
|
||||||
|
|
||||||
= 2.5.6 =
|
|
||||||
*Release Date - 26th April, 2012*
|
|
||||||
|
|
||||||
* Prevent retry scheduling problems on sites where wp_cron is misbehaving
|
|
||||||
* Preload mshot previews
|
|
||||||
* Modernize the widget code
|
|
||||||
* Fix a bug where comments were not held for moderation during an error condition
|
|
||||||
* Improve the UX and display when comments are temporarily held due to an error
|
|
||||||
* Make the Check For Spam button force a retry when comments are held due to an error
|
|
||||||
* Handle errors caused by an invalid key
|
|
||||||
* Don't retry comments that are too old
|
|
||||||
* Improve error messages when verifying an API key
|
|
||||||
|
|
||||||
= 2.5.5 =
|
|
||||||
*Release Date - 11th January, 2012*
|
|
||||||
|
|
||||||
* Add nonce check for comment author URL remove action
|
|
||||||
* Fix the settings link
|
|
||||||
|
|
||||||
= 2.5.4 =
|
|
||||||
*Release Date - 5th January, 2012*
|
|
||||||
|
|
||||||
* Limit Akismet CSS and Javascript loading in wp-admin to just the pages that need it
|
|
||||||
* Added author URL quick removal functionality
|
|
||||||
* Added mShot preview on Author URL hover
|
|
||||||
* Added empty index.php to prevent directory listing
|
|
||||||
* Move wp-admin menu items under Jetpack, if it is installed
|
|
||||||
* Purge old Akismet comment meta data, default of 15 days
|
|
||||||
|
|
||||||
= 2.5.3 =
|
|
||||||
*Release Date - 8th Febuary, 2011*
|
|
||||||
|
|
||||||
* Specify the license is GPL v2 or later
|
|
||||||
* Fix a bug that could result in orphaned commentmeta entries
|
|
||||||
* Include hotfix for WordPress 3.0.5 filter issue
|
|
||||||
|
|
||||||
= 2.5.2 =
|
|
||||||
*Release Date - 14th January, 2011*
|
|
||||||
|
|
||||||
* Properly format the comment count for author counts
|
|
||||||
* Look for super admins on multisite installs when looking up user roles
|
|
||||||
* Increase the HTTP request timeout
|
|
||||||
* Removed padding for author approved count
|
|
||||||
* Fix typo in function name
|
|
||||||
* Set Akismet stats iframe height to fixed 2500px. Better to have one tall scroll bar than two side by side.
|
|
||||||
|
|
||||||
= 2.5.1 =
|
|
||||||
*Release Date - 17th December, 2010*
|
|
||||||
|
|
||||||
* Fix a bug that caused the "Auto delete" option to fail to discard comments correctly
|
|
||||||
* Remove the comment nonce form field from the 'Akismet Configuration' page in favor of using a filter, akismet_comment_nonce
|
|
||||||
* Fixed padding bug in "author" column of posts screen
|
|
||||||
* Added margin-top to "cleared by ..." badges on dashboard
|
|
||||||
* Fix possible error when calling akismet_cron_recheck()
|
|
||||||
* Fix more PHP warnings
|
|
||||||
* Clean up XHTML warnings for comment nonce
|
|
||||||
* Fix for possible condition where scheduled comment re-checks could get stuck
|
|
||||||
* Clean up the comment meta details after deleting a comment
|
|
||||||
* Only show the status badge if the comment status has been changed by someone/something other than Akismet
|
|
||||||
* Show a 'History' link in the row-actions
|
|
||||||
* Translation fixes
|
|
||||||
* Reduced font-size on author name
|
|
||||||
* Moved "flagged by..." notification to top right corner of comment container and removed heavy styling
|
|
||||||
* Hid "flagged by..." notification while on dashboard
|
|
||||||
|
|
||||||
= 2.5.0 =
|
|
||||||
*Release Date - 7th December, 2010*
|
|
||||||
|
|
||||||
* Track comment actions under 'Akismet Status' on the edit comment screen
|
|
||||||
* Fix a few remaining deprecated function calls ( props Mike Glendinning )
|
|
||||||
* Use HTTPS for the stats IFRAME when wp-admin is using HTTPS
|
|
||||||
* Use the WordPress HTTP class if available
|
|
||||||
* Move the admin UI code to a separate file, only loaded when needed
|
|
||||||
* Add cron retry feature, to replace the old connectivity check
|
|
||||||
* Display Akismet status badge beside each comment
|
|
||||||
* Record history for each comment, and display it on the edit page
|
|
||||||
* Record the complete comment as originally submitted in comment_meta, to use when reporting spam and ham
|
|
||||||
* Highlight links in comment content
|
|
||||||
* New option, "Show the number of comments you've approved beside each comment author."
|
|
||||||
* New option, "Use a nonce on the comment form."
|
|
||||||
|
|
||||||
= 2.4.0 =
|
|
||||||
*Release Date - 23rd August, 2010*
|
|
||||||
|
|
||||||
* Spell out that the license is GPLv2
|
|
||||||
* Fix PHP warnings
|
|
||||||
* Fix WordPress deprecated function calls
|
|
||||||
* Fire the delete_comment action when deleting comments
|
|
||||||
* Move code specific for older WP versions to legacy.php
|
|
||||||
* General code clean up
|
|
||||||
|
|
||||||
= 2.3.0 =
|
|
||||||
*Release Date - 5th June, 2010*
|
|
||||||
|
|
||||||
* Fix "Are you sure" nonce message on config screen in WPMU
|
|
||||||
* Fix XHTML compliance issue in sidebar widget
|
|
||||||
* Change author link; remove some old references to WordPress.com accounts
|
|
||||||
* Localize the widget title (core ticket #13879)
|
|
||||||
|
|
||||||
= 2.2.9 =
|
|
||||||
*Release Date - 2nd June, 2010*
|
|
||||||
|
|
||||||
* Eliminate a potential conflict with some plugins that may cause spurious reports
|
|
||||||
|
|
||||||
= 2.2.8 =
|
|
||||||
*Release Date - 27th May, 2010*
|
|
||||||
|
|
||||||
* Fix bug in initial comment check for ipv6 addresses
|
|
||||||
* Report comments as ham when they are moved from spam to moderation
|
|
||||||
* Report comments as ham when clicking undo after spam
|
|
||||||
* Use transition_comment_status action when available instead of older actions for spam/ham submissions
|
|
||||||
* Better diagnostic messages when PHP network functions are unavailable
|
|
||||||
* Better handling of comments by logged-in users
|
|
||||||
|
|
||||||
= 2.2.7 =
|
|
||||||
*Release Date - 17th December, 2009*
|
|
||||||
|
|
||||||
* Add a new AKISMET_VERSION constant
|
|
||||||
* Reduce the possibility of over-counting spam when another spam filter plugin is in use
|
|
||||||
* Disable the connectivity check when the API key is hard-coded for WPMU
|
|
||||||
|
|
||||||
= 2.2.6 =
|
|
||||||
*Release Date - 20th July, 2009*
|
|
||||||
|
|
||||||
* Fix a global warning introduced in 2.2.5
|
|
||||||
* Add changelog and additional readme.txt tags
|
|
||||||
* Fix an array conversion warning in some versions of PHP
|
|
||||||
* Support a new WPCOM_API_KEY constant for easier use with WordPress MU
|
|
||||||
|
|
||||||
= 2.2.5 =
|
|
||||||
*Release Date - 13th July, 2009*
|
|
||||||
|
|
||||||
* Include a new Server Connectivity diagnostic check, to detect problems caused by firewalls
|
|
||||||
|
|
||||||
= 2.2.4 =
|
|
||||||
*Release Date - 3rd June, 2009*
|
|
||||||
|
|
||||||
* Fixed a key problem affecting the stats feature in WordPress MU
|
|
||||||
* Provide additional blog information in Akismet API calls
|
|
||||||
|
|
@ -138,10 +138,4 @@
|
||||||
</p>
|
</p>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
<?php elseif ( $type == 'privacy' ) :?>
|
|
||||||
<div class="notice notice-warning is-dismissible" id="akismet-privacy-notice-admin-notice">
|
|
||||||
<p><strong><?php esc_html_e( 'Akismet & Privacy.', 'akismet' );?></strong></p>
|
|
||||||
<p><?php esc_html_e( 'To help your site with transparency under privacy laws like the GDPR, Akismet can display a notice to your users under your comment forms. This feature is disabled by default, however, you can turn it on below.', 'akismet' ); ?></p>
|
|
||||||
<p><?php printf( __(' Please <a href="%s">enable</a> or <a href="%s">disable</a> this feature. <a href="%s" id="akismet-privacy-notice-control-notice-info-link" target="_blank">More information</a>.', 'akismet' ), admin_url( apply_filters( 'akismet_comment_form_privacy_notice_url_display', 'options-general.php?page=akismet-key-config&akismet_comment_form_privacy_notice=display' ) ), admin_url( apply_filters( 'akismet_comment_form_privacy_notice_url_hide', 'options-general.php?page=akismet-key-config&akismet_comment_form_privacy_notice=hide' ) ), 'https://akismet.com/privacy/' ); ?></p>
|
|
||||||
</div>
|
|
||||||
<?php endif;?>
|
<?php endif;?>
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<h3><?php esc_html_e( 'Set Up Akismet' , 'akismet' );?></h3>
|
<div class="akismet-setup-instructions">
|
||||||
<div class="akismet-right">
|
<p><?php esc_html_e( 'Set up your Akismet account to enable spam filtering on this site.', 'akismet' ); ?></p>
|
||||||
<?php Akismet::view( 'get', array( 'text' => __( 'Set up your Akismet account' , 'akismet' ), 'classes' => array( 'akismet-button', 'akismet-is-primary' ) ) ); ?>
|
<?php Akismet::view( 'get', array( 'text' => __( 'Set up your Akismet account' , 'akismet' ), 'classes' => array( 'akismet-button', 'akismet-is-primary' ) ) ); ?>
|
||||||
</div>
|
</div>
|
||||||
<p><?php esc_html_e( 'Set up your Akismet account to enable spam filtering on this site.', 'akismet' ); ?></p>
|
|
||||||
|
|
@ -1,197 +0,0 @@
|
||||||
#health-check-dashboard-widget {
|
|
||||||
display: grid;
|
|
||||||
grid-gap: 2%;
|
|
||||||
grid-template-columns: 100%;
|
|
||||||
padding: 13px;
|
|
||||||
background: #fff;
|
|
||||||
/* Accordion styles */
|
|
||||||
}
|
|
||||||
|
|
||||||
@media all and (min-width: 783px) {
|
|
||||||
#health-check-dashboard-widget {
|
|
||||||
margin-top: 3rem;
|
|
||||||
grid-template-columns: 49% 49%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#health-check-dashboard-widget h2 .green {
|
|
||||||
color: #40860a;
|
|
||||||
}
|
|
||||||
|
|
||||||
#health-check-dashboard-widget .welcome-panel-content {
|
|
||||||
max-width: initial;
|
|
||||||
}
|
|
||||||
|
|
||||||
#health-check-dashboard-widget #health-check-accordion-block-notices .no-notices p {
|
|
||||||
color: #72777c;
|
|
||||||
font-size: 1.2rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
#health-check-dashboard-widget #health-check-accordion-block-notices .notice {
|
|
||||||
color: #72777c;
|
|
||||||
margin-left: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#health-check-dashboard-widget #health-check-accordion-block-notices .notice p {
|
|
||||||
font-size: 13px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#health-check-dashboard-widget #health-check-accordion-block-notices .dismiss-notices {
|
|
||||||
display: block;
|
|
||||||
width: 100%;
|
|
||||||
text-align: right;
|
|
||||||
margin-right: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
#health-check-dashboard-widget .disable-troubleshooting-mode {
|
|
||||||
margin-bottom: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media all and (min-width: 960px) {
|
|
||||||
#health-check-dashboard-widget .disable-troubleshooting-mode {
|
|
||||||
position: absolute;
|
|
||||||
bottom: 1rem;
|
|
||||||
right: 1rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#health-check-dashboard-widget ul li {
|
|
||||||
font-size: 13px;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media all and (max-width: 870px) {
|
|
||||||
#health-check-dashboard-widget ul li {
|
|
||||||
display: inline-block;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#health-check-dashboard-widget .about-description {
|
|
||||||
margin: 1em 0;
|
|
||||||
max-width: 700px;
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
|
|
||||||
#health-check-dashboard-widget .about-description p {
|
|
||||||
color: inherit;
|
|
||||||
font-size: 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#health-check-dashboard-widget .health-check-accordion {
|
|
||||||
border: 1px solid #e2e4e7;
|
|
||||||
}
|
|
||||||
|
|
||||||
#health-check-dashboard-widget .health-check-accordion .health-check-accordion-heading {
|
|
||||||
margin: 0;
|
|
||||||
border-top: 1px solid #e2e4e7;
|
|
||||||
font-size: inherit;
|
|
||||||
line-height: inherit;
|
|
||||||
font-weight: 600;
|
|
||||||
color: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
#health-check-dashboard-widget .health-check-accordion .health-check-accordion-heading:first-child {
|
|
||||||
border-top: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#health-check-dashboard-widget .health-check-accordion .health-check-accordion-trigger {
|
|
||||||
background: #fff;
|
|
||||||
border: 0;
|
|
||||||
color: #32373c;
|
|
||||||
cursor: pointer;
|
|
||||||
display: block;
|
|
||||||
font-weight: 400;
|
|
||||||
margin: 0;
|
|
||||||
padding: 1em 3.5em 1em 1.5em;
|
|
||||||
position: relative;
|
|
||||||
text-align: left;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
#health-check-dashboard-widget .health-check-accordion .health-check-accordion-trigger:hover, #health-check-dashboard-widget .health-check-accordion .health-check-accordion-trigger:active {
|
|
||||||
background: #f8f9f9;
|
|
||||||
}
|
|
||||||
|
|
||||||
#health-check-dashboard-widget .health-check-accordion .health-check-accordion-trigger:focus {
|
|
||||||
color: #191e23;
|
|
||||||
border: none;
|
|
||||||
box-shadow: none;
|
|
||||||
outline-offset: -2px;
|
|
||||||
outline: 1px dotted #555d66;
|
|
||||||
}
|
|
||||||
|
|
||||||
#health-check-dashboard-widget .health-check-accordion .health-check-accordion-trigger .title {
|
|
||||||
display: inline-block;
|
|
||||||
pointer-events: none;
|
|
||||||
font-weight: 600;
|
|
||||||
}
|
|
||||||
|
|
||||||
#health-check-dashboard-widget .health-check-accordion .health-check-accordion-trigger .icon {
|
|
||||||
border: solid #555d66;
|
|
||||||
border-width: 0 2px 2px 0;
|
|
||||||
height: 0.5rem;
|
|
||||||
pointer-events: none;
|
|
||||||
position: absolute;
|
|
||||||
right: 1.5em;
|
|
||||||
top: 50%;
|
|
||||||
transform: translateY(-70%) rotate(45deg);
|
|
||||||
width: 0.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
#health-check-dashboard-widget .health-check-accordion .health-check-accordion-trigger .badge {
|
|
||||||
float: right;
|
|
||||||
padding: 0.1rem 0.5rem 0.15rem;
|
|
||||||
color: #32373c;
|
|
||||||
font-weight: 600;
|
|
||||||
margin-left: 0.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
#health-check-dashboard-widget .health-check-accordion .health-check-accordion-trigger .badge.blue {
|
|
||||||
border: 1px solid #bfe7f3;
|
|
||||||
}
|
|
||||||
|
|
||||||
#health-check-dashboard-widget .health-check-accordion .health-check-accordion-trigger .badge.orange {
|
|
||||||
border: 1px solid #ffb900;
|
|
||||||
}
|
|
||||||
|
|
||||||
#health-check-dashboard-widget .health-check-accordion .health-check-accordion-trigger .badge.red {
|
|
||||||
border: 1px solid #dc3232;
|
|
||||||
}
|
|
||||||
|
|
||||||
#health-check-dashboard-widget .health-check-accordion .health-check-accordion-trigger .badge.green {
|
|
||||||
border: 1px solid #46b450;
|
|
||||||
}
|
|
||||||
|
|
||||||
#health-check-dashboard-widget .health-check-accordion .health-check-accordion-trigger .badge.purple {
|
|
||||||
border: 1px solid #826eb4;
|
|
||||||
}
|
|
||||||
|
|
||||||
#health-check-dashboard-widget .health-check-accordion .health-check-accordion-trigger .badge.gray {
|
|
||||||
border: 1px solid #ccd0d4;
|
|
||||||
}
|
|
||||||
|
|
||||||
#health-check-dashboard-widget .health-check-accordion .health-check-accordion-trigger[aria-expanded="true"] .icon {
|
|
||||||
transform: translateY(-30%) rotate(-135deg);
|
|
||||||
}
|
|
||||||
|
|
||||||
#health-check-dashboard-widget .health-check-accordion .health-check-accordion-panel {
|
|
||||||
margin: 0;
|
|
||||||
padding: 1em 1.5em;
|
|
||||||
background: #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
#health-check-dashboard-widget .health-check-accordion .health-check-accordion-panel > div {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
#health-check-dashboard-widget .health-check-accordion .health-check-accordion-panel[hidden] {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#health-check-dashboard-widget .health-check-accordion .health-check-accordion-panel a .dashicons {
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#health-check-dashboard-widget .health-check-accordion dl dd {
|
|
||||||
margin: 0 0 0.5em 2em;
|
|
||||||
}
|
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1 @@
|
||||||
|
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=11)}({11:function(e,t,n){"use strict";n.r(t);n(12)},12:function(e,t){jQuery(document).ready((function(e){e(".show-remaining").click((function(){e(".hidden",e(this).closest("ul")).removeClass("hidden")}))}))}});
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
/*
|
/*
|
||||||
Plugin Name: Health Check Troubleshooting Mode
|
Plugin Name: Health Check Troubleshooting Mode
|
||||||
Description: Conditionally disabled themes or plugins on your site for a given session, used to rule out conflicts during troubleshooting.
|
Description: Conditionally disabled themes or plugins on your site for a given session, used to rule out conflicts during troubleshooting.
|
||||||
Version: 1.7.0
|
Version: 1.7.1
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
|
|
@ -10,7 +10,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set the MU plugin version.
|
// Set the MU plugin version.
|
||||||
define( 'HEALTH_CHECK_TROUBLESHOOTING_MODE_PLUGIN_VERSION', '1.7.0' );
|
define( 'HEALTH_CHECK_TROUBLESHOOTING_MODE_PLUGIN_VERSION', '1.7.1' );
|
||||||
|
|
||||||
class Health_Check_Troubleshooting_MU {
|
class Health_Check_Troubleshooting_MU {
|
||||||
private $disable_hash = null;
|
private $disable_hash = null;
|
||||||
|
|
@ -32,6 +32,7 @@ class Health_Check_Troubleshooting_MU {
|
||||||
);
|
);
|
||||||
|
|
||||||
private $default_themes = array(
|
private $default_themes = array(
|
||||||
|
'twentytwenty',
|
||||||
'twentynineteen',
|
'twentynineteen',
|
||||||
'twentyseventeen',
|
'twentyseventeen',
|
||||||
'twentysixteen',
|
'twentysixteen',
|
||||||
|
|
@ -116,8 +117,13 @@ class Health_Check_Troubleshooting_MU {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
wp_enqueue_style( 'health-check-troubleshooting-mode', plugins_url( '/health-check/assets/css/health-check-troubleshooting-mode.css' ), array(), HEALTH_CHECK_TROUBLESHOOTING_MODE_PLUGIN_VERSION );
|
wp_enqueue_style( 'health-check', plugins_url( '/health-check/assets/css/health-check.css' ), array(), HEALTH_CHECK_TROUBLESHOOTING_MODE_PLUGIN_VERSION );
|
||||||
wp_enqueue_script( 'health-check', plugins_url( '/health-check/assets/javascript/health-check.js' ), array( 'jquery', 'wp-a11y', 'clipboard', 'wp-util' ), HEALTH_CHECK_TROUBLESHOOTING_MODE_PLUGIN_VERSION, true );
|
|
||||||
|
if ( ! wp_script_is( 'site-health', 'registered' ) ) {
|
||||||
|
wp_enqueue_script( 'site-health', plugins_url( '/health-check/assets/javascript/health-check.js' ), array( 'jquery', 'wp-a11y', 'wp-util' ), HEALTH_CHECK_TROUBLESHOOTING_MODE_PLUGIN_VERSION, true );
|
||||||
|
}
|
||||||
|
|
||||||
|
wp_enqueue_script( 'health-check', plugins_url( '/health-check/assets/javascript/troubleshooting-mode.js' ), array( 'site-health' ), HEALTH_CHECK_TROUBLESHOOTING_MODE_PLUGIN_VERSION, true );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -228,7 +234,7 @@ class Health_Check_Troubleshooting_MU {
|
||||||
$plugin_slug = explode( '/', $single_plugin );
|
$plugin_slug = explode( '/', $single_plugin );
|
||||||
$plugin_slug = $plugin_slug[0];
|
$plugin_slug = $plugin_slug[0];
|
||||||
|
|
||||||
if ( in_array( $single_plugin, $this->active_plugins ) ) {
|
if ( in_array( $single_plugin, $this->active_plugins, true ) ) {
|
||||||
$this->allowed_plugins[ $plugin_slug ] = $plugin_slug;
|
$this->allowed_plugins[ $plugin_slug ] = $plugin_slug;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -253,7 +259,7 @@ class Health_Check_Troubleshooting_MU {
|
||||||
$plugin_slug = explode( '/', $single_plugin );
|
$plugin_slug = explode( '/', $single_plugin );
|
||||||
$plugin_slug = $plugin_slug[0];
|
$plugin_slug = $plugin_slug[0];
|
||||||
|
|
||||||
if ( in_array( $single_plugin, $this->active_plugins ) ) {
|
if ( in_array( $single_plugin, $this->active_plugins, true ) ) {
|
||||||
$this->allowed_plugins[ $plugin_slug ] = $plugin_slug;
|
$this->allowed_plugins[ $plugin_slug ] = $plugin_slug;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -278,7 +284,7 @@ class Health_Check_Troubleshooting_MU {
|
||||||
$plugin_slug = explode( '/', $single_plugin );
|
$plugin_slug = explode( '/', $single_plugin );
|
||||||
$plugin_slug = $plugin_slug[0];
|
$plugin_slug = $plugin_slug[0];
|
||||||
|
|
||||||
if ( in_array( $single_plugin, $this->active_plugins ) ) {
|
if ( in_array( $single_plugin, $this->active_plugins, true ) ) {
|
||||||
unset( $this->allowed_plugins[ $plugin_slug ] );
|
unset( $this->allowed_plugins[ $plugin_slug ] );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -347,7 +353,7 @@ class Health_Check_Troubleshooting_MU {
|
||||||
$actions = array();
|
$actions = array();
|
||||||
|
|
||||||
// This isn't an active plugin, so does not apply to our troubleshooting scenarios.
|
// This isn't an active plugin, so does not apply to our troubleshooting scenarios.
|
||||||
if ( ! in_array( $plugin_file, $this->active_plugins ) ) {
|
if ( ! in_array( $plugin_file, $this->active_plugins, true ) ) {
|
||||||
return $actions;
|
return $actions;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -359,7 +365,7 @@ class Health_Check_Troubleshooting_MU {
|
||||||
$plugin_slug = $plugin_slug[0];
|
$plugin_slug = $plugin_slug[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( in_array( $plugin_slug, $this->allowed_plugins ) ) {
|
if ( in_array( $plugin_slug, $this->allowed_plugins, true ) ) {
|
||||||
$actions['troubleshoot-disable'] = sprintf(
|
$actions['troubleshoot-disable'] = sprintf(
|
||||||
'<a href="%s">%s</a>',
|
'<a href="%s">%s</a>',
|
||||||
esc_url(
|
esc_url(
|
||||||
|
|
@ -457,7 +463,7 @@ class Health_Check_Troubleshooting_MU {
|
||||||
$plugin_parts = explode( '/', $plugin_path );
|
$plugin_parts = explode( '/', $plugin_path );
|
||||||
|
|
||||||
// We may want to allow individual, or groups of plugins, so introduce a skip-mechanic for those scenarios.
|
// We may want to allow individual, or groups of plugins, so introduce a skip-mechanic for those scenarios.
|
||||||
if ( in_array( $plugin_parts[0], $this->allowed_plugins ) ) {
|
if ( in_array( $plugin_parts[0], $this->allowed_plugins, true ) ) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -725,7 +731,7 @@ class Health_Check_Troubleshooting_MU {
|
||||||
$notices[] = array(
|
$notices[] = array(
|
||||||
'severity' => $severity,
|
'severity' => $severity,
|
||||||
'message' => $message,
|
'message' => $message,
|
||||||
'time' => date( 'Y-m-d H:i' ),
|
'time' => gmdate( 'Y-m-d H:i' ),
|
||||||
);
|
);
|
||||||
|
|
||||||
update_option( 'health-check-dashboard-notices', $notices );
|
update_option( 'health-check-dashboard-notices', $notices );
|
||||||
|
|
@ -805,7 +811,7 @@ class Health_Check_Troubleshooting_MU {
|
||||||
|
|
||||||
$enabled = true;
|
$enabled = true;
|
||||||
|
|
||||||
if ( in_array( $plugin_slug, $this->allowed_plugins ) ) {
|
if ( in_array( $plugin_slug, $this->allowed_plugins, true ) ) {
|
||||||
$label = sprintf(
|
$label = sprintf(
|
||||||
// Translators: %s: Plugin slug.
|
// Translators: %s: Plugin slug.
|
||||||
esc_html__( 'Disable %s', 'health-check' ),
|
esc_html__( 'Disable %s', 'health-check' ),
|
||||||
|
|
@ -1031,7 +1037,7 @@ class Health_Check_Troubleshooting_MU {
|
||||||
|
|
||||||
$actions = array();
|
$actions = array();
|
||||||
|
|
||||||
if ( in_array( $plugin_slug, $this->allowed_plugins ) ) {
|
if ( in_array( $plugin_slug, $this->allowed_plugins, true ) ) {
|
||||||
$actions[] = sprintf(
|
$actions[] = sprintf(
|
||||||
'<a href="%s" aria-label="%s">%s</a>',
|
'<a href="%s" aria-label="%s">%s</a>',
|
||||||
esc_url(
|
esc_url(
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
* Plugin URI: https://wordpress.org/plugins/health-check/
|
* Plugin URI: https://wordpress.org/plugins/health-check/
|
||||||
* Description: Checks the health of your WordPress install.
|
* Description: Checks the health of your WordPress install.
|
||||||
* Author: The WordPress.org community
|
* Author: The WordPress.org community
|
||||||
* Version: 1.4.2
|
* Version: 1.4.4
|
||||||
* Author URI: https://wordpress.org/plugins/health-check/
|
* Author URI: https://wordpress.org/plugins/health-check/
|
||||||
* Text Domain: health-check
|
* Text Domain: health-check
|
||||||
*/
|
*/
|
||||||
|
|
@ -35,7 +35,7 @@ define( 'HEALTH_CHECK_MYSQL_MIN_VERSION', '5.0' );
|
||||||
define( 'HEALTH_CHECK_MYSQL_REC_VERSION', '5.6' );
|
define( 'HEALTH_CHECK_MYSQL_REC_VERSION', '5.6' );
|
||||||
|
|
||||||
// Set the plugin version.
|
// Set the plugin version.
|
||||||
define( 'HEALTH_CHECK_PLUGIN_VERSION', '1.4.2' );
|
define( 'HEALTH_CHECK_PLUGIN_VERSION', '1.4.4' );
|
||||||
|
|
||||||
// Set the plugin file.
|
// Set the plugin file.
|
||||||
define( 'HEALTH_CHECK_PLUGIN_FILE', __FILE__ );
|
define( 'HEALTH_CHECK_PLUGIN_FILE', __FILE__ );
|
||||||
|
|
|
||||||
|
|
@ -12,11 +12,17 @@ class Health_Check_Dashboard_Widget {
|
||||||
}
|
}
|
||||||
|
|
||||||
function dashboard_setup() {
|
function dashboard_setup() {
|
||||||
wp_add_dashboard_widget(
|
global $wp_meta_boxes;
|
||||||
'health_check_status',
|
|
||||||
__( 'Site Health Status', 'health-check' ),
|
if ( ! isset( $wp_meta_boxes['dashboard']['normal']['core']['dashboard_site_health'] ) ) {
|
||||||
array( $this, 'widget_render' )
|
wp_add_dashboard_widget(
|
||||||
);
|
'dashboard_site_health',
|
||||||
|
__( 'Site Health Status', 'health-check' ),
|
||||||
|
array( $this, 'widget_render' )
|
||||||
|
);
|
||||||
|
} else {
|
||||||
|
$wp_meta_boxes['dashboard']['normal']['core']['dashboard_site_health']['callback'] = array( $this, 'widget_render' );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function widget_render() {
|
function widget_render() {
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,8 @@ Tags: health check
|
||||||
Contributors: wordpressdotorg, westi, pento, Clorith
|
Contributors: wordpressdotorg, westi, pento, Clorith
|
||||||
Requires at least: 4.0
|
Requires at least: 4.0
|
||||||
Requires PHP: 5.2
|
Requires PHP: 5.2
|
||||||
Tested up to: 5.2
|
Tested up to: 5.4
|
||||||
Stable tag: 1.4.2
|
Stable tag: 1.4.4
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
|
@ -49,6 +49,13 @@ At this time, the plugin has been tested with every version of PHP from 5.2 thro
|
||||||
|
|
||||||
== Changelog ==
|
== Changelog ==
|
||||||
|
|
||||||
|
= v1.4.4 =
|
||||||
|
* Fixed hidden JavaScript warning when using troubleshooting mode on the Dashboard
|
||||||
|
* Fixed plugin and theme lists staying hidden in troubleshooting mode on the Dashboard
|
||||||
|
|
||||||
|
= v1.4.3 =
|
||||||
|
* Compatibility with WordPress 5.4
|
||||||
|
|
||||||
= v1.4.2 =
|
= v1.4.2 =
|
||||||
* Fix missing headers for a loopback request in the debug section
|
* Fix missing headers for a loopback request in the debug section
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,10 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* Compatibility functions for bbpress.
|
||||||
|
*
|
||||||
|
* @package Jetpack
|
||||||
|
*/
|
||||||
|
|
||||||
add_action( 'init', 'jetpack_bbpress_compat', 11 ); // Priority 11 needed to ensure sharing_display is loaded.
|
add_action( 'init', 'jetpack_bbpress_compat', 11 ); // Priority 11 needed to ensure sharing_display is loaded.
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -8,8 +14,21 @@ add_action( 'init', 'jetpack_bbpress_compat', 11 ); // Priority 11 needed to ens
|
||||||
* @since 3.7.1
|
* @since 3.7.1
|
||||||
*/
|
*/
|
||||||
function jetpack_bbpress_compat() {
|
function jetpack_bbpress_compat() {
|
||||||
|
if ( ! function_exists( 'bbpress' ) ) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Add compatibility layer for REST API.
|
||||||
|
*
|
||||||
|
* @since 8.5.0 Moved from root-level file and check_rest_api_compat()
|
||||||
|
*/
|
||||||
|
require_once 'class-jetpack-bbpress-rest-api.php';
|
||||||
|
Jetpack_BbPress_REST_API::instance();
|
||||||
|
|
||||||
|
// Adds sharing buttons to bbPress items.
|
||||||
if ( function_exists( 'sharing_display' ) ) {
|
if ( function_exists( 'sharing_display' ) ) {
|
||||||
add_filter( 'bbp_get_topic_content', 'sharing_display', 19 );
|
add_filter( 'bbp_get_topic_content', 'sharing_display', 19 );
|
||||||
add_action( 'bbp_template_after_single_forum', 'jetpack_sharing_bbpress' );
|
add_action( 'bbp_template_after_single_forum', 'jetpack_sharing_bbpress' );
|
||||||
add_action( 'bbp_template_after_single_topic', 'jetpack_sharing_bbpress' );
|
add_action( 'bbp_template_after_single_topic', 'jetpack_sharing_bbpress' );
|
||||||
}
|
}
|
||||||
|
|
@ -20,11 +39,11 @@ function jetpack_bbpress_compat() {
|
||||||
* @author Brandon Kraft
|
* @author Brandon Kraft
|
||||||
* @since 6.0.0
|
* @since 6.0.0
|
||||||
*/
|
*/
|
||||||
if ( function_exists( 'bbp_get_topic_post_type' ) ) {
|
if ( function_exists( 'bbp_get_topic_post_type' ) ) {
|
||||||
add_post_type_support( bbp_get_topic_post_type(), 'wpcom-markdown' );
|
add_post_type_support( bbp_get_topic_post_type(), 'wpcom-markdown' );
|
||||||
add_post_type_support( bbp_get_reply_post_type(), 'wpcom-markdown' );
|
add_post_type_support( bbp_get_reply_post_type(), 'wpcom-markdown' );
|
||||||
add_post_type_support( bbp_get_forum_post_type(), 'wpcom-markdown' );
|
add_post_type_support( bbp_get_forum_post_type(), 'wpcom-markdown' );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use Photon for all images in Topics and replies.
|
* Use Photon for all images in Topics and replies.
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,28 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* bbPress & Jetpack REST API Compatibility
|
* REST API Compatibility: bbPress & Jetpack
|
||||||
* Enables bbPress to work with the Jetpack REST API
|
* Enables bbPress to work with the Jetpack REST API
|
||||||
|
*
|
||||||
|
* @package Jetpack
|
||||||
*/
|
*/
|
||||||
class bbPress_Jetpack_REST_API {
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* REST API Compatibility: bbPress.
|
||||||
|
*/
|
||||||
|
class Jetpack_BbPress_REST_API {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Singleton
|
||||||
|
*
|
||||||
|
* @var Jetpack_BbPress_REST_API.
|
||||||
|
*/
|
||||||
private static $instance;
|
private static $instance;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns or creates the singleton.
|
||||||
|
*
|
||||||
|
* @return Jetpack_BbPress_REST_API
|
||||||
|
*/
|
||||||
public static function instance() {
|
public static function instance() {
|
||||||
if ( isset( self::$instance ) ) {
|
if ( isset( self::$instance ) ) {
|
||||||
return self::$instance;
|
return self::$instance;
|
||||||
|
|
@ -15,20 +31,37 @@ class bbPress_Jetpack_REST_API {
|
||||||
self::$instance = new self();
|
self::$instance = new self();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Jetpack_BbPress_REST_API constructor.
|
||||||
|
*/
|
||||||
private function __construct() {
|
private function __construct() {
|
||||||
add_filter( 'rest_api_allowed_post_types', array( $this, 'allow_bbpress_post_types' ) );
|
add_filter( 'rest_api_allowed_post_types', array( $this, 'allow_bbpress_post_types' ) );
|
||||||
add_filter( 'bbp_map_meta_caps', array( $this, 'adjust_meta_caps' ), 10, 4 );
|
add_filter( 'bbp_map_meta_caps', array( $this, 'adjust_meta_caps' ), 10, 4 );
|
||||||
add_filter( 'rest_api_allowed_public_metadata', array( $this, 'allow_bbpress_public_metadata' ) );
|
add_filter( 'rest_api_allowed_public_metadata', array( $this, 'allow_bbpress_public_metadata' ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
function allow_bbpress_post_types( $allowed_post_types ) {
|
/**
|
||||||
|
* Adds the bbPress post types to the rest_api_allowed_post_types filter.
|
||||||
|
*
|
||||||
|
* @param array $allowed_post_types Allowed post types.
|
||||||
|
*
|
||||||
|
* @return array
|
||||||
|
*/
|
||||||
|
public function allow_bbpress_post_types( $allowed_post_types ) {
|
||||||
$allowed_post_types[] = 'forum';
|
$allowed_post_types[] = 'forum';
|
||||||
$allowed_post_types[] = 'topic';
|
$allowed_post_types[] = 'topic';
|
||||||
$allowed_post_types[] = 'reply';
|
$allowed_post_types[] = 'reply';
|
||||||
return $allowed_post_types;
|
return $allowed_post_types;
|
||||||
}
|
}
|
||||||
|
|
||||||
function allow_bbpress_public_metadata( $allowed_meta_keys ) {
|
/**
|
||||||
|
* Adds the bbpress meta keys to the rest_api_allowed_public_metadata filter.
|
||||||
|
*
|
||||||
|
* @param array $allowed_meta_keys Allowed meta keys.
|
||||||
|
*
|
||||||
|
* @return array
|
||||||
|
*/
|
||||||
|
public function allow_bbpress_public_metadata( $allowed_meta_keys ) {
|
||||||
$allowed_meta_keys[] = '_bbp_forum_id';
|
$allowed_meta_keys[] = '_bbp_forum_id';
|
||||||
$allowed_meta_keys[] = '_bbp_topic_id';
|
$allowed_meta_keys[] = '_bbp_topic_id';
|
||||||
$allowed_meta_keys[] = '_bbp_status';
|
$allowed_meta_keys[] = '_bbp_status';
|
||||||
|
|
@ -51,19 +84,24 @@ class bbPress_Jetpack_REST_API {
|
||||||
return $allowed_meta_keys;
|
return $allowed_meta_keys;
|
||||||
}
|
}
|
||||||
|
|
||||||
function adjust_meta_caps( $caps, $cap, $user_id, $args ) {
|
/**
|
||||||
|
* Adds the needed caps to the bbp_map_meta_caps filter.
|
||||||
|
*
|
||||||
|
* @param array $caps Capabilities for meta capability.
|
||||||
|
* @param string $cap Capability name.
|
||||||
|
* @param int $user_id User id.
|
||||||
|
* @param array $args Arguments.
|
||||||
|
*
|
||||||
|
* @return array
|
||||||
|
*/
|
||||||
|
public function adjust_meta_caps( $caps, $cap, $user_id, $args ) {
|
||||||
|
|
||||||
// only run for REST API requests
|
// Return early if not a REST request or if not meta bbPress caps.
|
||||||
if ( ! defined( 'REST_API_REQUEST' ) || ! REST_API_REQUEST ) {
|
if ( $this->should_adjust_meta_caps_return_early( $caps, $cap, $user_id, $args ) ) {
|
||||||
return $caps;
|
return $caps;
|
||||||
}
|
}
|
||||||
|
|
||||||
// only modify caps for meta caps and for bbPress meta keys
|
// $args[0] could be a post ID or a post_type string.
|
||||||
if ( ! in_array( $cap, array( 'edit_post_meta', 'delete_post_meta', 'add_post_meta' ) ) || empty( $args[1] ) || false === strpos( $args[1], '_bbp_' ) ) {
|
|
||||||
return $caps;
|
|
||||||
}
|
|
||||||
|
|
||||||
// $args[0] could be a post ID or a post_type string
|
|
||||||
if ( is_int( $args[0] ) ) {
|
if ( is_int( $args[0] ) ) {
|
||||||
$_post = get_post( $args[0] );
|
$_post = get_post( $args[0] );
|
||||||
if ( ! empty( $_post ) ) {
|
if ( ! empty( $_post ) ) {
|
||||||
|
|
@ -73,23 +111,23 @@ class bbPress_Jetpack_REST_API {
|
||||||
$post_type = get_post_type_object( $args[0] );
|
$post_type = get_post_type_object( $args[0] );
|
||||||
}
|
}
|
||||||
|
|
||||||
// no post type found, bail
|
// no post type found, bail.
|
||||||
if ( empty( $post_type ) ) {
|
if ( empty( $post_type ) ) {
|
||||||
return $caps;
|
return $caps;
|
||||||
}
|
}
|
||||||
|
|
||||||
// reset the needed caps
|
// reset the needed caps.
|
||||||
$caps = array();
|
$caps = array();
|
||||||
|
|
||||||
// Add 'do_not_allow' cap if user is spam or deleted
|
// Add 'do_not_allow' cap if user is spam or deleted.
|
||||||
if ( bbp_is_user_inactive( $user_id ) ) {
|
if ( bbp_is_user_inactive( $user_id ) ) {
|
||||||
$caps[] = 'do_not_allow';
|
$caps[] = 'do_not_allow';
|
||||||
|
|
||||||
// Moderators can always edit meta
|
// Moderators can always edit meta.
|
||||||
} elseif ( user_can( $user_id, 'moderate' ) ) {
|
} elseif ( user_can( $user_id, 'moderate' ) ) {
|
||||||
$caps[] = 'moderate';
|
$caps[] = 'moderate';
|
||||||
|
|
||||||
// Unknown so map to edit_posts
|
// Unknown so map to edit_posts.
|
||||||
} else {
|
} else {
|
||||||
$caps[] = $post_type->cap->edit_posts;
|
$caps[] = $post_type->cap->edit_posts;
|
||||||
}
|
}
|
||||||
|
|
@ -97,6 +135,27 @@ class bbPress_Jetpack_REST_API {
|
||||||
return $caps;
|
return $caps;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
/**
|
||||||
|
* Should adjust_meta_caps return early?
|
||||||
|
*
|
||||||
|
* @param array $caps Capabilities for meta capability.
|
||||||
|
* @param string $cap Capability name.
|
||||||
|
* @param int $user_id User id.
|
||||||
|
* @param array $args Arguments.
|
||||||
|
*
|
||||||
|
* @return bool
|
||||||
|
*/
|
||||||
|
private function should_adjust_meta_caps_return_early( $caps, $cap, $user_id, $args ) {
|
||||||
|
// only run for REST API requests.
|
||||||
|
if ( ! defined( 'REST_API_REQUEST' ) || ! REST_API_REQUEST ) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
bbPress_Jetpack_REST_API::instance();
|
// only modify caps for meta caps and for bbPress meta keys.
|
||||||
|
if ( ! in_array( $cap, array( 'edit_post_meta', 'delete_post_meta', 'add_post_meta' ), true ) || empty( $args[1] ) || false === strpos( $args[1], '_bbp_' ) ) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -41,6 +41,15 @@ class Jetpack_AMP_Support {
|
||||||
// Post rendering changes for legacy AMP.
|
// Post rendering changes for legacy AMP.
|
||||||
add_action( 'pre_amp_render_post', array( 'Jetpack_AMP_Support', 'amp_disable_the_content_filters' ) );
|
add_action( 'pre_amp_render_post', array( 'Jetpack_AMP_Support', 'amp_disable_the_content_filters' ) );
|
||||||
|
|
||||||
|
// Disable Comment Likes.
|
||||||
|
add_filter( 'jetpack_comment_likes_enabled', array( 'Jetpack_AMP_Support', 'comment_likes_enabled' ) );
|
||||||
|
|
||||||
|
// Transitional mode AMP should not have comment likes.
|
||||||
|
add_filter( 'the_content', array( 'Jetpack_AMP_Support', 'disable_comment_likes_before_the_content' ) );
|
||||||
|
|
||||||
|
// Remove the Likes button from the admin bar.
|
||||||
|
add_filter( 'jetpack_admin_bar_likes_enabled', array( 'Jetpack_AMP_Support', 'disable_likes_admin_bar' ) );
|
||||||
|
|
||||||
// Add post template metadata for legacy AMP.
|
// Add post template metadata for legacy AMP.
|
||||||
add_filter( 'amp_post_template_metadata', array( 'Jetpack_AMP_Support', 'amp_post_template_metadata' ), 10, 2 );
|
add_filter( 'amp_post_template_metadata', array( 'Jetpack_AMP_Support', 'amp_post_template_metadata' ), 10, 2 );
|
||||||
|
|
||||||
|
|
@ -51,6 +60,15 @@ class Jetpack_AMP_Support {
|
||||||
add_filter( 'jetpack_options_whitelist', array( 'Jetpack_AMP_Support', 'filter_jetpack_options_whitelist' ) );
|
add_filter( 'jetpack_options_whitelist', array( 'Jetpack_AMP_Support', 'filter_jetpack_options_whitelist' ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Disable the Comment Likes feature on AMP views.
|
||||||
|
*
|
||||||
|
* @param bool $enabled Should comment likes be enabled.
|
||||||
|
*/
|
||||||
|
public static function comment_likes_enabled( $enabled ) {
|
||||||
|
return $enabled && ! self::is_amp_request();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Apply custom AMP changes in wp-admin.
|
* Apply custom AMP changes in wp-admin.
|
||||||
*/
|
*/
|
||||||
|
|
@ -101,6 +119,30 @@ class Jetpack_AMP_Support {
|
||||||
remove_filter( 'pre_kses', array( 'Filter_Embedded_HTML_Objects', 'maybe_create_links' ), 100 );
|
remove_filter( 'pre_kses', array( 'Filter_Embedded_HTML_Objects', 'maybe_create_links' ), 100 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Do not add comment likes on AMP requests.
|
||||||
|
*
|
||||||
|
* @param string $content Post content.
|
||||||
|
*/
|
||||||
|
public static function disable_comment_likes_before_the_content( $content ) {
|
||||||
|
if ( self::is_amp_request() ) {
|
||||||
|
remove_filter( 'comment_text', 'comment_like_button', 12, 2 );
|
||||||
|
}
|
||||||
|
return $content;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Do not display the Likes' Admin bar on AMP requests.
|
||||||
|
*
|
||||||
|
* @param bool $is_admin_bar_button_visible Should the Like button be visible in the Admin bar. Default to true.
|
||||||
|
*/
|
||||||
|
public static function disable_likes_admin_bar( $is_admin_bar_button_visible ) {
|
||||||
|
if ( self::is_amp_request() ) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
return $is_admin_bar_button_visible;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add Jetpack stats pixel.
|
* Add Jetpack stats pixel.
|
||||||
*
|
*
|
||||||
|
|
@ -263,10 +305,10 @@ class Jetpack_AMP_Support {
|
||||||
* @return array Dimensions.
|
* @return array Dimensions.
|
||||||
*/
|
*/
|
||||||
private static function extract_image_dimensions_from_getimagesize( $dimensions ) {
|
private static function extract_image_dimensions_from_getimagesize( $dimensions ) {
|
||||||
if ( ! ( defined( 'IS_WPCOM' ) && IS_WPCOM && function_exists( 'require_lib' ) ) ) {
|
if ( ! ( defined( 'IS_WPCOM' ) && IS_WPCOM && function_exists( 'jetpack_require_lib' ) ) ) {
|
||||||
return $dimensions;
|
return $dimensions;
|
||||||
}
|
}
|
||||||
require_lib( 'wpcom/imagesize' );
|
jetpack_require_lib( 'wpcom/imagesize' );
|
||||||
|
|
||||||
foreach ( $dimensions as $url => $value ) {
|
foreach ( $dimensions as $url => $value ) {
|
||||||
if ( is_array( $value ) ) {
|
if ( is_array( $value ) ) {
|
||||||
|
|
|
||||||
|
|
@ -97,7 +97,17 @@ function jetpack_woocommerce_infinite_scroll_style() {
|
||||||
function jetpack_woocommerce_lazy_images_compat() {
|
function jetpack_woocommerce_lazy_images_compat() {
|
||||||
wp_add_inline_script( 'wc-cart-fragments', "
|
wp_add_inline_script( 'wc-cart-fragments', "
|
||||||
jQuery( 'body' ).bind( 'wc_fragments_refreshed', function() {
|
jQuery( 'body' ).bind( 'wc_fragments_refreshed', function() {
|
||||||
jQuery( 'body' ).trigger( 'jetpack-lazy-images-load' );
|
var jetpackLazyImagesLoadEvent;
|
||||||
|
try {
|
||||||
|
jetpackLazyImagesLoadEvent = new Event( 'jetpack-lazy-images-load', {
|
||||||
|
bubbles: true,
|
||||||
|
cancelable: true
|
||||||
|
} );
|
||||||
|
} catch ( e ) {
|
||||||
|
jetpackLazyImagesLoadEvent = document.createEvent( 'Event' )
|
||||||
|
jetpackLazyImagesLoadEvent.initEvent( 'jetpack-lazy-images-load', true, true );
|
||||||
|
}
|
||||||
|
jQuery( 'body' ).get( 0 ).dispatchEvent( jetpackLazyImagesLoadEvent );
|
||||||
} );
|
} );
|
||||||
" );
|
" );
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '4981851dca8f0eb16ed35c98ed3e5cab');
|
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '709fbe0e2eea58dcd47b86f4fecdf8d7');
|
||||||
|
|
@ -1 +1 @@
|
||||||
!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=280)}({128:function(e,t,n){},280:function(e,t,n){n(40),e.exports=n(281)},281:function(e,t,n){"use strict";n.r(t);n(128)},35:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},40:function(e,t,n){"use strict";n.r(t);n(35)}}));
|
!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=308)}({146:function(e,t,n){},308:function(e,t,n){n(47),e.exports=n(309)},309:function(e,t,n){"use strict";n.r(t);n(146)},42:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},47:function(e,t,n){"use strict";n.r(t);n(42)}}));
|
||||||
|
|
@ -1 +1 @@
|
||||||
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '3ff9ac1e3b76da94ef614b6799a3a41e');
|
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'd8a3c92abf3587c9a1ad771a36e2b3a3');
|
||||||
|
|
@ -1 +1 @@
|
||||||
.admin-bar .calendly-overlay .calendly-popup-close{top:47px}
|
.admin-bar .calendly-overlay .calendly-popup-close{top:47px}.wp-block-jetpack-calendly.calendly-style-inline{height:630px}
|
||||||
|
|
@ -1 +1 @@
|
||||||
!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=282)}({282:function(e,t,n){n(40),e.exports=n(283)},283:function(e,t,n){"use strict";n.r(t);n(284)},284:function(e,t,n){},35:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},40:function(e,t,n){"use strict";n.r(t);n(35)}}));
|
!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=310)}({147:function(e,t,n){},310:function(e,t,n){n(47),e.exports=n(311)},311:function(e,t,n){"use strict";n.r(t);n(147)},42:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},47:function(e,t,n){"use strict";n.r(t);n(42)}}));
|
||||||
|
|
@ -1 +1 @@
|
||||||
.admin-bar .calendly-overlay .calendly-popup-close{top:47px}
|
.admin-bar .calendly-overlay .calendly-popup-close{top:47px}.wp-block-jetpack-calendly.calendly-style-inline{height:630px}
|
||||||
|
|
@ -1 +1 @@
|
||||||
.jetpack-block-nudge.editor-warning{margin-bottom:0}.jetpack-block-nudge .editor-warning__message{margin:13px 0}.jetpack-block-nudge .editor-warning__actions{line-height:1}.jetpack-block-nudge .jetpack-block-nudge__info{font-size:13px;display:flex;flex-direction:row;line-height:1.4}.jetpack-block-nudge .jetpack-block-nudge__text-container{display:flex;flex-direction:column}.jetpack-block-nudge .jetpack-block-nudge__title{font-size:14px}.jetpack-block-nudge .jetpack-block-nudge__message{color:#636d75}.jetpack-upgrade-nudge__icon{align-self:center;background:#d6b02c;border-radius:50%;box-sizing:content-box;color:#fff;fill:#fff;flex-shrink:0;margin-right:16px;padding:6px}.block-editor-warning{border:1px solid #e2e4e7;padding:10px 14px}.block-editor-warning .block-editor-warning__message{line-height:1.4;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.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-block-nudge.block-editor-warning{margin-bottom:0}.jetpack-block-nudge .block-editor-warning__message{margin:13px 0}.jetpack-block-nudge .block-editor-warning__actions{line-height:1}.jetpack-block-nudge .jetpack-block-nudge__info{font-size:13px;display:flex;flex-direction:row;line-height:1.4}.jetpack-block-nudge .jetpack-block-nudge__text-container{display:flex;flex-direction:column}.jetpack-block-nudge .jetpack-block-nudge__title{font-size:14px}.jetpack-block-nudge .jetpack-block-nudge__message{color:#636d75}.jetpack-upgrade-nudge__icon{align-self:center;background:#d6b02c;border-radius:50%;box-sizing:content-box;color:#fff;fill:#fff;flex-shrink:0;margin-right:16px;padding:6px}.wp-block-column.is-vertically-aligned-bottom,.wp-block-column.is-vertically-aligned-center,.wp-block-column.is-vertically-aligned-top{width:100%}.block-editor-warning{border:1px solid #e2e4e7;padding:10px 14px}.block-editor-warning .block-editor-warning__message{line-height:1.4;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.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}
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -1 +1 @@
|
||||||
.jetpack-block-nudge.editor-warning{margin-bottom:0}.jetpack-block-nudge .editor-warning__message{margin:13px 0}.jetpack-block-nudge .editor-warning__actions{line-height:1}.jetpack-block-nudge .jetpack-block-nudge__info{font-size:13px;display:flex;flex-direction:row;line-height:1.4}.jetpack-block-nudge .jetpack-block-nudge__text-container{display:flex;flex-direction:column}.jetpack-block-nudge .jetpack-block-nudge__title{font-size:14px}.jetpack-block-nudge .jetpack-block-nudge__message{color:#636d75}.jetpack-upgrade-nudge__icon{align-self:center;background:#d6b02c;border-radius:50%;box-sizing:content-box;color:#fff;fill:#fff;flex-shrink:0;margin-left:16px;padding:6px}.block-editor-warning{border:1px solid #e2e4e7;padding:10px 14px}.block-editor-warning .block-editor-warning__message{line-height:1.4;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.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-block-nudge.block-editor-warning{margin-bottom:0}.jetpack-block-nudge .block-editor-warning__message{margin:13px 0}.jetpack-block-nudge .block-editor-warning__actions{line-height:1}.jetpack-block-nudge .jetpack-block-nudge__info{font-size:13px;display:flex;flex-direction:row;line-height:1.4}.jetpack-block-nudge .jetpack-block-nudge__text-container{display:flex;flex-direction:column}.jetpack-block-nudge .jetpack-block-nudge__title{font-size:14px}.jetpack-block-nudge .jetpack-block-nudge__message{color:#636d75}.jetpack-upgrade-nudge__icon{align-self:center;background:#d6b02c;border-radius:50%;box-sizing:content-box;color:#fff;fill:#fff;flex-shrink:0;margin-left:16px;padding:6px}.wp-block-column.is-vertically-aligned-bottom,.wp-block-column.is-vertically-aligned-center,.wp-block-column.is-vertically-aligned-top{width:100%}.block-editor-warning{border:1px solid #e2e4e7;padding:10px 14px}.block-editor-warning .block-editor-warning__message{line-height:1.4;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.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-polyfill'), 'version' => '40ec675cd19df879dd802ee3edbf3664');
|
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '25cf5e0cc772849ee7ed99cb450718cc');
|
||||||
|
|
@ -1 +1 @@
|
||||||
!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=285)}({131:function(e,t,n){},285:function(e,t,n){n(40),e.exports=n(286)},286:function(e,t,n){"use strict";n.r(t);n(131)},35:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},40:function(e,t,n){"use strict";n.r(t);n(35)}}));
|
!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=312)}({148:function(e,t,n){},312:function(e,t,n){n(47),e.exports=n(313)},313:function(e,t,n){"use strict";n.r(t);n(148)},42:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},47:function(e,t,n){"use strict";n.r(t);n(42)}}));
|
||||||
|
|
@ -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-edit-post', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-token-list', 'wp-url', 'wp-viewport'), 'version' => '0ee9e62e0afad3e6a05bb2c791b9e939');
|
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'wp-a11y', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-token-list', 'wp-url', 'wp-viewport'), 'version' => 'ec2ba10ef471923948b43fd6ab5f7508');
|
||||||
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', 'moment', 'react', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-token-list', 'wp-url', 'wp-viewport'), 'version' => '67b59b7bbddf10579c3b85f5460246ca');
|
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'wp-a11y', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-token-list', 'wp-url', 'wp-viewport'), 'version' => '37d02306bdf55cebd1147177418f7dd0');
|
||||||
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
|
|
@ -0,0 +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-editor', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-polyfill', 'wp-token-list', 'wp-url', 'wp-viewport'), 'version' => '6e817b0588210825d09d174a1cc41aff');
|
||||||
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', 'moment', 'react', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-token-list', 'wp-url', 'wp-viewport'), 'version' => 'e896c0bf5564174e985a766fe7d1754a');
|
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'wp-a11y', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-token-list', 'wp-url', 'wp-viewport'), 'version' => '6533fe3ec593e8aba08a33f86458d442');
|
||||||
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('wp-polyfill'), 'version' => '499c8d4a3dabf57136a80b9ddade0236');
|
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'da05b70d3d08d39f987b1a60a083d2ec');
|
||||||
|
|
@ -1 +1 @@
|
||||||
.eventbrite__direct-link{display:none}.eventbrite__in-page-checkout{height:auto!important}.eventbrite__in-page-checkout iframe{height:425px}
|
.eventbrite__direct-link{display:none}.wp-block-jetpack-eventbrite{height:auto!important}.wp-block-jetpack-eventbrite iframe{height:425px}
|
||||||
|
|
@ -1 +1 @@
|
||||||
!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=287)}({287:function(e,t,n){n(40),e.exports=n(288)},288:function(e,t,n){"use strict";n.r(t);n(289)},289:function(e,t,n){},35:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},40:function(e,t,n){"use strict";n.r(t);n(35)}}));
|
!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=314)}({314:function(e,t,n){n(47),e.exports=n(315)},315:function(e,t,n){"use strict";n.r(t);n(316)},316:function(e,t,n){},42:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},47:function(e,t,n){"use strict";n.r(t);n(42)}}));
|
||||||
|
|
@ -1 +1 @@
|
||||||
.eventbrite__direct-link{display:none}.eventbrite__in-page-checkout{height:auto!important}.eventbrite__in-page-checkout iframe{height:425px}
|
.eventbrite__direct-link{display:none}.wp-block-jetpack-eventbrite{height:auto!important}.wp-block-jetpack-eventbrite iframe{height:425px}
|
||||||
|
|
@ -1 +1 @@
|
||||||
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '3328ab1aa123b9bb595fefc84055033f');
|
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '605405155947da05383293ff7f879397');
|
||||||
|
|
@ -1 +1 @@
|
||||||
.wp-block-jetpack-gif{clear:both;margin:0 0 20px}.wp-block-jetpack-gif figure{margin:0;position:relative;width:100%}.wp-block-jetpack-gif.aligncenter{text-align:center}.wp-block-jetpack-gif.alignleft,.wp-block-jetpack-gif.alignright{min-width:300px}.wp-block-jetpack-gif .wp-block-jetpack-gif-caption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper{height:0;margin:0;padding:calc(56.2% + 12px) 0 0;position:relative;width:100%}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper iframe{border:0;left:0;height:100%;position:absolute;top:0;width:100%}
|
.wp-block-column.is-vertically-aligned-bottom,.wp-block-column.is-vertically-aligned-center,.wp-block-column.is-vertically-aligned-top{width:100%}.wp-block-jetpack-gif{clear:both;margin:0 0 20px}.wp-block-jetpack-gif figure{margin:0;position:relative;width:100%}.wp-block-jetpack-gif.aligncenter{text-align:center}.wp-block-jetpack-gif.alignleft,.wp-block-jetpack-gif.alignright{min-width:300px}.wp-block-jetpack-gif .wp-block-jetpack-gif-caption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper{height:0;margin:0;padding:calc(56.2% + 12px) 0 0;position:relative;width:100%}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper iframe{border:0;left:0;height:100%;position:absolute;top:0;width:100%}
|
||||||
|
|
@ -1 +1 @@
|
||||||
!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=290)}({132:function(e,t,n){},290:function(e,t,n){n(40),e.exports=n(291)},291:function(e,t,n){"use strict";n.r(t);n(132)},35:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},40:function(e,t,n){"use strict";n.r(t);n(35)}}));
|
!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=317)}({149:function(e,t,n){},317:function(e,t,n){n(47),e.exports=n(318)},318:function(e,t,n){"use strict";n.r(t);n(149)},42:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},47:function(e,t,n){"use strict";n.r(t);n(42)}}));
|
||||||
|
|
@ -1 +1 @@
|
||||||
.wp-block-jetpack-gif{clear:both;margin:0 0 20px}.wp-block-jetpack-gif figure{margin:0;position:relative;width:100%}.wp-block-jetpack-gif.aligncenter{text-align:center}.wp-block-jetpack-gif.alignleft,.wp-block-jetpack-gif.alignright{min-width:300px}.wp-block-jetpack-gif .wp-block-jetpack-gif-caption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper{height:0;margin:0;padding:calc(56.2% + 12px) 0 0;position:relative;width:100%}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper iframe{border:0;right:0;height:100%;position:absolute;top:0;width:100%}
|
.wp-block-column.is-vertically-aligned-bottom,.wp-block-column.is-vertically-aligned-center,.wp-block-column.is-vertically-aligned-top{width:100%}.wp-block-jetpack-gif{clear:both;margin:0 0 20px}.wp-block-jetpack-gif figure{margin:0;position:relative;width:100%}.wp-block-jetpack-gif.aligncenter{text-align:center}.wp-block-jetpack-gif.alignleft,.wp-block-jetpack-gif.alignright{min-width:300px}.wp-block-jetpack-gif .wp-block-jetpack-gif-caption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper{height:0;margin:0;padding:calc(56.2% + 12px) 0 0;position:relative;width:100%}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper iframe{border:0;right:0;height:100%;position:absolute;top:0;width:100%}
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'd494f997d40537f397fdad396fab06ca');
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
.wp-block-jetpack-google-calendar{min-width:420px}.wp-block-jetpack-google-calendar iframe{width:100%}
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=319)}({319:function(e,t,n){n(47),e.exports=n(320)},320:function(e,t,n){"use strict";n.r(t);n(321)},321:function(e,t,n){},42:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},47:function(e,t,n){"use strict";n.r(t);n(42)}}));
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
.wp-block-jetpack-google-calendar{min-width:420px}.wp-block-jetpack-google-calendar iframe{width:100%}
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.6 KiB |
|
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
"production": [
|
"production": [
|
||||||
"business-hours",
|
"business-hours",
|
||||||
|
"button",
|
||||||
"calendly",
|
"calendly",
|
||||||
"contact-form",
|
"contact-form",
|
||||||
"contact-info",
|
"contact-info",
|
||||||
|
|
@ -13,6 +14,7 @@
|
||||||
"markdown",
|
"markdown",
|
||||||
"opentable",
|
"opentable",
|
||||||
"pinterest",
|
"pinterest",
|
||||||
|
"podcast-player",
|
||||||
"publicize",
|
"publicize",
|
||||||
"rating-star",
|
"rating-star",
|
||||||
"recurring-payments",
|
"recurring-payments",
|
||||||
|
|
@ -28,5 +30,32 @@
|
||||||
"videopress",
|
"videopress",
|
||||||
"wordads"
|
"wordads"
|
||||||
],
|
],
|
||||||
"beta": [ "amazon", "seo" ]
|
"beta": [ "amazon", "instagram-gallery" ],
|
||||||
|
"experimental": [ "seo" ],
|
||||||
|
"no-post-editor": [
|
||||||
|
"business-hours",
|
||||||
|
"button",
|
||||||
|
"calendly",
|
||||||
|
"contact-form",
|
||||||
|
"contact-info",
|
||||||
|
"eventbrite",
|
||||||
|
"gif",
|
||||||
|
"google-calendar",
|
||||||
|
"mailchimp",
|
||||||
|
"map",
|
||||||
|
"markdown",
|
||||||
|
"opentable",
|
||||||
|
"pinterest",
|
||||||
|
"rating-star",
|
||||||
|
"recurring-payments",
|
||||||
|
"related-posts",
|
||||||
|
"repeat-visitor",
|
||||||
|
"revue",
|
||||||
|
"simple-payments",
|
||||||
|
"slideshow",
|
||||||
|
"subscriptions",
|
||||||
|
"tiled-gallery",
|
||||||
|
"videopress",
|
||||||
|
"wordads"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'f4aa6d58063c6761b2de0b6966415fd0');
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
.wp-block-jetpack-instagram-gallery__count-notice .components-notice{margin:0 0 15px}.wp-block-jetpack-instagram-gallery__count-notice .components-notice__content{margin:0;line-height:inherit;padding-right:0}.wp-block-jetpack-instagram-gallery__grid{align-content:stretch;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start}.wp-block-jetpack-instagram-gallery__grid .wp-block-jetpack-instagram-gallery__grid-post{box-sizing:border-box;display:block;line-height:0;position:relative}.wp-block-jetpack-instagram-gallery__grid img{height:auto;width:100%}.wp-block-jetpack-instagram-gallery__grid-columns-1 .wp-block-jetpack-instagram-gallery__grid-post{width:100%}.wp-block-jetpack-instagram-gallery__grid-columns-2 .wp-block-jetpack-instagram-gallery__grid-post{width:50%}.wp-block-jetpack-instagram-gallery__grid-columns-3 .wp-block-jetpack-instagram-gallery__grid-post{width:33.33333%}.wp-block-jetpack-instagram-gallery__grid-columns-4 .wp-block-jetpack-instagram-gallery__grid-post{width:25%}.wp-block-jetpack-instagram-gallery__grid-columns-5 .wp-block-jetpack-instagram-gallery__grid-post{width:20%}.wp-block-jetpack-instagram-gallery__grid-columns-6 .wp-block-jetpack-instagram-gallery__grid-post{width:16.66667%}@supports (display:grid){.wp-block-jetpack-instagram-gallery__grid{display:grid;grid-gap:10px;grid-auto-columns:1fr}.wp-block-jetpack-instagram-gallery__grid .wp-block-jetpack-instagram-gallery__grid-post{padding:0!important;width:auto}.wp-block-jetpack-instagram-gallery__grid-columns-1{grid-template-columns:repeat(1,1fr)}.wp-block-jetpack-instagram-gallery__grid-columns-2{grid-template-columns:repeat(2,1fr)}.wp-block-jetpack-instagram-gallery__grid-columns-3{grid-template-columns:repeat(3,1fr)}.wp-block-jetpack-instagram-gallery__grid-columns-4{grid-template-columns:repeat(4,1fr)}.wp-block-jetpack-instagram-gallery__grid-columns-5{grid-template-columns:repeat(5,1fr)}.wp-block-jetpack-instagram-gallery__grid-columns-6{grid-template-columns:repeat(6,1fr)}}.wp-block-jetpack-instagram-gallery__placeholder{animation-name:fadeIn,pulse;animation-duration:.3s,1.6s;animation-delay:0ms,.3s;animation-timing-function:ease-out,ease-out;animation-iteration-count:1,infinite}@keyframes fadeIn{0%{opacity:0}50%{opacity:.5}to{opacity:1}}@keyframes pulse{0%{opacity:1}50%{opacity:.5}to{opacity:1}}
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=344)}({344:function(e,t,n){n(47),e.exports=n(345)},345:function(e,t,n){"use strict";n.r(t);n(346)},346:function(e,t,n){},42:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},47:function(e,t,n){"use strict";n.r(t);n(42)}}));
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
.wp-block-jetpack-instagram-gallery__count-notice .components-notice{margin:0 0 15px}.wp-block-jetpack-instagram-gallery__count-notice .components-notice__content{margin:0;line-height:inherit;padding-left:0}.wp-block-jetpack-instagram-gallery__grid{align-content:stretch;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start}.wp-block-jetpack-instagram-gallery__grid .wp-block-jetpack-instagram-gallery__grid-post{box-sizing:border-box;display:block;line-height:0;position:relative}.wp-block-jetpack-instagram-gallery__grid img{height:auto;width:100%}.wp-block-jetpack-instagram-gallery__grid-columns-1 .wp-block-jetpack-instagram-gallery__grid-post{width:100%}.wp-block-jetpack-instagram-gallery__grid-columns-2 .wp-block-jetpack-instagram-gallery__grid-post{width:50%}.wp-block-jetpack-instagram-gallery__grid-columns-3 .wp-block-jetpack-instagram-gallery__grid-post{width:33.33333%}.wp-block-jetpack-instagram-gallery__grid-columns-4 .wp-block-jetpack-instagram-gallery__grid-post{width:25%}.wp-block-jetpack-instagram-gallery__grid-columns-5 .wp-block-jetpack-instagram-gallery__grid-post{width:20%}.wp-block-jetpack-instagram-gallery__grid-columns-6 .wp-block-jetpack-instagram-gallery__grid-post{width:16.66667%}@supports (display:grid){.wp-block-jetpack-instagram-gallery__grid{display:grid;grid-gap:10px;grid-auto-columns:1fr}.wp-block-jetpack-instagram-gallery__grid .wp-block-jetpack-instagram-gallery__grid-post{padding:0!important;width:auto}.wp-block-jetpack-instagram-gallery__grid-columns-1{grid-template-columns:repeat(1,1fr)}.wp-block-jetpack-instagram-gallery__grid-columns-2{grid-template-columns:repeat(2,1fr)}.wp-block-jetpack-instagram-gallery__grid-columns-3{grid-template-columns:repeat(3,1fr)}.wp-block-jetpack-instagram-gallery__grid-columns-4{grid-template-columns:repeat(4,1fr)}.wp-block-jetpack-instagram-gallery__grid-columns-5{grid-template-columns:repeat(5,1fr)}.wp-block-jetpack-instagram-gallery__grid-columns-6{grid-template-columns:repeat(6,1fr)}}.wp-block-jetpack-instagram-gallery__placeholder{animation-name:fadeIn,pulse;animation-duration:.3s,1.6s;animation-delay:0ms,.3s;animation-timing-function:ease-out,ease-out;animation-iteration-count:1,infinite}@keyframes fadeIn{0%{opacity:0}50%{opacity:.5}to{opacity:1}}@keyframes pulse{0%{opacity:1}50%{opacity:.5}to{opacity:1}}
|
||||||
|
|
@ -1 +1 @@
|
||||||
<?php return array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => '02b1f11294292f570a9dd34639f5666e');
|
<?php return array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => 'a7ff09a24d9f71d1684e0a431d164f08');
|
||||||
|
|
@ -1 +1 @@
|
||||||
.wp-block-jetpack-mailchimp.is-processing form{display:none}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:none;margin-bottom:1.5em;padding:.75em}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.is-visible{display:block}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_error{background-color:#eb0001;color:#fff}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_processing{background-color:rgba(0,0,0,.025)}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_success{background-color:#008a00;color:#fff}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp__is-amp{display:block}.wp-block-jetpack-mailchimp form.amp-form-submit-error>p,.wp-block-jetpack-mailchimp form.amp-form-submit-success>p,.wp-block-jetpack-mailchimp form.amp-form-submitting>p{display:none}
|
.wp-block-column.is-vertically-aligned-bottom,.wp-block-column.is-vertically-aligned-center,.wp-block-column.is-vertically-aligned-top{width:100%}.wp-block-jetpack-mailchimp.is-processing form{display:none}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:none;margin-bottom:1.5em;padding:.75em}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.is-visible{display:block}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_error{background-color:#eb0001;color:#fff}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_processing{background-color:rgba(0,0,0,.025)}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_success{background-color:#008a00;color:#fff}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp__is-amp{display:block}.wp-block-jetpack-mailchimp form.amp-form-submit-error>p,.wp-block-jetpack-mailchimp form.amp-form-submit-success>p,.wp-block-jetpack-mailchimp form.amp-form-submitting>p{display:none}
|
||||||
|
|
@ -1 +1 @@
|
||||||
!function(e,t){for(var r in t)e[r]=t[r]}(window,function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=292)}({15:function(e,t,r){var n=r(3);function o(e,t){var r=Object.keys(e);return Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(e)),t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r}e.exports=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(r,!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}},292:function(e,t,r){r(40),e.exports=r(293)},293:function(e,t,r){"use strict";r.r(t);var n=r(3),o=r.n(n),i=r(15),s=r.n(i),c=r(56),u=r.n(c),a=r(45),l=r.n(a),f=(r(294),"wp-block-jetpack-mailchimp");function p(e,t){var r=e.querySelector("form"),n=e.querySelector("."+f+"_processing"),i=e.querySelector("."+f+"_error"),c=e.querySelector("."+f+"_success");r.addEventListener("submit",(function(u){u.preventDefault();var a=r.querySelector("input[name=email]"),f=[].slice.call(r.querySelectorAll("input[type=hidden].mc-submit-param")).reduce((function(e,t){return s()({},e,o()({},t.name,t.value))}),{});a.classList.remove("error");var p=a.value;l.a.validate(p)?(e.classList.add("is-processing"),n.classList.add("is-visible"),function(e,t,r){var n="https://public-api.wordpress.com/rest/v1.1/sites/"+encodeURIComponent(e)+"/email_follow/subscribe?email="+encodeURIComponent(t);for(var o in r)n+="&"+encodeURIComponent(o)+"="+encodeURIComponent(r[o]);return new Promise((function(e,t){var r=new XMLHttpRequest;r.open("GET",n),r.onload=function(){if(200===r.status){var n=JSON.parse(r.responseText);e(n)}else{var o=JSON.parse(r.responseText);t(o)}},r.send()}))}(t,p,f).then((function(e){n.classList.remove("is-visible"),e.error&&"member_exists"!==e.error?i.classList.add("is-visible"):c.classList.add("is-visible")}),(function(){n.classList.remove("is-visible"),i.classList.add("is-visible")}))):a.classList.add("error")}))}"undefined"!=typeof window&&u()((function(){Array.from(document.querySelectorAll("."+f)).forEach((function(e){var t=e.getAttribute("data-blog-id");try{p(e,t)}catch(r){0}}))}))},294:function(e,t,r){},3:function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},35:function(e,t,r){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(r.p=window.Jetpack_Block_Assets_Base_Url)},40:function(e,t,r){"use strict";r.r(t);r(35)},45:function(e,t,r){"use strict";var n=/^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;t.validate=function(e){if(!e)return!1;if(e.length>254)return!1;if(!n.test(e))return!1;var t=e.split("@");return!(t[0].length>64)&&!t[1].split(".").some((function(e){return e.length>63}))}},56:function(e,t){!function(){e.exports=this.wp.domReady}()}}));
|
!function(e,t){for(var r in t)e[r]=t[r]}(window,function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=322)}({14:function(e,t,r){var n=r(3);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}e.exports=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}},3:function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},322:function(e,t,r){r(47),e.exports=r(323)},323:function(e,t,r){"use strict";r.r(t);var n=r(3),o=r.n(n),i=r(14),s=r.n(i),c=r(91),u=r.n(c),a=r(53),l=r.n(a),f=(r(324),"wp-block-jetpack-mailchimp");function p(e,t){var r=e.querySelector("form"),n=e.querySelector("."+f+"_processing"),i=e.querySelector("."+f+"_error"),c=e.querySelector("."+f+"_success");r.addEventListener("submit",(function(u){u.preventDefault();var a=r.querySelector("input[name=email]"),f=[].slice.call(r.querySelectorAll("input[type=hidden].mc-submit-param")).reduce((function(e,t){return s()({},e,o()({},t.name,t.value))}),{});a.classList.remove("error");var p=a.value;l.a.validate(p)?(e.classList.add("is-processing"),n.classList.add("is-visible"),function(e,t,r){var n="https://public-api.wordpress.com/rest/v1.1/sites/"+encodeURIComponent(e)+"/email_follow/subscribe?email="+encodeURIComponent(t);for(var o in r)n+="&"+encodeURIComponent(o)+"="+encodeURIComponent(r[o]);return new Promise((function(e,t){var r=new XMLHttpRequest;r.open("GET",n),r.onload=function(){if(200===r.status){var n=JSON.parse(r.responseText);e(n)}else{var o=JSON.parse(r.responseText);t(o)}},r.send()}))}(t,p,f).then((function(e){n.classList.remove("is-visible"),e.error&&"member_exists"!==e.error?i.classList.add("is-visible"):c.classList.add("is-visible")}),(function(){n.classList.remove("is-visible"),i.classList.add("is-visible")}))):a.classList.add("error")}))}"undefined"!=typeof window&&u()((function(){Array.from(document.querySelectorAll("."+f)).forEach((function(e){var t=e.getAttribute("data-blog-id");try{p(e,t)}catch(r){0}}))}))},324:function(e,t,r){},42:function(e,t,r){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(r.p=window.Jetpack_Block_Assets_Base_Url)},47:function(e,t,r){"use strict";r.r(t);r(42)},53:function(e,t,r){"use strict";var n=/^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;t.validate=function(e){if(!e)return!1;if(e.length>254)return!1;if(!n.test(e))return!1;var t=e.split("@");return!(t[0].length>64)&&!t[1].split(".").some((function(e){return e.length>63}))}},91:function(e,t){!function(){e.exports=this.wp.domReady}()}}));
|
||||||
|
|
@ -1 +1 @@
|
||||||
.wp-block-jetpack-mailchimp.is-processing form{display:none}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:none;margin-bottom:1.5em;padding:.75em}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.is-visible{display:block}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_error{background-color:#eb0001;color:#fff}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_processing{background-color:rgba(0,0,0,.025)}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_success{background-color:#008a00;color:#fff}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp__is-amp{display:block}.wp-block-jetpack-mailchimp form.amp-form-submit-error>p,.wp-block-jetpack-mailchimp form.amp-form-submit-success>p,.wp-block-jetpack-mailchimp form.amp-form-submitting>p{display:none}
|
.wp-block-column.is-vertically-aligned-bottom,.wp-block-column.is-vertically-aligned-center,.wp-block-column.is-vertically-aligned-top{width:100%}.wp-block-jetpack-mailchimp.is-processing form{display:none}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:none;margin-bottom:1.5em;padding:.75em}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.is-visible{display:block}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_error{background-color:#eb0001;color:#fff}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_processing{background-color:rgba(0,0,0,.025)}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_success{background-color:#008a00;color:#fff}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp__is-amp{display:block}.wp-block-jetpack-mailchimp form.amp-form-submit-error>p,.wp-block-jetpack-mailchimp form.amp-form-submit-success>p,.wp-block-jetpack-mailchimp form.amp-form-submitting>p{display:none}
|
||||||
|
|
@ -1 +1 @@
|
||||||
<?php return array('dependencies' => array('lodash', 'wp-components', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '87809d0912b642fa29b5c71940525e28');
|
<?php return array('dependencies' => array('lodash', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-token-list'), 'version' => 'cf944faa8ce96a371bfc90d1437533e3');
|
||||||
|
|
@ -1 +1 @@
|
||||||
.wp-block-jetpack-map .wp-block-jetpack-map__gm-container{width:100%;overflow:hidden;background:#e2e4e7;min-height:400px;text-align:left}.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{border-radius:0}.wp-block-jetpack-map-marker{width:32px;height:38px;opacity:.9}
|
.wp-block-column.is-vertically-aligned-bottom,.wp-block-column.is-vertically-aligned-center,.wp-block-column.is-vertically-aligned-top{width:100%}.wp-block-jetpack-map .wp-block-jetpack-map__gm-container{width:100%;overflow:hidden;background:#e2e4e7;min-height:400px;text-align:left}.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{border-radius:0}.wp-block-jetpack-map-marker{width:32px;height:38px;opacity:.9}
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -1 +1 @@
|
||||||
.wp-block-jetpack-map .wp-block-jetpack-map__gm-container{width:100%;overflow:hidden;background:#e2e4e7;min-height:400px;text-align:right}.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{border-radius:0}.wp-block-jetpack-map-marker{width:32px;height:38px;opacity:.9}
|
.wp-block-column.is-vertically-aligned-bottom,.wp-block-column.is-vertically-aligned-center,.wp-block-column.is-vertically-aligned-top{width:100%}.wp-block-jetpack-map .wp-block-jetpack-map__gm-container{width:100%;overflow:hidden;background:#e2e4e7;min-height:400px;text-align:right}.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{border-radius:0}.wp-block-jetpack-map-marker{width:32px;height:38px;opacity:.9}
|
||||||
|
|
@ -1 +1 @@
|
||||||
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '8036f5ec47d29fd716d59e7141ab21d2');
|
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '015ccbb66feda12d8635247ea4ceec3a');
|
||||||
|
|
@ -1 +1 @@
|
||||||
!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=296)}({135:function(e,t,n){},296:function(e,t,n){n(40),e.exports=n(297)},297:function(e,t,n){"use strict";n.r(t);n(135)},35:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},40:function(e,t,n){"use strict";n.r(t);n(35)}}));
|
!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=326)}({152:function(e,t,n){},326:function(e,t,n){n(47),e.exports=n(327)},327:function(e,t,n){"use strict";n.r(t);n(152)},42:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},47:function(e,t,n){"use strict";n.r(t);n(42)}}));
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
<?php return array('dependencies' => array('lodash', 'wp-a11y', 'wp-components', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '6f6c95404b0966a1d21a7ca532108338');
|
||||||
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('wp-polyfill'), 'version' => '45863d38037364eadfba2828dd0d38d8');
|
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'fc221b595360da27b95c5c05497997f1');
|
||||||
|
|
@ -1 +1 @@
|
||||||
.wp-block-jetpack-rating-star{margin-bottom:1.5em;line-height:0;stroke-width:0}.wp-block-jetpack-rating-star .is-rating-unfilled{fill-opacity:.33}.wp-block-jetpack-rating-star .jetpack-ratings-button{display:inline-flex;border-radius:4px}.wp-block-jetpack-rating-star .jetpack-ratings-button:focus{box-shadow:0 0 0 1px currentColor;outline:2px solid transparent}.wp-block-jetpack-rating-star>p{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.wp-block-jetpack-rating-star>span{display:inline-flex!important;margin-right:.3em}.wp-block-jetpack-rating-star .jetpack-ratings-button span,.wp-block-jetpack-rating-star>span span{flex-shrink:0;width:12px;overflow:hidden;display:inline-flex}.wp-block-jetpack-rating-star .jetpack-ratings-button span svg,.wp-block-jetpack-rating-star>span span svg{flex-shrink:0}.wp-block-jetpack-rating-star .jetpack-ratings-button span:nth-child(2n),.wp-block-jetpack-rating-star>span span:nth-child(2n){justify-content:flex-end}.wp-block-jetpack-rating-star svg{display:inline-block!important;max-width:none!important}.wp-block-jetpack-rating-star.is-style-outlined{stroke-width:2px}.wp-block-jetpack-rating-star.is-style-outlined .is-rating-unfilled{fill:transparent}.wp-block-jetpack-rating-star .jetpack-ratings-button{margin-right:.3em}
|
.wp-block-column.is-vertically-aligned-bottom,.wp-block-column.is-vertically-aligned-center,.wp-block-column.is-vertically-aligned-top{width:100%}.wp-block-jetpack-rating-star{margin-bottom:1.5em;line-height:0;stroke-width:0}.wp-block-jetpack-rating-star .is-rating-unfilled{fill-opacity:.33}.wp-block-jetpack-rating-star .jetpack-ratings-button{display:inline-flex;border-radius:4px}.wp-block-jetpack-rating-star .jetpack-ratings-button:focus{box-shadow:0 0 0 1px currentColor;outline:2px solid transparent}.wp-block-jetpack-rating-star>p{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.wp-block-jetpack-rating-star>span{display:inline-flex!important;margin-right:.3em}.wp-block-jetpack-rating-star .jetpack-ratings-button span,.wp-block-jetpack-rating-star>span span{flex-shrink:0;width:12px;overflow:hidden;display:inline-flex}.wp-block-jetpack-rating-star .jetpack-ratings-button span svg,.wp-block-jetpack-rating-star>span span svg{flex-shrink:0}.wp-block-jetpack-rating-star .jetpack-ratings-button span:nth-child(2n),.wp-block-jetpack-rating-star>span span:nth-child(2n){justify-content:flex-end}.wp-block-jetpack-rating-star svg{display:inline-block!important;max-width:none!important}.wp-block-jetpack-rating-star.is-style-outlined{stroke-width:2px}.wp-block-jetpack-rating-star.is-style-outlined .is-rating-unfilled{fill:transparent}.wp-block-jetpack-rating-star .jetpack-ratings-button{margin-right:.3em}
|
||||||
|
|
@ -1 +1 @@
|
||||||
!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=298)}({136:function(e,t,n){},298:function(e,t,n){n(40),e.exports=n(299)},299:function(e,t,n){"use strict";n.r(t);n(136)},35:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},40:function(e,t,n){"use strict";n.r(t);n(35)}}));
|
!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=330)}({153:function(e,t,n){},330:function(e,t,n){n(47),e.exports=n(331)},331:function(e,t,n){"use strict";n.r(t);n(153)},42:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},47:function(e,t,n){"use strict";n.r(t);n(42)}}));
|
||||||
|
|
@ -1 +1 @@
|
||||||
.wp-block-jetpack-rating-star{margin-bottom:1.5em;line-height:0;stroke-width:0}.wp-block-jetpack-rating-star .is-rating-unfilled{fill-opacity:.33}.wp-block-jetpack-rating-star .jetpack-ratings-button{display:inline-flex;border-radius:4px}.wp-block-jetpack-rating-star .jetpack-ratings-button:focus{box-shadow:0 0 0 1px currentColor;outline:2px solid transparent}.wp-block-jetpack-rating-star>p{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.wp-block-jetpack-rating-star>span{display:inline-flex!important;margin-left:.3em}.wp-block-jetpack-rating-star .jetpack-ratings-button span,.wp-block-jetpack-rating-star>span span{flex-shrink:0;width:12px;overflow:hidden;display:inline-flex}.wp-block-jetpack-rating-star .jetpack-ratings-button span svg,.wp-block-jetpack-rating-star>span span svg{flex-shrink:0}.wp-block-jetpack-rating-star .jetpack-ratings-button span:nth-child(2n),.wp-block-jetpack-rating-star>span span:nth-child(2n){justify-content:flex-end}.wp-block-jetpack-rating-star svg{display:inline-block!important;max-width:none!important}.wp-block-jetpack-rating-star.is-style-outlined{stroke-width:2px}.wp-block-jetpack-rating-star.is-style-outlined .is-rating-unfilled{fill:transparent}.wp-block-jetpack-rating-star .jetpack-ratings-button{margin-left:.3em}
|
.wp-block-column.is-vertically-aligned-bottom,.wp-block-column.is-vertically-aligned-center,.wp-block-column.is-vertically-aligned-top{width:100%}.wp-block-jetpack-rating-star{margin-bottom:1.5em;line-height:0;stroke-width:0}.wp-block-jetpack-rating-star .is-rating-unfilled{fill-opacity:.33}.wp-block-jetpack-rating-star .jetpack-ratings-button{display:inline-flex;border-radius:4px}.wp-block-jetpack-rating-star .jetpack-ratings-button:focus{box-shadow:0 0 0 1px currentColor;outline:2px solid transparent}.wp-block-jetpack-rating-star>p{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.wp-block-jetpack-rating-star>span{display:inline-flex!important;margin-left:.3em}.wp-block-jetpack-rating-star .jetpack-ratings-button span,.wp-block-jetpack-rating-star>span span{flex-shrink:0;width:12px;overflow:hidden;display:inline-flex}.wp-block-jetpack-rating-star .jetpack-ratings-button span svg,.wp-block-jetpack-rating-star>span span svg{flex-shrink:0}.wp-block-jetpack-rating-star .jetpack-ratings-button span:nth-child(2n),.wp-block-jetpack-rating-star>span span:nth-child(2n){justify-content:flex-end}.wp-block-jetpack-rating-star svg{display:inline-block!important;max-width:none!important}.wp-block-jetpack-rating-star.is-style-outlined{stroke-width:2px}.wp-block-jetpack-rating-star.is-style-outlined .is-rating-unfilled{fill:transparent}.wp-block-jetpack-rating-star .jetpack-ratings-button{margin-left:.3em}
|
||||||
|
|
@ -1 +1 @@
|
||||||
<?php return array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => '601fb18266a64a1528beefbc3cf49c59');
|
<?php return array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => '596b5c18b80804740adb99b465009b6d');
|
||||||
|
|
@ -1 +1 @@
|
||||||
!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=300)}({300:function(e,t,n){n(40),e.exports=n(301)},301:function(e,t,n){"use strict";n.r(t);var r=n(56),o=n.n(r);n(302);function i(e){if("https://subscribe.wordpress.com"===e.origin&&e.data){var t=JSON.parse(e.data);t&&"close"===t.action&&(window.removeEventListener("message",i),tb_remove())}}"undefined"!=typeof window&&o()((function(){Array.prototype.slice.call(document.querySelectorAll(".wp-block-jetpack-recurring-payments a")).forEach((function(e){var t=e.getAttribute("data-blog-id"),n=e.getAttribute("data-plan-id"),r=e.getAttribute("data-lang");try{!function(e,t,n,r){e.addEventListener("click",(function(){window.scrollTo(0,0),tb_show(null,"https://subscribe.wordpress.com/memberships/?blog="+t+"&plan="+n+"&lang="+r+"&display=alternateTB_iframe=true",null),window.addEventListener("message",i,!1),document.querySelector("#TB_window").classList.add("jetpack-memberships-modal"),window.scrollTo(0,0)}))}(e,t,n,r)}catch(o){console.error("Problem activating Recurring Payments "+n,o)}}))}))},302:function(e,t,n){},35:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},40:function(e,t,n){"use strict";n.r(t);n(35)},56:function(e,t){!function(){e.exports=this.wp.domReady}()}}));
|
!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=332)}({332:function(e,t,n){n(47),e.exports=n(333)},333:function(e,t,n){"use strict";n.r(t);var r=n(91),o=n.n(r);n(334);function i(e){if("https://subscribe.wordpress.com"===e.origin&&e.data){var t=JSON.parse(e.data);t&&"close"===t.action&&(window.removeEventListener("message",i),tb_remove())}}"undefined"!=typeof window&&o()((function(){Array.prototype.slice.call(document.querySelectorAll(".wp-block-jetpack-recurring-payments a")).forEach((function(e){var t=e.getAttribute("href");try{!function(e,t){e.addEventListener("click",(function(e){e.preventDefault(),window.scrollTo(0,0),tb_show(null,t+"&display=alternate&TB_iframe=true",null),window.addEventListener("message",i,!1),document.querySelector("#TB_window").classList.add("jetpack-memberships-modal"),window.scrollTo(0,0)}))}(e,t)}catch(n){console.error("Problem activating Recurring Payments "+t,n)}}))}))},334:function(e,t,n){},42:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},47:function(e,t,n){"use strict";n.r(t);n(42)},91:function(e,t){!function(){e.exports=this.wp.domReady}()}}));
|
||||||
|
|
@ -1 +1 @@
|
||||||
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '4150a047a455b578c5448e23c3029ca5');
|
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '1dd66a14ed854304753099bb6a734faa');
|
||||||
|
|
@ -1,2 +1,7 @@
|
||||||
/*! For license information please see view.js.LICENSE */
|
!function(e,t){for(var r in t)e[r]=t[r]}(window,function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=335)}({300:function(e,t,r){"use strict";
|
||||||
!function(e,t){for(var r in t)e[r]=t[r]}(window,function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=303)}({275:function(e,t,r){"use strict";t.parse=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");for(var r={},i=t||{},a=e.split(o),s=i.decode||n,c=0;c<a.length;c++){var f=a[c],p=f.indexOf("=");if(!(p<0)){var l=f.substr(0,p).trim(),d=f.substr(++p,f.length).trim();'"'==d[0]&&(d=d.slice(1,-1)),null==r[l]&&(r[l]=u(d,s))}}return r},t.serialize=function(e,t,r){var n=r||{},o=n.encode||i;if("function"!=typeof o)throw new TypeError("option encode is invalid");if(!a.test(e))throw new TypeError("argument name is invalid");var u=o(t);if(u&&!a.test(u))throw new TypeError("argument val is invalid");var s=e+"="+u;if(null!=n.maxAge){var c=n.maxAge-0;if(isNaN(c))throw new Error("maxAge should be a Number");s+="; Max-Age="+Math.floor(c)}if(n.domain){if(!a.test(n.domain))throw new TypeError("option domain is invalid");s+="; Domain="+n.domain}if(n.path){if(!a.test(n.path))throw new TypeError("option path is invalid");s+="; Path="+n.path}if(n.expires){if("function"!=typeof n.expires.toUTCString)throw new TypeError("option expires is invalid");s+="; Expires="+n.expires.toUTCString()}n.httpOnly&&(s+="; HttpOnly");n.secure&&(s+="; Secure");if(n.sameSite){switch("string"==typeof n.sameSite?n.sameSite.toLowerCase():n.sameSite){case!0:s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"strict":s+="; SameSite=Strict";break;case"none":s+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return s};var n=decodeURIComponent,i=encodeURIComponent,o=/; */,a=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function u(e,t){try{return t(e)}catch(r){return e}}},303:function(e,t,r){r(40),e.exports=r(304)},304:function(e,t,r){"use strict";r.r(t);var n=r(275),i=r.n(n),o=r(34);window&&window.addEventListener("load",(function(){var e;0!==Array.from(document.querySelectorAll(".wp-block-jetpack-repeat-visitor")).length&&(e=+(i.a.parse(document.cookie)[o.a]||0)+1,document.cookie=i.a.serialize(o.a,e,{path:window.location.pathname,maxAge:o.e}))}))},34:function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"c",(function(){return i})),r.d(t,"d",(function(){return o})),r.d(t,"a",(function(){return a})),r.d(t,"e",(function(){return u}));var n="after-visits",i="before-visits",o=3,a="jp-visit-counter",u=15552e3},35:function(e,t,r){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(r.p=window.Jetpack_Block_Assets_Base_Url)},40:function(e,t,r){"use strict";r.r(t);r(35)}}));
|
/*!
|
||||||
|
* cookie
|
||||||
|
* Copyright(c) 2012-2014 Roman Shtylman
|
||||||
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
||||||
|
* MIT Licensed
|
||||||
|
*/t.parse=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");for(var r={},i=t||{},a=e.split(o),s=i.decode||n,c=0;c<a.length;c++){var f=a[c],p=f.indexOf("=");if(!(p<0)){var l=f.substr(0,p).trim(),d=f.substr(++p,f.length).trim();'"'==d[0]&&(d=d.slice(1,-1)),null==r[l]&&(r[l]=u(d,s))}}return r},t.serialize=function(e,t,r){var n=r||{},o=n.encode||i;if("function"!=typeof o)throw new TypeError("option encode is invalid");if(!a.test(e))throw new TypeError("argument name is invalid");var u=o(t);if(u&&!a.test(u))throw new TypeError("argument val is invalid");var s=e+"="+u;if(null!=n.maxAge){var c=n.maxAge-0;if(isNaN(c))throw new Error("maxAge should be a Number");s+="; Max-Age="+Math.floor(c)}if(n.domain){if(!a.test(n.domain))throw new TypeError("option domain is invalid");s+="; Domain="+n.domain}if(n.path){if(!a.test(n.path))throw new TypeError("option path is invalid");s+="; Path="+n.path}if(n.expires){if("function"!=typeof n.expires.toUTCString)throw new TypeError("option expires is invalid");s+="; Expires="+n.expires.toUTCString()}n.httpOnly&&(s+="; HttpOnly");n.secure&&(s+="; Secure");if(n.sameSite){switch("string"==typeof n.sameSite?n.sameSite.toLowerCase():n.sameSite){case!0:s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"strict":s+="; SameSite=Strict";break;case"none":s+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return s};var n=decodeURIComponent,i=encodeURIComponent,o=/; */,a=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function u(e,t){try{return t(e)}catch(r){return e}}},335:function(e,t,r){r(47),e.exports=r(336)},336:function(e,t,r){"use strict";r.r(t);var n=r(300),i=r.n(n),o=r(40);window&&window.addEventListener("load",(function(){var e;0!==Array.from(document.querySelectorAll(".wp-block-jetpack-repeat-visitor")).length&&(e=+(i.a.parse(document.cookie)[o.a]||0)+1,document.cookie=i.a.serialize(o.a,e,{path:window.location.pathname,maxAge:o.e}))}))},40:function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"c",(function(){return i})),r.d(t,"d",(function(){return o})),r.d(t,"a",(function(){return a})),r.d(t,"e",(function(){return u}));var n="after-visits",i="before-visits",o=3,a="jp-visit-counter",u=15552e3},42:function(e,t,r){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(r.p=window.Jetpack_Block_Assets_Base_Url)},47:function(e,t,r){"use strict";r.r(t);r(42)}}));
|
||||||
|
|
@ -1 +1 @@
|
||||||
<?php return array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => '3e96f95d89a0ee21bbcca2da3f4d6bc6');
|
<?php return array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => '0cd127a6e1ff4c67e67abd392d7a4035');
|
||||||
|
|
@ -1 +1 @@
|
||||||
.wp-block-jetpack-revue__form{display:none}.wp-block-jetpack-revue__form.is-visible{display:block}.wp-block-jetpack-revue__form>div{margin-bottom:.75em}.wp-block-jetpack-revue__form .wp-block-button{margin-top:0}.wp-block-jetpack-revue__form input{display:block;margin-top:.25em;width:100%}@media screen and (min-width:600px){.wp-block-jetpack-revue__form input{width:50%}}.wp-block-jetpack-revue__form label{display:block;font-weight:700}.wp-block-jetpack-revue__form .required{color:#aaa;font-weight:400}.wp-block-jetpack-revue__message{display:none}.wp-block-jetpack-revue__message.is-visible{display:block}
|
.wp-block-jetpack-revue__form{display:none}.wp-block-jetpack-revue__form.is-visible{display:block}.wp-block-jetpack-revue__form>div{margin-bottom:.75em}.wp-block-jetpack-revue .wp-block-button{margin-top:0}.wp-block-jetpack-revue input{display:block;margin-top:.25em;width:100%}@media screen and (min-width:600px){.wp-block-jetpack-revue input{max-width:300px}}.wp-block-jetpack-revue label{display:block;font-weight:700}.wp-block-jetpack-revue .required{color:#aaa;font-weight:400}.wp-block-jetpack-revue__message{display:none}.wp-block-jetpack-revue__message.is-visible{display:block}.wp-block-jetpack-revue__fallback{display:none}
|
||||||
|
|
@ -1 +1 @@
|
||||||
!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=305)}({305:function(e,t,n){n(40),e.exports=n(306)},306:function(e,t,n){"use strict";n.r(t);var r=n(56),o=n.n(r);n(307);"undefined"!=typeof window&&window.jQuery&&o()((function(){document.querySelectorAll(".wp-block-jetpack-revue").forEach((function(e){var t=e.querySelector(".wp-block-jetpack-revue__form"),n=e.querySelector(".wp-block-jetpack-revue__message");t.addEventListener("submit",(function(){t.classList.remove("is-visible"),n.classList.add("is-visible")}))}))}))},307:function(e,t,n){},35:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},40:function(e,t,n){"use strict";n.r(t);n(35)},56:function(e,t){!function(){e.exports=this.wp.domReady}()}}));
|
!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=337)}({154:function(e,t,n){},337:function(e,t,n){n(47),e.exports=n(338)},338:function(e,t,n){"use strict";n.r(t);var r=n(91),o=n.n(r);n(154);"undefined"!=typeof window&&window.jQuery&&o()((function(){document.querySelectorAll(".wp-block-jetpack-revue").forEach((function(e){var t=e.querySelector(".wp-block-jetpack-revue__form");if(t){var n=e.querySelector(".wp-block-jetpack-revue__message");t.addEventListener("submit",(function(){t.classList.remove("is-visible"),n.classList.add("is-visible")}))}}))}))},42:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},47:function(e,t,n){"use strict";n.r(t);n(42)},91:function(e,t){!function(){e.exports=this.wp.domReady}()}}));
|
||||||
|
|
@ -1 +1 @@
|
||||||
.wp-block-jetpack-revue__form{display:none}.wp-block-jetpack-revue__form.is-visible{display:block}.wp-block-jetpack-revue__form>div{margin-bottom:.75em}.wp-block-jetpack-revue__form .wp-block-button{margin-top:0}.wp-block-jetpack-revue__form input{display:block;margin-top:.25em;width:100%}@media screen and (min-width:600px){.wp-block-jetpack-revue__form input{width:50%}}.wp-block-jetpack-revue__form label{display:block;font-weight:700}.wp-block-jetpack-revue__form .required{color:#aaa;font-weight:400}.wp-block-jetpack-revue__message{display:none}.wp-block-jetpack-revue__message.is-visible{display:block}
|
.wp-block-jetpack-revue__form{display:none}.wp-block-jetpack-revue__form.is-visible{display:block}.wp-block-jetpack-revue__form>div{margin-bottom:.75em}.wp-block-jetpack-revue .wp-block-button{margin-top:0}.wp-block-jetpack-revue input{display:block;margin-top:.25em;width:100%}@media screen and (min-width:600px){.wp-block-jetpack-revue input{max-width:300px}}.wp-block-jetpack-revue label{display:block;font-weight:700}.wp-block-jetpack-revue .required{color:#aaa;font-weight:400}.wp-block-jetpack-revue__message{display:none}.wp-block-jetpack-revue__message.is-visible{display:block}.wp-block-jetpack-revue__fallback{display:none}
|
||||||
|
|
@ -1 +1 @@
|
||||||
<?php return array('dependencies' => array('lodash', 'wp-dom-ready', 'wp-escape-html', 'wp-polyfill'), 'version' => '04feb5c027d12c75baa035cda100165e');
|
<?php return array('dependencies' => array('lodash', 'wp-dom-ready', 'wp-escape-html', 'wp-polyfill'), 'version' => '44ea31fd527ebcc4179e7d566860652c');
|
||||||
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('wp-dom-ready', 'wp-polyfill'), 'version' => '926953d53e80d0a36eaf63dc7dc35025');
|
<?php return array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => 'c87db4375167d9903e8efcac2c0d4ecb');
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -1 +1 @@
|
||||||
<div class="jetpack-block-nudge editor-warning block-editor-warning"><div class="editor-warning__contents block-editor-warning__contents"><p class="editor-warning__message block-editor-warning__message"><span class="jetpack-block-nudge__info"><svg class="gridicon gridicons-star jetpack-upgrade-nudge__icon needs-offset" height="18" width="18" aria-hidden="true" role="img" focusable="false" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g><path d="M12 2l2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304"></path></g></svg><span class="jetpack-block-nudge__text-container"><span class="jetpack-block-nudge__title"><span><?php esc_html_e( 'Upgrade to %(planName)s to use this block on your site bob.', 'jetpack' ) ?></span></span><span class="jetpack-block-nudge__message"><span><?php esc_html_e( 'You can try it out before upgrading, but only you will see it. It will be hidden from your visitors until you upgrade.', 'jetpack' ) ?></span></span></span></span></p><div class="editor-warning__actions block-editor-warning__actions"><span class="editor-warning__action block-editor-warning__action"><a href="#upgradeUrl#" target="_top" class="components-button is-button is-default"><span><?php esc_html_e( 'Upgrade', 'jetpack' ) ?></span></a></span></div></div></div>
|
<div class="jetpack-block-nudge block-editor-warning"><div class="block-editor-warning__contents"><p class="block-editor-warning__message"><span class="jetpack-block-nudge__info"><svg class="gridicon gridicons-star jetpack-upgrade-nudge__icon needs-offset" height="18" width="18" aria-hidden="true" role="img" focusable="false" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g><path d="M12 2l2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304"></path></g></svg><span class="jetpack-block-nudge__text-container"><span class="jetpack-block-nudge__title"><span><?php esc_html_e( 'Upgrade to %(planName)s to use this block on your site.', 'jetpack' ) ?></span></span><span class="jetpack-block-nudge__message"><span><?php esc_html_e( 'You can try it out before upgrading, but only you will see it. It will be hidden from your visitors until you upgrade.', 'jetpack' ) ?></span></span></span></span></p><div class="block-editor-warning__actions"><span class="block-editor-warning__action"><a href="#upgradeUrl#" target="_top" class="components-button is-secondary is-large"><span><?php esc_html_e( 'Upgrade', 'jetpack' ) ?></span></a></span></div></div></div>
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue