File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed
components/inline-support-link Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,10 @@ const contextLinks = {
51
51
link : 'https://wordpress.com/support/comments/' ,
52
52
post_id : 113 ,
53
53
} ,
54
+ com_vs_org : {
55
+ link : 'https://wordpress.com/support/com-vs-org/' ,
56
+ post_id : 38 ,
57
+ } ,
54
58
dashboard : {
55
59
link : 'https://wordpress.com/support/dashboard/' ,
56
60
post_id : 137 ,
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import QueryProductsList from 'calypso/components/data/query-products-list';
14
14
import QuerySiteFeatures from 'calypso/components/data/query-site-features' ;
15
15
import QuerySitePurchases from 'calypso/components/data/query-site-purchases' ;
16
16
import QueryUserPurchases from 'calypso/components/data/query-user-purchases' ;
17
+ import InlineSupportLink from 'calypso/components/inline-support-link' ;
17
18
import MainComponent from 'calypso/components/main' ;
18
19
import NavigationHeader from 'calypso/components/navigation-header' ;
19
20
import Notice from 'calypso/components/notice' ;
@@ -335,13 +336,7 @@ function PluginDetails( props ) {
335
336
rel = "noreferrer noopener"
336
337
/>
337
338
) ,
338
- wpcom_vs_wporg_link : (
339
- < a
340
- href = { localizeUrl ( 'https://wordpress.com/support/com-vs-org/' ) }
341
- target = "_blank"
342
- rel = "noreferrer noopener"
343
- />
344
- ) ,
339
+ wpcom_vs_wporg_link : < InlineSupportLink supportContext = "com_vs_org" showIcon = { false } /> ,
345
340
} ,
346
341
} ;
347
342
You can’t perform that action at this time.
0 commit comments