Version Description
Download this release
Release Info
Developer | samiff |
Plugin | Jetpack by WordPress.com |
Version | 11.1 |
Comparing to | |
See all releases |
Code changes from version 11.1-beta2 to 11.1
- CHANGELOG.md +3 -8
- _inc/build/admin.asset.php +1 -1
- _inc/build/admin.js +1 -1
- composer.json +1 -1
- jetpack.php +2 -2
- jetpack_vendor/i18n-map.php +12 -12
- modules/contact-form/grunion-contact-form.php +4 -4
- readme.txt +22 -4
- vendor/autoload.php +1 -1
- vendor/autoload_packages.php +1 -1
- vendor/composer/autoload_real.php +7 -7
- vendor/composer/autoload_static.php +5 -5
- vendor/jetpack-autoloader/class-autoloader-handler.php +1 -1
- vendor/jetpack-autoloader/class-autoloader-locator.php +1 -1
- vendor/jetpack-autoloader/class-autoloader.php +1 -1
- vendor/jetpack-autoloader/class-container.php +1 -1
- vendor/jetpack-autoloader/class-hook-manager.php +1 -1
- vendor/jetpack-autoloader/class-latest-autoloader-guard.php +1 -1
- vendor/jetpack-autoloader/class-manifest-reader.php +1 -1
- vendor/jetpack-autoloader/class-path-processor.php +1 -1
- vendor/jetpack-autoloader/class-php-autoloader.php +1 -1
- vendor/jetpack-autoloader/class-plugin-locator.php +1 -1
- vendor/jetpack-autoloader/class-plugins-handler.php +1 -1
- vendor/jetpack-autoloader/class-shutdown-handler.php +1 -1
- vendor/jetpack-autoloader/class-version-loader.php +1 -1
- vendor/jetpack-autoloader/class-version-selector.php +1 -1
CHANGELOG.md
CHANGED
@@ -2,14 +2,7 @@
|
|
2 |
|
3 |
### This is a list detailing changes for all Jetpack releases.
|
4 |
|
5 |
-
## 11.
|
6 |
-
|
7 |
-
This is an alpha version! The changes listed here are not final.
|
8 |
-
|
9 |
-
### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
|
10 |
-
- Updated package dependencies.
|
11 |
-
|
12 |
-
## 11.1-beta - 2022-06-28
|
13 |
### Enhancements
|
14 |
- Dashboard: add "Getting started with Jetpack Backup" video to Assistant and "At a glance" dashboard. [#24774]
|
15 |
- VideoPress: introduce VideoPress block currently in beta status. [#24821, #24844, #24848]
|
@@ -21,6 +14,8 @@ This is an alpha version! The changes listed here are not final.
|
|
21 |
### Bug fixes
|
22 |
- CLI: avoid PHP notice when running connection tests. [#24802]
|
23 |
- Contact Form: ensure the forms are always properly displayed. [#24857]
|
|
|
|
|
24 |
- Payments Block: only add PayPal email meta to Payment posts. [#24806]
|
25 |
- Payments Block: remove hardcoded recurring-payments button color. [#24801]
|
26 |
- Subscribe Block: fix double-quote breaking the Subscribe block button. [#24763]
|
2 |
|
3 |
### This is a list detailing changes for all Jetpack releases.
|
4 |
|
5 |
+
## 11.1 - 2022-07-05
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
### Enhancements
|
7 |
- Dashboard: add "Getting started with Jetpack Backup" video to Assistant and "At a glance" dashboard. [#24774]
|
8 |
- VideoPress: introduce VideoPress block currently in beta status. [#24821, #24844, #24848]
|
14 |
### Bug fixes
|
15 |
- CLI: avoid PHP notice when running connection tests. [#24802]
|
16 |
- Contact Form: ensure the forms are always properly displayed. [#24857]
|
17 |
+
- Dashboard: fix the link to Anti-spam stats. [#24880]
|
18 |
+
- Form Block: radio, select, and multiple checkbox fields can now have option with a value of '0'. [#24926]
|
19 |
- Payments Block: only add PayPal email meta to Payment posts. [#24806]
|
20 |
- Payments Block: remove hardcoded recurring-payments button color. [#24801]
|
21 |
- Subscribe Block: fix double-quote breaking the Subscribe block button. [#24763]
|
_inc/build/admin.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-components', 'wp-data', 'wp-date', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-components', 'wp-data', 'wp-date', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => 'ac32979ec6399d43a6b8');
|
_inc/build/admin.js
CHANGED
@@ -83,7 +83,7 @@ __("Your paid plan gives you access to prioritized %s support.","jetpack"),this.
|
|
83 |
/* translators: Placeholder is a version number. */
|
84 |
__("New in Jetpack %s","jetpack"),this.props.version)),p().createElement(r.Z,{svg:t,title:n,content:this.renderInnerContent(),dismiss:this.dismissNotice})}})},5182:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const s={i18n_default_locale_slug:"en",mc_analytics_enabled:!0,google_analytics_enabled:!1,google_analytics_key:null};const a=function(e){if(e in s)return s[e];throw new Error("config key `"+e+"` does not exist")}},800:(e,t,n)=>{"use strict";n.d(t,{Ez:()=>r,Fr:()=>i,hp:()=>a,zh:()=>o});var s=n(6324);const a=window.Initial_State.pluginBaseUrl+"/images/",i=(0,s.Z)("jetpack-contact-support"),r=(0,s.Z)("jetpack-contact-support-beta-group"),o="https://jetpack.com/support/backup/the-jetpack-backup-plugin/getting-started-with-the-jetpack-backup-plugin/#starting-your-first-backup"},3067:(e,t,n)=>{"use strict";n.d(t,{H:()=>E});var s=n(2402),a=n.n(s),i=n(8294),r=n.n(i),o=n(6324),c=n(5736),l=n(1674),p=n(1775),u=n(2353),d=n(5004),m=n(3806),h=n(8178),g=n(9032),f=n(5549),k=n(9196),v=n.n(k);const __=c.__;class _ extends v().Component{constructor(){super(...arguments),r()(this,"updateFormStateByMarkdown",(e=>this.props.getSettingCurrentValue("wpcom_publish_posts_with_markdown",e)?this.props.updateFormStateModuleOption(e,"wpcom_publish_comments_with_markdown"):this.props.updateFormStateModuleOption(e,"wpcom_publish_comments_with_markdown",!0))),r()(this,"handleMarkdownCommentsToggle",(()=>{this.props.updateFormStateModuleOption("markdown","wpcom_publish_comments_with_markdown")}))}render(){const e=this.props.isModuleFound("comments"),t=this.props.isModuleFound("gravatar-hovercards"),n=this.props.isModuleFound("markdown"),s=this.props.isModuleFound("comment-likes");if(!(e||t||n||s))return null;const{isUnavailableInOfflineMode:i,getOptionValue:r}=this.props,c=this.props.getModule("comments"),u=this.props.getOptionValue("comments"),k=this.props.isUnavailableInOfflineMode("comments"),_=this.props.getModule("gravatar-hovercards"),E=this.props.getModule("markdown"),y=i("comment-likes"),w=r("comment-likes");return v().createElement(m.Z,a()({},this.props,{header:__("Comments","jetpack"),module:"comments",saveDisabled:this.props.isSavingAnyOption(["highlander_comment_form_prompt","jetpack_comment_form_color_scheme"])}),e&&v().createElement(h.Z,{hasChild:!0,disableInOfflineMode:!0,module:c,support:{text:__("Replaces the standard WordPress comment form with a new comment system that includes social media login options.","jetpack"),link:(0,o.Z)("jetpack-support-comments")}},v().createElement(d.T,{slug:"comments",compact:!0,disabled:k,activated:this.props.getOptionValue("comments"),toggling:this.props.isSavingAnyOption("comments"),toggleModule:this.props.toggleModuleNow},v().createElement("span",{className:"jp-form-toggle-explanation"},c.description)),v().createElement(p.C_,null,v().createElement(p.lX,null,v().createElement("span",{className:"jp-form-label-wide"},__("Comment form introduction","jetpack")),v().createElement(f.Z,{name:"highlander_comment_form_prompt",value:this.props.getOptionValue("highlander_comment_form_prompt"),disabled:!u||k||this.props.isSavingAnyOption("highlander_comment_form_prompt"),onChange:this.props.onOptionChange})),v().createElement("span",{className:"jp-form-setting-explanation"},__("A few catchy words to motivate your visitors to comment.","jetpack")),v().createElement(p.lX,null,v().createElement("span",{className:"jp-form-label-wide"},__("Color scheme","jetpack")),v().createElement(p.ih,a()({name:"jetpack_comment_form_color_scheme",value:this.props.getOptionValue("jetpack_comment_form_color_scheme"),disabled:!u||k||this.props.isSavingAnyOption("jetpack_comment_form_color_scheme"),onChange:this.props.onOptionChange},this.props,{validValues:this.props.validValues("jetpack_comment_form_color_scheme","comments")}))))),(t||n||s)&&v().createElement(h.Z,null,t&&v().createElement("div",{className:"jp-toggle-set"},v().createElement(p.C_,null,v().createElement(d.T,{slug:"gravatar-hovercards",compact:!0,activated:this.props.getOptionValue("gravatar-hovercards"),toggling:this.props.isSavingAnyOption("gravatar-hovercards"),toggleModule:this.props.toggleModuleNow},v().createElement("span",{className:"jp-form-toggle-explanation"},_.description))),v().createElement(g.Z,{text:__("Show Gravatar hovercards alongside comments.","jetpack"),link:_.learn_more_button,privacyLink:_.learn_more_button+"#privacy"})),n&&v().createElement("div",{className:"jp-toggle-set"},v().createElement(p.C_,null,v().createElement(l.Z,{checked:!!this.props.getOptionValue("wpcom_publish_comments_with_markdown","markdown"),disabled:this.props.isSavingAnyOption(["markdown","wpcom_publish_comments_with_markdown"])||"inactive"===this.props.getModuleOverride("markdown"),toggling:this.props.isSavingAnyOption(["markdown","wpcom_publish_comments_with_markdown"]),onChange:this.handleMarkdownCommentsToggle},v().createElement("span",{className:"jp-form-toggle-explanation"},__("Enable Markdown use for comments.","jetpack")))),v().createElement(g.Z,{text:__("Allow readers to use markdown in comments.","jetpack"),link:E.learn_more_button,privacyLink:E.learn_more_button+"#privacy"})),s&&v().createElement("div",{className:"jp-toggle-set"},v().createElement(p.C_,null,v().createElement(d.T,{slug:"comment-likes",compact:!0,disabled:y,activated:w,toggling:this.props.isSavingAnyOption("comment-likes"),toggleModule:this.props.toggleModuleNow},v().createElement("span",{className:"jp-form-toggle-explanation"},__("Enable comment likes.","jetpack")))),v().createElement(g.Z,{text:__("Allow readers to like individual comments.","jetpack"),link:(0,o.Z)("jetpack-support-comment-likes"),privacyLink:(0,o.Z)("jetpack-support-comment-likes",{anchor:"privacy"})}))))}}const E=(0,u.u)(_)},399:(e,t,n)=>{"use strict";n.d(t,{Z:()=>E});var s=n(2402),a=n.n(s),i=n(8294),r=n.n(i),o=n(5736),c=n(5799),l=n(9270),p=n(9196),u=n.n(p),d=n(9309),m=n(6300),h=n(416),g=n(9292),f=n(3230),k=n(3067),v=n(125);const __=o.__;class _ extends u().Component{render(){const e={settings:this.props.settings,getModule:this.props.module,isOfflineMode:this.props.isOfflineMode,isUnavailableInOfflineMode:this.props.isUnavailableInOfflineMode},t=this.props.isModuleFound("comments"),n=this.props.isModuleFound("markdown"),s=this.props.isModuleFound("gravatar-hovercards"),i=this.props.isModuleFound("subscriptions"),r=this.props.isModuleFound("comment-likes");return(this.props.searchTerm||this.props.active)&&(t||i||n||s||r)?u().createElement("div",null,u().createElement(l.Z,null),u().createElement(c.Z,{title:this.props.searchTerm?__("Discussion","jetpack"):__("Manage advanced comment settings and grow your audience with email subscriptions.","jetpack"),className:"jp-settings-description"}),u().createElement(k.H,a()({},e,{isModuleFound:this.props.isModuleFound,getModuleOverride:this.props.getModuleOverride})),i&&u().createElement(v.Z,a()({},e,{isLinked:this.props.isLinked,connectUrl:this.props.connectUrl,siteRawUrl:this.props.siteRawUrl}))):null}}r()(_,"displayName","DiscussionSettings");const E=(0,d.$j)((e=>({module:t=>(0,h.rT)(e,t),settings:(0,f.Gw)(e),isOfflineMode:(0,m.Ex)(e),isUnavailableInOfflineMode:t=>(0,m.t_)(e,t),isModuleFound:t=>(0,g.CX)(e,t),connectUrl:(0,m.AM)(e),isLinked:(0,m.BU)(e),getModuleOverride:t=>(0,h.Qy)(e,t)})))(_)},125:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var s=n(2402),a=n.n(s),i=n(8294),r=n.n(i),o=n(6324),c=n(5736),l=n(5799),p=n(6164),u=n(1674),d=n(1775),m=n(2353),h=n(5004),g=n(3806),f=n(8178),k=n(4069),v=n(9196),_=n.n(v);const __=c.__;class E extends _().Component{constructor(e){super(e),r()(this,"getInitialState",(()=>({stb_enabled:this.props.getOptionValue("stb_enabled"),stc_enabled:this.props.getOptionValue("stc_enabled")}))),r()(this,"updateOptions",(e=>{this.setState({[e]:!this.state[e]},this.props.updateFormStateModuleOption("subscriptions",e))})),r()(this,"trackConfigureClick",(()=>{k.Z.tracks.recordJetpackClick("view-followers")})),r()(this,"handleSubscribeToBlogToggleChange",(()=>{this.updateOptions("stb_enabled")})),r()(this,"handleSubscribeToCommentToggleChange",(()=>{this.updateOptions("stc_enabled")})),this.state=this.getInitialState()}render(){const e=this.props.getModule("subscriptions"),t=this.props.getOptionValue("subscriptions"),n=this.props.isUnavailableInOfflineMode("subscriptions");return _().createElement(g.Z,a()({},this.props,{hideButton:!0,module:"subscriptions"}),_().createElement(f.Z,{hasChild:!0,disableInOfflineMode:!0,disableInSiteConnectionMode:!0,module:e,support:{text:__("Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.","jetpack"),link:(0,o.Z)("jetpack-support-subscriptions")}},_().createElement(h.T,{slug:"subscriptions",disabled:n,activated:t,toggling:this.props.isSavingAnyOption("subscriptions"),toggleModule:this.props.toggleModuleNow},_().createElement("span",{className:"jp-form-toggle-explanation"},e.description)),_().createElement(d.C_,null,_().createElement(u.Z,{checked:this.state.stb_enabled,disabled:!t||n||this.props.isSavingAnyOption(["subscriptions","stb_enabled"]),onChange:this.handleSubscribeToBlogToggleChange},_().createElement("span",{className:"jp-form-toggle-explanation"},__("Enable the “subscribe to site” option on your comment form","jetpack"))),_().createElement(u.Z,{checked:this.state.stc_enabled,disabled:!t||n||this.props.isSavingAnyOption(["subscriptions","stc_enabled"]),onChange:this.handleSubscribeToCommentToggleChange},_().createElement("span",{className:"jp-form-toggle-explanation"},__("Enable the “subscribe to comments” option on your comment form","jetpack"))))),(()=>!n&&t&&this.props.isLinked?_().createElement(l.Z,{compact:!0,className:"jp-settings-card__configure-link",onClick:this.trackConfigureClick,href:(0,o.Z)("calypso-people-email-followers",{site:this.props.siteRawUrl})},__("View your Email Followers","jetpack")):"")(),!this.props.isLinked&&!this.props.isOfflineMode&&_().createElement(p.Z,{feature:"subscriptions",featureLabel:__("Subscriptions","jetpack"),text:__("Connect to manage your subscriptions settings.","jetpack")}))}}const y=(0,m.u)(E)},1493:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const s=[9,32,37,38,39,40];let a=!1;const i=function(){document.addEventListener("keydown",(function(e){a||-1!==s.indexOf(e.keyCode)&&(a=!0,document.documentElement.classList.add("dops-accessible-focus"))})),document.addEventListener("mouseup",(function(){a&&(a=!1,document.documentElement.classList.remove("dops-accessible-focus"))}))}},4069:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var s=n(6975),a=n(5182);s.Z.setMcAnalyticsEnabled((0,a.Z)("mc_analytics_enabled")),s.Z.setGoogleAnalyticsEnabled((0,a.Z)("google_analytics_enabled"),(0,a.Z)("google_analytics_key"));const i=s.Z},9584:(e,t,n)=>{"use strict";n.d(t,{$K:()=>k,BD:()=>fe,Bi:()=>J,Cb:()=>pe,DM:()=>Ne,Dl:()=>ee,EC:()=>Ce,Et:()=>Z,G1:()=>xe,G6:()=>u,Ij:()=>D,JA:()=>o,JX:()=>I,LA:()=>O,N8:()=>ve,NJ:()=>y,N_:()=>he,O$:()=>be,OE:()=>d,Pu:()=>Se,Qm:()=>h,Ss:()=>Te,T5:()=>Ee,Us:()=>P,V3:()=>me,Vl:()=>Q,WS:()=>V,Wg:()=>r,XL:()=>T,Xz:()=>E,ZR:()=>S,_d:()=>v,aS:()=>L,ah:()=>X,ap:()=>w,b6:()=>R,bm:()=>ne,dW:()=>M,eM:()=>ge,f3:()=>c,hI:()=>N,ic:()=>K,j2:()=>i,jI:()=>te,jT:()=>ce,lj:()=>_,lv:()=>l,mg:()=>j,np:()=>G,o2:()=>Oe,p2:()=>b,p7:()=>a,pd:()=>f,ps:()=>ke,qb:()=>ye,r2:()=>_e,sT:()=>Y,sc:()=>Pe,sh:()=>H,sy:()=>m,tV:()=>x,th:()=>z,tl:()=>B,un:()=>F,ux:()=>A,uz:()=>W,vS:()=>q,v_:()=>$,w2:()=>U,wm:()=>g,xf:()=>p,yY:()=>C,yy:()=>je});var s=n(2819);const a="business-bundle",i="business-bundle-2y",r="business-bundle-monthly",o="ecommerce-bundle",c="ecommerce-bundle-2y",l="ecommerce-bundle-monthly",p="value_bundle",u="value_bundle-2y",d="value_bundle-monthly",m="personal-bundle",h="personal-bundle-2y",g="personal-bundle-monthly",f="starter-plan",k="pro-plan",v="free_plan",_="jetpack_free",E="jetpack_premium",y="jetpack_business",w="jetpack_personal",b="jetpack_premium_monthly",C="jetpack_business_monthly",j="jetpack_personal_monthly",S="jetpack_backup_t0_yearly",N="jetpack_backup_t0_monthly",x="jetpack_backup_t1_yearly",T="jetpack_backup_t1_monthly",O="jetpack_backup_t2_yearly",P="jetpack_backup_t2_monthly",M="jetpack_search",A="jetpack_search_monthly",Z="jetpack_security_t1_yearly",U="jetpack_security_t1_monthly",R="jetpack_security_t2_yearly",L="jetpack_security_t2_monthly",z="jetpack_complete",I="jetpack_complete_monthly",D="wpcom_search",F="wpcom_search_monthly",V="jetpack_scan",B="jetpack_scan_monthly",H="jetpack_anti_spam",q="jetpack_anti_spam_monthly",$="jetpack_videopress",J="jetpack_videopress_monthly",W="vip",G="jetpack_backup_daily",K="jetpack_backup_daily_monthly",Y="jetpack_backup_realtime",X="jetpack_backup_realtime_monthly",Q="jetpack_security_daily",ee="jetpack_security_daily_monthly",te="jetpack_security_realtime",ne="jetpack_security_realtime_monthly",se=[E,y,w,b,C,j],ae=[E,y,b,C],ie=[Z,U,R,L,Q,ee,te,ne],re=[E,y,w,b,C,j,Z,U,R,L,z,I,Q,ee,te,ne],oe=[Z,U,R,L,a,i,r,o,c,l,k,W,"wpcom-enterprise",Q,ee,te,ne],ce=[S,N,x,T,O,P,G,K,Y,X],le=[M,A,D,F],pe=[V,B],ue=[H,q],de=[$,J],me="spam-akismet-plus",he="site-backups-jetpack",ge="security-scanning-jetpack",fe="video-hosting-jetpack",ke="priority-support-jetpack",ve="wordads-jetpack",_e="google-analytics-jetpack",Ee="search-jetpack",ye="videopress-jetpack",we={[ke]:Z,[Ee]:M,[ge]:V,[he]:x,[me]:H,[fe]:Z,[ve]:Z,[_e]:Z,[me]:H,[ye]:$};function be(e){return(0,s.includes)(re,e)}function Ce(e){return ue.includes(e)}function je(e){return function(e){return(0,s.includes)(ce,e)}(e)||function(e){return(0,s.includes)(le,e)}(e)||function(e){return pe.includes(e)}(e)||Ce(e)||function(e){return de.includes(e)}(e)}function Se(e){return ie.includes(e)}function Ne(e){return oe.includes(e)}function xe(e){return se.includes(e)}function Te(e){return ae.includes(e)}function Oe(e){return we[e]}function Pe(e){switch(e){case _:case v:return"is-free-plan";case m:case h:case g:case f:case w:case j:return"is-personal-plan";case p:case u:case d:case E:case b:return"is-premium-plan";case a:case i:case r:case y:case C:case o:case c:case l:case k:return"is-business-plan";case Z:case U:return"is-security-t1-plan";case R:case L:return"is-security-t2-plan";case z:case I:case W:return"is-complete-plan";case S:case N:return"is-backup-t0-plan";case x:case T:return"is-backup-t1-plan";case O:case P:return"is-backup-t2-plan";case M:case A:case D:case F:return"is-search-plan";case V:case B:return"is-scan-plan";case H:case q:return"is-anti-spam-plan";case $:case J:return"is-videopress-plan";case Q:case ee:return"is-daily-security-plan";case te:case ne:return"is-realtime-security-plan";case G:case K:return"is-daily-backup-plan";case Y:case X:return"is-realtime-backup-plan";default:return""}}},3962:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var s=n(7211);const a=(e,t)=>{const n=new s.Z;let a;n.open(e,null,"toolbar=0,location=0,status=0,menubar=0,"+n.getScreenCenterSpecs(780,700)),n.once("close",(()=>{let e=null;a&&a.keyring_id&&(e=Number(a.keyring_id)),t(e)})),n.on("message",(e=>a=e))}},7733:(e,t,n)=>{"use strict";function s(){return"ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch}n.d(t,{_:()=>s})},1215:(e,t,n)=>{"use strict";n.d(t,{Z:()=>X});var s=n(8294),a=n.n(s),i=n(800),r=n(4743),o=n(6324),c=n(9312),l=n(428),p=n(3281),u=n(1862),d=n(5609),m=n(9818),h=n(9307),g=n(5736),f=n(6288),k=n(7301),v=n(7363),_=n(6102),E=n(8546),y=n(7516),w=n(208),b=n(6795),C=n(2977),j=n(4265),S=n(4241),N=n(6799),x=n(2685),T=n(7024),O=n(4069),P=n(8106),M=n(5150),A=n(4648),Z=n(9196),U=n.n(Z),R=n(9309),L=n(4498),z=n(2267),I=n(9517),D=n(6300),F=n(9508),V=n(9963),B=n(416),H=n(9377),q=n(9292),$=n(3230),J=n(3002);const __=g.__,W=["/recommendations","/recommendations/site-type","/recommendations/product-suggestions","/recommendations/product-purchased","/recommendations/woocommerce","/recommendations/monitor","/recommendations/related-posts","/recommendations/creative-mail","/recommendations/site-accelerator","/recommendations/publicize","/recommendations/security-plan","/recommendations/anti-spam","/recommendations/videopress","/recommendations/summary"],G=["/","/dashboard","/reconnect","/my-plan","/plans"],K=["/settings","/security","/performance","/writing","/sharing","/discussion","/traffic","/privacy"];class Y extends U().Component{constructor(e){super(e),a()(this,"handleRouterWillLeave",(()=>{const e=__("There are unsaved settings in this tab that will be lost if you leave it. Proceed?","jetpack");return!!confirm(e)&&(window.setTimeout(this.props.clearUnsavedSettingsFlag,10),!0)})),a()(this,"initializeAnalytics",(()=>{const e=this.props.tracksUserData;e&&O.Z.initialize(e.userid,e.username,{blog_id:e.blogid})})),a()(this,"renderMainContent",(e=>{if(this.shouldShowWooConnectionScreen()){const e=this.props.location.state?.previousPath,t=e&&"/woo-setup"!==e?`#${e}`:"#/dashboard";return U().createElement(_.Z,{apiNonce:this.props.apiNonce,registrationNonce:this.props.registrationNonce,apiRoot:this.props.apiRoot,title:__("Welcome to Jetpack! Security, Growth, & Performance tools for WordPress businesses","jetpack"),logo:U().createElement("img",{src:i.hp+"/jetpack-woocommerce-logo.svg",alt:__("Jetpack and WooCommerce","jetpack")}),buttonLabel:__("Set up Jetpack","jetpack"),redirectUri:"admin.php?page=jetpack",redirectTo:t,from:this.props.location.pathname,isSiteConnected:this.props.isSiteConnected,setHasSeenWCConnectionModal:this.props.setHasSeenWCConnectionModal},U().createElement("p",null,__("Jetpack is the perfect companion plugin for WooCommerce - made by WordPress experts to make your store faster, safer, and to help grow your business.","jetpack")))}if(this.props.partnerCoupon){const e=new URLSearchParams(window.location.search).get("showCouponRedemption");if(!this.props.isOfflineMode&&(!this.props.isSiteConnected||e))return U().createElement(u.es,{apiNonce:this.props.apiNonce,registrationNonce:this.props.registrationNonce,apiRoot:this.props.apiRoot,assetBaseUrl:this.props.pluginBaseUrl,connectionStatus:this.props.connectionStatus,partnerCoupon:this.props.partnerCoupon,siteRawUrl:this.props.siteRawUrl,tracksUserData:!!this.props.tracksUserData,analytics:O.Z})}if(this.isUserConnectScreen()&&(this.props.userCanManageModules||this.props.hasConnectedOwner))return U().createElement(c.Z,{apiNonce:this.props.apiNonce,registrationNonce:this.props.registrationNonce,apiRoot:this.props.apiRoot,images:["/images/connect-right-secondary.png"],assetBaseUrl:this.props.pluginBaseUrl,title:this.props.connectingUserFeatureLabel?(0,g.sprintf)(
|
85 |
/* translators: placeholder is a feature label (e.g. SEO, Notifications) */
|
86 |
-
__("Unlock %s and more amazing features","jetpack"),this.props.connectingUserFeatureLabel):__("Unlock all the amazing features of Jetpack by connecting now","jetpack"),buttonLabel:__("Connect your user account","jetpack"),redirectUri:"admin.php?page=jetpack"},U().createElement("ul",null,U().createElement("li",null,__("Receive instant downtime alerts","jetpack")),U().createElement("li",null,__("Automatically share your content on social media","jetpack")),U().createElement("li",null,__("Let your subscribers know when you post","jetpack")),U().createElement("li",null,__("Receive notifications about new likes and comments","jetpack")),U().createElement("li",null,__("Let visitors share your content on social media","jetpack")),U().createElement("li",null,(0,h.createInterpolateElement)(__("And more! <a>See all Jetpack features</a>","jetpack"),{a:U().createElement("a",{href:(0,o.Z)("jetpack-features"),target:"_blank",rel:"noreferrer"})}),U().createElement("a",{className:"jp-connection-screen-icon",href:(0,o.Z)("jetpack-features"),target:"_blank",rel:"noreferrer"},U().createElement(d.Dashicon,{icon:"external"})))));if(!this.props.userCanManageModules)return!!this.props.siteConnectionStatus&&U().createElement("div",{"aria-live":"assertive"},U().createElement(S.Z,this.props));if(this.isMainConnectScreen())return U().createElement(c.Z,{apiNonce:this.props.apiNonce,registrationNonce:this.props.registrationNonce,apiRoot:this.props.apiRoot,images:["/images/connect-right.jpg"],assetBaseUrl:this.props.pluginBaseUrl,autoTrigger:this.shouldAutoTriggerConnection(),redirectUri:"admin.php?page=jetpack"},U().createElement("p",null,__("Secure and speed up your site for free with Jetpack's powerful WordPress tools.","jetpack")),U().createElement("ul",null,U().createElement("li",null,__("Measure your impact with beautiful stats","jetpack")),U().createElement("li",null,__("Speed up your site with optimized images","jetpack")),U().createElement("li",null,__("Protect your site against bot attacks","jetpack")),U().createElement("li",null,__("Get notifications if your site goes offline","jetpack")),U().createElement("li",null,__("Enhance your site with dozens of other features","jetpack"))));const t=U().createElement(j.Z,{routeName:this.props.routeName,siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl});let n,s=U().createElement(C.Z,{routeName:this.props.routeName});switch(e){case"/dashboard":case"/reconnect":case"/disconnect":case"/connect-user":case"/woo-setup":case"/setup":n=U().createElement(f.Z,{siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl,rewindStatus:this.props.rewindStatus});break;case"/my-plan":n=U().createElement(P.Z,{siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl,rewindStatus:this.props.rewindStatus});break;case"/plans":case"/plans-prompt":window.location.href=(0,o.Z)("jetpack-plans",{site:this.props.siteRawUrl});break;case"/settings":case"/security":case"/performance":case"/writing":case"/sharing":case"/discussion":case"/traffic":case"/privacy":s=t,n=U().createElement(I.Z,{siteAdminUrl:this.props.siteAdminUrl,siteRawUrl:this.props.siteRawUrl,searchTerm:this.props.searchTerm,rewindStatus:this.props.rewindStatus,userCanManageModules:this.props.userCanManageModules});break;case"/license/activation":this.props.isLinked&&this.props.isConnectionOwner?(s=null,n=U().createElement(p.I,{siteRawUrl:this.props.siteRawUrl,onActivationSuccess:this.onLicenseActivationSuccess,siteAdminUrl:this.props.siteAdminUrl,currentRecommendationsStep:this.props.currentRecommendationsStep})):(this.props.history.replace("/dashboard"),n=this.getAtAGlance());break;case"/recommendations":case"/recommendations/site-type":case"/recommendations/product-suggestions":case"/recommendations/product-purchased":case"/recommendations/woocommerce":case"/recommendations/monitor":case"/recommendations/related-posts":case"/recommendations/creative-mail":case"/recommendations/site-accelerator":case"/recommendations/publicize":case"/recommendations/security-plan":case"/recommendations/anti-spam":case"/recommendations/videopress":case"/recommendations/summary":this.props.showRecommendations?n=U().createElement(z.V,null):(this.props.history.replace("/dashboard"),n=this.getAtAGlance());break;default:if(A.w7.includes(e)){n=U().createElement(M.Z,null);break}this.props.history.replace("/dashboard"),n=this.getAtAGlance()}return this.props.isWoaSite?window.wpNavMenuClassChange({dashboard:1,settings:1}):window.wpNavMenuClassChange(),U().createElement("div",{"aria-live":"assertive",className:""+(this.shouldBlurMainContent()?"blur":"")},s,n)})),this.closeReconnectModal=this.closeReconnectModal.bind(this),this.onLicenseActivationSuccess=this.onLicenseActivationSuccess.bind(this)}UNSAFE_componentWillMount(){this.props.setInitialState(),r.ZP.setApiRoot(this.props.apiRoot),r.ZP.setApiNonce(this.props.apiNonce),this.initializeAnalytics(),window.addEventListener("beforeunload",this.props.clearUnsavedSettingsFlag),this.props.isSiteConnected&&O.Z.tracks.recordEvent("jetpack_wpa_page_view",{path:this.props.location.pathname,current_version:this.props.currentVersion})}componentDidMount(){const e=jQuery(".jp-jetpack-connect__container"),t=jQuery(".jp-connect-full__container");e&&t.length>0&&t.prependTo(e),this.props.isWooCommerceActive&&!this.props.hasSeenWCConnectionModal&&this.props.userCanManageModules&&this.props.history.replace({pathname:"/woo-setup",state:{previousPath:this.props.location.pathname}})}shouldComponentUpdate(e){return!["/wpbody-content","/wp-toolbar"].includes(e.location.pathname)&&(JSON.stringify(e.connectionStatus)!==JSON.stringify(this.props.connectionStatus)||e.siteConnectionStatus!==this.props.siteConnectionStatus||e.isLinked!==this.props.isLinked||e.isConnectingUser!==this.props.isConnectingUser||e.location.pathname!==this.props.location.pathname||e.searchTerm!==this.props.searchTerm||e.rewindStatus!==this.props.rewindStatus||e.areThereUnsavedSettings!==this.props.areThereUnsavedSettings||e.isReconnectingSite!==this.props.isReconnectingSite)}componentDidUpdate(e){if(e.location.pathname!==this.props.location.pathname&&this.props.isSiteConnected&&O.Z.tracks.recordEvent("jetpack_wpa_page_view",{path:this.props.location.pathname,current_version:this.props.currentVersion}),e.siteConnectionStatus!==this.props.siteConnectionStatus){const e=jQuery("#toplevel_page_jetpack").find("ul.wp-submenu li");e.find('a[href$="#/settings"]').hide(),e.find('a[href$="admin.php?page=stats"]').hide(),e.find('a[href$="admin.php?page=jetpack-search"]').hide()}this.props.setConnectionStatus(this.props.connectionStatus)}getAtAGlance(){return U().createElement(f.Z,{siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl,rewindStatus:this.props.rewindStatus})}shouldShowAppsCard(){return this.props.isSiteConnected&&!this.shouldShowWooConnectionScreen()&&G.includes(this.props.location.pathname)}shouldShowSupportCard(){return this.props.isSiteConnected&&!this.shouldShowWooConnectionScreen()&&G.includes(this.props.location.pathname)}shouldShowRewindStatus(){return this.props.isSiteConnected&&G.includes(this.props.location.pathname)}shouldShowMasthead(){return[...G,...W,...K].includes(this.props.location.pathname)}shouldShowFooter(){return[...G,...K,...W,...A.w7].includes(this.props.location.pathname)}shouldBlurMainContent(){return this.props.isReconnectingSite}shouldShowReconnectModal(){return"/reconnect"===this.props.location.pathname}closeReconnectModal(){this.props.history.replace("/dashboard")}isMainConnectScreen(){return!1===this.props.siteConnectionStatus&&this.props.userCanConnectSite}isUserConnectScreen(){return"/connect-user"===this.props.location.pathname}shouldShowWooConnectionScreen(){return"/woo-setup"===this.props.location.pathname}shouldConnectUser(){return this.props.isConnectingUser}connectUser(){this.props.resetConnectUser(),this.props.history.replace("/connect-user")}isLicensingScreen(){return this.props.location.pathname.startsWith("/license")}shouldAutoTriggerConnection(){return this.props.location.pathname.startsWith("/setup")}onLicenseActivationSuccess(){this.props.updateUserLicensesCounts().then((()=>{this.props.updateLicensingActivationNoticeDismiss()})),this.props.fetchSiteData(),this.props.fetchSitePurchases(),this.props.fetchModules(),this.props.fetchSettings()}render(){const e=["jp-lower"];return this.isMainConnectScreen()&&e.push("jp-main-connect-screen"),this.isUserConnectScreen()&&e.push("jp-user-connect-screen"),this.isLicensingScreen()&&e.push("jp-licensing-screen"),U().createElement("div",null,this.shouldShowReconnectModal()&&U().createElement(N.Z,{show:!0,onHide:this.closeReconnectModal}),this.shouldShowMasthead()&&U().createElement(b.Z,{location:this.props.location}),U().createElement("div",{className:e.join(" ")},this.shouldShowRewindStatus()&&U().createElement(E.Z,null),U().createElement(k.Z,null),U().createElement(w.ZP,null),this.shouldConnectUser()&&this.connectUser(),U().createElement(L.NL,{when:this.props.areThereUnsavedSettings,message:this.handleRouterWillLeave}),this.renderMainContent(this.props.location.pathname),this.shouldShowSupportCard()&&U().createElement(x.Z,{path:this.props.location.pathname}),this.shouldShowAppsCard()&&U().createElement(v.Z,null)),this.shouldShowFooter()&&U().createElement(y.Z,{siteAdminUrl:this.props.siteAdminUrl}),U().createElement(T.Z,{analytics:O.Z}))}}const X=(0,R.$j)((e=>({isOfflineMode:(0,D.Ex)(e),connectionStatus:(0,D.Zp)(e),siteConnectionStatus:(0,D.Gz)(e),isLinked:(0,D.BU)(e),isConnectingUser:(0,D.zq)(e),hasConnectedOwner:(0,D.it)(e),isConnectionOwner:(0,D.QM)(e),siteRawUrl:(0,F.JR)(e),siteAdminUrl:(0,F.wW)(e),searchTerm:(0,q.He)(e),apiRoot:(0,F.yB)(e),apiNonce:(0,F.VY)(e),registrationNonce:(0,F.H$)(e),tracksUserData:(0,F.hv)(e),areThereUnsavedSettings:(0,$.GD)(e),userCanManageModules:(0,F.pK)(e),userCanConnectSite:(0,F.Mc)(e),isSiteConnected:(0,D.q7)(e),isReconnectingSite:(0,D.O_)(e),rewindStatus:(0,H.of)(e),currentVersion:(0,F.w1)(e),showRecommendations:(0,F.mb)(e),pluginBaseUrl:(0,F.wB)(e),connectUrl:(0,D.AM)(e),connectingUserFeatureLabel:(0,D.xP)(e),isWoaSite:(0,F.Pw)(e),isWooCommerceActive:(0,F.nP)(e),hasSeenWCConnectionModal:(0,D.rH)(e),partnerCoupon:(0,F.DV)(e),currentRecommendationsStep:(0,F.rd)(e)})),(e=>({setInitialState:()=>e((0,F.KY)()),clearUnsavedSettingsFlag:()=>e((0,$._1)()),reconnectSite:()=>e((0,D.xK)()),setHasSeenWCConnectionModal:()=>e((0,D.qJ)()),resetConnectUser:()=>e((0,D.HD)()),updateLicensingActivationNoticeDismiss:()=>e((0,V.bT)()),updateUserLicensesCounts:()=>e((0,V.Ng)()),fetchSiteData:()=>e((0,J.tO)()),fetchSitePurchases:()=>e((0,J.Z_)()),fetchModules:()=>e((0,B.Z$)()),fetchSettings:()=>e((0,$.wv)())})))((0,m.withDispatch)((e=>({setConnectionStatus:t=>{e(l.t).setConnectionStatus(t)}})))((0,L.EN)(Y)));window.wpNavMenuClassChange=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{dashboard:1,settings:2},t=window.location.hash;jQuery(".current").each((function(e,t){jQuery(t).removeClass("current")}));const n=e=>jQuery("#toplevel_page_jetpack").find("li").filter((function(t){return t===e}))[0];t=t.split("?")[0].replace(/#/,""),G.includes(t)||W.includes(t)||A.w7.includes(t)?n(e.dashboard).classList.add("current"):K.includes(t)&&n(e.settings).classList.add("current");const s=jQuery("body");s.on("click",'a[href$="#/dashboard"], a[href$="#/settings"], .jp-dash-section-header__settings[href="#/security"], .dops-button[href="#/my-plan"], .dops-button[href="#/plans"], .jp-dash-section-header__external-link[href="#/security"]',(function(){window.scrollTo(0,0)})),s.on("click",".jetpack-js-stop-propagation",(function(e){e.stopPropagation()}))}},6257:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var s=n(3184),a=n(2819);function i(e){(0,a.assign)(e,s.EventEmitter.prototype),e.emitChange=function(){this.emit("change")},e.off=e.removeListener}},8106:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var s=n(9270),a=n(9196),i=n.n(a),r=n(9309),o=n(6300),c=n(3002),l=n(9308),p=n(2709),u=n(1863);const d=(0,r.$j)((e=>({activeFeatures:(0,c.$l)(e),activeProducts:(0,c.p)(e),availableFeatures:(0,c.ms)(e),getSiteConnectionStatus:()=>(0,o.Gz)(e),purchases:(0,c.qn)(e),sitePlan:(0,c.UL)(e)})))((function(e){let t=e.sitePlan.product_slug||"",n=e.availableFeatures,a=e.activeFeatures;return"offline"===e.getSiteConnectionStatus(e)&&(t="offline",n={},a={}),i().createElement(i().Fragment,null,i().createElement(s.Z,null),i().createElement(u.Z,{siteRawUrl:e.siteRawUrl}),i().createElement(p.Z,{activeProducts:e.activeProducts,plan:t,purchases:e.purchases,siteAdminUrl:e.siteAdminUrl}),i().createElement(l.Z,{activeFeatures:a,availableFeatures:n,plan:t,rewindStatus:e.rewindStatus,siteAdminUrl:e.siteAdminUrl,siteRawUrl:e.siteRawUrl}))}))},8669:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var s=n(800),a=n(4069),i=n(5162),r=n.n(i),o=n(9196),c=n.n(o),l=n(1459);const p=e=>{const{additionalEventProperties:t,productSlug:n,action:i,title:r,tagLine:p,trackingId:u}=e;(0,o.useEffect)((()=>{a.Z.tracks.recordEvent("jetpack_my_plan_banner_view",{type:u,...t})}),[t,u]);const d=(0,o.useCallback)((()=>{a.Z.tracks.recordJetpackClick({target:u,feature:"my-plan-banner",page:"my-plan",...t})}),[t,u]);return c().createElement("div",{className:"jp-my-plan-banner"},c().createElement("div",{className:"jp-my-plan-banner__card dops-card",style:{backgroundImage:`url(${s.hp}jetpack-banner-gradient.png)`}},c().createElement(l.Z,{productSlug:n,action:c().cloneElement(i,{onClick:d}),title:r,tagLine:p})))};p.propTypes={action:r().element.isRequired,productSlug:r().string.isRequired,trackingId:r().string.isRequired,additionalEventProperties:r().object,tagLine:r().oneOfType([r().string,r().node,r().element]),title:r().oneOfType([r().string,r().node,r().element])};const u=p},9308:(e,t,n)=>{"use strict";n.d(t,{Z:()=>j});var s=n(8294),a=n.n(s),i=n(800),r=n(6324),o=n(5736),c=n(7506),l=n(7679),p=n(4069),u=n(9584),d=n(2819),m=n(5162),h=n.n(m),g=n(9196),f=n.n(g),k=n(9309),v=n(9508),_=n(416),E=n(1952),y=n(1834),w=n(3002),b=n(1372);const __=o.__;class C extends f().Component{constructor(){super(...arguments),a()(this,"trackPlansClick",(e=>{p.Z.tracks.recordJetpackClick({page:"my-plan",target:e,plan:this.props.plan})})),a()(this,"handleButtonClickForTracking",(e=>()=>this.trackPlansClick(e))),a()(this,"activateAds",(()=>{this.props.activateModule("wordads"),this.trackPlansClick("activate_wordads")})),a()(this,"activatePublicize",(()=>{this.props.activateModule("publicize"),this.trackPlansClick("activate_publicize")})),a()(this,"activateVideoPress",(()=>{this.props.activateFeature("videopress"),this.trackPlansClick("activate_videopress")})),a()(this,"activateGoogleAnalytics",(()=>{this.props.activateModule("google-analytics"),this.trackPlansClick("activate_ga")}))}render(){let e="";const t="offline"!==this.props.plan?(0,u.sc)(this.props.plan):"offline",n=(0,d.includes)(["is-premium-plan","is-business-plan","is-security-t1-plan","is-security-t2-plan","is-complete-plan","is-daily-security-plan","is-realtime-security-plan"],t),s="active"===(0,d.get)(this.props.rewindStatus,["state"],!1),a=!this.props.showBackups||!s&&"unavailable"!==(0,d.get)(this.props.rewindStatus,["state"],!1),o=e=>{const{title:t,description:n}=e;return f().createElement("div",{className:"jp-landing__plan-features-card"},f().createElement("div",{className:"jp-landing__plan-features-img"},f().createElement("img",{src:i.hp+"/jetpack-backup.svg",className:"jp-landing__plan-features-icon",alt:__("A Jetpack Site securely backed up with Jetpack Backup","jetpack")})),f().createElement("div",{className:"jp-landing__plan-features-text"},f().createElement("h3",{className:"jp-landing__plan-features-title"},t),f().createElement("p",null,n),f().createElement(c.Z,{onClick:this.handleButtonClickForTracking("view_backup_dash"),href:(0,r.Z)("calypso-activity-log",{site:this.props.siteRawUrl})},__("View your backups","jetpack"))))},p=()=>{if(a)return;if(s)return f().createElement("div",{className:"jp-landing__plan-features-card"},f().createElement("div",{className:"jp-landing__plan-features-img"},f().createElement("img",{src:i.hp+"/jetpack-security.svg",className:"jp-landing__plan-features-icon",alt:__("A secure site, locked and protected by Jetpack","jetpack")})),f().createElement("div",{className:"jp-landing__plan-features-text"},f().createElement("h3",{className:"jp-landing__plan-features-title"},__("Site backups","jetpack")),f().createElement("p",null,__("Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.","jetpack")),f().createElement(c.Z,{onClick:this.handleButtonClickForTracking("view_security_dash_rewind"),href:(0,r.Z)("calypso-activity-log",{site:this.props.siteRawUrl})},__("View your security activity","jetpack"))));let e="";switch(t){case"is-personal-plan":e=__("Daily backup of all your site data with unlimited space and one-click restores","jetpack");break;case"is-premium-plan":e=__("Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support","jetpack");break;case"is-business-plan":e=__("Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support","jetpack");break;default:e=""}return f().createElement("div",{className:"jp-landing__plan-features-card"},f().createElement("div",{className:"jp-landing__plan-features-img"},f().createElement("img",{src:i.hp+"/jetpack-security.svg",className:"jp-landing__plan-features-icon",alt:__("A secure site, locked and protected by Jetpack","jetpack")})),f().createElement("div",{className:"jp-landing__plan-features-text"},f().createElement("h3",{className:"jp-landing__plan-features-title"},__("Site security","jetpack")),f().createElement("p",null,e+__(" (powered by VaultPress).","jetpack")),this.props.isPluginInstalled("vaultpress/vaultpress.php")&&this.props.isPluginActive("vaultpress/vaultpress.php")?f().createElement(c.Z,{onClick:this.handleButtonClickForTracking("view_security_dash"),href:(0,r.Z)("vaultpress-dashboard")},__("View your security dashboard","jetpack")):f().createElement(c.Z,{onClick:this.handleButtonClickForTracking("configure_vault"),href:(0,r.Z)("calypso-plugins-setup",{site:this.props.siteRawUrl,query:"only=vaultpress"})},__("View settings","jetpack"))))};let m;"is-daily-backup-plan"===t&&(m=o({title:__("Automated Daily Backups","jetpack"),description:__("We back up your website every day, so you never have to worry about your data again.","jetpack")})),["is-backup-t1-plan","is-backup-t2-plan","is-realtime-backup-plan"].includes(t)&&(m=o({title:__("Automated real-time backups","jetpack"),description:__("We back up your website with every change you make, making it easy to fix your mistakes.","jetpack")}));const h=()=>f().createElement("div",{className:"jp-landing__plan-features-card"},f().createElement("div",{className:"jp-landing__plan-features-img"},f().createElement("img",{src:i.hp+"/jetpack-search-icon.svg",className:"jp-landing__plan-features-icon",alt:__("A Jetpack Site with the power of Jetpack Search","jetpack")})),f().createElement("div",{className:"jp-landing__plan-features-text"},f().createElement("h3",{className:"jp-landing__plan-features-title"},__("Instant search and filtering","jetpack")),f().createElement("p",null,__("Relevant search results and filtering tightly integrated with your theme.","jetpack")),f().createElement(c.Z,{onClick:this.handleButtonClickForTracking("view_search_customizer"),href:this.props.siteAdminUrl+"admin.php?page=jetpack-search-configure"},__("Customize Search","jetpack"))));switch(t){case"is-personal-plan":case"is-premium-plan":case"is-security-t1-plan":case"is-security-t2-plan":case"is-business-plan":case"is-complete-plan":case"is-daily-security-plan":case"is-realtime-security-plan":e=f().createElement("div",{className:"jp-landing__plan-features"},"is-personal-plan"===t&&p(),"is-premium-plan"===t&&p(),"is-business-plan"===t&&p(),this.props.hasInstantSearch&&h(),f().createElement("div",{className:"jp-landing__plan-features-card"},f().createElement("div",{className:"jp-landing__plan-features-img"},f().createElement("img",{src:i.hp+"/jetpack-speed-icon.svg",className:"jp-landing__plan-features-icon",alt:__("A fast and performant website","jetpack")})),f().createElement("div",{className:"jp-landing__plan-features-text"},f().createElement("h3",{className:"jp-landing__plan-features-title"},__("Optimized performance","jetpack")),f().createElement("p",null,__("Load pages faster by serving your images from our global network of servers.","jetpack")),f().createElement(c.Z,{onClick:this.handleButtonClickForTracking("paid_performance"),href:this.props.siteAdminUrl+"admin.php?page=jetpack#/performance"},__("Make your site faster","jetpack")))),f().createElement("div",{className:"jp-landing__plan-features-card"},f().createElement("div",{className:"jp-landing__plan-features-img"},f().createElement("img",{src:i.hp+"/jetpack-spam.svg",className:"jp-landing__plan-features-icon",alt:__("A folder holding real comments","jetpack")})),f().createElement("div",{className:"jp-landing__plan-features-text"},f().createElement("h3",{className:"jp-landing__plan-features-title"},__("Anti-spam","jetpack")),f().createElement("p",null,__("Spam is automatically blocked from your comments.","jetpack")),this.props.isPluginInstalled("akismet/akismet.php")&&this.props.isPluginActive("akismet/akismet.php")?f().createElement(c.Z,{onClick:this.handleButtonClickForTracking("view_spam_stats"),href:this.props.siteAdminUrl+"admin.php?page=akismet-key-config"},__("View your spam stats","jetpack")):f().createElement(c.Z,{onClick:this.handleButtonClickForTracking("configure_akismet"),href:(0,r.Z)("calypso-plugins-setup",{site:this.props.siteRawUrl,query:"only=akismet"})},__("View settings","jetpack")))),n&&"inactive"!==this.props.getModuleOverride("videopress")&&f().createElement("div",{className:"jp-landing__plan-features-card"},f().createElement("div",{className:"jp-landing__plan-features-img"},f().createElement("img",{src:i.hp+"/jetpack-video-hosting.svg",className:"jp-landing__plan-features-icon",alt:__("A cloud with multiple types of content floating around it","jetpack")})),f().createElement("div",{className:"jp-landing__plan-features-text"},f().createElement("h3",{className:"jp-landing__plan-features-title"},__("VideoPress","jetpack")),f().createElement("p",null,__("High-speed, high-definition video hosting with no third-party ads.","jetpack")),this.props.getFeatureState("videopress")?f().createElement(c.Z,{onClick:this.handleButtonClickForTracking("upload_videos"),href:this.props.siteAdminUrl+"upload.php"},__("Upload videos","jetpack")):f().createElement(c.Z,{onClick:this.activateVideoPress,disabled:this.props.isActivatingFeature("videopress")},__("Activate VideoPress","jetpack")))),f().createElement("div",{className:"jp-landing__plan-features-card"},f().createElement("div",{className:"jp-landing__plan-features-img"},f().createElement("img",{src:i.hp+"/jetpack-site-activity.svg",className:"jp-landing__plan-features-icon",alt:__("Interface showing a chronological list of changes and updates in a site","jetpack")})),f().createElement("div",{className:"jp-landing__plan-features-text"},f().createElement("h3",{className:"jp-landing__plan-features-title"},__("Site activity","jetpack")),f().createElement("p",null,__("View a chronological list of all the changes and updates to your site in an organized, readable way.","jetpack")),f().createElement(c.Z,{onClick:this.handleButtonClickForTracking("view_site_activity"),href:(0,r.Z)("calypso-activity-log",{site:this.props.siteRawUrl})},__("View your site activity","jetpack")))),n&&"inactive"!==this.props.getModuleOverride("wordads")&&f().createElement("div",{className:"jp-landing__plan-features-card"},f().createElement("div",{className:"jp-landing__plan-features-img"},f().createElement("img",{src:i.hp+"/jetpack-wordads.svg",className:"jp-landing__plan-features-icon",alt:__("A chart showing an healthy increase in earnings","jetpack")})),f().createElement("div",{className:"jp-landing__plan-features-text"},f().createElement("h3",{className:"jp-landing__plan-features-title"},__("Monetize your site with ads","jetpack")),f().createElement("p",null,__("WordAds lets you earn money by displaying promotional content. Start earning today.","jetpack")),this.props.isModuleActivated("wordads")?f().createElement(c.Z,{onClick:this.handleButtonClickForTracking("view_earnings"),href:(0,r.Z)("wpcom-ads-earnings",{site:this.props.siteRawUrl})},__("View your earnings","jetpack")):f().createElement(c.Z,{onClick:this.activateAds,disabled:this.props.isActivatingModule("wordads")},__("Start earning","jetpack")))),n&&"inactive"!==this.props.getModuleOverride("google-analytics")&&f().createElement("div",{className:"jp-landing__plan-features-card"},f().createElement("div",{className:"jp-landing__plan-features-img"},f().createElement("img",{src:i.hp+"/jetpack-google-analytics.svg",className:"jp-landing__plan-features-icon",alt:__("Site stats showing an evolution in traffic and engagement","jetpack")})),f().createElement("div",{className:"jp-landing__plan-features-text"},f().createElement("h3",{className:"jp-landing__plan-features-title"},__("Google Analytics","jetpack")),f().createElement("p",null,__("Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.","jetpack")),this.props.isModuleActivated("google-analytics")?f().createElement(c.Z,{onClick:this.handleButtonClickForTracking("configure_ga"),href:(0,r.Z)("calypso-marketing-traffic",{site:this.props.siteRawUrl})},__("Configure Google Analytics","jetpack")):f().createElement(c.Z,{onClick:this.activateGoogleAnalytics,disabled:this.props.isActivatingModule("google-analytics")},__("Activate Google Analytics","jetpack")))),n&&"inactive"!==this.props.getModuleOverride("publicize")&&f().createElement("div",{className:"jp-landing__plan-features-card"},f().createElement("div",{className:"jp-landing__plan-features-img"},f().createElement("img",{src:i.hp+"/jetpack-marketing.svg",className:"jp-landing__plan-features-icon",alt:__("A secure site, locked and protected by Jetpack","jetpack")})),f().createElement("div",{className:"jp-landing__plan-features-text"},f().createElement("h3",{className:"jp-landing__plan-features-title"},__("Marketing automation","jetpack")),f().createElement("p",null,__("Schedule unlimited tweets, Facebook posts, and other social posts in advance.","jetpack")),this.props.isModuleActivated("publicize")?f().createElement(c.Z,{onClick:this.handleButtonClickForTracking("schedule_posts"),href:(0,r.Z)("calypso-edit-posts",{site:this.props.siteRawUrl})},__("Schedule posts","jetpack")):f().createElement(c.Z,{onClick:this.activatePublicize,disabled:this.props.isActivatingModule("publicize")},__("Activate Publicize","jetpack")))));break;case"is-free-plan":case"is-backup-t0-plan":case"is-backup-t1-plan":case"is-backup-t2-plan":case"is-search-plan":case"offline":case"is-daily-backup-plan":case"is-realtime-backup-plan":e=f().createElement("div",{className:"jp-landing__plan-features"},m,this.props.hasInstantSearch&&h(),f().createElement("div",{className:"jp-landing__plan-features-card"},f().createElement("div",{className:"jp-landing__plan-features-img"},f().createElement("img",{src:i.hp+"/jetpack-security.svg",className:"jp-landing__plan-features-icon",alt:__("A secure site, locked and protected by Jetpack","jetpack")})),f().createElement("div",{className:"jp-landing__plan-features-text"},f().createElement("h3",{className:"jp-landing__plan-features-title"},__("Always-on security","jetpack")),f().createElement("p",null,__("Prevent login attacks, and get instant notifications when there’s an issue with your site.","jetpack")),f().createElement(c.Z,{onClick:this.handleButtonClickForTracking("free_security"),href:(0,r.Z)("calypso-settings-security",{site:this.props.siteRawUrl})},__("Set up your site security","jetpack")))),f().createElement("div",{className:"jp-landing__plan-features-card"},f().createElement("div",{className:"jp-landing__plan-features-img"},f().createElement("img",{src:i.hp+"/jetpack-speed-icon.svg",className:"jp-landing__plan-features-icon",alt:__("A fast and performant website","jetpack")})),f().createElement("div",{className:"jp-landing__plan-features-text"},f().createElement("h3",{className:"jp-landing__plan-features-title"},__("Optimized performance","jetpack")),f().createElement("p",null,__("Load pages faster by serving your images from our global network of servers.","jetpack")),f().createElement(c.Z,{onClick:this.handleButtonClickForTracking("free_performance"),href:this.props.siteAdminUrl+"admin.php?page=jetpack#/performance"},__("Make your site faster","jetpack")))),f().createElement("div",{className:"jp-landing__plan-features-card"},f().createElement("div",{className:"jp-landing__plan-features-img"},f().createElement("img",{src:i.hp+"/jetpack-themes.svg",className:"jp-landing__plan-features-icon",alt:__("A wide variety of themes and tools to customize a site","jetpack")})),f().createElement("div",{className:"jp-landing__plan-features-text"},f().createElement("h3",{className:"jp-landing__plan-features-title"},__("Design the perfect website","jetpack")),f().createElement("p",null,__("Get access to professionally crafted themes offered on WordPress.com, and customize your site exactly how you like it.","jetpack")),f().createElement(c.Z,{onClick:this.handleButtonClickForTracking("free_themes"),href:(0,r.Z)("calypso-themes",{site:this.props.siteRawUrl})},__("Explore themes","jetpack")))),f().createElement("div",{className:"jp-landing__plan-features-card"},f().createElement("div",{className:"jp-landing__plan-features-img"},f().createElement("img",{src:i.hp+"/jetpack-performance-icon.svg",className:"jp-landing__plan-features-icon",alt:__("Site stats showing an evolution in traffic and engagement","jetpack")})),"inactive"!==this.props.getModuleOverride("publicize")&&f().createElement("div",{className:"jp-landing__plan-features-text"},f().createElement("h3",{className:"jp-landing__plan-features-title"},__("Increase traffic to your site","jetpack")),f().createElement("p",null,__("Reach a wider audience by automatically sharing your posts on social media.","jetpack")),this.props.isModuleActivated("publicize")?f().createElement(c.Z,{onClick:this.handleButtonClickForTracking("free_sharing"),href:(0,r.Z)("calypso-marketing-connections",{site:this.props.siteRawUrl})},__("Start sharing","jetpack")):f().createElement(c.Z,{onClick:this.activatePublicize,disabled:this.props.isActivatingModule("publicize")},__("Activate Publicize","jetpack")))),f().createElement("div",{className:"jp-landing__plan-features-card"},f().createElement("div",{className:"jp-landing__plan-features-img"},f().createElement("img",{src:i.hp+"/jetpack-site-activity.svg",className:"jp-landing__plan-features-icon",alt:__("Interface showing a chronological list of changes and updates in a site","jetpack")})),f().createElement("div",{className:"jp-landing__plan-features-text"},f().createElement("h3",{className:"jp-landing__plan-features-title"},__("Site activity","jetpack")),f().createElement("p",null,__("View a chronological list of all the changes and updates to your site in an organized, readable way.","jetpack")),f().createElement(c.Z,{onClick:this.handleButtonClickForTracking("view_site_activity"),href:(0,r.Z)("calypso-activity-log",{site:this.props.siteRawUrl})},__("View your site activity","jetpack")))),f().createElement("div",{className:"jp-landing__plan-features-card"},f().createElement("div",{className:"jp-landing__plan-features-img"},f().createElement("img",{src:i.hp+"/jetpack-support.svg",className:"jp-landing__plan-features-icon",alt:__("Chat bubbles representing getting in touch with support","jetpack")})),f().createElement("div",{className:"jp-landing__plan-features-text"},f().createElement("h3",{className:"jp-landing__plan-features-title"},__("Support documentation","jetpack")),f().createElement("p",null,__("Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.","jetpack")),f().createElement(c.Z,{onClick:this.handleButtonClickForTracking("free_support_documentation"),href:(0,r.Z)("jetpack-support")},__("Search support docs","jetpack")))));break;default:e=f().createElement("div",{className:"jp-landing__plan-features is-loading"},f().createElement("div",{className:"jp-landing__plan-features-card"},f().createElement("h3",{className:"jp-landing__plan-features-title is-placeholder"}," "),f().createElement("p",{className:"jp-landing__plan-features-text is-placeholder"}," ")),f().createElement("div",{className:"jp-landing__plan-features-card"},f().createElement("h3",{className:"jp-landing__plan-features-title is-placeholder"}," "),f().createElement("p",{className:"jp-landing__plan-features-text is-placeholder"}," ")),f().createElement("div",{className:"jp-landing__plan-features-card"},f().createElement("h3",{className:"jp-landing__plan-features-title is-placeholder"}," "),f().createElement("p",{className:"jp-landing__plan-features-text is-placeholder"}," ")))}return f().createElement("div",null,f().createElement(l.Z,null),e)}}a()(C,"propTypes",{plan:h().string}),a()(C,"defaultProps",{plan:""});const j=(0,k.$j)((e=>({hasInstantSearch:(0,w.P2)(e,"instant-search"),isFetchingPluginsData:(0,b.vz)(e),isPluginActive:t=>(0,b.TB)(e,t),isPluginInstalled:t=>(0,b.P8)(e,t),isModuleActivated:t=>(0,_.mp)(e,t),isActivatingModule:t=>(0,_.ZY)(e,t),getModuleOverride:t=>(0,_.Qy)(e,t),showBackups:(0,v.xR)(e),getFeatureState:t=>(0,y.$8)(e,t),isActivatingFeature:t=>(0,y.Cu)(e,t)})),(e=>({fetchPluginsData:()=>e((0,b.s4)()),activateModule:t=>e((0,_.d)(t)),activateFeature:t=>e((0,E.VP)({[t]:!0}))})))(C)},1459:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var s=n(5235),a=n.n(s),i=n(3234),r=n(5162),o=n.n(r),c=n(9196),l=n.n(c);const p=e=>{let{productSlug:t,action:n,isError:s,isPlaceholder:r,details:o,tagLine:c,title:p}=e;const u=a()("my-plan-card",{"is-placeholder":r,"has-action-only":n&&!o&&!r}),d=a()("my-plan-card__details",{"is-error":s});return l().createElement("div",{className:u},l().createElement("div",{className:"my-plan-card__primary"},l().createElement("div",{className:"my-plan-card__icon"},t&&l().createElement(i.Z,{plan:t,alt:p})),l().createElement("div",{className:"my-plan-card__header"},p&&l().createElement("h2",{className:"my-plan-card__title"},p),c&&l().createElement("p",{className:"my-plan-card__tag-line"},c))),(o||n||r)&&l().createElement("div",{className:"my-plan-card__secondary"},l().createElement("div",{className:d},r?null:o),l().createElement("div",{className:"my-plan-card__action"},r?null:n)))};p.propTypes={productSlug:o().string.isRequired,action:o().oneOfType([o().node,o().element]),isError:o().bool,isPlaceholder:o().bool,details:o().oneOfType([o().string,o().node,o().element]),tagLine:o().oneOfType([o().string,o().node,o().element]),title:o().oneOfType([o().string,o().node,o().element])};const u=p},2709:(e,t,n)=>{"use strict";n.d(t,{Z:()=>P});var s=n(2402),a=n.n(s),i=n(8294),r=n.n(i),o=n(6324),c=n(5609),l=n(9307),p=n(5736),u=n(5235),d=n.n(u),m=n(7506),h=n(5799),g=n(420),f=n(8833),k=n(7834),v=n(4069),_=n(9584),E=n(2819),y=n(5162),w=n.n(y),b=n(9196),C=n.n(b),j=n(9309),S=n(9508),N=n(9963),x=n(1459),T=n(7487);const __=p.__,_n=p._n,_x=p._x;class O extends C().Component{constructor(){var e;super(...arguments),e=this,r()(this,"renderLicensingActions",(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"header";const{hasDetachedUserLicenses:n,showRecommendations:s,siteAdminUrl:a,purchases:i}=e.props;if(!s)return null;const r=!!i?.length&&"header"===t;return C().createElement(h.Z,{compact:!0},C().createElement("div",{className:"jp-landing__licensing-actions"},"header"===t&&C().createElement("span",null,__("Got a license key? Activate it here.","jetpack")),C().createElement("div",{className:d()("jp-landing__licensing-actions-item",{"no-licenses":!n,"no-purchases":!r})},r&&C().createElement(c.ExternalLink,{className:"all-purchases__link",href:(0,o.Z)("calypso-purchases"),onClick:e.trackAllPurchasesClick},__("View all purchases","jetpack")),"header"===t?C().createElement(m.Z,{href:window.Initial_State?.useMyJetpackLicensingUI?a+"admin.php?page=my-jetpack#/add-license":a+"admin.php?page=jetpack#/license/activation",onClick:e.trackLicenseActivationClick,primary:!0},_x("Activate a Product","Navigation item.","jetpack")):C().createElement(m.Z,{href:a+"admin.php?page=jetpack#/recommendations",onClick:e.trackRecommendationsClick,primary:!0},_x("Recommendations","Navigation item.","jetpack")))))})),r()(this,"trackAllPurchasesClick",(()=>{v.Z.tracks.recordJetpackClick({target:"calypso_purchases_link",page:"my-plan"})})),r()(this,"trackLicenseActivationClick",(()=>{v.Z.tracks.recordJetpackClick({target:"licensing_activation_button",path:"licensing/activation",page:"my-plan"})})),r()(this,"trackRecommendationsClick",(()=>{v.Z.tracks.recordJetpackClick({target:"recommendations-button",page:"my-plan"})}))}getProductProps(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const{displayBackups:n,dateFormat:s,purchases:a}=this.props,i={productSlug:e};if(!e)return{...i,isPlaceholder:!0};const r=(0,E.find)(a,(t=>t.product_slug===e));let o,c;switch(r&&(o=C().createElement(f.Z,{key:"product-expiration",dateFormat:s,expiryDate:r.expiry_date,purchaseDate:r.subscribed_date,isRefundable:r.is_refundable}),c="1"===r.active?C().createElement(g.w,{key:"product-activated"}):null),(0,_.sc)(e)){case"is-free-plan":{let e=__("Worried about security? Get backups, automated security fixes and more: <a>Upgrade now</a>","jetpack");if(t.length){const n=t.some((e=>{let{product_slug:t}=e;return _.jT.includes(t)})),s=t.some((e=>{let{product_slug:t}=e;return _.Cb.includes(t)}));n&&s?e=__("Upgrade your site to access additional features, including spam protection and priority support: <a>Upgrade now</a>","jetpack"):n?e=__("Upgrade your site to access additional features, including spam protection, security scanning, and priority support: <a>Upgrade now</a>","jetpack"):s&&(e=__("Upgrade your site to access additional features, including spam protection, backups, and priority support: <a>Upgrade now</a>","jetpack"))}return{...i,tagLine:(0,l.createInterpolateElement)(e,{a:C().createElement(k.Z,{source:"my-plan-header-free-plan-text-link",target:"upgrade-now",feature:"my-plan-header-free-upgrade"})}),title:__("Jetpack Free","jetpack")}}case"is-personal-plan":return{...i,details:o,tagLine:n?__("Daily backups, spam filtering, and priority support.","jetpack"):__("Spam filtering and priority support.","jetpack",0),title:__("Jetpack Personal","jetpack")};case"is-premium-plan":return{...i,details:[c,o],tagLine:__("Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.","jetpack"),title:__("Jetpack Premium","jetpack")};case"is-business-plan":return{...i,details:[c,o],tagLine:__("Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.","jetpack"),title:__("Jetpack Professional","jetpack")};case"is-security-t1-plan":return{...i,details:[c,o],tagLine:(0,l.createInterpolateElement)((0,p.sprintf)(
|
87 |
/* translators: %1$d is the number of gigabytes of storage space the site has. */
|
88 |
_n("Enjoy the peace of mind of complete site protection. You have <strong>%1$dGB</strong> of storage space.","Enjoy the peace of mind of complete site protection. You have <strong>%1$dGB</strong> of storage space.",10,"jetpack"),10),{strong:C().createElement("strong",null)}),title:__("Jetpack Security","jetpack")};case"is-security-t2-plan":return{...i,details:[c,o],tagLine:(0,l.createInterpolateElement)((0,p.sprintf)(
|
89 |
/* translators: %1$d is the number of gigabytes of storage space the site has. */
|
83 |
/* translators: Placeholder is a version number. */
|
84 |
__("New in Jetpack %s","jetpack"),this.props.version)),p().createElement(r.Z,{svg:t,title:n,content:this.renderInnerContent(),dismiss:this.dismissNotice})}})},5182:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const s={i18n_default_locale_slug:"en",mc_analytics_enabled:!0,google_analytics_enabled:!1,google_analytics_key:null};const a=function(e){if(e in s)return s[e];throw new Error("config key `"+e+"` does not exist")}},800:(e,t,n)=>{"use strict";n.d(t,{Ez:()=>r,Fr:()=>i,hp:()=>a,zh:()=>o});var s=n(6324);const a=window.Initial_State.pluginBaseUrl+"/images/",i=(0,s.Z)("jetpack-contact-support"),r=(0,s.Z)("jetpack-contact-support-beta-group"),o="https://jetpack.com/support/backup/the-jetpack-backup-plugin/getting-started-with-the-jetpack-backup-plugin/#starting-your-first-backup"},3067:(e,t,n)=>{"use strict";n.d(t,{H:()=>E});var s=n(2402),a=n.n(s),i=n(8294),r=n.n(i),o=n(6324),c=n(5736),l=n(1674),p=n(1775),u=n(2353),d=n(5004),m=n(3806),h=n(8178),g=n(9032),f=n(5549),k=n(9196),v=n.n(k);const __=c.__;class _ extends v().Component{constructor(){super(...arguments),r()(this,"updateFormStateByMarkdown",(e=>this.props.getSettingCurrentValue("wpcom_publish_posts_with_markdown",e)?this.props.updateFormStateModuleOption(e,"wpcom_publish_comments_with_markdown"):this.props.updateFormStateModuleOption(e,"wpcom_publish_comments_with_markdown",!0))),r()(this,"handleMarkdownCommentsToggle",(()=>{this.props.updateFormStateModuleOption("markdown","wpcom_publish_comments_with_markdown")}))}render(){const e=this.props.isModuleFound("comments"),t=this.props.isModuleFound("gravatar-hovercards"),n=this.props.isModuleFound("markdown"),s=this.props.isModuleFound("comment-likes");if(!(e||t||n||s))return null;const{isUnavailableInOfflineMode:i,getOptionValue:r}=this.props,c=this.props.getModule("comments"),u=this.props.getOptionValue("comments"),k=this.props.isUnavailableInOfflineMode("comments"),_=this.props.getModule("gravatar-hovercards"),E=this.props.getModule("markdown"),y=i("comment-likes"),w=r("comment-likes");return v().createElement(m.Z,a()({},this.props,{header:__("Comments","jetpack"),module:"comments",saveDisabled:this.props.isSavingAnyOption(["highlander_comment_form_prompt","jetpack_comment_form_color_scheme"])}),e&&v().createElement(h.Z,{hasChild:!0,disableInOfflineMode:!0,module:c,support:{text:__("Replaces the standard WordPress comment form with a new comment system that includes social media login options.","jetpack"),link:(0,o.Z)("jetpack-support-comments")}},v().createElement(d.T,{slug:"comments",compact:!0,disabled:k,activated:this.props.getOptionValue("comments"),toggling:this.props.isSavingAnyOption("comments"),toggleModule:this.props.toggleModuleNow},v().createElement("span",{className:"jp-form-toggle-explanation"},c.description)),v().createElement(p.C_,null,v().createElement(p.lX,null,v().createElement("span",{className:"jp-form-label-wide"},__("Comment form introduction","jetpack")),v().createElement(f.Z,{name:"highlander_comment_form_prompt",value:this.props.getOptionValue("highlander_comment_form_prompt"),disabled:!u||k||this.props.isSavingAnyOption("highlander_comment_form_prompt"),onChange:this.props.onOptionChange})),v().createElement("span",{className:"jp-form-setting-explanation"},__("A few catchy words to motivate your visitors to comment.","jetpack")),v().createElement(p.lX,null,v().createElement("span",{className:"jp-form-label-wide"},__("Color scheme","jetpack")),v().createElement(p.ih,a()({name:"jetpack_comment_form_color_scheme",value:this.props.getOptionValue("jetpack_comment_form_color_scheme"),disabled:!u||k||this.props.isSavingAnyOption("jetpack_comment_form_color_scheme"),onChange:this.props.onOptionChange},this.props,{validValues:this.props.validValues("jetpack_comment_form_color_scheme","comments")}))))),(t||n||s)&&v().createElement(h.Z,null,t&&v().createElement("div",{className:"jp-toggle-set"},v().createElement(p.C_,null,v().createElement(d.T,{slug:"gravatar-hovercards",compact:!0,activated:this.props.getOptionValue("gravatar-hovercards"),toggling:this.props.isSavingAnyOption("gravatar-hovercards"),toggleModule:this.props.toggleModuleNow},v().createElement("span",{className:"jp-form-toggle-explanation"},_.description))),v().createElement(g.Z,{text:__("Show Gravatar hovercards alongside comments.","jetpack"),link:_.learn_more_button,privacyLink:_.learn_more_button+"#privacy"})),n&&v().createElement("div",{className:"jp-toggle-set"},v().createElement(p.C_,null,v().createElement(l.Z,{checked:!!this.props.getOptionValue("wpcom_publish_comments_with_markdown","markdown"),disabled:this.props.isSavingAnyOption(["markdown","wpcom_publish_comments_with_markdown"])||"inactive"===this.props.getModuleOverride("markdown"),toggling:this.props.isSavingAnyOption(["markdown","wpcom_publish_comments_with_markdown"]),onChange:this.handleMarkdownCommentsToggle},v().createElement("span",{className:"jp-form-toggle-explanation"},__("Enable Markdown use for comments.","jetpack")))),v().createElement(g.Z,{text:__("Allow readers to use markdown in comments.","jetpack"),link:E.learn_more_button,privacyLink:E.learn_more_button+"#privacy"})),s&&v().createElement("div",{className:"jp-toggle-set"},v().createElement(p.C_,null,v().createElement(d.T,{slug:"comment-likes",compact:!0,disabled:y,activated:w,toggling:this.props.isSavingAnyOption("comment-likes"),toggleModule:this.props.toggleModuleNow},v().createElement("span",{className:"jp-form-toggle-explanation"},__("Enable comment likes.","jetpack")))),v().createElement(g.Z,{text:__("Allow readers to like individual comments.","jetpack"),link:(0,o.Z)("jetpack-support-comment-likes"),privacyLink:(0,o.Z)("jetpack-support-comment-likes",{anchor:"privacy"})}))))}}const E=(0,u.u)(_)},399:(e,t,n)=>{"use strict";n.d(t,{Z:()=>E});var s=n(2402),a=n.n(s),i=n(8294),r=n.n(i),o=n(5736),c=n(5799),l=n(9270),p=n(9196),u=n.n(p),d=n(9309),m=n(6300),h=n(416),g=n(9292),f=n(3230),k=n(3067),v=n(125);const __=o.__;class _ extends u().Component{render(){const e={settings:this.props.settings,getModule:this.props.module,isOfflineMode:this.props.isOfflineMode,isUnavailableInOfflineMode:this.props.isUnavailableInOfflineMode},t=this.props.isModuleFound("comments"),n=this.props.isModuleFound("markdown"),s=this.props.isModuleFound("gravatar-hovercards"),i=this.props.isModuleFound("subscriptions"),r=this.props.isModuleFound("comment-likes");return(this.props.searchTerm||this.props.active)&&(t||i||n||s||r)?u().createElement("div",null,u().createElement(l.Z,null),u().createElement(c.Z,{title:this.props.searchTerm?__("Discussion","jetpack"):__("Manage advanced comment settings and grow your audience with email subscriptions.","jetpack"),className:"jp-settings-description"}),u().createElement(k.H,a()({},e,{isModuleFound:this.props.isModuleFound,getModuleOverride:this.props.getModuleOverride})),i&&u().createElement(v.Z,a()({},e,{isLinked:this.props.isLinked,connectUrl:this.props.connectUrl,siteRawUrl:this.props.siteRawUrl}))):null}}r()(_,"displayName","DiscussionSettings");const E=(0,d.$j)((e=>({module:t=>(0,h.rT)(e,t),settings:(0,f.Gw)(e),isOfflineMode:(0,m.Ex)(e),isUnavailableInOfflineMode:t=>(0,m.t_)(e,t),isModuleFound:t=>(0,g.CX)(e,t),connectUrl:(0,m.AM)(e),isLinked:(0,m.BU)(e),getModuleOverride:t=>(0,h.Qy)(e,t)})))(_)},125:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var s=n(2402),a=n.n(s),i=n(8294),r=n.n(i),o=n(6324),c=n(5736),l=n(5799),p=n(6164),u=n(1674),d=n(1775),m=n(2353),h=n(5004),g=n(3806),f=n(8178),k=n(4069),v=n(9196),_=n.n(v);const __=c.__;class E extends _().Component{constructor(e){super(e),r()(this,"getInitialState",(()=>({stb_enabled:this.props.getOptionValue("stb_enabled"),stc_enabled:this.props.getOptionValue("stc_enabled")}))),r()(this,"updateOptions",(e=>{this.setState({[e]:!this.state[e]},this.props.updateFormStateModuleOption("subscriptions",e))})),r()(this,"trackConfigureClick",(()=>{k.Z.tracks.recordJetpackClick("view-followers")})),r()(this,"handleSubscribeToBlogToggleChange",(()=>{this.updateOptions("stb_enabled")})),r()(this,"handleSubscribeToCommentToggleChange",(()=>{this.updateOptions("stc_enabled")})),this.state=this.getInitialState()}render(){const e=this.props.getModule("subscriptions"),t=this.props.getOptionValue("subscriptions"),n=this.props.isUnavailableInOfflineMode("subscriptions");return _().createElement(g.Z,a()({},this.props,{hideButton:!0,module:"subscriptions"}),_().createElement(f.Z,{hasChild:!0,disableInOfflineMode:!0,disableInSiteConnectionMode:!0,module:e,support:{text:__("Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.","jetpack"),link:(0,o.Z)("jetpack-support-subscriptions")}},_().createElement(h.T,{slug:"subscriptions",disabled:n,activated:t,toggling:this.props.isSavingAnyOption("subscriptions"),toggleModule:this.props.toggleModuleNow},_().createElement("span",{className:"jp-form-toggle-explanation"},e.description)),_().createElement(d.C_,null,_().createElement(u.Z,{checked:this.state.stb_enabled,disabled:!t||n||this.props.isSavingAnyOption(["subscriptions","stb_enabled"]),onChange:this.handleSubscribeToBlogToggleChange},_().createElement("span",{className:"jp-form-toggle-explanation"},__("Enable the “subscribe to site” option on your comment form","jetpack"))),_().createElement(u.Z,{checked:this.state.stc_enabled,disabled:!t||n||this.props.isSavingAnyOption(["subscriptions","stc_enabled"]),onChange:this.handleSubscribeToCommentToggleChange},_().createElement("span",{className:"jp-form-toggle-explanation"},__("Enable the “subscribe to comments” option on your comment form","jetpack"))))),(()=>!n&&t&&this.props.isLinked?_().createElement(l.Z,{compact:!0,className:"jp-settings-card__configure-link",onClick:this.trackConfigureClick,href:(0,o.Z)("calypso-people-email-followers",{site:this.props.siteRawUrl})},__("View your Email Followers","jetpack")):"")(),!this.props.isLinked&&!this.props.isOfflineMode&&_().createElement(p.Z,{feature:"subscriptions",featureLabel:__("Subscriptions","jetpack"),text:__("Connect to manage your subscriptions settings.","jetpack")}))}}const y=(0,m.u)(E)},1493:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const s=[9,32,37,38,39,40];let a=!1;const i=function(){document.addEventListener("keydown",(function(e){a||-1!==s.indexOf(e.keyCode)&&(a=!0,document.documentElement.classList.add("dops-accessible-focus"))})),document.addEventListener("mouseup",(function(){a&&(a=!1,document.documentElement.classList.remove("dops-accessible-focus"))}))}},4069:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var s=n(6975),a=n(5182);s.Z.setMcAnalyticsEnabled((0,a.Z)("mc_analytics_enabled")),s.Z.setGoogleAnalyticsEnabled((0,a.Z)("google_analytics_enabled"),(0,a.Z)("google_analytics_key"));const i=s.Z},9584:(e,t,n)=>{"use strict";n.d(t,{$K:()=>k,BD:()=>fe,Bi:()=>J,Cb:()=>pe,DM:()=>Ne,Dl:()=>ee,EC:()=>Ce,Et:()=>Z,G1:()=>xe,G6:()=>u,Ij:()=>D,JA:()=>o,JX:()=>I,LA:()=>O,N8:()=>ve,NJ:()=>y,N_:()=>he,O$:()=>be,OE:()=>d,Pu:()=>Se,Qm:()=>h,Ss:()=>Te,T5:()=>Ee,Us:()=>P,V3:()=>me,Vl:()=>Q,WS:()=>V,Wg:()=>r,XL:()=>T,Xz:()=>E,ZR:()=>S,_d:()=>v,aS:()=>L,ah:()=>X,ap:()=>w,b6:()=>R,bm:()=>ne,dW:()=>M,eM:()=>ge,f3:()=>c,hI:()=>N,ic:()=>K,j2:()=>i,jI:()=>te,jT:()=>ce,lj:()=>_,lv:()=>l,mg:()=>j,np:()=>G,o2:()=>Oe,p2:()=>b,p7:()=>a,pd:()=>f,ps:()=>ke,qb:()=>ye,r2:()=>_e,sT:()=>Y,sc:()=>Pe,sh:()=>H,sy:()=>m,tV:()=>x,th:()=>z,tl:()=>B,un:()=>F,ux:()=>A,uz:()=>W,vS:()=>q,v_:()=>$,w2:()=>U,wm:()=>g,xf:()=>p,yY:()=>C,yy:()=>je});var s=n(2819);const a="business-bundle",i="business-bundle-2y",r="business-bundle-monthly",o="ecommerce-bundle",c="ecommerce-bundle-2y",l="ecommerce-bundle-monthly",p="value_bundle",u="value_bundle-2y",d="value_bundle-monthly",m="personal-bundle",h="personal-bundle-2y",g="personal-bundle-monthly",f="starter-plan",k="pro-plan",v="free_plan",_="jetpack_free",E="jetpack_premium",y="jetpack_business",w="jetpack_personal",b="jetpack_premium_monthly",C="jetpack_business_monthly",j="jetpack_personal_monthly",S="jetpack_backup_t0_yearly",N="jetpack_backup_t0_monthly",x="jetpack_backup_t1_yearly",T="jetpack_backup_t1_monthly",O="jetpack_backup_t2_yearly",P="jetpack_backup_t2_monthly",M="jetpack_search",A="jetpack_search_monthly",Z="jetpack_security_t1_yearly",U="jetpack_security_t1_monthly",R="jetpack_security_t2_yearly",L="jetpack_security_t2_monthly",z="jetpack_complete",I="jetpack_complete_monthly",D="wpcom_search",F="wpcom_search_monthly",V="jetpack_scan",B="jetpack_scan_monthly",H="jetpack_anti_spam",q="jetpack_anti_spam_monthly",$="jetpack_videopress",J="jetpack_videopress_monthly",W="vip",G="jetpack_backup_daily",K="jetpack_backup_daily_monthly",Y="jetpack_backup_realtime",X="jetpack_backup_realtime_monthly",Q="jetpack_security_daily",ee="jetpack_security_daily_monthly",te="jetpack_security_realtime",ne="jetpack_security_realtime_monthly",se=[E,y,w,b,C,j],ae=[E,y,b,C],ie=[Z,U,R,L,Q,ee,te,ne],re=[E,y,w,b,C,j,Z,U,R,L,z,I,Q,ee,te,ne],oe=[Z,U,R,L,a,i,r,o,c,l,k,W,"wpcom-enterprise",Q,ee,te,ne],ce=[S,N,x,T,O,P,G,K,Y,X],le=[M,A,D,F],pe=[V,B],ue=[H,q],de=[$,J],me="spam-akismet-plus",he="site-backups-jetpack",ge="security-scanning-jetpack",fe="video-hosting-jetpack",ke="priority-support-jetpack",ve="wordads-jetpack",_e="google-analytics-jetpack",Ee="search-jetpack",ye="videopress-jetpack",we={[ke]:Z,[Ee]:M,[ge]:V,[he]:x,[me]:H,[fe]:Z,[ve]:Z,[_e]:Z,[me]:H,[ye]:$};function be(e){return(0,s.includes)(re,e)}function Ce(e){return ue.includes(e)}function je(e){return function(e){return(0,s.includes)(ce,e)}(e)||function(e){return(0,s.includes)(le,e)}(e)||function(e){return pe.includes(e)}(e)||Ce(e)||function(e){return de.includes(e)}(e)}function Se(e){return ie.includes(e)}function Ne(e){return oe.includes(e)}function xe(e){return se.includes(e)}function Te(e){return ae.includes(e)}function Oe(e){return we[e]}function Pe(e){switch(e){case _:case v:return"is-free-plan";case m:case h:case g:case f:case w:case j:return"is-personal-plan";case p:case u:case d:case E:case b:return"is-premium-plan";case a:case i:case r:case y:case C:case o:case c:case l:case k:return"is-business-plan";case Z:case U:return"is-security-t1-plan";case R:case L:return"is-security-t2-plan";case z:case I:case W:return"is-complete-plan";case S:case N:return"is-backup-t0-plan";case x:case T:return"is-backup-t1-plan";case O:case P:return"is-backup-t2-plan";case M:case A:case D:case F:return"is-search-plan";case V:case B:return"is-scan-plan";case H:case q:return"is-anti-spam-plan";case $:case J:return"is-videopress-plan";case Q:case ee:return"is-daily-security-plan";case te:case ne:return"is-realtime-security-plan";case G:case K:return"is-daily-backup-plan";case Y:case X:return"is-realtime-backup-plan";default:return""}}},3962:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var s=n(7211);const a=(e,t)=>{const n=new s.Z;let a;n.open(e,null,"toolbar=0,location=0,status=0,menubar=0,"+n.getScreenCenterSpecs(780,700)),n.once("close",(()=>{let e=null;a&&a.keyring_id&&(e=Number(a.keyring_id)),t(e)})),n.on("message",(e=>a=e))}},7733:(e,t,n)=>{"use strict";function s(){return"ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch}n.d(t,{_:()=>s})},1215:(e,t,n)=>{"use strict";n.d(t,{Z:()=>X});var s=n(8294),a=n.n(s),i=n(800),r=n(4743),o=n(6324),c=n(9312),l=n(428),p=n(3281),u=n(1862),d=n(5609),m=n(9818),h=n(9307),g=n(5736),f=n(6288),k=n(7301),v=n(7363),_=n(6102),E=n(8546),y=n(7516),w=n(208),b=n(6795),C=n(2977),j=n(4265),S=n(4241),N=n(6799),x=n(2685),T=n(7024),O=n(4069),P=n(8106),M=n(5150),A=n(4648),Z=n(9196),U=n.n(Z),R=n(9309),L=n(4498),z=n(2267),I=n(9517),D=n(6300),F=n(9508),V=n(9963),B=n(416),H=n(9377),q=n(9292),$=n(3230),J=n(3002);const __=g.__,W=["/recommendations","/recommendations/site-type","/recommendations/product-suggestions","/recommendations/product-purchased","/recommendations/woocommerce","/recommendations/monitor","/recommendations/related-posts","/recommendations/creative-mail","/recommendations/site-accelerator","/recommendations/publicize","/recommendations/security-plan","/recommendations/anti-spam","/recommendations/videopress","/recommendations/summary"],G=["/","/dashboard","/reconnect","/my-plan","/plans"],K=["/settings","/security","/performance","/writing","/sharing","/discussion","/traffic","/privacy"];class Y extends U().Component{constructor(e){super(e),a()(this,"handleRouterWillLeave",(()=>{const e=__("There are unsaved settings in this tab that will be lost if you leave it. Proceed?","jetpack");return!!confirm(e)&&(window.setTimeout(this.props.clearUnsavedSettingsFlag,10),!0)})),a()(this,"initializeAnalytics",(()=>{const e=this.props.tracksUserData;e&&O.Z.initialize(e.userid,e.username,{blog_id:e.blogid})})),a()(this,"renderMainContent",(e=>{if(this.shouldShowWooConnectionScreen()){const e=this.props.location.state?.previousPath,t=e&&"/woo-setup"!==e?`#${e}`:"#/dashboard";return U().createElement(_.Z,{apiNonce:this.props.apiNonce,registrationNonce:this.props.registrationNonce,apiRoot:this.props.apiRoot,title:__("Welcome to Jetpack! Security, Growth, & Performance tools for WordPress businesses","jetpack"),logo:U().createElement("img",{src:i.hp+"/jetpack-woocommerce-logo.svg",alt:__("Jetpack and WooCommerce","jetpack")}),buttonLabel:__("Set up Jetpack","jetpack"),redirectUri:"admin.php?page=jetpack",redirectTo:t,from:this.props.location.pathname,isSiteConnected:this.props.isSiteConnected,setHasSeenWCConnectionModal:this.props.setHasSeenWCConnectionModal},U().createElement("p",null,__("Jetpack is the perfect companion plugin for WooCommerce - made by WordPress experts to make your store faster, safer, and to help grow your business.","jetpack")))}if(this.props.partnerCoupon){const e=new URLSearchParams(window.location.search).get("showCouponRedemption");if(!this.props.isOfflineMode&&(!this.props.isSiteConnected||e))return U().createElement(u.es,{apiNonce:this.props.apiNonce,registrationNonce:this.props.registrationNonce,apiRoot:this.props.apiRoot,assetBaseUrl:this.props.pluginBaseUrl,connectionStatus:this.props.connectionStatus,partnerCoupon:this.props.partnerCoupon,siteRawUrl:this.props.siteRawUrl,tracksUserData:!!this.props.tracksUserData,analytics:O.Z})}if(this.isUserConnectScreen()&&(this.props.userCanManageModules||this.props.hasConnectedOwner))return U().createElement(c.Z,{apiNonce:this.props.apiNonce,registrationNonce:this.props.registrationNonce,apiRoot:this.props.apiRoot,images:["/images/connect-right-secondary.png"],assetBaseUrl:this.props.pluginBaseUrl,title:this.props.connectingUserFeatureLabel?(0,g.sprintf)(
|
85 |
/* translators: placeholder is a feature label (e.g. SEO, Notifications) */
|
86 |
+
__("Unlock %s and more amazing features","jetpack"),this.props.connectingUserFeatureLabel):__("Unlock all the amazing features of Jetpack by connecting now","jetpack"),buttonLabel:__("Connect your user account","jetpack"),redirectUri:"admin.php?page=jetpack"},U().createElement("ul",null,U().createElement("li",null,__("Receive instant downtime alerts","jetpack")),U().createElement("li",null,__("Automatically share your content on social media","jetpack")),U().createElement("li",null,__("Let your subscribers know when you post","jetpack")),U().createElement("li",null,__("Receive notifications about new likes and comments","jetpack")),U().createElement("li",null,__("Let visitors share your content on social media","jetpack")),U().createElement("li",null,(0,h.createInterpolateElement)(__("And more! <a>See all Jetpack features</a>","jetpack"),{a:U().createElement("a",{href:(0,o.Z)("jetpack-features"),target:"_blank",rel:"noreferrer"})}),U().createElement("a",{className:"jp-connection-screen-icon",href:(0,o.Z)("jetpack-features"),target:"_blank",rel:"noreferrer"},U().createElement(d.Dashicon,{icon:"external"})))));if(!this.props.userCanManageModules)return!!this.props.siteConnectionStatus&&U().createElement("div",{"aria-live":"assertive"},U().createElement(S.Z,this.props));if(this.isMainConnectScreen())return U().createElement(c.Z,{apiNonce:this.props.apiNonce,registrationNonce:this.props.registrationNonce,apiRoot:this.props.apiRoot,images:["/images/connect-right.jpg"],assetBaseUrl:this.props.pluginBaseUrl,autoTrigger:this.shouldAutoTriggerConnection(),redirectUri:"admin.php?page=jetpack"},U().createElement("p",null,__("Secure and speed up your site for free with Jetpack's powerful WordPress tools.","jetpack")),U().createElement("ul",null,U().createElement("li",null,__("Measure your impact with beautiful stats","jetpack")),U().createElement("li",null,__("Speed up your site with optimized images","jetpack")),U().createElement("li",null,__("Protect your site against bot attacks","jetpack")),U().createElement("li",null,__("Get notifications if your site goes offline","jetpack")),U().createElement("li",null,__("Enhance your site with dozens of other features","jetpack"))));const t=U().createElement(j.Z,{routeName:this.props.routeName,siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl});let n,s=U().createElement(C.Z,{routeName:this.props.routeName});switch(e){case"/dashboard":case"/reconnect":case"/disconnect":case"/connect-user":case"/woo-setup":case"/setup":n=U().createElement(f.Z,{siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl,rewindStatus:this.props.rewindStatus});break;case"/my-plan":n=U().createElement(P.Z,{siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl,rewindStatus:this.props.rewindStatus});break;case"/plans":case"/plans-prompt":window.location.href=(0,o.Z)("jetpack-plans",{site:this.props.siteRawUrl});break;case"/settings":case"/security":case"/performance":case"/writing":case"/sharing":case"/discussion":case"/traffic":case"/privacy":s=t,n=U().createElement(I.Z,{siteAdminUrl:this.props.siteAdminUrl,siteRawUrl:this.props.siteRawUrl,searchTerm:this.props.searchTerm,rewindStatus:this.props.rewindStatus,userCanManageModules:this.props.userCanManageModules});break;case"/license/activation":this.props.isLinked&&this.props.isConnectionOwner?(s=null,n=U().createElement(p.I,{siteRawUrl:this.props.siteRawUrl,onActivationSuccess:this.onLicenseActivationSuccess,siteAdminUrl:this.props.siteAdminUrl,currentRecommendationsStep:this.props.currentRecommendationsStep})):(this.props.history.replace("/dashboard"),n=this.getAtAGlance());break;case"/recommendations":case"/recommendations/site-type":case"/recommendations/product-suggestions":case"/recommendations/product-purchased":case"/recommendations/woocommerce":case"/recommendations/monitor":case"/recommendations/related-posts":case"/recommendations/creative-mail":case"/recommendations/site-accelerator":case"/recommendations/publicize":case"/recommendations/security-plan":case"/recommendations/anti-spam":case"/recommendations/videopress":case"/recommendations/summary":this.props.showRecommendations?n=U().createElement(z.V,null):(this.props.history.replace("/dashboard"),n=this.getAtAGlance());break;default:if(A.w7.includes(e)){n=U().createElement(M.Z,null);break}this.props.history.replace("/dashboard"),n=this.getAtAGlance()}return this.props.isWoaSite?window.wpNavMenuClassChange({dashboard:1,settings:1}):window.wpNavMenuClassChange(),U().createElement("div",{"aria-live":"assertive",className:""+(this.shouldBlurMainContent()?"blur":"")},s,n)})),this.closeReconnectModal=this.closeReconnectModal.bind(this),this.onLicenseActivationSuccess=this.onLicenseActivationSuccess.bind(this)}UNSAFE_componentWillMount(){this.props.setInitialState(),r.ZP.setApiRoot(this.props.apiRoot),r.ZP.setApiNonce(this.props.apiNonce),this.initializeAnalytics(),window.addEventListener("beforeunload",this.props.clearUnsavedSettingsFlag),this.props.isSiteConnected&&O.Z.tracks.recordEvent("jetpack_wpa_page_view",{path:this.props.location.pathname,current_version:this.props.currentVersion})}componentDidMount(){const e=jQuery(".jp-jetpack-connect__container"),t=jQuery(".jp-connect-full__container");e&&t.length>0&&t.prependTo(e),this.props.isWooCommerceActive&&!this.props.hasSeenWCConnectionModal&&this.props.userCanManageModules&&this.props.history.replace({pathname:"/woo-setup",state:{previousPath:this.props.location.pathname}})}shouldComponentUpdate(e){return!["/wpbody-content","/wp-toolbar"].includes(e.location.pathname)&&(JSON.stringify(e.connectionStatus)!==JSON.stringify(this.props.connectionStatus)||e.siteConnectionStatus!==this.props.siteConnectionStatus||e.isLinked!==this.props.isLinked||e.isConnectingUser!==this.props.isConnectingUser||e.location.pathname!==this.props.location.pathname||e.searchTerm!==this.props.searchTerm||e.rewindStatus!==this.props.rewindStatus||e.areThereUnsavedSettings!==this.props.areThereUnsavedSettings||e.isReconnectingSite!==this.props.isReconnectingSite)}componentDidUpdate(e){if(e.location.pathname!==this.props.location.pathname&&this.props.isSiteConnected&&O.Z.tracks.recordEvent("jetpack_wpa_page_view",{path:this.props.location.pathname,current_version:this.props.currentVersion}),e.siteConnectionStatus!==this.props.siteConnectionStatus){const e=jQuery("#toplevel_page_jetpack").find("ul.wp-submenu li");e.find('a[href$="#/settings"]').hide(),e.find('a[href$="admin.php?page=stats"]').hide(),e.find('a[href$="admin.php?page=jetpack-search"]').hide()}this.props.setConnectionStatus(this.props.connectionStatus)}getAtAGlance(){return U().createElement(f.Z,{siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl,rewindStatus:this.props.rewindStatus})}shouldShowAppsCard(){return this.props.isSiteConnected&&!this.shouldShowWooConnectionScreen()&&G.includes(this.props.location.pathname)}shouldShowSupportCard(){return this.props.isSiteConnected&&!this.shouldShowWooConnectionScreen()&&G.includes(this.props.location.pathname)}shouldShowRewindStatus(){return this.props.isSiteConnected&&G.includes(this.props.location.pathname)}shouldShowMasthead(){return[...G,...W,...K].includes(this.props.location.pathname)}shouldShowFooter(){return[...G,...K,...W,...A.w7].includes(this.props.location.pathname)}shouldBlurMainContent(){return this.props.isReconnectingSite}shouldShowReconnectModal(){return"/reconnect"===this.props.location.pathname}closeReconnectModal(){this.props.history.replace("/dashboard")}isMainConnectScreen(){return!1===this.props.siteConnectionStatus&&this.props.userCanConnectSite}isUserConnectScreen(){return"/connect-user"===this.props.location.pathname}shouldShowWooConnectionScreen(){return"/woo-setup"===this.props.location.pathname}shouldConnectUser(){return this.props.isConnectingUser}connectUser(){this.props.resetConnectUser(),this.props.history.replace("/connect-user")}isLicensingScreen(){return this.props.location.pathname.startsWith("/license")}shouldAutoTriggerConnection(){return this.props.location.pathname.startsWith("/setup")}onLicenseActivationSuccess(){this.props.updateUserLicensesCounts().then((()=>{this.props.updateLicensingActivationNoticeDismiss()})),this.props.fetchSiteData(),this.props.fetchSitePurchases(),this.props.fetchModules(),this.props.fetchSettings()}render(){const e=["jp-lower"];return this.isMainConnectScreen()&&e.push("jp-main-connect-screen"),this.isUserConnectScreen()&&e.push("jp-user-connect-screen"),this.isLicensingScreen()&&e.push("jp-licensing-screen"),U().createElement("div",null,this.shouldShowReconnectModal()&&U().createElement(N.Z,{show:!0,onHide:this.closeReconnectModal}),this.shouldShowMasthead()&&U().createElement(b.Z,{location:this.props.location}),U().createElement("div",{className:e.join(" ")},this.shouldShowRewindStatus()&&U().createElement(E.Z,null),U().createElement(k.Z,null),U().createElement(w.ZP,null),this.shouldConnectUser()&&this.connectUser(),U().createElement(L.NL,{when:this.props.areThereUnsavedSettings,message:this.handleRouterWillLeave}),this.renderMainContent(this.props.location.pathname),this.shouldShowSupportCard()&&U().createElement(x.Z,{path:this.props.location.pathname}),this.shouldShowAppsCard()&&U().createElement(v.Z,null)),this.shouldShowFooter()&&U().createElement(y.Z,{siteAdminUrl:this.props.siteAdminUrl}),U().createElement(T.Z,{analytics:O.Z}))}}const X=(0,R.$j)((e=>({isOfflineMode:(0,D.Ex)(e),connectionStatus:(0,D.Zp)(e),siteConnectionStatus:(0,D.Gz)(e),isLinked:(0,D.BU)(e),isConnectingUser:(0,D.zq)(e),hasConnectedOwner:(0,D.it)(e),isConnectionOwner:(0,D.QM)(e),siteRawUrl:(0,F.JR)(e),siteAdminUrl:(0,F.wW)(e),searchTerm:(0,q.He)(e),apiRoot:(0,F.yB)(e),apiNonce:(0,F.VY)(e),registrationNonce:(0,F.H$)(e),tracksUserData:(0,F.hv)(e),areThereUnsavedSettings:(0,$.GD)(e),userCanManageModules:(0,F.pK)(e),userCanConnectSite:(0,F.Mc)(e),isSiteConnected:(0,D.q7)(e),isReconnectingSite:(0,D.O_)(e),rewindStatus:(0,H.of)(e),currentVersion:(0,F.w1)(e),showRecommendations:(0,F.mb)(e),pluginBaseUrl:(0,F.wB)(e),connectUrl:(0,D.AM)(e),connectingUserFeatureLabel:(0,D.xP)(e),isWoaSite:(0,F.Pw)(e),isWooCommerceActive:(0,F.nP)(e),hasSeenWCConnectionModal:(0,D.rH)(e),partnerCoupon:(0,F.DV)(e),currentRecommendationsStep:(0,F.rd)(e)})),(e=>({setInitialState:()=>e((0,F.KY)()),clearUnsavedSettingsFlag:()=>e((0,$._1)()),reconnectSite:()=>e((0,D.xK)()),setHasSeenWCConnectionModal:()=>e((0,D.qJ)()),resetConnectUser:()=>e((0,D.HD)()),updateLicensingActivationNoticeDismiss:()=>e((0,V.bT)()),updateUserLicensesCounts:()=>e((0,V.Ng)()),fetchSiteData:()=>e((0,J.tO)()),fetchSitePurchases:()=>e((0,J.Z_)()),fetchModules:()=>e((0,B.Z$)()),fetchSettings:()=>e((0,$.wv)())})))((0,m.withDispatch)((e=>({setConnectionStatus:t=>{e(l.t).setConnectionStatus(t)}})))((0,L.EN)(Y)));window.wpNavMenuClassChange=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{dashboard:1,settings:2},t=window.location.hash;jQuery(".current").each((function(e,t){jQuery(t).removeClass("current")}));const n=e=>jQuery("#toplevel_page_jetpack").find("li").filter((function(t){return t===e}))[0];t=t.split("?")[0].replace(/#/,""),G.includes(t)||W.includes(t)||A.w7.includes(t)?n(e.dashboard).classList.add("current"):K.includes(t)&&n(e.settings).classList.add("current");const s=jQuery("body");s.on("click",'a[href$="#/dashboard"], a[href$="#/settings"], .jp-dash-section-header__settings[href="#/security"], .dops-button[href="#/my-plan"], .dops-button[href="#/plans"], .jp-dash-section-header__external-link[href="#/security"]',(function(){window.scrollTo(0,0)})),s.on("click",".jetpack-js-stop-propagation",(function(e){e.stopPropagation()}))}},6257:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var s=n(3184),a=n(2819);function i(e){(0,a.assign)(e,s.EventEmitter.prototype),e.emitChange=function(){this.emit("change")},e.off=e.removeListener}},8106:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var s=n(9270),a=n(9196),i=n.n(a),r=n(9309),o=n(6300),c=n(3002),l=n(9308),p=n(2709),u=n(1863);const d=(0,r.$j)((e=>({activeFeatures:(0,c.$l)(e),activeProducts:(0,c.p)(e),availableFeatures:(0,c.ms)(e),getSiteConnectionStatus:()=>(0,o.Gz)(e),purchases:(0,c.qn)(e),sitePlan:(0,c.UL)(e)})))((function(e){let t=e.sitePlan.product_slug||"",n=e.availableFeatures,a=e.activeFeatures;return"offline"===e.getSiteConnectionStatus(e)&&(t="offline",n={},a={}),i().createElement(i().Fragment,null,i().createElement(s.Z,null),i().createElement(u.Z,{siteRawUrl:e.siteRawUrl}),i().createElement(p.Z,{activeProducts:e.activeProducts,plan:t,purchases:e.purchases,siteAdminUrl:e.siteAdminUrl}),i().createElement(l.Z,{activeFeatures:a,availableFeatures:n,plan:t,rewindStatus:e.rewindStatus,siteAdminUrl:e.siteAdminUrl,siteRawUrl:e.siteRawUrl}))}))},8669:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var s=n(800),a=n(4069),i=n(5162),r=n.n(i),o=n(9196),c=n.n(o),l=n(1459);const p=e=>{const{additionalEventProperties:t,productSlug:n,action:i,title:r,tagLine:p,trackingId:u}=e;(0,o.useEffect)((()=>{a.Z.tracks.recordEvent("jetpack_my_plan_banner_view",{type:u,...t})}),[t,u]);const d=(0,o.useCallback)((()=>{a.Z.tracks.recordJetpackClick({target:u,feature:"my-plan-banner",page:"my-plan",...t})}),[t,u]);return c().createElement("div",{className:"jp-my-plan-banner"},c().createElement("div",{className:"jp-my-plan-banner__card dops-card",style:{backgroundImage:`url(${s.hp}jetpack-banner-gradient.png)`}},c().createElement(l.Z,{productSlug:n,action:c().cloneElement(i,{onClick:d}),title:r,tagLine:p})))};p.propTypes={action:r().element.isRequired,productSlug:r().string.isRequired,trackingId:r().string.isRequired,additionalEventProperties:r().object,tagLine:r().oneOfType([r().string,r().node,r().element]),title:r().oneOfType([r().string,r().node,r().element])};const u=p},9308:(e,t,n)=>{"use strict";n.d(t,{Z:()=>j});var s=n(8294),a=n.n(s),i=n(800),r=n(6324),o=n(5736),c=n(7506),l=n(7679),p=n(4069),u=n(9584),d=n(2819),m=n(5162),h=n.n(m),g=n(9196),f=n.n(g),k=n(9309),v=n(9508),_=n(416),E=n(1952),y=n(1834),w=n(3002),b=n(1372);const __=o.__;class C extends f().Component{constructor(){super(...arguments),a()(this,"trackPlansClick",(e=>{p.Z.tracks.recordJetpackClick({page:"my-plan",target:e,plan:this.props.plan})})),a()(this,"handleButtonClickForTracking",(e=>()=>this.trackPlansClick(e))),a()(this,"activateAds",(()=>{this.props.activateModule("wordads"),this.trackPlansClick("activate_wordads")})),a()(this,"activatePublicize",(()=>{this.props.activateModule("publicize"),this.trackPlansClick("activate_publicize")})),a()(this,"activateVideoPress",(()=>{this.props.activateFeature("videopress"),this.trackPlansClick("activate_videopress")})),a()(this,"activateGoogleAnalytics",(()=>{this.props.activateModule("google-analytics"),this.trackPlansClick("activate_ga")}))}render(){let e="";const t="offline"!==this.props.plan?(0,u.sc)(this.props.plan):"offline",n=(0,d.includes)(["is-premium-plan","is-business-plan","is-security-t1-plan","is-security-t2-plan","is-complete-plan","is-daily-security-plan","is-realtime-security-plan"],t),s="active"===(0,d.get)(this.props.rewindStatus,["state"],!1),a=!this.props.showBackups||!s&&"unavailable"!==(0,d.get)(this.props.rewindStatus,["state"],!1),o=e=>{const{title:t,description:n}=e;return f().createElement("div",{className:"jp-landing__plan-features-card"},f().createElement("div",{className:"jp-landing__plan-features-img"},f().createElement("img",{src:i.hp+"/jetpack-backup.svg",className:"jp-landing__plan-features-icon",alt:__("A Jetpack Site securely backed up with Jetpack Backup","jetpack")})),f().createElement("div",{className:"jp-landing__plan-features-text"},f().createElement("h3",{className:"jp-landing__plan-features-title"},t),f().createElement("p",null,n),f().createElement(c.Z,{onClick:this.handleButtonClickForTracking("view_backup_dash"),href:(0,r.Z)("calypso-activity-log",{site:this.props.siteRawUrl})},__("View your backups","jetpack"))))},p=()=>{if(a)return;if(s)return f().createElement("div",{className:"jp-landing__plan-features-card"},f().createElement("div",{className:"jp-landing__plan-features-img"},f().createElement("img",{src:i.hp+"/jetpack-security.svg",className:"jp-landing__plan-features-icon",alt:__("A secure site, locked and protected by Jetpack","jetpack")})),f().createElement("div",{className:"jp-landing__plan-features-text"},f().createElement("h3",{className:"jp-landing__plan-features-title"},__("Site backups","jetpack")),f().createElement("p",null,__("Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.","jetpack")),f().createElement(c.Z,{onClick:this.handleButtonClickForTracking("view_security_dash_rewind"),href:(0,r.Z)("calypso-activity-log",{site:this.props.siteRawUrl})},__("View your security activity","jetpack"))));let e="";switch(t){case"is-personal-plan":e=__("Daily backup of all your site data with unlimited space and one-click restores","jetpack");break;case"is-premium-plan":e=__("Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support","jetpack");break;case"is-business-plan":e=__("Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support","jetpack");break;default:e=""}return f().createElement("div",{className:"jp-landing__plan-features-card"},f().createElement("div",{className:"jp-landing__plan-features-img"},f().createElement("img",{src:i.hp+"/jetpack-security.svg",className:"jp-landing__plan-features-icon",alt:__("A secure site, locked and protected by Jetpack","jetpack")})),f().createElement("div",{className:"jp-landing__plan-features-text"},f().createElement("h3",{className:"jp-landing__plan-features-title"},__("Site security","jetpack")),f().createElement("p",null,e+__(" (powered by VaultPress).","jetpack")),this.props.isPluginInstalled("vaultpress/vaultpress.php")&&this.props.isPluginActive("vaultpress/vaultpress.php")?f().createElement(c.Z,{onClick:this.handleButtonClickForTracking("view_security_dash"),href:(0,r.Z)("vaultpress-dashboard")},__("View your security dashboard","jetpack")):f().createElement(c.Z,{onClick:this.handleButtonClickForTracking("configure_vault"),href:(0,r.Z)("calypso-plugins-setup",{site:this.props.siteRawUrl,query:"only=vaultpress"})},__("View settings","jetpack"))))};let m;"is-daily-backup-plan"===t&&(m=o({title:__("Automated Daily Backups","jetpack"),description:__("We back up your website every day, so you never have to worry about your data again.","jetpack")})),["is-backup-t1-plan","is-backup-t2-plan","is-realtime-backup-plan"].includes(t)&&(m=o({title:__("Automated real-time backups","jetpack"),description:__("We back up your website with every change you make, making it easy to fix your mistakes.","jetpack")}));const h=()=>f().createElement("div",{className:"jp-landing__plan-features-card"},f().createElement("div",{className:"jp-landing__plan-features-img"},f().createElement("img",{src:i.hp+"/jetpack-search-icon.svg",className:"jp-landing__plan-features-icon",alt:__("A Jetpack Site with the power of Jetpack Search","jetpack")})),f().createElement("div",{className:"jp-landing__plan-features-text"},f().createElement("h3",{className:"jp-landing__plan-features-title"},__("Instant search and filtering","jetpack")),f().createElement("p",null,__("Relevant search results and filtering tightly integrated with your theme.","jetpack")),f().createElement(c.Z,{onClick:this.handleButtonClickForTracking("view_search_customizer"),href:this.props.siteAdminUrl+"admin.php?page=jetpack-search-configure"},__("Customize Search","jetpack"))));switch(t){case"is-personal-plan":case"is-premium-plan":case"is-security-t1-plan":case"is-security-t2-plan":case"is-business-plan":case"is-complete-plan":case"is-daily-security-plan":case"is-realtime-security-plan":e=f().createElement("div",{className:"jp-landing__plan-features"},"is-personal-plan"===t&&p(),"is-premium-plan"===t&&p(),"is-business-plan"===t&&p(),this.props.hasInstantSearch&&h(),f().createElement("div",{className:"jp-landing__plan-features-card"},f().createElement("div",{className:"jp-landing__plan-features-img"},f().createElement("img",{src:i.hp+"/jetpack-speed-icon.svg",className:"jp-landing__plan-features-icon",alt:__("A fast and performant website","jetpack")})),f().createElement("div",{className:"jp-landing__plan-features-text"},f().createElement("h3",{className:"jp-landing__plan-features-title"},__("Optimized performance","jetpack")),f().createElement("p",null,__("Load pages faster by serving your images from our global network of servers.","jetpack")),f().createElement(c.Z,{onClick:this.handleButtonClickForTracking("paid_performance"),href:this.props.siteAdminUrl+"admin.php?page=jetpack#/performance"},__("Make your site faster","jetpack")))),f().createElement("div",{className:"jp-landing__plan-features-card"},f().createElement("div",{className:"jp-landing__plan-features-img"},f().createElement("img",{src:i.hp+"/jetpack-spam.svg",className:"jp-landing__plan-features-icon",alt:__("A folder holding real comments","jetpack")})),f().createElement("div",{className:"jp-landing__plan-features-text"},f().createElement("h3",{className:"jp-landing__plan-features-title"},__("Anti-spam","jetpack")),f().createElement("p",null,__("Spam is automatically blocked from your comments.","jetpack")),this.props.isPluginInstalled("akismet/akismet.php")&&this.props.isPluginActive("akismet/akismet.php")?f().createElement(c.Z,{onClick:this.handleButtonClickForTracking("view_spam_stats"),href:`${this.props.siteAdminUrl}admin.php?page=akismet-key-config&view=stats`},__("View your spam stats","jetpack")):f().createElement(c.Z,{onClick:this.handleButtonClickForTracking("configure_akismet"),href:(0,r.Z)("calypso-plugins-setup",{site:this.props.siteRawUrl,query:"only=akismet"})},__("View settings","jetpack")))),n&&"inactive"!==this.props.getModuleOverride("videopress")&&f().createElement("div",{className:"jp-landing__plan-features-card"},f().createElement("div",{className:"jp-landing__plan-features-img"},f().createElement("img",{src:i.hp+"/jetpack-video-hosting.svg",className:"jp-landing__plan-features-icon",alt:__("A cloud with multiple types of content floating around it","jetpack")})),f().createElement("div",{className:"jp-landing__plan-features-text"},f().createElement("h3",{className:"jp-landing__plan-features-title"},__("VideoPress","jetpack")),f().createElement("p",null,__("High-speed, high-definition video hosting with no third-party ads.","jetpack")),this.props.getFeatureState("videopress")?f().createElement(c.Z,{onClick:this.handleButtonClickForTracking("upload_videos"),href:this.props.siteAdminUrl+"upload.php"},__("Upload videos","jetpack")):f().createElement(c.Z,{onClick:this.activateVideoPress,disabled:this.props.isActivatingFeature("videopress")},__("Activate VideoPress","jetpack")))),f().createElement("div",{className:"jp-landing__plan-features-card"},f().createElement("div",{className:"jp-landing__plan-features-img"},f().createElement("img",{src:i.hp+"/jetpack-site-activity.svg",className:"jp-landing__plan-features-icon",alt:__("Interface showing a chronological list of changes and updates in a site","jetpack")})),f().createElement("div",{className:"jp-landing__plan-features-text"},f().createElement("h3",{className:"jp-landing__plan-features-title"},__("Site activity","jetpack")),f().createElement("p",null,__("View a chronological list of all the changes and updates to your site in an organized, readable way.","jetpack")),f().createElement(c.Z,{onClick:this.handleButtonClickForTracking("view_site_activity"),href:(0,r.Z)("calypso-activity-log",{site:this.props.siteRawUrl})},__("View your site activity","jetpack")))),n&&"inactive"!==this.props.getModuleOverride("wordads")&&f().createElement("div",{className:"jp-landing__plan-features-card"},f().createElement("div",{className:"jp-landing__plan-features-img"},f().createElement("img",{src:i.hp+"/jetpack-wordads.svg",className:"jp-landing__plan-features-icon",alt:__("A chart showing an healthy increase in earnings","jetpack")})),f().createElement("div",{className:"jp-landing__plan-features-text"},f().createElement("h3",{className:"jp-landing__plan-features-title"},__("Monetize your site with ads","jetpack")),f().createElement("p",null,__("WordAds lets you earn money by displaying promotional content. Start earning today.","jetpack")),this.props.isModuleActivated("wordads")?f().createElement(c.Z,{onClick:this.handleButtonClickForTracking("view_earnings"),href:(0,r.Z)("wpcom-ads-earnings",{site:this.props.siteRawUrl})},__("View your earnings","jetpack")):f().createElement(c.Z,{onClick:this.activateAds,disabled:this.props.isActivatingModule("wordads")},__("Start earning","jetpack")))),n&&"inactive"!==this.props.getModuleOverride("google-analytics")&&f().createElement("div",{className:"jp-landing__plan-features-card"},f().createElement("div",{className:"jp-landing__plan-features-img"},f().createElement("img",{src:i.hp+"/jetpack-google-analytics.svg",className:"jp-landing__plan-features-icon",alt:__("Site stats showing an evolution in traffic and engagement","jetpack")})),f().createElement("div",{className:"jp-landing__plan-features-text"},f().createElement("h3",{className:"jp-landing__plan-features-title"},__("Google Analytics","jetpack")),f().createElement("p",null,__("Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.","jetpack")),this.props.isModuleActivated("google-analytics")?f().createElement(c.Z,{onClick:this.handleButtonClickForTracking("configure_ga"),href:(0,r.Z)("calypso-marketing-traffic",{site:this.props.siteRawUrl})},__("Configure Google Analytics","jetpack")):f().createElement(c.Z,{onClick:this.activateGoogleAnalytics,disabled:this.props.isActivatingModule("google-analytics")},__("Activate Google Analytics","jetpack")))),n&&"inactive"!==this.props.getModuleOverride("publicize")&&f().createElement("div",{className:"jp-landing__plan-features-card"},f().createElement("div",{className:"jp-landing__plan-features-img"},f().createElement("img",{src:i.hp+"/jetpack-marketing.svg",className:"jp-landing__plan-features-icon",alt:__("A secure site, locked and protected by Jetpack","jetpack")})),f().createElement("div",{className:"jp-landing__plan-features-text"},f().createElement("h3",{className:"jp-landing__plan-features-title"},__("Marketing automation","jetpack")),f().createElement("p",null,__("Schedule unlimited tweets, Facebook posts, and other social posts in advance.","jetpack")),this.props.isModuleActivated("publicize")?f().createElement(c.Z,{onClick:this.handleButtonClickForTracking("schedule_posts"),href:(0,r.Z)("calypso-edit-posts",{site:this.props.siteRawUrl})},__("Schedule posts","jetpack")):f().createElement(c.Z,{onClick:this.activatePublicize,disabled:this.props.isActivatingModule("publicize")},__("Activate Publicize","jetpack")))));break;case"is-free-plan":case"is-backup-t0-plan":case"is-backup-t1-plan":case"is-backup-t2-plan":case"is-search-plan":case"offline":case"is-daily-backup-plan":case"is-realtime-backup-plan":e=f().createElement("div",{className:"jp-landing__plan-features"},m,this.props.hasInstantSearch&&h(),f().createElement("div",{className:"jp-landing__plan-features-card"},f().createElement("div",{className:"jp-landing__plan-features-img"},f().createElement("img",{src:i.hp+"/jetpack-security.svg",className:"jp-landing__plan-features-icon",alt:__("A secure site, locked and protected by Jetpack","jetpack")})),f().createElement("div",{className:"jp-landing__plan-features-text"},f().createElement("h3",{className:"jp-landing__plan-features-title"},__("Always-on security","jetpack")),f().createElement("p",null,__("Prevent login attacks, and get instant notifications when there’s an issue with your site.","jetpack")),f().createElement(c.Z,{onClick:this.handleButtonClickForTracking("free_security"),href:(0,r.Z)("calypso-settings-security",{site:this.props.siteRawUrl})},__("Set up your site security","jetpack")))),f().createElement("div",{className:"jp-landing__plan-features-card"},f().createElement("div",{className:"jp-landing__plan-features-img"},f().createElement("img",{src:i.hp+"/jetpack-speed-icon.svg",className:"jp-landing__plan-features-icon",alt:__("A fast and performant website","jetpack")})),f().createElement("div",{className:"jp-landing__plan-features-text"},f().createElement("h3",{className:"jp-landing__plan-features-title"},__("Optimized performance","jetpack")),f().createElement("p",null,__("Load pages faster by serving your images from our global network of servers.","jetpack")),f().createElement(c.Z,{onClick:this.handleButtonClickForTracking("free_performance"),href:this.props.siteAdminUrl+"admin.php?page=jetpack#/performance"},__("Make your site faster","jetpack")))),f().createElement("div",{className:"jp-landing__plan-features-card"},f().createElement("div",{className:"jp-landing__plan-features-img"},f().createElement("img",{src:i.hp+"/jetpack-themes.svg",className:"jp-landing__plan-features-icon",alt:__("A wide variety of themes and tools to customize a site","jetpack")})),f().createElement("div",{className:"jp-landing__plan-features-text"},f().createElement("h3",{className:"jp-landing__plan-features-title"},__("Design the perfect website","jetpack")),f().createElement("p",null,__("Get access to professionally crafted themes offered on WordPress.com, and customize your site exactly how you like it.","jetpack")),f().createElement(c.Z,{onClick:this.handleButtonClickForTracking("free_themes"),href:(0,r.Z)("calypso-themes",{site:this.props.siteRawUrl})},__("Explore themes","jetpack")))),f().createElement("div",{className:"jp-landing__plan-features-card"},f().createElement("div",{className:"jp-landing__plan-features-img"},f().createElement("img",{src:i.hp+"/jetpack-performance-icon.svg",className:"jp-landing__plan-features-icon",alt:__("Site stats showing an evolution in traffic and engagement","jetpack")})),"inactive"!==this.props.getModuleOverride("publicize")&&f().createElement("div",{className:"jp-landing__plan-features-text"},f().createElement("h3",{className:"jp-landing__plan-features-title"},__("Increase traffic to your site","jetpack")),f().createElement("p",null,__("Reach a wider audience by automatically sharing your posts on social media.","jetpack")),this.props.isModuleActivated("publicize")?f().createElement(c.Z,{onClick:this.handleButtonClickForTracking("free_sharing"),href:(0,r.Z)("calypso-marketing-connections",{site:this.props.siteRawUrl})},__("Start sharing","jetpack")):f().createElement(c.Z,{onClick:this.activatePublicize,disabled:this.props.isActivatingModule("publicize")},__("Activate Publicize","jetpack")))),f().createElement("div",{className:"jp-landing__plan-features-card"},f().createElement("div",{className:"jp-landing__plan-features-img"},f().createElement("img",{src:i.hp+"/jetpack-site-activity.svg",className:"jp-landing__plan-features-icon",alt:__("Interface showing a chronological list of changes and updates in a site","jetpack")})),f().createElement("div",{className:"jp-landing__plan-features-text"},f().createElement("h3",{className:"jp-landing__plan-features-title"},__("Site activity","jetpack")),f().createElement("p",null,__("View a chronological list of all the changes and updates to your site in an organized, readable way.","jetpack")),f().createElement(c.Z,{onClick:this.handleButtonClickForTracking("view_site_activity"),href:(0,r.Z)("calypso-activity-log",{site:this.props.siteRawUrl})},__("View your site activity","jetpack")))),f().createElement("div",{className:"jp-landing__plan-features-card"},f().createElement("div",{className:"jp-landing__plan-features-img"},f().createElement("img",{src:i.hp+"/jetpack-support.svg",className:"jp-landing__plan-features-icon",alt:__("Chat bubbles representing getting in touch with support","jetpack")})),f().createElement("div",{className:"jp-landing__plan-features-text"},f().createElement("h3",{className:"jp-landing__plan-features-title"},__("Support documentation","jetpack")),f().createElement("p",null,__("Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.","jetpack")),f().createElement(c.Z,{onClick:this.handleButtonClickForTracking("free_support_documentation"),href:(0,r.Z)("jetpack-support")},__("Search support docs","jetpack")))));break;default:e=f().createElement("div",{className:"jp-landing__plan-features is-loading"},f().createElement("div",{className:"jp-landing__plan-features-card"},f().createElement("h3",{className:"jp-landing__plan-features-title is-placeholder"}," "),f().createElement("p",{className:"jp-landing__plan-features-text is-placeholder"}," ")),f().createElement("div",{className:"jp-landing__plan-features-card"},f().createElement("h3",{className:"jp-landing__plan-features-title is-placeholder"}," "),f().createElement("p",{className:"jp-landing__plan-features-text is-placeholder"}," ")),f().createElement("div",{className:"jp-landing__plan-features-card"},f().createElement("h3",{className:"jp-landing__plan-features-title is-placeholder"}," "),f().createElement("p",{className:"jp-landing__plan-features-text is-placeholder"}," ")))}return f().createElement("div",null,f().createElement(l.Z,null),e)}}a()(C,"propTypes",{plan:h().string}),a()(C,"defaultProps",{plan:""});const j=(0,k.$j)((e=>({hasInstantSearch:(0,w.P2)(e,"instant-search"),isFetchingPluginsData:(0,b.vz)(e),isPluginActive:t=>(0,b.TB)(e,t),isPluginInstalled:t=>(0,b.P8)(e,t),isModuleActivated:t=>(0,_.mp)(e,t),isActivatingModule:t=>(0,_.ZY)(e,t),getModuleOverride:t=>(0,_.Qy)(e,t),showBackups:(0,v.xR)(e),getFeatureState:t=>(0,y.$8)(e,t),isActivatingFeature:t=>(0,y.Cu)(e,t)})),(e=>({fetchPluginsData:()=>e((0,b.s4)()),activateModule:t=>e((0,_.d)(t)),activateFeature:t=>e((0,E.VP)({[t]:!0}))})))(C)},1459:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var s=n(5235),a=n.n(s),i=n(3234),r=n(5162),o=n.n(r),c=n(9196),l=n.n(c);const p=e=>{let{productSlug:t,action:n,isError:s,isPlaceholder:r,details:o,tagLine:c,title:p}=e;const u=a()("my-plan-card",{"is-placeholder":r,"has-action-only":n&&!o&&!r}),d=a()("my-plan-card__details",{"is-error":s});return l().createElement("div",{className:u},l().createElement("div",{className:"my-plan-card__primary"},l().createElement("div",{className:"my-plan-card__icon"},t&&l().createElement(i.Z,{plan:t,alt:p})),l().createElement("div",{className:"my-plan-card__header"},p&&l().createElement("h2",{className:"my-plan-card__title"},p),c&&l().createElement("p",{className:"my-plan-card__tag-line"},c))),(o||n||r)&&l().createElement("div",{className:"my-plan-card__secondary"},l().createElement("div",{className:d},r?null:o),l().createElement("div",{className:"my-plan-card__action"},r?null:n)))};p.propTypes={productSlug:o().string.isRequired,action:o().oneOfType([o().node,o().element]),isError:o().bool,isPlaceholder:o().bool,details:o().oneOfType([o().string,o().node,o().element]),tagLine:o().oneOfType([o().string,o().node,o().element]),title:o().oneOfType([o().string,o().node,o().element])};const u=p},2709:(e,t,n)=>{"use strict";n.d(t,{Z:()=>P});var s=n(2402),a=n.n(s),i=n(8294),r=n.n(i),o=n(6324),c=n(5609),l=n(9307),p=n(5736),u=n(5235),d=n.n(u),m=n(7506),h=n(5799),g=n(420),f=n(8833),k=n(7834),v=n(4069),_=n(9584),E=n(2819),y=n(5162),w=n.n(y),b=n(9196),C=n.n(b),j=n(9309),S=n(9508),N=n(9963),x=n(1459),T=n(7487);const __=p.__,_n=p._n,_x=p._x;class O extends C().Component{constructor(){var e;super(...arguments),e=this,r()(this,"renderLicensingActions",(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"header";const{hasDetachedUserLicenses:n,showRecommendations:s,siteAdminUrl:a,purchases:i}=e.props;if(!s)return null;const r=!!i?.length&&"header"===t;return C().createElement(h.Z,{compact:!0},C().createElement("div",{className:"jp-landing__licensing-actions"},"header"===t&&C().createElement("span",null,__("Got a license key? Activate it here.","jetpack")),C().createElement("div",{className:d()("jp-landing__licensing-actions-item",{"no-licenses":!n,"no-purchases":!r})},r&&C().createElement(c.ExternalLink,{className:"all-purchases__link",href:(0,o.Z)("calypso-purchases"),onClick:e.trackAllPurchasesClick},__("View all purchases","jetpack")),"header"===t?C().createElement(m.Z,{href:window.Initial_State?.useMyJetpackLicensingUI?a+"admin.php?page=my-jetpack#/add-license":a+"admin.php?page=jetpack#/license/activation",onClick:e.trackLicenseActivationClick,primary:!0},_x("Activate a Product","Navigation item.","jetpack")):C().createElement(m.Z,{href:a+"admin.php?page=jetpack#/recommendations",onClick:e.trackRecommendationsClick,primary:!0},_x("Recommendations","Navigation item.","jetpack")))))})),r()(this,"trackAllPurchasesClick",(()=>{v.Z.tracks.recordJetpackClick({target:"calypso_purchases_link",page:"my-plan"})})),r()(this,"trackLicenseActivationClick",(()=>{v.Z.tracks.recordJetpackClick({target:"licensing_activation_button",path:"licensing/activation",page:"my-plan"})})),r()(this,"trackRecommendationsClick",(()=>{v.Z.tracks.recordJetpackClick({target:"recommendations-button",page:"my-plan"})}))}getProductProps(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const{displayBackups:n,dateFormat:s,purchases:a}=this.props,i={productSlug:e};if(!e)return{...i,isPlaceholder:!0};const r=(0,E.find)(a,(t=>t.product_slug===e));let o,c;switch(r&&(o=C().createElement(f.Z,{key:"product-expiration",dateFormat:s,expiryDate:r.expiry_date,purchaseDate:r.subscribed_date,isRefundable:r.is_refundable}),c="1"===r.active?C().createElement(g.w,{key:"product-activated"}):null),(0,_.sc)(e)){case"is-free-plan":{let e=__("Worried about security? Get backups, automated security fixes and more: <a>Upgrade now</a>","jetpack");if(t.length){const n=t.some((e=>{let{product_slug:t}=e;return _.jT.includes(t)})),s=t.some((e=>{let{product_slug:t}=e;return _.Cb.includes(t)}));n&&s?e=__("Upgrade your site to access additional features, including spam protection and priority support: <a>Upgrade now</a>","jetpack"):n?e=__("Upgrade your site to access additional features, including spam protection, security scanning, and priority support: <a>Upgrade now</a>","jetpack"):s&&(e=__("Upgrade your site to access additional features, including spam protection, backups, and priority support: <a>Upgrade now</a>","jetpack"))}return{...i,tagLine:(0,l.createInterpolateElement)(e,{a:C().createElement(k.Z,{source:"my-plan-header-free-plan-text-link",target:"upgrade-now",feature:"my-plan-header-free-upgrade"})}),title:__("Jetpack Free","jetpack")}}case"is-personal-plan":return{...i,details:o,tagLine:n?__("Daily backups, spam filtering, and priority support.","jetpack"):__("Spam filtering and priority support.","jetpack",0),title:__("Jetpack Personal","jetpack")};case"is-premium-plan":return{...i,details:[c,o],tagLine:__("Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.","jetpack"),title:__("Jetpack Premium","jetpack")};case"is-business-plan":return{...i,details:[c,o],tagLine:__("Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.","jetpack"),title:__("Jetpack Professional","jetpack")};case"is-security-t1-plan":return{...i,details:[c,o],tagLine:(0,l.createInterpolateElement)((0,p.sprintf)(
|
87 |
/* translators: %1$d is the number of gigabytes of storage space the site has. */
|
88 |
_n("Enjoy the peace of mind of complete site protection. You have <strong>%1$dGB</strong> of storage space.","Enjoy the peace of mind of complete site protection. You have <strong>%1$dGB</strong> of storage space.",10,"jetpack"),10),{strong:C().createElement("strong",null)}),title:__("Jetpack Security","jetpack")};case"is-security-t2-plan":return{...i,details:[c,o],tagLine:(0,l.createInterpolateElement)((0,p.sprintf)(
|
89 |
/* translators: %1$d is the number of gigabytes of storage space the site has. */
|
composer.json
CHANGED
@@ -89,7 +89,7 @@
|
|
89 |
"platform": {
|
90 |
"ext-intl": "0.0.0"
|
91 |
},
|
92 |
-
"autoloader-suffix": "f11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ
|
93 |
"allow-plugins": {
|
94 |
"automattic/jetpack-autoloader": true,
|
95 |
"automattic/jetpack-composer-plugin": true
|
89 |
"platform": {
|
90 |
"ext-intl": "0.0.0"
|
91 |
},
|
92 |
+
"autoloader-suffix": "f11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_1",
|
93 |
"allow-plugins": {
|
94 |
"automattic/jetpack-autoloader": true,
|
95 |
"automattic/jetpack-composer-plugin": true
|
jetpack.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin URI: https://jetpack.com
|
5 |
* Description: Security, performance, and marketing tools made by WordPress experts. Jetpack keeps your site protected so you can focus on more important things.
|
6 |
* Author: Automattic
|
7 |
-
* Version: 11.1
|
8 |
* Author URI: https://jetpack.com
|
9 |
* License: GPL2+
|
10 |
* Text Domain: jetpack
|
@@ -32,7 +32,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
32 |
|
33 |
define( 'JETPACK__MINIMUM_WP_VERSION', '5.9' );
|
34 |
define( 'JETPACK__MINIMUM_PHP_VERSION', '5.6' );
|
35 |
-
define( 'JETPACK__VERSION', '11.1
|
36 |
|
37 |
/**
|
38 |
* Constant used to fetch the connection owner token
|
4 |
* Plugin URI: https://jetpack.com
|
5 |
* Description: Security, performance, and marketing tools made by WordPress experts. Jetpack keeps your site protected so you can focus on more important things.
|
6 |
* Author: Automattic
|
7 |
+
* Version: 11.1
|
8 |
* Author URI: https://jetpack.com
|
9 |
* License: GPL2+
|
10 |
* Text Domain: jetpack
|
32 |
|
33 |
define( 'JETPACK__MINIMUM_WP_VERSION', '5.9' );
|
34 |
define( 'JETPACK__MINIMUM_PHP_VERSION', '5.6' );
|
35 |
+
define( 'JETPACK__VERSION', '11.1' );
|
36 |
|
37 |
/**
|
38 |
* Constant used to fetch the connection owner token
|
jetpack_vendor/i18n-map.php
CHANGED
@@ -8,14 +8,14 @@ return array(
|
|
8 |
'path' => 'jetpack_vendor/automattic/jetpack-admin-ui',
|
9 |
'ver' => '0.2.9',
|
10 |
),
|
11 |
-
'jetpack-connection' => array(
|
12 |
-
'path' => 'jetpack_vendor/automattic/jetpack-connection',
|
13 |
-
'ver' => '1.41.3',
|
14 |
-
),
|
15 |
'jetpack-password-checker' => array(
|
16 |
'path' => 'jetpack_vendor/automattic/jetpack-password-checker',
|
17 |
'ver' => '0.2.5',
|
18 |
),
|
|
|
|
|
|
|
|
|
19 |
'jetpack-assets' => array(
|
20 |
'path' => 'jetpack_vendor/automattic/jetpack-assets',
|
21 |
'ver' => '1.17.17',
|
@@ -24,6 +24,10 @@ return array(
|
|
24 |
'path' => 'jetpack_vendor/automattic/jetpack-identity-crisis',
|
25 |
'ver' => '0.8.15',
|
26 |
),
|
|
|
|
|
|
|
|
|
27 |
'jetpack-plugins-installer' => array(
|
28 |
'path' => 'jetpack_vendor/automattic/jetpack-plugins-installer',
|
29 |
'ver' => '0.1.3',
|
@@ -32,6 +36,10 @@ return array(
|
|
32 |
'path' => 'jetpack_vendor/automattic/jetpack-licensing',
|
33 |
'ver' => '1.7.4',
|
34 |
),
|
|
|
|
|
|
|
|
|
35 |
'jetpack-connection-ui' => array(
|
36 |
'path' => 'jetpack_vendor/automattic/jetpack-connection-ui',
|
37 |
'ver' => '2.4.8',
|
@@ -40,14 +48,6 @@ return array(
|
|
40 |
'path' => 'jetpack_vendor/automattic/jetpack-config',
|
41 |
'ver' => '1.9.1',
|
42 |
),
|
43 |
-
'jetpack-sync' => array(
|
44 |
-
'path' => 'jetpack_vendor/automattic/jetpack-sync',
|
45 |
-
'ver' => '1.36.0',
|
46 |
-
),
|
47 |
-
'jetpack-my-jetpack' => array(
|
48 |
-
'path' => 'jetpack_vendor/automattic/jetpack-my-jetpack',
|
49 |
-
'ver' => '1.7.1',
|
50 |
-
),
|
51 |
'jetpack-backup-pkg' => array(
|
52 |
'path' => 'jetpack_vendor/automattic/jetpack-backup',
|
53 |
'ver' => '1.4.1',
|
8 |
'path' => 'jetpack_vendor/automattic/jetpack-admin-ui',
|
9 |
'ver' => '0.2.9',
|
10 |
),
|
|
|
|
|
|
|
|
|
11 |
'jetpack-password-checker' => array(
|
12 |
'path' => 'jetpack_vendor/automattic/jetpack-password-checker',
|
13 |
'ver' => '0.2.5',
|
14 |
),
|
15 |
+
'jetpack-connection' => array(
|
16 |
+
'path' => 'jetpack_vendor/automattic/jetpack-connection',
|
17 |
+
'ver' => '1.41.3',
|
18 |
+
),
|
19 |
'jetpack-assets' => array(
|
20 |
'path' => 'jetpack_vendor/automattic/jetpack-assets',
|
21 |
'ver' => '1.17.17',
|
24 |
'path' => 'jetpack_vendor/automattic/jetpack-identity-crisis',
|
25 |
'ver' => '0.8.15',
|
26 |
),
|
27 |
+
'jetpack-sync' => array(
|
28 |
+
'path' => 'jetpack_vendor/automattic/jetpack-sync',
|
29 |
+
'ver' => '1.36.0',
|
30 |
+
),
|
31 |
'jetpack-plugins-installer' => array(
|
32 |
'path' => 'jetpack_vendor/automattic/jetpack-plugins-installer',
|
33 |
'ver' => '0.1.3',
|
36 |
'path' => 'jetpack_vendor/automattic/jetpack-licensing',
|
37 |
'ver' => '1.7.4',
|
38 |
),
|
39 |
+
'jetpack-my-jetpack' => array(
|
40 |
+
'path' => 'jetpack_vendor/automattic/jetpack-my-jetpack',
|
41 |
+
'ver' => '1.7.1',
|
42 |
+
),
|
43 |
'jetpack-connection-ui' => array(
|
44 |
'path' => 'jetpack_vendor/automattic/jetpack-connection-ui',
|
45 |
'ver' => '2.4.8',
|
48 |
'path' => 'jetpack_vendor/automattic/jetpack-config',
|
49 |
'ver' => '1.9.1',
|
50 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
'jetpack-backup-pkg' => array(
|
52 |
'path' => 'jetpack_vendor/automattic/jetpack-backup',
|
53 |
'ver' => '1.4.1',
|
modules/contact-form/grunion-contact-form.php
CHANGED
@@ -4294,7 +4294,7 @@ class Grunion_Contact_Form_Field extends Crunion_Contact_Form_Shortcode {
|
|
4294 |
$field = $this->render_label( '', $id, $label, $required, $required_field_text );
|
4295 |
foreach ( (array) $this->get_attribute( 'options' ) as $option_index => $option ) {
|
4296 |
$option = Grunion_Contact_Form_Plugin::strip_tags( $option );
|
4297 |
-
if ( $option ) {
|
4298 |
$field .= "\t\t<label class='grunion-radio-label radio" . ( $this->is_error() ? ' form-error' : '' ) . "'>";
|
4299 |
$field .= "<input
|
4300 |
type='radio'
|
@@ -4312,7 +4312,7 @@ class Grunion_Contact_Form_Field extends Crunion_Contact_Form_Shortcode {
|
|
4312 |
}
|
4313 |
|
4314 |
/**
|
4315 |
-
* Return the HTML for the
|
4316 |
*
|
4317 |
* @param int $id - the ID.
|
4318 |
* @param string $label - the label.
|
@@ -4371,7 +4371,7 @@ class Grunion_Contact_Form_Field extends Crunion_Contact_Form_Shortcode {
|
|
4371 |
$field = $this->render_label( '', $id, $label, $required, $required_field_text );
|
4372 |
foreach ( (array) $this->get_attribute( 'options' ) as $option_index => $option ) {
|
4373 |
$option = Grunion_Contact_Form_Plugin::strip_tags( $option );
|
4374 |
-
if ( $option ) {
|
4375 |
$field .= "\t\t<label class='grunion-checkbox-multiple-label checkbox-multiple" . ( $this->is_error() ? ' form-error' : '' ) . "'>";
|
4376 |
$field .= "<input type='checkbox' name='" . esc_attr( $id ) . "[]' value='" . esc_attr( $this->get_option_value( $this->get_attribute( 'values' ), $option_index, $option ) ) . "' " . $class . checked( in_array( $option, (array) $value, true ), true, false ) . ' /> ';
|
4377 |
$field .= esc_html( $option ) . "</label>\n";
|
@@ -4399,7 +4399,7 @@ class Grunion_Contact_Form_Field extends Crunion_Contact_Form_Shortcode {
|
|
4399 |
$field .= "\t<select name='" . esc_attr( $id ) . "' id='" . esc_attr( $id ) . "' " . $class . ( $required ? "required aria-required='true'" : '' ) . ">\n";
|
4400 |
foreach ( (array) $this->get_attribute( 'options' ) as $option_index => $option ) {
|
4401 |
$option = Grunion_Contact_Form_Plugin::strip_tags( $option );
|
4402 |
-
if ( $option ) {
|
4403 |
$field .= "\t\t<option"
|
4404 |
. selected( $option, $value, false )
|
4405 |
. " value='" . esc_attr( $this->get_option_value( $this->get_attribute( 'values' ), $option_index, $option ) )
|
4294 |
$field = $this->render_label( '', $id, $label, $required, $required_field_text );
|
4295 |
foreach ( (array) $this->get_attribute( 'options' ) as $option_index => $option ) {
|
4296 |
$option = Grunion_Contact_Form_Plugin::strip_tags( $option );
|
4297 |
+
if ( is_string( $option ) && $option !== '' ) {
|
4298 |
$field .= "\t\t<label class='grunion-radio-label radio" . ( $this->is_error() ? ' form-error' : '' ) . "'>";
|
4299 |
$field .= "<input
|
4300 |
type='radio'
|
4312 |
}
|
4313 |
|
4314 |
/**
|
4315 |
+
* Return the HTML for the checkbox field.
|
4316 |
*
|
4317 |
* @param int $id - the ID.
|
4318 |
* @param string $label - the label.
|
4371 |
$field = $this->render_label( '', $id, $label, $required, $required_field_text );
|
4372 |
foreach ( (array) $this->get_attribute( 'options' ) as $option_index => $option ) {
|
4373 |
$option = Grunion_Contact_Form_Plugin::strip_tags( $option );
|
4374 |
+
if ( is_string( $option ) && $option !== '' ) {
|
4375 |
$field .= "\t\t<label class='grunion-checkbox-multiple-label checkbox-multiple" . ( $this->is_error() ? ' form-error' : '' ) . "'>";
|
4376 |
$field .= "<input type='checkbox' name='" . esc_attr( $id ) . "[]' value='" . esc_attr( $this->get_option_value( $this->get_attribute( 'values' ), $option_index, $option ) ) . "' " . $class . checked( in_array( $option, (array) $value, true ), true, false ) . ' /> ';
|
4377 |
$field .= esc_html( $option ) . "</label>\n";
|
4399 |
$field .= "\t<select name='" . esc_attr( $id ) . "' id='" . esc_attr( $id ) . "' " . $class . ( $required ? "required aria-required='true'" : '' ) . ">\n";
|
4400 |
foreach ( (array) $this->get_attribute( 'options' ) as $option_index => $option ) {
|
4401 |
$option = Grunion_Contact_Form_Plugin::strip_tags( $option );
|
4402 |
+
if ( is_string( $option ) && $option !== '' ) {
|
4403 |
$field .= "\t\t<option"
|
4404 |
. selected( $option, $value, false )
|
4405 |
. " value='" . esc_attr( $this->get_option_value( $this->get_attribute( 'values' ), $option_index, $option ) )
|
readme.txt
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
=== Jetpack - WP Security, Backup, Speed, & Growth ===
|
2 |
Contributors: automattic, adamkheckler, adrianmoldovanwp, aduth, akirk, allendav, alternatekev, andy, annamcphee, annezazu, apeatling, arcangelini, azaozz, batmoo, barry, beaulebens, biskobe, blobaugh, bjorsch, brbrr, cainm, cena, cfinke, chaselivingston, chellycat, clickysteve, csonnek, danielbachhuber, davoraltman, daniloercoli, delawski, designsimply, dllh, drawmyface, dsmart, dzver, ebinnion, egregor, eliorivero, enej, eoigal, erania-pinnera, ethitter, fgiannar, gcorne, georgestephanis, gibrown, goldsounds, hew, hugobaeta, hypertextranch, iammattthomas, iandunn, jblz, jasmussen, jeffgolenski, jeherve, jenhooks, jenia, jessefriedman, jgs, jkudish, jmdodd, joanrho, johnjamesjacoby, jshreve, kbrownkd, keoshi, koke, kraftbj, lancewillett, leogermani, lschuyler, macmanx, martinremy, matt, matveb, mattwiebe, maverick3x6, mcsf, mdawaffe, mdbitz, MichaelArestad, migueluy, mikeyarce, mkaz, nancythanki, nickmomrik, obenland, oskosk, pento, professor44, rachelsquirrel, rdcoll, ryancowles, richardmuscat, richardmtl, robertbpugh, roccotripaldi, samhotchkiss, samiff, scarstocea, scottsweb, sdixon194, sdquirk, sermitr, simison, stephdau, tmoorewp, tyxla, Viper007Bond, westi, yoavf, zinigor
|
3 |
Tags: Security, backup, Woo, malware, scan, spam, CDN, search, social
|
4 |
-
Stable tag: 11.
|
5 |
Requires at least: 5.9
|
6 |
Requires PHP: 5.6
|
7 |
Tested up to: 6.0
|
@@ -242,21 +242,39 @@ Jetpack Backup can do a full website migration to a new host, migrate theme file
|
|
242 |
4. Promote your newest posts, pages, and products across your social media channels.
|
243 |
|
244 |
== Changelog ==
|
245 |
-
### 11.1
|
246 |
#### Enhancements
|
247 |
- Dashboard: add "Getting started with Jetpack Backup" video to Assistant and "At a glance" dashboard.
|
248 |
-
-
|
|
|
|
|
249 |
|
250 |
#### Improved compatibility
|
|
|
251 |
- Connection: update connection banner to use updated Emerald styling.
|
|
|
252 |
- VideoPress: update non-iframe player to latest version for sites using the `jetpack_videopress_player_use_iframe` filter.
|
253 |
|
254 |
#### Bug fixes
|
255 |
- CLI: avoid PHP notice when running connection tests.
|
256 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
257 |
- Payments Block: only add PayPal email meta to Payment posts.
|
258 |
- Payments Block: remove hardcoded recurring-payments button color.
|
|
|
|
|
|
|
|
|
259 |
- Subscribe Block: fix double-quote breaking the Subscribe block button.
|
|
|
|
|
|
|
260 |
|
261 |
--------
|
262 |
|
1 |
=== Jetpack - WP Security, Backup, Speed, & Growth ===
|
2 |
Contributors: automattic, adamkheckler, adrianmoldovanwp, aduth, akirk, allendav, alternatekev, andy, annamcphee, annezazu, apeatling, arcangelini, azaozz, batmoo, barry, beaulebens, biskobe, blobaugh, bjorsch, brbrr, cainm, cena, cfinke, chaselivingston, chellycat, clickysteve, csonnek, danielbachhuber, davoraltman, daniloercoli, delawski, designsimply, dllh, drawmyface, dsmart, dzver, ebinnion, egregor, eliorivero, enej, eoigal, erania-pinnera, ethitter, fgiannar, gcorne, georgestephanis, gibrown, goldsounds, hew, hugobaeta, hypertextranch, iammattthomas, iandunn, jblz, jasmussen, jeffgolenski, jeherve, jenhooks, jenia, jessefriedman, jgs, jkudish, jmdodd, joanrho, johnjamesjacoby, jshreve, kbrownkd, keoshi, koke, kraftbj, lancewillett, leogermani, lschuyler, macmanx, martinremy, matt, matveb, mattwiebe, maverick3x6, mcsf, mdawaffe, mdbitz, MichaelArestad, migueluy, mikeyarce, mkaz, nancythanki, nickmomrik, obenland, oskosk, pento, professor44, rachelsquirrel, rdcoll, ryancowles, richardmuscat, richardmtl, robertbpugh, roccotripaldi, samhotchkiss, samiff, scarstocea, scottsweb, sdixon194, sdquirk, sermitr, simison, stephdau, tmoorewp, tyxla, Viper007Bond, westi, yoavf, zinigor
|
3 |
Tags: Security, backup, Woo, malware, scan, spam, CDN, search, social
|
4 |
+
Stable tag: 11.1
|
5 |
Requires at least: 5.9
|
6 |
Requires PHP: 5.6
|
7 |
Tested up to: 6.0
|
242 |
4. Promote your newest posts, pages, and products across your social media channels.
|
243 |
|
244 |
== Changelog ==
|
245 |
+
### 11.1 - 2022-07-05
|
246 |
#### Enhancements
|
247 |
- Dashboard: add "Getting started with Jetpack Backup" video to Assistant and "At a glance" dashboard.
|
248 |
+
- Recipe Block (beta): introduce a new Recipe block to display an easy to read recipe anywhere on your site. Currently a JETPACK_BETA_BLOCKS feature.
|
249 |
+
- VideoPress: enable blocks with VideoPress markdown to be previewed within the mobile app.
|
250 |
+
- VideoPress Block (beta): introduce VideoPress block currently in beta status.
|
251 |
|
252 |
#### Improved compatibility
|
253 |
+
- Blocks: add Jetpack block elements to WPML configuration so they can be translated.
|
254 |
- Connection: update connection banner to use updated Emerald styling.
|
255 |
+
- Publicize: configure Publicize only when the module is active.
|
256 |
- VideoPress: update non-iframe player to latest version for sites using the `jetpack_videopress_player_use_iframe` filter.
|
257 |
|
258 |
#### Bug fixes
|
259 |
- CLI: avoid PHP notice when running connection tests.
|
260 |
+
- Connection: move the connection_url_redirect action handling to the connection package.
|
261 |
+
- Contact Form: support saving array of data, such as multiple checkboxes.
|
262 |
+
- Contact Form Block: display expected success message when used in FSE header or footer.
|
263 |
+
- Contact Form Block: radio, select, and multiple checkbox fields can now have option with a value of '0'.
|
264 |
+
- Dashboard: fix the link to Anti-spam stats.
|
265 |
+
- Dashboard: format anti-spam stats properly, including in languages using a space as thousands separator.
|
266 |
+
- Mailchimp Block: center spinner during loading block content.
|
267 |
+
- Payment Block: fix issue preventing images in payment buttons.
|
268 |
- Payments Block: only add PayPal email meta to Payment posts.
|
269 |
- Payments Block: remove hardcoded recurring-payments button color.
|
270 |
+
- Photon: do not return Photonized URLs to the block editor in WordPress 6.0.
|
271 |
+
- Search: avoid broken images in search results by preferring the _jetpack_featured_media_url postmeta over the GUID.
|
272 |
+
- SEO Tools: allow WooCommerce to use custom SEO description for the shop page.
|
273 |
+
- Sharing: avoid fatal errors when email sharing process is called without clicking on the button.
|
274 |
- Subscribe Block: fix double-quote breaking the Subscribe block button.
|
275 |
+
- VideoPress: fix average color parameter for seekbar.
|
276 |
+
- VideoPress: fix embeds in classic editor when theme has no $content_width set.
|
277 |
+
- VideoPress Block: fix Cancel button on block and provide better error message when video format is not supported.
|
278 |
|
279 |
--------
|
280 |
|
vendor/autoload.php
CHANGED
@@ -9,4 +9,4 @@ if (PHP_VERSION_ID < 50600) {
|
|
9 |
|
10 |
require_once __DIR__ . '/composer/autoload_real.php';
|
11 |
|
12 |
-
return ComposerAutoloaderInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ
|
9 |
|
10 |
require_once __DIR__ . '/composer/autoload_real.php';
|
11 |
|
12 |
+
return ComposerAutoloaderInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_1::getLoader();
|
vendor/autoload_packages.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_1;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class ComposerAutoloaderInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -24,19 +24,19 @@ class ComposerAutoloaderInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_1_beta
|
|
24 |
|
25 |
require __DIR__ . '/platform_check.php';
|
26 |
|
27 |
-
spl_autoload_register(array('ComposerAutoloaderInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ
|
28 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
29 |
-
spl_autoload_unregister(array('ComposerAutoloaderInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ
|
30 |
|
31 |
require __DIR__ . '/autoload_static.php';
|
32 |
-
call_user_func(\Composer\Autoload\ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ
|
33 |
|
34 |
$loader->setClassMapAuthoritative(true);
|
35 |
$loader->register(true);
|
36 |
|
37 |
-
$includeFiles = \Composer\Autoload\ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ
|
38 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
39 |
-
composerRequiref11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ
|
40 |
}
|
41 |
|
42 |
return $loader;
|
@@ -48,7 +48,7 @@ class ComposerAutoloaderInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_1_beta
|
|
48 |
* @param string $file
|
49 |
* @return void
|
50 |
*/
|
51 |
-
function composerRequiref11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ
|
52 |
{
|
53 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
54 |
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_1
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
24 |
|
25 |
require __DIR__ . '/platform_check.php';
|
26 |
|
27 |
+
spl_autoload_register(array('ComposerAutoloaderInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_1', 'loadClassLoader'), true, true);
|
28 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
29 |
+
spl_autoload_unregister(array('ComposerAutoloaderInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_1', 'loadClassLoader'));
|
30 |
|
31 |
require __DIR__ . '/autoload_static.php';
|
32 |
+
call_user_func(\Composer\Autoload\ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_1::getInitializer($loader));
|
33 |
|
34 |
$loader->setClassMapAuthoritative(true);
|
35 |
$loader->register(true);
|
36 |
|
37 |
+
$includeFiles = \Composer\Autoload\ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_1::$files;
|
38 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
39 |
+
composerRequiref11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_1($fileIdentifier, $file);
|
40 |
}
|
41 |
|
42 |
return $loader;
|
48 |
* @param string $file
|
49 |
* @return void
|
50 |
*/
|
51 |
+
function composerRequiref11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_1($fileIdentifier, $file)
|
52 |
{
|
53 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
54 |
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
vendor/composer/autoload_static.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'3773ef3f09c37da5478d578e32b03a4b' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-assets/actions.php',
|
@@ -270,10 +270,10 @@ class ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_1_beta
|
|
270 |
public static function getInitializer(ClassLoader $loader)
|
271 |
{
|
272 |
return \Closure::bind(function () use ($loader) {
|
273 |
-
$loader->prefixLengthsPsr4 = ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ
|
274 |
-
$loader->prefixDirsPsr4 = ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ
|
275 |
-
$loader->prefixesPsr0 = ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ
|
276 |
-
$loader->classMap = ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ
|
277 |
|
278 |
}, null, ClassLoader::class);
|
279 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_1
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'3773ef3f09c37da5478d578e32b03a4b' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-assets/actions.php',
|
270 |
public static function getInitializer(ClassLoader $loader)
|
271 |
{
|
272 |
return \Closure::bind(function () use ($loader) {
|
273 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_1::$prefixLengthsPsr4;
|
274 |
+
$loader->prefixDirsPsr4 = ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_1::$prefixDirsPsr4;
|
275 |
+
$loader->prefixesPsr0 = ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_1::$prefixesPsr0;
|
276 |
+
$loader->classMap = ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_1::$classMap;
|
277 |
|
278 |
}, null, ClassLoader::class);
|
279 |
}
|
vendor/jetpack-autoloader/class-autoloader-handler.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_1;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
vendor/jetpack-autoloader/class-autoloader-locator.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_1;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
vendor/jetpack-autoloader/class-autoloader.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_1;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
vendor/jetpack-autoloader/class-container.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_1;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
vendor/jetpack-autoloader/class-hook-manager.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_1;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
vendor/jetpack-autoloader/class-latest-autoloader-guard.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_1;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
vendor/jetpack-autoloader/class-manifest-reader.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_1;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
vendor/jetpack-autoloader/class-path-processor.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_1;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
vendor/jetpack-autoloader/class-php-autoloader.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_1;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
vendor/jetpack-autoloader/class-plugin-locator.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_1;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
vendor/jetpack-autoloader/class-plugins-handler.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_1;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
vendor/jetpack-autoloader/class-shutdown-handler.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_1;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
vendor/jetpack-autoloader/class-version-loader.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_1;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
vendor/jetpack-autoloader/class-version-selector.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_1;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|