PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 10.5.3
Jetpack – WP Security, Backup, Speed, & Growth v10.5.3
16.2-beta 12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 13.8.3 13.9.2 14.0.1 14.1.1 14.2.2 14.3.1 All 501 releases
jetpack / modules / module-headings.php
module-headings.php
1,149 lines 42.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Do not edit this file. It's generated by `jetpack/tools/build-module-headings-translations.php`.
4 *
5 * @package automattic/jetpack
6 */
7
8 /**
9 * For a given module, return an array with translated name and description.
10 *
11 * @param string $key Module file name without `.php`.
12 *
13 * @return array
14 */
15 function jetpack_get_module_i18n( $key ) {
16 static $modules;
17 if ( ! isset( $modules ) ) {
18 $modules = array(
19 'carousel' => array(
20 'name' => _x( 'Carousel', 'Module Name', 'jetpack' ),
21 'description' => _x( 'Display images and galleries in a gorgeous, full-screen browsing experience', 'Module Description', 'jetpack' ),
22 ),
23
24 'comment-likes' => array(
25 'name' => _x( 'Comment Likes', 'Module Name', 'jetpack' ),
26 'description' => _x( 'Increase visitor engagement by adding a Like button to comments.', 'Module Description', 'jetpack' ),
27 ),
28
29 'comments' => array(
30 'name' => _x( 'Comments', 'Module Name', 'jetpack' ),
31 'description' => _x( 'Let visitors use a WordPress.com, Twitter, Facebook, or Google account to comment', 'Module Description', 'jetpack' ),
32 ),
33
34 'contact-form' => array(
35 'name' => _x( 'Contact Form', 'Module Name', 'jetpack' ),
36 'description' => _x( 'Add a customizable contact form to any post or page using the Jetpack Form Block.', 'Module Description', 'jetpack' ),
37 ),
38
39 'copy-post' => array(
40 'name' => _x( 'Copy Post', 'Module Name', 'jetpack' ),
41 'description' => _x( 'Enable the option to copy entire posts and pages, including tags and settings', 'Module Description', 'jetpack' ),
42 ),
43
44 'custom-content-types' => array(
45 'name' => _x( 'Custom content types', 'Module Name', 'jetpack' ),
46 'description' => _x( 'Display different types of content on your site with custom content types.', 'Module Description', 'jetpack' ),
47 ),
48
49 'custom-css' => array(
50 'name' => _x( 'Custom CSS', 'Module Name', 'jetpack' ),
51 'description' => _x( 'Adds options for CSS preprocessor use, disabling the theme\'s CSS, or custom image width.', 'Module Description', 'jetpack' ),
52 ),
53
54 'enhanced-distribution' => array(
55 'name' => _x( 'Enhanced Distribution', 'Module Name', 'jetpack' ),
56 'description' => _x( 'Increase reach and traffic.', 'Module Description', 'jetpack' ),
57 ),
58
59 'google-analytics' => array(
60 'name' => _x( 'Google Analytics', 'Module Name', 'jetpack' ),
61 'description' => _x( 'Set up Google Analytics without touching a line of code.', 'Module Description', 'jetpack' ),
62 ),
63
64 'gravatar-hovercards' => array(
65 'name' => _x( 'Gravatar Hovercards', 'Module Name', 'jetpack' ),
66 'description' => _x( 'Enable pop-up business cards over commenters’ Gravatars.', 'Module Description', 'jetpack' ),
67 ),
68
69 'infinite-scroll' => array(
70 'name' => _x( 'Infinite Scroll', 'Module Name', 'jetpack' ),
71 'description' => _x( 'Automatically load new content when a visitor scrolls', 'Module Description', 'jetpack' ),
72 ),
73
74 'json-api' => array(
75 'name' => _x( 'JSON API', 'Module Name', 'jetpack' ),
76 'description' => _x( 'Allow applications to securely access your content.', 'Module Description', 'jetpack' ),
77 ),
78
79 'latex' => array(
80 'name' => _x( 'Beautiful Math', 'Module Name', 'jetpack' ),
81 'description' => _x( 'Use the LaTeX markup language to write mathematical equations and formulas', 'Module Description', 'jetpack' ),
82 ),
83
84 'lazy-images' => array(
85 'name' => _x( 'Lazy Images', 'Module Name', 'jetpack' ),
86 'description' => _x( 'Speed up your site and create a smoother viewing experience by loading images as visitors scroll down the screen, instead of all at once.', 'Module Description', 'jetpack' ),
87 ),
88
89 'likes' => array(
90 'name' => _x( 'Likes', 'Module Name', 'jetpack' ),
91 'description' => _x( 'Give visitors an easy way to show they appreciate your content.', 'Module Description', 'jetpack' ),
92 ),
93
94 'markdown' => array(
95 'name' => _x( 'Markdown', 'Module Name', 'jetpack' ),
96 'description' => _x( 'Write posts or pages in plain-text Markdown syntax', 'Module Description', 'jetpack' ),
97 ),
98
99 'masterbar' => array(
100 'name' => _x( 'WordPress.com Toolbar and Dashboard customizations', 'Module Name', 'jetpack' ),
101 'description' => _x( 'Replaces the admin bar with a useful toolbar to quickly manage your site via WordPress.com. Also adds additional customizations to the WPAdmin dashboard experience for better compatibility with WP.com.', 'Module Description', 'jetpack' ),
102 ),
103
104 'monitor' => array(
105 'name' => _x( 'Monitor', 'Module Name', 'jetpack' ),
106 'description' => _x( 'Jetpack’s downtime monitoring will continuously watch your site and alert you the moment that downtime is detected.', 'Module Description', 'jetpack' ),
107 ),
108
109 'notes' => array(
110 'name' => _x( 'Notifications', 'Module Name', 'jetpack' ),
111 'description' => _x( 'Receive instant notifications of site comments and likes.', 'Module Description', 'jetpack' ),
112 ),
113
114 'photon-cdn' => array(
115 'name' => _x( 'Asset CDN', 'Module Name', 'jetpack' ),
116 'description' => _x( 'Jetpack’s Site Accelerator loads your site faster by optimizing your images and serving your images and static files from our global network of servers.', 'Module Description', 'jetpack' ),
117 ),
118
119 'photon' => array(
120 'name' => _x( 'Image CDN', 'Module Name', 'jetpack' ),
121 'description' => _x( 'Mirrors and serves your images from our free and fast image CDN, improving your site’s performance with no additional load on your servers.', 'Module Description', 'jetpack' ),
122 ),
123
124 'post-by-email' => array(
125 'name' => _x( 'Post by email', 'Module Name', 'jetpack' ),
126 'description' => _x( 'Publish posts by sending an email', 'Module Description', 'jetpack' ),
127 ),
128
129 'protect' => array(
130 'name' => _x( 'Protect', 'Module Name', 'jetpack' ),
131 'description' => _x( 'Enabling brute force protection will prevent bots and hackers from attempting to log in to your website with common username and password combinations.', 'Module Description', 'jetpack' ),
132 ),
133
134 'publicize' => array(
135 'name' => _x( 'Publicize', 'Module Name', 'jetpack' ),
136 'description' => _x( 'Publicize makes it easy to share your site’s posts on several social media networks automatically when you publish a new post.', 'Module Description', 'jetpack' ),
137 ),
138
139 'related-posts' => array(
140 'name' => _x( 'Related posts', 'Module Name', 'jetpack' ),
141 'description' => _x( 'Keep visitors engaged on your blog by highlighting relevant and new content at the bottom of each published post.', 'Module Description', 'jetpack' ),
142 ),
143
144 'search' => array(
145 'name' => _x( 'Search', 'Module Name', 'jetpack' ),
146 'description' => _x( 'Help visitors quickly find answers with highly relevant instant search results and powerful filtering.', 'Module Description', 'jetpack' ),
147 ),
148
149 'seo-tools' => array(
150 'name' => _x( 'SEO Tools', 'Module Name', 'jetpack' ),
151 'description' => _x( 'Better results on search engines and social media.', 'Module Description', 'jetpack' ),
152 ),
153
154 'sharedaddy' => array(
155 'name' => _x( 'Sharing', 'Module Name', 'jetpack' ),
156 'description' => _x( 'Add Twitter, Facebook and Google+ buttons at the bottom of each post, making it easy for visitors to share your content.', 'Module Description', 'jetpack' ),
157 ),
158
159 'shortcodes' => array(
160 'name' => _x( 'Shortcode Embeds', 'Module Name', 'jetpack' ),
161 'description' => _x( 'Shortcodes are WordPress-specific markup that let you add media from popular sites. This feature is no longer necessary as the editor now handles media embeds rather gracefully.', 'Module Description', 'jetpack' ),
162 ),
163
164 'shortlinks' => array(
165 'name' => _x( 'WP.me Shortlinks', 'Module Name', 'jetpack' ),
166 'description' => _x( 'Generates shorter links using the wp.me domain.', 'Module Description', 'jetpack' ),
167 ),
168
169 'sitemaps' => array(
170 'name' => _x( 'Sitemaps', 'Module Name', 'jetpack' ),
171 'description' => _x( 'Make it easy for search engines to find your site.', 'Module Description', 'jetpack' ),
172 ),
173
174 'sso' => array(
175 'name' => _x( 'Secure Sign On', 'Module Name', 'jetpack' ),
176 'description' => _x( 'Allow users to log in to this site using WordPress.com accounts', 'Module Description', 'jetpack' ),
177 ),
178
179 'stats' => array(
180 'name' => _x( 'Site Stats', 'Module Name', 'jetpack' ),
181 'description' => _x( 'Collect valuable traffic stats and insights.', 'Module Description', 'jetpack' ),
182 ),
183
184 'subscriptions' => array(
185 'name' => _x( 'Subscriptions', 'Module Name', 'jetpack' ),
186 'description' => _x( 'Let visitors subscribe to new posts and comments via email', 'Module Description', 'jetpack' ),
187 ),
188
189 'tiled-gallery' => array(
190 'name' => _x( 'Tiled Galleries', 'Module Name', 'jetpack' ),
191 'description' => _x( 'Display image galleries in a variety of elegant arrangements.', 'Module Description', 'jetpack' ),
192 ),
193
194 'vaultpress' => array(
195 'name' => _x( 'Backups and Scanning', 'Module Name', 'jetpack' ),
196 'description' => _x( 'Protect your site with daily or real-time backups and automated virus scanning and threat detection.', 'Module Description', 'jetpack' ),
197 ),
198
199 'verification-tools' => array(
200 'name' => _x( 'Site verification', 'Module Name', 'jetpack' ),
201 'description' => _x( 'Establish your site\'s authenticity with external services.', 'Module Description', 'jetpack' ),
202 ),
203
204 'videopress' => array(
205 'name' => _x( 'VideoPress', 'Module Name', 'jetpack' ),
206 'description' => _x( 'Save on hosting storage and bandwidth costs by streaming fast, ad-free video from our global network.', 'Module Description', 'jetpack' ),
207 ),
208
209 'widget-visibility' => array(
210 'name' => _x( 'Widget Visibility', 'Module Name', 'jetpack' ),
211 'description' => _x( 'Control where widgets appear on your site.', 'Module Description', 'jetpack' ),
212 ),
213
214 'widgets' => array(
215 'name' => _x( 'Extra Sidebar Widgets', 'Module Name', 'jetpack' ),
216 'description' => _x( 'Provides additional widgets for use on your site.', 'Module Description', 'jetpack' ),
217 ),
218
219 'woocommerce-analytics' => array(
220 'name' => _x( 'WooCommerce Analytics', 'Module Name', 'jetpack' ),
221 'description' => _x( 'Enhanced analytics for WooCommerce and Jetpack users.', 'Module Description', 'jetpack' ),
222 ),
223
224 'wordads' => array(
225 'name' => _x( 'Ads', 'Module Name', 'jetpack' ),
226 'description' => _x( 'Earn income by allowing Jetpack to display high quality ads.', 'Module Description', 'jetpack' ),
227 ),
228 );
229 }
230 return isset( $modules[ $key ] ) ? $modules[ $key ] : null;
231 }
232
233 // The lists of filenames below shouldn't be arbitrarily punctuated, but the sniff triggers anyway.
234 // phpcs:disable Squiz.Commenting.InlineComment.InvalidEndChar
235
236 /**
237 * For a given module tag, return its translated version.
238 *
239 * @param string $key Module tag as is in each module heading.
240 *
241 * @return string
242 */
243 function jetpack_get_module_i18n_tag( $key ) {
244 static $module_tags;
245 if ( ! isset( $module_tags ) ) {
246 $module_tags = array(
247 // Modules with `Other` tag:
248 // - modules/contact-form.php
249 // - modules/notes.php
250 // - modules/woocommerce-analytics.php
251 'Other' => _x( 'Other', 'Module Tag', 'jetpack' ),
252
253 // Modules with `Photos and Videos` tag:
254 // - modules/carousel.php
255 // - modules/photon-cdn.php
256 // - modules/photon.php
257 // - modules/shortcodes.php
258 // - modules/tiled-gallery.php
259 // - modules/videopress.php
260 'Photos and Videos' => _x( 'Photos and Videos', 'Module Tag', 'jetpack' ),
261
262 // Modules with `Social` tag:
263 // - modules/comment-likes.php
264 // - modules/comments.php
265 // - modules/gravatar-hovercards.php
266 // - modules/likes.php
267 // - modules/publicize.php
268 // - modules/seo-tools.php
269 // - modules/sharedaddy.php
270 // - modules/shortcodes.php
271 // - modules/shortlinks.php
272 // - modules/subscriptions.php
273 // - modules/widgets.php
274 'Social' => _x( 'Social', 'Module Tag', 'jetpack' ),
275
276 // Modules with `Writing` tag:
277 // - modules/copy-post.php
278 // - modules/custom-content-types.php
279 // - modules/enhanced-distribution.php
280 // - modules/json-api.php
281 // - modules/latex.php
282 // - modules/markdown.php
283 // - modules/post-by-email.php
284 // - modules/shortcodes.php
285 'Writing' => _x( 'Writing', 'Module Tag', 'jetpack' ),
286
287 // Modules with `Appearance` tag:
288 // - modules/custom-css.php
289 // - modules/gravatar-hovercards.php
290 // - modules/infinite-scroll.php
291 // - modules/lazy-images.php
292 // - modules/photon-cdn.php
293 // - modules/photon.php
294 // - modules/seo-tools.php
295 // - modules/shortcodes.php
296 // - modules/widget-visibility.php
297 // - modules/widgets.php
298 // - modules/wordads.php
299 'Appearance' => _x( 'Appearance', 'Module Tag', 'jetpack' ),
300
301 // Modules with `Developers` tag:
302 // - modules/json-api.php
303 // - modules/sso.php
304 'Developers' => _x( 'Developers', 'Module Tag', 'jetpack' ),
305
306 // Modules with `Recommended` tag:
307 // - modules/lazy-images.php
308 // - modules/monitor.php
309 // - modules/photon-cdn.php
310 // - modules/photon.php
311 // - modules/protect.php
312 // - modules/publicize.php
313 // - modules/related-posts.php
314 // - modules/sharedaddy.php
315 // - modules/sitemaps.php
316 // - modules/stats.php
317 // - modules/woocommerce-analytics.php
318 'Recommended' => _x( 'Recommended', 'Module Tag', 'jetpack' ),
319
320 // Modules with `General` tag:
321 // - modules/masterbar.php
322 'General' => _x( 'General', 'Module Tag', 'jetpack' ),
323
324 // Modules with `Traffic` tag:
325 // - modules/sitemaps.php
326 // - modules/wordads.php
327 'Traffic' => _x( 'Traffic', 'Module Tag', 'jetpack' ),
328
329 // Modules with `Site Stats` tag:
330 // - modules/stats.php
331 'Site Stats' => _x( 'Site Stats', 'Module Tag', 'jetpack' ),
332 );
333 }
334 return ! empty( $module_tags[ $key ] ) ? $module_tags[ $key ] : '';
335 }
336
337 /**
338 * For a given module, return an array with the module info.
339 *
340 * @param string $key Module file name without `.php`.
341 *
342 * return array|string An array containing the module info or an empty string if the given module isn't known.
343 */
344 function jetpack_get_module_info( $key ) {
345 static $module_info = array (
346 'carousel' =>
347 array (
348 'name' => 'Carousel',
349 'description' => 'Display images and galleries in a gorgeous, full-screen browsing experience',
350 'sort' => '22',
351 'recommendation_order' => '12',
352 'introduced' => '1.5',
353 'changed' => '',
354 'deactivate' => '',
355 'free' => '',
356 'requires_connection' => 'No',
357 'requires_user_connection' => '',
358 'auto_activate' => 'No',
359 'module_tags' => 'Photos and Videos',
360 'feature' => 'Appearance',
361 'additional_search_queries' => 'gallery, carousel, diaporama, slideshow, images, lightbox, exif, metadata, image',
362 'plan_classes' => '',
363 ),
364 'comment-likes' =>
365 array (
366 'name' => 'Comment Likes',
367 'description' => 'Increase visitor engagement by adding a Like button to comments.',
368 'sort' => '39',
369 'recommendation_order' => '17',
370 'introduced' => '5.1',
371 'changed' => '',
372 'deactivate' => '',
373 'free' => '',
374 'requires_connection' => 'Yes',
375 'requires_user_connection' => '',
376 'auto_activate' => 'No',
377 'module_tags' => 'Social',
378 'feature' => '',
379 'additional_search_queries' => 'like widget, like button, like, likes',
380 'plan_classes' => '',
381 ),
382 'comments' =>
383 array (
384 'name' => 'Comments',
385 'description' => 'Let visitors use a WordPress.com, Twitter, Facebook, or Google account to comment',
386 'sort' => '20',
387 'recommendation_order' => '',
388 'introduced' => '1.4',
389 'changed' => '',
390 'deactivate' => '',
391 'free' => '',
392 'requires_connection' => 'Yes',
393 'requires_user_connection' => '',
394 'auto_activate' => 'No',
395 'module_tags' => 'Social',
396 'feature' => 'Engagement',
397 'additional_search_queries' => 'comments, comment, facebook, twitter, google+, social',
398 'plan_classes' => '',
399 ),
400 'contact-form' =>
401 array (
402 'name' => 'Contact Form',
403 'description' => 'Add a customizable contact form to any post or page using the Jetpack Form Block.',
404 'sort' => '15',
405 'recommendation_order' => '14',
406 'introduced' => '1.3',
407 'changed' => '',
408 'deactivate' => '',
409 'free' => '',
410 'requires_connection' => 'No',
411 'requires_user_connection' => '',
412 'auto_activate' => 'Yes',
413 'module_tags' => 'Other',
414 'feature' => 'Writing',
415 'additional_search_queries' => 'contact, form, grunion, feedback, submission, contact form, email, feedback, contact form plugin, custom form, custom form plugin, form builder, forms, form maker, survey, contact by jetpack, contact us, forms free',
416 'plan_classes' => '',
417 ),
418 'copy-post' =>
419 array (
420 'name' => 'Copy Post',
421 'description' => 'Enable the option to copy entire posts and pages, including tags and settings',
422 'sort' => '15',
423 'recommendation_order' => '',
424 'introduced' => '7.0',
425 'changed' => '',
426 'deactivate' => '',
427 'free' => '',
428 'requires_connection' => 'No',
429 'requires_user_connection' => '',
430 'auto_activate' => 'No',
431 'module_tags' => 'Writing',
432 'feature' => 'Writing',
433 'additional_search_queries' => 'copy, duplicate',
434 'plan_classes' => '',
435 ),
436 'custom-content-types' =>
437 array (
438 'name' => 'Custom content types',
439 'description' => 'Display different types of content on your site with custom content types.',
440 'sort' => '34',
441 'recommendation_order' => '',
442 'introduced' => '3.1',
443 'changed' => '',
444 'deactivate' => '',
445 'free' => '',
446 'requires_connection' => 'No',
447 'requires_user_connection' => '',
448 'auto_activate' => 'No',
449 'module_tags' => 'Writing',
450 'feature' => 'Writing',
451 'additional_search_queries' => 'cpt, custom post types, portfolio, portfolios, testimonial, testimonials',
452 'plan_classes' => '',
453 ),
454 'custom-css' =>
455 array (
456 'name' => 'Custom CSS',
457 'description' => 'Adds options for CSS preprocessor use, disabling the theme\'s CSS, or custom image width.',
458 'sort' => '2',
459 'recommendation_order' => '',
460 'introduced' => '1.7',
461 'changed' => '',
462 'deactivate' => '',
463 'free' => '',
464 'requires_connection' => 'No',
465 'requires_user_connection' => '',
466 'auto_activate' => 'No',
467 'module_tags' => 'Appearance',
468 'feature' => 'Appearance',
469 'additional_search_queries' => 'css, customize, custom, style, editor, less, sass, preprocessor, font, mobile, appearance, theme, stylesheet',
470 'plan_classes' => '',
471 ),
472 'enhanced-distribution' =>
473 array (
474 'name' => 'Enhanced Distribution',
475 'description' => 'Increase reach and traffic.',
476 'sort' => '5',
477 'recommendation_order' => '',
478 'introduced' => '1.2',
479 'changed' => '',
480 'deactivate' => '',
481 'free' => '',
482 'requires_connection' => 'Yes',
483 'requires_user_connection' => '',
484 'auto_activate' => 'Public',
485 'module_tags' => 'Writing',
486 'feature' => 'Engagement',
487 'additional_search_queries' => 'google, seo, firehose, search, broadcast, broadcasting',
488 'plan_classes' => '',
489 ),
490 'google-analytics' =>
491 array (
492 'name' => 'Google Analytics',
493 'description' => 'Set up Google Analytics without touching a line of code.',
494 'sort' => '37',
495 'recommendation_order' => '',
496 'introduced' => '4.5',
497 'changed' => '',
498 'deactivate' => '',
499 'free' => '',
500 'requires_connection' => 'Yes',
501 'requires_user_connection' => '',
502 'auto_activate' => 'No',
503 'module_tags' => '',
504 'feature' => 'Engagement',
505 'additional_search_queries' => 'webmaster, google, analytics, console',
506 'plan_classes' => 'business, premium, security, complete',
507 ),
508 'gravatar-hovercards' =>
509 array (
510 'name' => 'Gravatar Hovercards',
511 'description' => 'Enable pop-up business cards over commenters’ Gravatars.',
512 'sort' => '11',
513 'recommendation_order' => '13',
514 'introduced' => '1.1',
515 'changed' => '',
516 'deactivate' => '',
517 'free' => '',
518 'requires_connection' => 'No',
519 'requires_user_connection' => '',
520 'auto_activate' => 'No',
521 'module_tags' => 'Social, Appearance',
522 'feature' => 'Appearance',
523 'additional_search_queries' => 'gravatar, hovercards',
524 'plan_classes' => '',
525 ),
526 'infinite-scroll' =>
527 array (
528 'name' => 'Infinite Scroll',
529 'description' => 'Automatically load new content when a visitor scrolls',
530 'sort' => '26',
531 'recommendation_order' => '',
532 'introduced' => '2.0',
533 'changed' => '',
534 'deactivate' => '',
535 'free' => '',
536 'requires_connection' => 'No',
537 'requires_user_connection' => '',
538 'auto_activate' => 'No',
539 'module_tags' => 'Appearance',
540 'feature' => 'Appearance',
541 'additional_search_queries' => 'scroll, infinite, infinite scroll',
542 'plan_classes' => '',
543 ),
544 'json-api' =>
545 array (
546 'name' => 'JSON API',
547 'description' => 'Allow applications to securely access your content.',
548 'sort' => '19',
549 'recommendation_order' => '',
550 'introduced' => '1.9',
551 'changed' => '',
552 'deactivate' => '',
553 'free' => '',
554 'requires_connection' => 'Yes',
555 'requires_user_connection' => '',
556 'auto_activate' => 'Public',
557 'module_tags' => 'Writing, Developers',
558 'feature' => 'General',
559 'additional_search_queries' => 'api, rest, develop, developers, json, klout, oauth',
560 'plan_classes' => '',
561 ),
562 'latex' =>
563 array (
564 'name' => 'Beautiful Math',
565 'description' => 'Use the LaTeX markup language to write mathematical equations and formulas',
566 'sort' => '12',
567 'recommendation_order' => '',
568 'introduced' => '1.1',
569 'changed' => '',
570 'deactivate' => '',
571 'free' => '',
572 'requires_connection' => 'No',
573 'requires_user_connection' => '',
574 'auto_activate' => 'No',
575 'module_tags' => 'Writing',
576 'feature' => 'Writing',
577 'additional_search_queries' => 'latex, math, equation, equations, formula, code',
578 'plan_classes' => '',
579 ),
580 'lazy-images' =>
581 array (
582 'name' => 'Lazy Images',
583 'description' => 'Speed up your site and create a smoother viewing experience by loading images as visitors scroll down the screen, instead of all at once.',
584 'sort' => '24',
585 'recommendation_order' => '14',
586 'introduced' => '5.6.0',
587 'changed' => '',
588 'deactivate' => '',
589 'free' => '',
590 'requires_connection' => 'No',
591 'requires_user_connection' => '',
592 'auto_activate' => 'No',
593 'module_tags' => 'Appearance, Recommended',
594 'feature' => 'Appearance',
595 'additional_search_queries' => 'mobile, theme, fast images, fast image, image, lazy, lazy load, lazyload, images, lazy images, thumbnail, image lazy load, lazy loading, load, loading',
596 'plan_classes' => '',
597 ),
598 'likes' =>
599 array (
600 'name' => 'Likes',
601 'description' => 'Give visitors an easy way to show they appreciate your content.',
602 'sort' => '23',
603 'recommendation_order' => '',
604 'introduced' => '2.2',
605 'changed' => '',
606 'deactivate' => '',
607 'free' => '',
608 'requires_connection' => 'Yes',
609 'requires_user_connection' => '',
610 'auto_activate' => 'No',
611 'module_tags' => 'Social',
612 'feature' => 'Engagement',
613 'additional_search_queries' => 'like, likes, wordpress.com',
614 'plan_classes' => '',
615 ),
616 'markdown' =>
617 array (
618 'name' => 'Markdown',
619 'description' => 'Write posts or pages in plain-text Markdown syntax',
620 'sort' => '31',
621 'recommendation_order' => '',
622 'introduced' => '2.8',
623 'changed' => '',
624 'deactivate' => '',
625 'free' => '',
626 'requires_connection' => 'No',
627 'requires_user_connection' => '',
628 'auto_activate' => 'No',
629 'module_tags' => 'Writing',
630 'feature' => 'Writing',
631 'additional_search_queries' => 'md, markdown',
632 'plan_classes' => '',
633 ),
634 'masterbar' =>
635 array (
636 'name' => 'WordPress.com Toolbar and Dashboard customizations',
637 'description' => 'Replaces the admin bar with a useful toolbar to quickly manage your site via WordPress.com. Also adds additional customizations to the WPAdmin dashboard experience for better compatibility with WP.com.',
638 'sort' => '38',
639 'recommendation_order' => '16',
640 'introduced' => '4.8',
641 'changed' => '',
642 'deactivate' => '',
643 'free' => '',
644 'requires_connection' => 'Yes',
645 'requires_user_connection' => 'Yes',
646 'auto_activate' => 'No',
647 'module_tags' => 'General',
648 'feature' => '',
649 'additional_search_queries' => 'adminbar, masterbar, colorschemes, profile-edit',
650 'plan_classes' => '',
651 ),
652 'monitor' =>
653 array (
654 'name' => 'Monitor',
655 'description' => 'Jetpack’s downtime monitoring will continuously watch your site and alert you the moment that downtime is detected.',
656 'sort' => '28',
657 'recommendation_order' => '10',
658 'introduced' => '2.6',
659 'changed' => '',
660 'deactivate' => '',
661 'free' => '',
662 'requires_connection' => 'Yes',
663 'requires_user_connection' => 'Yes',
664 'auto_activate' => 'No',
665 'module_tags' => 'Recommended',
666 'feature' => 'Security',
667 'additional_search_queries' => 'monitor, uptime, downtime, monitoring, maintenance, maintenance mode, offline, site is down, site down, down, repair, error',
668 'plan_classes' => '',
669 ),
670 'notes' =>
671 array (
672 'name' => 'Notifications',
673 'description' => 'Receive instant notifications of site comments and likes.',
674 'sort' => '13',
675 'recommendation_order' => '',
676 'introduced' => '1.9',
677 'changed' => '',
678 'deactivate' => '',
679 'free' => '',
680 'requires_connection' => 'Yes',
681 'requires_user_connection' => 'Yes',
682 'auto_activate' => 'Yes',
683 'module_tags' => 'Other',
684 'feature' => 'General',
685 'additional_search_queries' => 'notification, notifications, toolbar, adminbar, push, comments',
686 'plan_classes' => '',
687 ),
688 'photon-cdn' =>
689 array (
690 'name' => 'Asset CDN',
691 'description' => 'Jetpack’s Site Accelerator loads your site faster by optimizing your images and serving your images and static files from our global network of servers.',
692 'sort' => '26',
693 'recommendation_order' => '1',
694 'introduced' => '6.6',
695 'changed' => '',
696 'deactivate' => '',
697 'free' => '',
698 'requires_connection' => 'No',
699 'requires_user_connection' => '',
700 'auto_activate' => 'No',
701 'module_tags' => 'Photos and Videos, Appearance, Recommended',
702 'feature' => 'Recommended, Appearance',
703 'additional_search_queries' => 'site accelerator, accelerate, static, assets, javascript, css, files, performance, cdn, bandwidth, content delivery network, pagespeed, combine js, optimize css',
704 'plan_classes' => '',
705 ),
706 'photon' =>
707 array (
708 'name' => 'Image CDN',
709 'description' => 'Mirrors and serves your images from our free and fast image CDN, improving your site’s performance with no additional load on your servers.',
710 'sort' => '25',
711 'recommendation_order' => '1',
712 'introduced' => '2.0',
713 'changed' => '',
714 'deactivate' => '',
715 'free' => '',
716 'requires_connection' => 'Yes',
717 'requires_user_connection' => '',
718 'auto_activate' => 'No',
719 'module_tags' => 'Photos and Videos, Appearance, Recommended',
720 'feature' => 'Recommended, Appearance',
721 'additional_search_queries' => 'photon, photo cdn, image cdn, speed, compression, resize, responsive images, responsive, content distribution network, optimize, page speed, image optimize, photon jetpack',
722 'plan_classes' => '',
723 ),
724 'post-by-email' =>
725 array (
726 'name' => 'Post by email',
727 'description' => 'Publish posts by sending an email',
728 'sort' => '14',
729 'recommendation_order' => '',
730 'introduced' => '2.0',
731 'changed' => '',
732 'deactivate' => '',
733 'free' => '',
734 'requires_connection' => 'Yes',
735 'requires_user_connection' => 'Yes',
736 'auto_activate' => 'No',
737 'module_tags' => 'Writing',
738 'feature' => 'Writing',
739 'additional_search_queries' => 'post by email, email',
740 'plan_classes' => '',
741 ),
742 'protect' =>
743 array (
744 'name' => 'Protect',
745 'description' => 'Enabling brute force protection will prevent bots and hackers from attempting to log in to your website with common username and password combinations.',
746 'sort' => '1',
747 'recommendation_order' => '4',
748 'introduced' => '3.4',
749 'changed' => '',
750 'deactivate' => '',
751 'free' => '',
752 'requires_connection' => 'Yes',
753 'requires_user_connection' => 'Yes',
754 'auto_activate' => 'Yes',
755 'module_tags' => 'Recommended',
756 'feature' => 'Security',
757 'additional_search_queries' => 'security, jetpack protect, secure, protection, botnet, brute force, protect, login, bot, password, passwords, strong passwords, strong password, wp-login.php, protect admin',
758 'plan_classes' => '',
759 ),
760 'publicize' =>
761 array (
762 'name' => 'Publicize',
763 'description' => 'Publicize makes it easy to share your site’s posts on several social media networks automatically when you publish a new post.',
764 'sort' => '10',
765 'recommendation_order' => '7',
766 'introduced' => '2.0',
767 'changed' => '',
768 'deactivate' => '',
769 'free' => '',
770 'requires_connection' => 'Yes',
771 'requires_user_connection' => 'Yes',
772 'auto_activate' => 'No',
773 'module_tags' => 'Social, Recommended',
774 'feature' => 'Engagement',
775 'additional_search_queries' => 'facebook, jetpack publicize, twitter, tumblr, linkedin, social, tweet, connections, sharing, social media, automated, automated sharing, auto publish, auto tweet and like, auto tweet, facebook auto post, facebook posting',
776 'plan_classes' => '',
777 ),
778 'related-posts' =>
779 array (
780 'name' => 'Related posts',
781 'description' => 'Keep visitors engaged on your blog by highlighting relevant and new content at the bottom of each published post.',
782 'sort' => '29',
783 'recommendation_order' => '9',
784 'introduced' => '2.9',
785 'changed' => '',
786 'deactivate' => '',
787 'free' => '',
788 'requires_connection' => 'Yes',
789 'requires_user_connection' => '',
790 'auto_activate' => 'No',
791 'module_tags' => 'Recommended',
792 'feature' => 'Engagement',
793 'additional_search_queries' => 'related, jetpack related posts, related posts for wordpress, related posts, popular posts, popular, related content, related post, contextual, context, contextual related posts, related articles, similar posts, easy related posts, related page, simple related posts, free related posts, related thumbnails, similar, engagement, yet another related posts plugin',
794 'plan_classes' => '',
795 ),
796 'search' =>
797 array (
798 'name' => 'Search',
799 'description' => 'Help visitors quickly find answers with highly relevant instant search results and powerful filtering.',
800 'sort' => '34',
801 'recommendation_order' => '',
802 'introduced' => '5.0',
803 'changed' => '',
804 'deactivate' => '',
805 'free' => 'false',
806 'requires_connection' => 'Yes',
807 'requires_user_connection' => '',
808 'auto_activate' => 'No',
809 'module_tags' => '',
810 'feature' => 'Search',
811 'additional_search_queries' => 'search, elastic, elastic search, elasticsearch, fast search, search results, search performance, google search',
812 'plan_classes' => 'business, complete',
813 ),
814 'seo-tools' =>
815 array (
816 'name' => 'SEO Tools',
817 'description' => 'Better results on search engines and social media.',
818 'sort' => '35',
819 'recommendation_order' => '15',
820 'introduced' => '4.4',
821 'changed' => '',
822 'deactivate' => '',
823 'free' => '',
824 'requires_connection' => 'Yes',
825 'requires_user_connection' => 'No',
826 'auto_activate' => 'No',
827 'module_tags' => 'Social, Appearance',
828 'feature' => 'Traffic',
829 'additional_search_queries' => 'search engine optimization, social preview, meta description, custom title format',
830 'plan_classes' => '',
831 ),
832 'sharedaddy' =>
833 array (
834 'name' => 'Sharing',
835 'description' => 'Add Twitter, Facebook and Google+ buttons at the bottom of each post, making it easy for visitors to share your content.',
836 'sort' => '7',
837 'recommendation_order' => '6',
838 'introduced' => '1.1',
839 'changed' => '1.2',
840 'deactivate' => '',
841 'free' => '',
842 'requires_connection' => 'No',
843 'requires_user_connection' => '',
844 'auto_activate' => 'No',
845 'module_tags' => 'Social, Recommended',
846 'feature' => 'Engagement',
847 'additional_search_queries' => 'share, sharing, sharedaddy, social buttons, buttons, share facebook, share twitter, social media sharing, social media share, social share, icons, email, facebook, twitter, linkedin, pinterest, pocket, social widget, social media',
848 'plan_classes' => '',
849 ),
850 'shortcodes' =>
851 array (
852 'name' => 'Shortcode Embeds',
853 'description' => 'Shortcodes are WordPress-specific markup that let you add media from popular sites. This feature is no longer necessary as the editor now handles media embeds rather gracefully.',
854 'sort' => '3',
855 'recommendation_order' => '',
856 'introduced' => '1.1',
857 'changed' => '1.2',
858 'deactivate' => '',
859 'free' => '',
860 'requires_connection' => 'No',
861 'requires_user_connection' => '',
862 'auto_activate' => 'No',
863 'module_tags' => 'Photos and Videos, Social, Writing, Appearance',
864 'feature' => 'Writing',
865 'additional_search_queries' => 'shortcodes, shortcode, embeds, media, bandcamp, dailymotion, facebook, flickr, google calendars, google maps, google+, polldaddy, recipe, recipes, scribd, slideshare, slideshow, slideshows, soundcloud, ted, twitter, vimeo, vine, youtube',
866 'plan_classes' => '',
867 ),
868 'shortlinks' =>
869 array (
870 'name' => 'WP.me Shortlinks',
871 'description' => 'Generates shorter links using the wp.me domain.',
872 'sort' => '8',
873 'recommendation_order' => '',
874 'introduced' => '1.1',
875 'changed' => '',
876 'deactivate' => '',
877 'free' => '',
878 'requires_connection' => 'Yes',
879 'requires_user_connection' => '',
880 'auto_activate' => 'No',
881 'module_tags' => 'Social',
882 'feature' => 'Writing',
883 'additional_search_queries' => 'shortlinks, wp.me',
884 'plan_classes' => '',
885 ),
886 'sitemaps' =>
887 array (
888 'name' => 'Sitemaps',
889 'description' => 'Make it easy for search engines to find your site.',
890 'sort' => '13',
891 'recommendation_order' => '',
892 'introduced' => '3.9',
893 'changed' => '',
894 'deactivate' => '',
895 'free' => '',
896 'requires_connection' => 'No',
897 'requires_user_connection' => '',
898 'auto_activate' => 'No',
899 'module_tags' => 'Recommended, Traffic',
900 'feature' => 'Recommended',
901 'additional_search_queries' => 'sitemap, traffic, search, site map, seo',
902 'plan_classes' => '',
903 ),
904 'sso' =>
905 array (
906 'name' => 'Secure Sign On',
907 'description' => 'Allow users to log in to this site using WordPress.com accounts',
908 'sort' => '30',
909 'recommendation_order' => '5',
910 'introduced' => '2.6',
911 'changed' => '',
912 'deactivate' => '',
913 'free' => '',
914 'requires_connection' => 'Yes',
915 'requires_user_connection' => 'Yes',
916 'auto_activate' => 'No',
917 'module_tags' => 'Developers',
918 'feature' => 'Security',
919 'additional_search_queries' => 'sso, single sign on, login, log in, 2fa, two-factor',
920 'plan_classes' => '',
921 ),
922 'stats' =>
923 array (
924 'name' => 'Site Stats',
925 'description' => 'Collect valuable traffic stats and insights.',
926 'sort' => '1',
927 'recommendation_order' => '2',
928 'introduced' => '1.1',
929 'changed' => '',
930 'deactivate' => '',
931 'free' => '',
932 'requires_connection' => 'Yes',
933 'requires_user_connection' => '',
934 'auto_activate' => 'Yes',
935 'module_tags' => 'Site Stats, Recommended',
936 'feature' => 'Engagement',
937 'additional_search_queries' => 'statistics, tracking, analytics, views, traffic, stats',
938 'plan_classes' => '',
939 ),
940 'subscriptions' =>
941 array (
942 'name' => 'Subscriptions',
943 'description' => 'Let visitors subscribe to new posts and comments via email',
944 'sort' => '9',
945 'recommendation_order' => '8',
946 'introduced' => '1.2',
947 'changed' => '',
948 'deactivate' => '',
949 'free' => '',
950 'requires_connection' => 'Yes',
951 'requires_user_connection' => 'Yes',
952 'auto_activate' => 'No',
953 'module_tags' => 'Social',
954 'feature' => 'Engagement',
955 'additional_search_queries' => 'subscriptions, subscription, email, follow, followers, subscribers, signup',
956 'plan_classes' => '',
957 ),
958 'tiled-gallery' =>
959 array (
960 'name' => 'Tiled Galleries',
961 'description' => 'Display image galleries in a variety of elegant arrangements.',
962 'sort' => '24',
963 'recommendation_order' => '',
964 'introduced' => '2.1',
965 'changed' => '',
966 'deactivate' => '',
967 'free' => '',
968 'requires_connection' => 'No',
969 'requires_user_connection' => '',
970 'auto_activate' => 'No',
971 'module_tags' => 'Photos and Videos',
972 'feature' => 'Appearance',
973 'additional_search_queries' => 'gallery, tiles, tiled, grid, mosaic, images',
974 'plan_classes' => '',
975 ),
976 'vaultpress' =>
977 array (
978 'name' => 'Backups and Scanning',
979 'description' => 'Protect your site with daily or real-time backups and automated virus scanning and threat detection.',
980 'sort' => '32',
981 'recommendation_order' => '',
982 'introduced' => '0:1.2',
983 'changed' => '',
984 'deactivate' => 'false',
985 'free' => 'false',
986 'requires_connection' => 'Yes',
987 'requires_user_connection' => '',
988 'auto_activate' => 'No',
989 'module_tags' => '',
990 'feature' => 'Security, Health',
991 'additional_search_queries' => 'backup, cloud backup, database backup, restore, wordpress backup, backup plugin, wordpress backup plugin, back up, backup wordpress, backwpup, vaultpress, backups, off-site backups, offsite backup, offsite, off-site, antivirus, malware scanner, security, virus, viruses, prevent viruses, scan, anti-virus, antimalware, protection, safe browsing, malware, wp security, wordpress security',
992 'plan_classes' => 'personal, business, premium, security, complete',
993 ),
994 'verification-tools' =>
995 array (
996 'name' => 'Site verification',
997 'description' => 'Establish your site\'s authenticity with external services.',
998 'sort' => '33',
999 'recommendation_order' => '',
1000 'introduced' => '3.0',
1001 'changed' => '',
1002 'deactivate' => '',
1003 'free' => '',
1004 'requires_connection' => 'No',
1005 'requires_user_connection' => '',
1006 'auto_activate' => 'Yes',
1007 'module_tags' => '',
1008 'feature' => 'Engagement',
1009 'additional_search_queries' => 'webmaster, seo, google, bing, pinterest, search, console',
1010 'plan_classes' => '',
1011 ),
1012 'videopress' =>
1013 array (
1014 'name' => 'VideoPress',
1015 'description' => 'Save on hosting storage and bandwidth costs by streaming fast, ad-free video from our global network.',
1016 'sort' => '27',
1017 'recommendation_order' => '',
1018 'introduced' => '2.5',
1019 'changed' => '',
1020 'deactivate' => '',
1021 'free' => '',
1022 'requires_connection' => 'Yes',
1023 'requires_user_connection' => '',
1024 'auto_activate' => '',
1025 'module_tags' => 'Photos and Videos',
1026 'feature' => 'Writing',
1027 'additional_search_queries' => 'video, videos, videopress, video gallery, video player, videoplayer, mobile video, vimeo, youtube, html5 video, stream',
1028 'plan_classes' => '',
1029 ),
1030 'widget-visibility' =>
1031 array (
1032 'name' => 'Widget Visibility',
1033 'description' => 'Control where widgets appear on your site.',
1034 'sort' => '17',
1035 'recommendation_order' => '',
1036 'introduced' => '2.4',
1037 'changed' => '',
1038 'deactivate' => '',
1039 'free' => '',
1040 'requires_connection' => 'No',
1041 'requires_user_connection' => '',
1042 'auto_activate' => 'No',
1043 'module_tags' => 'Appearance',
1044 'feature' => 'Appearance',
1045 'additional_search_queries' => 'widget visibility, logic, conditional, widgets, widget',
1046 'plan_classes' => '',
1047 ),
1048 'widgets' =>
1049 array (
1050 'name' => 'Extra Sidebar Widgets',
1051 'description' => 'Provides additional widgets for use on your site.',
1052 'sort' => '4',
1053 'recommendation_order' => '',
1054 'introduced' => '1.2',
1055 'changed' => '',
1056 'deactivate' => '',
1057 'free' => '',
1058 'requires_connection' => 'No',
1059 'requires_user_connection' => '',
1060 'auto_activate' => 'No',
1061 'module_tags' => 'Social, Appearance',
1062 'feature' => 'Appearance',
1063 'additional_search_queries' => 'widget, widgets, facebook, gallery, twitter, gravatar, image, rss',
1064 'plan_classes' => '',
1065 ),
1066 'woocommerce-analytics' =>
1067 array (
1068 'name' => 'WooCommerce Analytics',
1069 'description' => 'Enhanced analytics for WooCommerce and Jetpack users.',
1070 'sort' => '13',
1071 'recommendation_order' => '',
1072 'introduced' => '8.4',
1073 'changed' => '',
1074 'deactivate' => '',
1075 'free' => '',
1076 'requires_connection' => 'Yes',
1077 'requires_user_connection' => '',
1078 'auto_activate' => 'Yes',
1079 'module_tags' => 'Other, Recommended',
1080 'feature' => 'Engagement',
1081 'additional_search_queries' => 'woocommerce, analytics, stats, statistics, tracking, analytics, views',
1082 'plan_classes' => '',
1083 ),
1084 'wordads' =>
1085 array (
1086 'name' => 'Ads',
1087 'description' => 'Earn income by allowing Jetpack to display high quality ads.',
1088 'sort' => '1',
1089 'recommendation_order' => '',
1090 'introduced' => '4.5.0',
1091 'changed' => '',
1092 'deactivate' => '',
1093 'free' => '',
1094 'requires_connection' => 'Yes',
1095 'requires_user_connection' => '',
1096 'auto_activate' => 'No',
1097 'module_tags' => 'Traffic, Appearance',
1098 'feature' => '',
1099 'additional_search_queries' => 'advertising, ad codes, ads',
1100 'plan_classes' => 'premium, business, security, complete',
1101 ),
1102 );
1103 return isset( $module_info[ $key ] ) ? $module_info[ $key ] : null;
1104 }
1105
1106 /**
1107 * Return an array containing all module header names.
1108 *
1109 * @return array
1110 */
1111 function jetpack_get_all_module_header_names() {
1112 return array (
1113 'name' => 'Module Name',
1114 'description' => 'Module Description',
1115 'sort' => 'Sort Order',
1116 'recommendation_order' => 'Recommendation Order',
1117 'introduced' => 'First Introduced',
1118 'changed' => 'Major Changes In',
1119 'deactivate' => 'Deactivate',
1120 'free' => 'Free',
1121 'requires_connection' => 'Requires Connection',
1122 'requires_user_connection' => 'Requires User Connection',
1123 'auto_activate' => 'Auto Activate',
1124 'module_tags' => 'Module Tags',
1125 'feature' => 'Feature',
1126 'additional_search_queries' => 'Additional Search Queries',
1127 'plan_classes' => 'Plans',
1128 );
1129 }
1130
1131 /**
1132 * Returns whether the file associated with the given slug has no module info.
1133 *
1134 * @param string $slug The slug name.
1135 *
1136 * @return bool Whether the file has no module info.
1137 */
1138 function jetpack_has_no_module_info( $slug ) {
1139 $no_info_slugs = array (
1140 0 => 'geo-location',
1141 1 => 'module-extras',
1142 2 => 'module-info',
1143 3 => 'plugin-search',
1144 4 => 'theme-tools',
1145 );
1146
1147 return in_array( $slug, $no_info_slugs, true );
1148 }
1149