| @@ -9,236 +9,261 @@ | ||
| 9 | 9 | * For a given module, return an array with translated name and description. |
| 10 | 10 | * |
| 11 | 11 | * @param string $key Module file name without `.php`. |
| 12 | 12 | * |
| 13 | - * @return array | |
| 13 | + * @return array|null | |
| 14 | 14 | */ |
| 15 | 15 | function jetpack_get_module_i18n( $key ) { |
| 16 | 16 | static $modules; |
| 17 | 17 | if ( ! isset( $modules ) ) { |
| 18 | 18 | $modules = array( |
| 19 | + 'account-protection' => array( | |
| 20 | + 'name' => _x( 'Account Protection', 'Module Name', 'jetpack' ), | |
| 21 | + 'description' => _x( 'Shield your login page with rate‑limiting and secure authentication safeguards.', 'Module Description', 'jetpack' ), | |
| 22 | + ), | |
| 23 | + | |
| 24 | + 'activity-log' => array( | |
| 25 | + 'name' => _x( 'Activity Log', 'Module Name', 'jetpack' ), | |
| 26 | + 'description' => _x( 'A record of every event on your site, so you can see what happened and roll back when something goes wrong.', 'Module Description', 'jetpack' ), | |
| 27 | + ), | |
| 28 | + | |
| 29 | + 'ai' => array( | |
| 30 | + 'name' => _x( 'AI', 'Module Name', 'jetpack' ), | |
| 31 | + 'description' => _x( 'Turn your ideas into ready-to-publish content and generate images with the power of AI.', 'Module Description', 'jetpack' ), | |
| 32 | + ), | |
| 33 | + | |
| 34 | + 'backup' => array( | |
| 35 | + 'name' => _x( 'Backup', 'Module Name', 'jetpack' ), | |
| 36 | + 'description' => _x( 'Browse your backups and restore your site right from your dashboard.', 'Module Description', 'jetpack' ), | |
| 37 | + ), | |
| 38 | + | |
| 19 | 39 | 'blaze' => array( |
| 20 | 40 | 'name' => _x( 'Blaze', 'Module Name', 'jetpack' ), |
| 21 | - 'description' => _x( 'Grow your audience by promoting your content across Tumblr and WordPress.com.', 'Module Description', 'jetpack' ), | |
| 41 | + 'description' => _x( 'Promote your posts and pages across millions of sites in the WordPress.com and Tumblr ad network.', 'Module Description', 'jetpack' ), | |
| 22 | 42 | ), |
| 23 | 43 | |
| 44 | + 'blocks' => array( | |
| 45 | + 'name' => _x( 'Blocks', 'Module Name', 'jetpack' ), | |
| 46 | + 'description' => _x( 'Expand your editor with custom Jetpack blocks for rich content and layout options.', 'Module Description', 'jetpack' ), | |
| 47 | + ), | |
| 48 | + | |
| 49 | + 'canonical-urls' => array( | |
| 50 | + 'name' => _x( 'Canonical URLs', 'Module Name', 'jetpack' ), | |
| 51 | + 'description' => _x( 'Add canonical URL tags to archive pages to prevent duplicate content in search engines.', 'Module Description', 'jetpack' ), | |
| 52 | + ), | |
| 53 | + | |
| 24 | 54 | 'carousel' => array( |
| 25 | 55 | 'name' => _x( 'Carousel', 'Module Name', 'jetpack' ), |
| 26 | - 'description' => _x( 'Display images and galleries in a gorgeous, full-screen browsing experience', 'Module Description', 'jetpack' ), | |
| 56 | + 'description' => _x( 'Turn your image galleries into immersive, full‑screen slideshows.', 'Module Description', 'jetpack' ), | |
| 27 | 57 | ), |
| 28 | 58 | |
| 29 | 59 | 'comment-likes' => array( |
| 30 | 60 | 'name' => _x( 'Comment Likes', 'Module Name', 'jetpack' ), |
| 31 | - 'description' => _x( 'Increase visitor engagement by adding a Like button to comments.', 'Module Description', 'jetpack' ), | |
| 61 | + 'description' => _x( 'Enable visitors to like individual comments and boost engagement.', 'Module Description', 'jetpack' ), | |
| 32 | 62 | ), |
| 33 | 63 | |
| 34 | 64 | 'comments' => array( |
| 35 | 65 | 'name' => _x( 'Comments', 'Module Name', 'jetpack' ), |
| 36 | - 'description' => _x( 'Let visitors use a WordPress.com or Facebook account to comment', 'Module Description', 'jetpack' ), | |
| 66 | + 'description' => _x( 'Replace the default comment form with a modern, feature‑rich alternative.', 'Module Description', 'jetpack' ), | |
| 37 | 67 | ), |
| 38 | 68 | |
| 39 | 69 | 'contact-form' => array( |
| 40 | - 'name' => _x( 'Contact Form', 'Module Name', 'jetpack' ), | |
| 41 | - 'description' => _x( 'Add a customizable contact form to any post or page using the Jetpack Form Block.', 'Module Description', 'jetpack' ), | |
| 70 | + 'name' => _x( 'Forms', 'Module Name', 'jetpack' ), | |
| 71 | + 'description' => _x( 'Add contact, registration, and feedback forms directly from the block editor.', 'Module Description', 'jetpack' ), | |
| 42 | 72 | ), |
| 43 | 73 | |
| 44 | 74 | 'copy-post' => array( |
| 45 | 75 | 'name' => _x( 'Copy Post', 'Module Name', 'jetpack' ), |
| 46 | - 'description' => _x( 'Enable the option to copy entire posts and pages, including tags and settings', 'Module Description', 'jetpack' ), | |
| 76 | + 'description' => _x( 'Duplicate any post or page in one click to speed up content creation.', 'Module Description', 'jetpack' ), | |
| 47 | 77 | ), |
| 48 | 78 | |
| 49 | 79 | 'custom-content-types' => array( |
| 50 | - 'name' => _x( 'Custom content types', 'Module Name', 'jetpack' ), | |
| 80 | + 'name' => _x( 'Custom Content Types', 'Module Name', 'jetpack' ), | |
| 51 | 81 | 'description' => _x( 'Display different types of content on your site with custom content types.', 'Module Description', 'jetpack' ), |
| 52 | 82 | ), |
| 53 | 83 | |
| 54 | - 'custom-css' => array( | |
| 55 | - 'name' => _x( 'Custom CSS', 'Module Name', 'jetpack' ), | |
| 56 | - 'description' => _x( 'Adds options for CSS preprocessor use, disabling the theme\'s CSS, or custom image width.', '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 | 84 | 'google-fonts' => array( |
| 65 | 85 | 'name' => _x( 'Google Fonts (Beta)', 'Module Name', 'jetpack' ), |
| 66 | - 'description' => _x( 'A selection of Google fonts for block enabled themes. This feature is still being developed.', 'Module Description', 'jetpack' ), | |
| 86 | + 'description' => _x( 'This feature is now supported natively in WordPress when using any block theme. To use Google Fonts, refer to the WordPress.org Font Library documentation.', 'Module Description', 'jetpack' ), | |
| 67 | 87 | ), |
| 68 | 88 | |
| 69 | 89 | 'gravatar-hovercards' => array( |
| 70 | 90 | 'name' => _x( 'Gravatar Hovercards', 'Module Name', 'jetpack' ), |
| 71 | - 'description' => _x( 'Enable pop-up business cards over commenters’ Gravatars.', 'Module Description', 'jetpack' ), | |
| 91 | + 'description' => _x( 'Show a user’s Gravatar profile when visitors hover over their name or image.', 'Module Description', 'jetpack' ), | |
| 72 | 92 | ), |
| 73 | 93 | |
| 74 | 94 | 'infinite-scroll' => array( |
| 75 | 95 | 'name' => _x( 'Infinite Scroll', 'Module Name', 'jetpack' ), |
| 76 | - 'description' => _x( 'Automatically load new content when a visitor scrolls', 'Module Description', 'jetpack' ), | |
| 96 | + 'description' => _x( 'Automatically load new posts as visitors scroll down your site.', 'Module Description', 'jetpack' ), | |
| 77 | 97 | ), |
| 78 | 98 | |
| 79 | 99 | 'json-api' => array( |
| 80 | 100 | 'name' => _x( 'JSON API', 'Module Name', 'jetpack' ), |
| 81 | - 'description' => _x( 'Allow applications to securely access your content.', 'Module Description', 'jetpack' ), | |
| 101 | + 'description' => _x( 'Access your site’s data remotely through the WordPress.com REST API.', 'Module Description', 'jetpack' ), | |
| 82 | 102 | ), |
| 83 | 103 | |
| 84 | 104 | 'latex' => array( |
| 85 | 105 | 'name' => _x( 'Beautiful Math', 'Module Name', 'jetpack' ), |
| 86 | - 'description' => _x( 'Use the LaTeX markup language to write mathematical equations and formulas', 'Module Description', 'jetpack' ), | |
| 106 | + 'description' => _x( 'Add beautifully formatted math equations to your posts and pages using LaTeX.', 'Module Description', 'jetpack' ), | |
| 87 | 107 | ), |
| 88 | 108 | |
| 89 | 109 | 'likes' => array( |
| 90 | 110 | 'name' => _x( 'Likes', 'Module Name', 'jetpack' ), |
| 91 | - 'description' => _x( 'Give visitors an easy way to show they appreciate your content.', 'Module Description', 'jetpack' ), | |
| 111 | + 'description' => _x( 'Let readers like your posts to show appreciation and encourage interaction.', 'Module Description', 'jetpack' ), | |
| 92 | 112 | ), |
| 93 | 113 | |
| 94 | 114 | 'markdown' => array( |
| 95 | 115 | 'name' => _x( 'Markdown', 'Module Name', 'jetpack' ), |
| 96 | - 'description' => _x( 'Write posts or pages in plain-text Markdown syntax', 'Module Description', 'jetpack' ), | |
| 116 | + 'description' => _x( 'Write and format posts using clean, readable Markdown syntax.', 'Module Description', 'jetpack' ), | |
| 97 | 117 | ), |
| 98 | 118 | |
| 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 | 119 | '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' ), | |
| 120 | + 'name' => _x( 'Downtime Monitor', 'Module Name', 'jetpack' ), | |
| 121 | + 'description' => _x( 'Get instant alerts if your site goes down and know when it’s back online.', 'Module Description', 'jetpack' ), | |
| 107 | 122 | ), |
| 108 | 123 | |
| 109 | 124 | 'notes' => array( |
| 110 | 125 | 'name' => _x( 'Notifications', 'Module Name', 'jetpack' ), |
| 111 | - 'description' => _x( 'Receive instant notifications of site comments and likes.', 'Module Description', 'jetpack' ), | |
| 126 | + 'description' => _x( 'Receive real‑time notifications about site activity across your devices.', 'Module Description', 'jetpack' ), | |
| 112 | 127 | ), |
| 113 | 128 | |
| 114 | 129 | 'photon-cdn' => array( |
| 115 | 130 | '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' ), | |
| 131 | + 'description' => _x( 'Serve static files like CSS and JS from Jetpack’s global CDN for faster load times.', 'Module Description', 'jetpack' ), | |
| 117 | 132 | ), |
| 118 | 133 | |
| 119 | 134 | 'photon' => array( |
| 120 | 135 | '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' ), | |
| 136 | + 'description' => _x( 'Deliver images quickly with automatic resizing from Jetpack’s global image CDN.', 'Module Description', 'jetpack' ), | |
| 122 | 137 | ), |
| 123 | 138 | |
| 139 | + 'podcast' => array( | |
| 140 | + 'name' => _x( 'Podcast', 'Module Name', 'jetpack' ), | |
| 141 | + 'description' => _x( 'Publish, manage, and grow your podcast right from your site.', 'Module Description', 'jetpack' ), | |
| 142 | + ), | |
| 143 | + | |
| 124 | 144 | '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' ), | |
| 145 | + 'name' => _x( 'Post by Email', 'Module Name', 'jetpack' ), | |
| 146 | + 'description' => _x( 'Publish blog posts simply by sending an email to a custom address.', 'Module Description', 'jetpack' ), | |
| 127 | 147 | ), |
| 128 | 148 | |
| 129 | 149 | 'post-list' => array( |
| 130 | 150 | 'name' => _x( 'Post List', 'Module Name', 'jetpack' ), |
| 131 | - 'description' => _x( 'Display extra information alongside each post in your dashboard’s Posts screen.', 'Module Description', 'jetpack' ), | |
| 151 | + 'description' => _x( 'Display a customizable list of your latest posts anywhere on your site.', 'Module Description', 'jetpack' ), | |
| 132 | 152 | ), |
| 133 | 153 | |
| 134 | 154 | 'protect' => array( |
| 135 | - 'name' => _x( 'Brute force protection', 'Module Name', 'jetpack' ), | |
| 136 | - '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' ), | |
| 155 | + 'name' => _x( 'Brute Force Protection', 'Module Name', 'jetpack' ), | |
| 156 | + 'description' => _x( 'Block malicious login attempts automatically and keep hackers out.', 'Module Description', 'jetpack' ), | |
| 137 | 157 | ), |
| 138 | 158 | |
| 139 | 159 | 'publicize' => array( |
| 140 | 160 | 'name' => _x( 'Jetpack Social', 'Module Name', 'jetpack' ), |
| 141 | - 'description' => _x( 'Jetpack Social makes it easy to share your site’s posts on several social media networks automatically when you publish a new post.', 'Module Description', 'jetpack' ), | |
| 161 | + 'description' => _x( 'Auto‑share your posts to social networks and track engagement in one place.', 'Module Description', 'jetpack' ), | |
| 142 | 162 | ), |
| 143 | 163 | |
| 144 | 164 | 'related-posts' => array( |
| 145 | - 'name' => _x( 'Related posts', 'Module Name', 'jetpack' ), | |
| 146 | - 'description' => _x( 'Keep visitors engaged on your blog by highlighting relevant and new content at the bottom of each published post.', 'Module Description', 'jetpack' ), | |
| 165 | + 'name' => _x( 'Related Posts', 'Module Name', 'jetpack' ), | |
| 166 | + 'description' => _x( 'Automatically display related articles to keep visitors reading longer.', 'Module Description', 'jetpack' ), | |
| 147 | 167 | ), |
| 148 | 168 | |
| 149 | 169 | 'search' => array( |
| 150 | 170 | 'name' => _x( 'Search', 'Module Name', 'jetpack' ), |
| 151 | - 'description' => _x( 'Help visitors quickly find answers with highly relevant instant search results and powerful filtering.', 'Module Description', 'jetpack' ), | |
| 171 | + 'description' => _x( 'Instantly deliver the most relevant results to your visitors.', 'Module Description', 'jetpack' ), | |
| 152 | 172 | ), |
| 153 | 173 | |
| 154 | 174 | 'seo-tools' => array( |
| 155 | 175 | 'name' => _x( 'SEO Tools', 'Module Name', 'jetpack' ), |
| 156 | - 'description' => _x( 'Better results on search engines and social media.', 'Module Description', 'jetpack' ), | |
| 176 | + 'description' => _x( 'Optimize titles, meta descriptions, and social previews for better search results.', 'Module Description', 'jetpack' ), | |
| 157 | 177 | ), |
| 158 | 178 | |
| 159 | 179 | 'sharedaddy' => array( |
| 160 | 180 | 'name' => _x( 'Sharing', 'Module Name', 'jetpack' ), |
| 161 | - 'description' => _x( 'Add sharing buttons at the bottom of each post, making it easy for visitors to share your content.', 'Module Description', 'jetpack' ), | |
| 181 | + 'description' => _x( 'Add customizable share buttons so visitors can spread your content.', 'Module Description', 'jetpack' ), | |
| 162 | 182 | ), |
| 163 | 183 | |
| 164 | 184 | 'shortcodes' => array( |
| 165 | 185 | 'name' => _x( 'Shortcode Embeds', 'Module Name', 'jetpack' ), |
| 166 | - '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' ), | |
| 186 | + 'description' => _x( 'Easily embed rich media like YouTube videos and tweets using simple shortcodes.', 'Module Description', 'jetpack' ), | |
| 167 | 187 | ), |
| 168 | 188 | |
| 169 | 189 | 'shortlinks' => array( |
| 170 | 190 | 'name' => _x( 'WP.me Shortlinks', 'Module Name', 'jetpack' ), |
| 171 | - 'description' => _x( 'Generates shorter links using the wp.me domain.', 'Module Description', 'jetpack' ), | |
| 191 | + 'description' => _x( 'Share short, easy-to-remember links to your posts and pages.', 'Module Description', 'jetpack' ), | |
| 172 | 192 | ), |
| 173 | 193 | |
| 174 | 194 | 'sitemaps' => array( |
| 175 | 195 | 'name' => _x( 'Sitemaps', 'Module Name', 'jetpack' ), |
| 176 | - 'description' => _x( 'Make it easy for search engines to find your site.', 'Module Description', 'jetpack' ), | |
| 196 | + 'description' => _x( 'Generate XML sitemaps so search engines can index your site efficiently.', 'Module Description', 'jetpack' ), | |
| 177 | 197 | ), |
| 178 | 198 | |
| 179 | 199 | 'sso' => array( |
| 180 | 200 | 'name' => _x( 'Secure Sign On', 'Module Name', 'jetpack' ), |
| 181 | - 'description' => _x( 'Allow users to log in to this site using WordPress.com accounts', 'Module Description', 'jetpack' ), | |
| 201 | + 'description' => _x( 'Let users log in with their WordPress.com account for quick, secure access.', 'Module Description', 'jetpack' ), | |
| 182 | 202 | ), |
| 183 | 203 | |
| 184 | 204 | 'stats' => array( |
| 185 | 205 | 'name' => _x( 'Jetpack Stats', 'Module Name', 'jetpack' ), |
| 186 | - 'description' => _x( 'Collect valuable traffic stats and insights.', 'Module Description', 'jetpack' ), | |
| 206 | + 'description' => _x( 'Clear, concise traffic insights right in your WordPress dashboard.', 'Module Description', 'jetpack' ), | |
| 187 | 207 | ), |
| 188 | 208 | |
| 189 | 209 | 'subscriptions' => array( |
| 190 | 210 | 'name' => _x( 'Newsletter', 'Module Name', 'jetpack' ), |
| 191 | - 'description' => _x( 'Let visitors subscribe to new posts and comments via email', 'Module Description', 'jetpack' ), | |
| 211 | + 'description' => _x( 'Grow your subscriber list and deliver your content directly to their email inbox.', 'Module Description', 'jetpack' ), | |
| 192 | 212 | ), |
| 193 | 213 | |
| 194 | 214 | 'tiled-gallery' => array( |
| 195 | 215 | 'name' => _x( 'Tiled Galleries', 'Module Name', 'jetpack' ), |
| 196 | - 'description' => _x( 'Display image galleries in a variety of elegant arrangements.', 'Module Description', 'jetpack' ), | |
| 216 | + 'description' => _x( 'Create visually engaging tiled image galleries with multiple layout options.', 'Module Description', 'jetpack' ), | |
| 197 | 217 | ), |
| 198 | 218 | |
| 199 | 219 | 'vaultpress' => array( |
| 200 | - 'name' => _x( 'Backups and Scanning', 'Module Name', 'jetpack' ), | |
| 201 | - 'description' => _x( 'Protect your site with daily or real-time backups and automated virus scanning and threat detection.', 'Module Description', 'jetpack' ), | |
| 220 | + 'name' => _x( 'VaultPress Backup', 'Module Name', 'jetpack' ), | |
| 221 | + 'description' => _x( 'Real-time backups save every change, and one-click restores get you back online quickly.', 'Module Description', 'jetpack' ), | |
| 202 | 222 | ), |
| 203 | 223 | |
| 204 | 224 | 'verification-tools' => array( |
| 205 | - 'name' => _x( 'Site verification', 'Module Name', 'jetpack' ), | |
| 206 | - 'description' => _x( 'Establish your site\'s authenticity with external services.', 'Module Description', 'jetpack' ), | |
| 225 | + 'name' => _x( 'Site Verification', 'Module Name', 'jetpack' ), | |
| 226 | + 'description' => _x( 'Verify your site with search engines and social platforms in a couple of clicks.', 'Module Description', 'jetpack' ), | |
| 207 | 227 | ), |
| 208 | 228 | |
| 209 | 229 | 'videopress' => array( |
| 210 | 230 | 'name' => _x( 'VideoPress', 'Module Name', 'jetpack' ), |
| 211 | - 'description' => _x( 'Save on hosting storage and bandwidth costs by streaming fast, ad-free video from our global network.', 'Module Description', 'jetpack' ), | |
| 231 | + 'description' => _x( 'Powerful and flexible video hosting.', 'Module Description', 'jetpack' ), | |
| 212 | 232 | ), |
| 213 | 233 | |
| 214 | 234 | 'waf' => array( |
| 215 | 235 | 'name' => _x( 'Firewall', 'Module Name', 'jetpack' ), |
| 216 | - 'description' => _x( 'Protect your site with Jetpack\'s Web Application Firewall', 'Module Description', 'jetpack' ), | |
| 236 | + 'description' => _x( 'Filter malicious traffic in real time with Jetpack’s site firewall.', 'Module Description', 'jetpack' ), | |
| 217 | 237 | ), |
| 218 | 238 | |
| 219 | 239 | 'widget-visibility' => array( |
| 220 | 240 | 'name' => _x( 'Widget Visibility', 'Module Name', 'jetpack' ), |
| 221 | - 'description' => _x( 'Control where widgets appear on your site.', 'Module Description', 'jetpack' ), | |
| 241 | + 'description' => _x( 'Choose which widgets appear on specific pages or posts with advanced controls.', 'Module Description', 'jetpack' ), | |
| 222 | 242 | ), |
| 223 | 243 | |
| 224 | 244 | 'widgets' => array( |
| 225 | 245 | 'name' => _x( 'Extra Sidebar Widgets', 'Module Name', 'jetpack' ), |
| 226 | - 'description' => _x( 'Provides additional widgets for use on your site.', 'Module Description', 'jetpack' ), | |
| 246 | + 'description' => _x( 'Add more widget options to your site, like social feeds, subscriptions, and more.', 'Module Description', 'jetpack' ), | |
| 227 | 247 | ), |
| 228 | 248 | |
| 229 | 249 | 'woocommerce-analytics' => array( |
| 230 | 250 | 'name' => _x( 'WooCommerce Analytics', 'Module Name', 'jetpack' ), |
| 231 | - 'description' => _x( 'Enhanced analytics for WooCommerce and Jetpack users.', 'Module Description', 'jetpack' ), | |
| 251 | + 'description' => _x( 'Get actionable insights on your store’s orders, revenue, and customers.', 'Module Description', 'jetpack' ), | |
| 232 | 252 | ), |
| 233 | 253 | |
| 234 | 254 | 'wordads' => array( |
| 235 | 255 | 'name' => _x( 'Ads', 'Module Name', 'jetpack' ), |
| 236 | - 'description' => _x( 'Earn income by allowing Jetpack to display high quality ads.', 'Module Description', 'jetpack' ), | |
| 256 | + 'description' => _x( 'Earn revenue by displaying high‑quality ads on your site.', 'Module Description', 'jetpack' ), | |
| 237 | 257 | ), |
| 258 | + | |
| 259 | + 'wpcom-reader' => array( | |
| 260 | + 'name' => _x( 'WordPress.com Reader', 'Module Name', 'jetpack' ), | |
| 261 | + 'description' => _x( 'Quickly access the WordPress.com Reader from your site\'s admin bar.', 'Module Description', 'jetpack' ), | |
| 262 | + ), | |
| 238 | 263 | ); |
| 239 | 264 | } |
| 240 | - return isset( $modules[ $key ] ) ? $modules[ $key ] : null; | |
| 265 | + return $modules[ $key ] ?? null; | |
| 241 | 266 | } |
| 242 | 267 | |
| 243 | 268 | /** |
| 244 | 269 | * For a given module tag, return its translated version. |
| @@ -256,10 +281,42 @@ | ||
| 256 | 281 | // - modules/notes.php |
| 257 | 282 | // - modules/woocommerce-analytics.php |
| 258 | 283 | 'Other' => _x( 'Other', 'Module Tag', 'jetpack' ), |
| 259 | 284 | |
| 285 | + // Modules with `Account Protection` tag: | |
| 286 | + // - modules/account-protection.php | |
| 287 | + 'Account Protection' => _x( 'Account Protection', 'Module Tag', 'jetpack' ), | |
| 288 | + | |
| 289 | + // Modules with `Recommended` tag: | |
| 290 | + // - modules/activity-log.php | |
| 291 | + // - modules/google-fonts.php | |
| 292 | + // - modules/monitor.php | |
| 293 | + // - modules/photon-cdn.php | |
| 294 | + // - modules/photon.php | |
| 295 | + // - modules/protect.php | |
| 296 | + // - modules/publicize.php | |
| 297 | + // - modules/related-posts.php | |
| 298 | + // - modules/sharedaddy.php | |
| 299 | + // - modules/sitemaps.php | |
| 300 | + // - modules/stats.php | |
| 301 | + // - modules/woocommerce-analytics.php | |
| 302 | + 'Recommended' => _x( 'Recommended', 'Module Tag', 'jetpack' ), | |
| 303 | + | |
| 304 | + // Modules with `Writing` tag: | |
| 305 | + // - modules/ai.php | |
| 306 | + // - modules/copy-post.php | |
| 307 | + // - modules/custom-content-types.php | |
| 308 | + // - modules/json-api.php | |
| 309 | + // - modules/latex.php | |
| 310 | + // - modules/markdown.php | |
| 311 | + // - modules/podcast.php | |
| 312 | + // - modules/post-by-email.php | |
| 313 | + // - modules/shortcodes.php | |
| 314 | + 'Writing' => _x( 'Writing', 'Module Tag', 'jetpack' ), | |
| 315 | + | |
| 260 | 316 | // Modules with `Traffic` tag: |
| 261 | 317 | // - modules/blaze.php |
| 318 | + // - modules/canonical-urls.php | |
| 262 | 319 | // - modules/sitemaps.php |
| 263 | 320 | // - modules/wordads.php |
| 264 | 321 | 'Traffic' => _x( 'Traffic', 'Module Tag', 'jetpack' ), |
| 265 | 322 | |
| @@ -275,10 +332,15 @@ | ||
| 275 | 332 | // - modules/shortcodes.php |
| 276 | 333 | // - modules/shortlinks.php |
| 277 | 334 | // - modules/subscriptions.php |
| 278 | 335 | // - modules/widgets.php |
| 336 | + // - modules/wpcom-reader.php | |
| 279 | 337 | 'Social' => _x( 'Social', 'Module Tag', 'jetpack' ), |
| 280 | 338 | |
| 339 | + // Modules with `blocks` tag: | |
| 340 | + // - modules/blocks.php | |
| 341 | + 'blocks' => _x( 'blocks', 'Module Tag', 'jetpack' ), | |
| 342 | + | |
| 281 | 343 | // Modules with `Photos and Videos` tag: |
| 282 | 344 | // - modules/carousel.php |
| 283 | 345 | // - modules/photon-cdn.php |
| 284 | 346 | // - modules/photon.php |
| @@ -286,20 +348,13 @@ | ||
| 286 | 348 | // - modules/tiled-gallery.php |
| 287 | 349 | // - modules/videopress.php |
| 288 | 350 | 'Photos and Videos' => _x( 'Photos and Videos', 'Module Tag', 'jetpack' ), |
| 289 | 351 | |
| 290 | - // Modules with `Writing` tag: | |
| 291 | - // - modules/copy-post.php | |
| 292 | - // - modules/custom-content-types.php | |
| 293 | - // - modules/json-api.php | |
| 294 | - // - modules/latex.php | |
| 295 | - // - modules/markdown.php | |
| 296 | - // - modules/post-by-email.php | |
| 297 | - // - modules/shortcodes.php | |
| 298 | - 'Writing' => _x( 'Writing', 'Module Tag', 'jetpack' ), | |
| 352 | + // Modules with `Fonts` tag: | |
| 353 | + // - modules/google-fonts.php | |
| 354 | + 'Fonts' => _x( 'Fonts', 'Module Tag', 'jetpack' ), | |
| 299 | 355 | |
| 300 | 356 | // Modules with `Appearance` tag: |
| 301 | - // - modules/custom-css.php | |
| 302 | 357 | // - modules/gravatar-hovercards.php |
| 303 | 358 | // - modules/infinite-scroll.php |
| 304 | 359 | // - modules/photon-cdn.php |
| 305 | 360 | // - modules/photon.php |
| @@ -309,35 +364,13 @@ | ||
| 309 | 364 | // - modules/widgets.php |
| 310 | 365 | // - modules/wordads.php |
| 311 | 366 | 'Appearance' => _x( 'Appearance', 'Module Tag', 'jetpack' ), |
| 312 | 367 | |
| 313 | - // Modules with `Fonts` tag: | |
| 314 | - // - modules/google-fonts.php | |
| 315 | - 'Fonts' => _x( 'Fonts', 'Module Tag', 'jetpack' ), | |
| 316 | - | |
| 317 | - // Modules with `Recommended` tag: | |
| 318 | - // - modules/google-fonts.php | |
| 319 | - // - modules/monitor.php | |
| 320 | - // - modules/photon-cdn.php | |
| 321 | - // - modules/photon.php | |
| 322 | - // - modules/protect.php | |
| 323 | - // - modules/publicize.php | |
| 324 | - // - modules/related-posts.php | |
| 325 | - // - modules/sharedaddy.php | |
| 326 | - // - modules/sitemaps.php | |
| 327 | - // - modules/stats.php | |
| 328 | - // - modules/woocommerce-analytics.php | |
| 329 | - 'Recommended' => _x( 'Recommended', 'Module Tag', 'jetpack' ), | |
| 330 | - | |
| 331 | 368 | // Modules with `Developers` tag: |
| 332 | 369 | // - modules/json-api.php |
| 333 | 370 | // - modules/sso.php |
| 334 | 371 | 'Developers' => _x( 'Developers', 'Module Tag', 'jetpack' ), |
| 335 | 372 | |
| 336 | - // Modules with `General` tag: | |
| 337 | - // - modules/masterbar.php | |
| 338 | - 'General' => _x( 'General', 'Module Tag', 'jetpack' ), | |
| 339 | - | |
| 340 | 373 | // Modules with `Admin` tag: |
| 341 | 374 | // - modules/post-list.php |
| 342 | 375 | 'Admin' => _x( 'Admin', 'Module Tag', 'jetpack' ), |
| 343 | 376 | |
| @@ -365,16 +398,88 @@ | ||
| 365 | 398 | * For a given module, return an array with the module info. |
| 366 | 399 | * |
| 367 | 400 | * @param string $key Module file name without `.php`. |
| 368 | 401 | * |
| 369 | - * return array|string An array containing the module info or an empty string if the given module isn't known. | |
| 402 | + * return array|string|null An array containing the module info or an empty string if the given module isn't known. | |
| 370 | 403 | */ |
| 371 | 404 | function jetpack_get_module_info( $key ) { |
| 372 | 405 | static $module_info = array ( |
| 406 | + 'account-protection' => | |
| 407 | + array ( | |
| 408 | + 'name' => 'Account Protection', | |
| 409 | + 'description' => 'Shield your login page with rate‑limiting and secure authentication safeguards.', | |
| 410 | + 'sort' => '4', | |
| 411 | + 'recommendation_order' => '', | |
| 412 | + 'introduced' => '14.5', | |
| 413 | + 'changed' => '', | |
| 414 | + 'deactivate' => '', | |
| 415 | + 'free' => '', | |
| 416 | + 'requires_connection' => 'Yes', | |
| 417 | + 'requires_user_connection' => 'No', | |
| 418 | + 'auto_activate' => 'Yes', | |
| 419 | + 'module_tags' => 'Account Protection', | |
| 420 | + 'feature' => 'Security', | |
| 421 | + 'additional_search_queries' => '', | |
| 422 | + 'plan_classes' => '', | |
| 423 | + ), | |
| 424 | + 'activity-log' => | |
| 425 | + array ( | |
| 426 | + 'name' => 'Activity Log', | |
| 427 | + 'description' => 'A record of every event on your site, so you can see what happened and roll back when something goes wrong.', | |
| 428 | + 'sort' => '38', | |
| 429 | + 'recommendation_order' => '12', | |
| 430 | + 'introduced' => '16.3-a.3', | |
| 431 | + 'changed' => '', | |
| 432 | + 'deactivate' => '', | |
| 433 | + 'free' => '', | |
| 434 | + 'requires_connection' => 'Yes', | |
| 435 | + 'requires_user_connection' => 'Yes', | |
| 436 | + 'auto_activate' => 'Yes', | |
| 437 | + 'module_tags' => 'Recommended', | |
| 438 | + 'feature' => 'Security', | |
| 439 | + 'additional_search_queries' => 'activity, log, activity log, history, events, audit, audit log, rewind, restore, roll back, rollback', | |
| 440 | + 'plan_classes' => '', | |
| 441 | + ), | |
| 442 | + 'ai' => | |
| 443 | + array ( | |
| 444 | + 'name' => 'AI', | |
| 445 | + 'description' => 'Turn your ideas into ready-to-publish content and generate images with the power of AI.', | |
| 446 | + 'sort' => '40', | |
| 447 | + 'recommendation_order' => '15', | |
| 448 | + 'introduced' => '16.2-a.3', | |
| 449 | + 'changed' => '', | |
| 450 | + 'deactivate' => '', | |
| 451 | + 'free' => '', | |
| 452 | + 'requires_connection' => 'Yes', | |
| 453 | + 'requires_user_connection' => 'Yes', | |
| 454 | + 'auto_activate' => 'Yes', | |
| 455 | + 'module_tags' => 'Writing', | |
| 456 | + 'feature' => 'Writing', | |
| 457 | + 'additional_search_queries' => 'ai, artificial intelligence, jetpack ai, ai assistant, generate, content, images', | |
| 458 | + 'plan_classes' => '', | |
| 459 | + ), | |
| 460 | + 'backup' => | |
| 461 | + array ( | |
| 462 | + 'name' => 'Backup', | |
| 463 | + 'description' => 'Browse your backups and restore your site right from your dashboard.', | |
| 464 | + 'sort' => '33', | |
| 465 | + 'recommendation_order' => '', | |
| 466 | + 'introduced' => '16.3-a.8', | |
| 467 | + 'changed' => '', | |
| 468 | + 'deactivate' => '', | |
| 469 | + 'free' => '', | |
| 470 | + 'requires_connection' => 'Yes', | |
| 471 | + 'requires_user_connection' => 'Yes', | |
| 472 | + 'auto_activate' => 'Yes', | |
| 473 | + 'module_tags' => '', | |
| 474 | + 'feature' => 'Security', | |
| 475 | + 'additional_search_queries' => 'backup, backups, restore, vaultpress, rewind, cloud backup, off-site backup', | |
| 476 | + 'plan_classes' => '', | |
| 477 | + ), | |
| 373 | 478 | 'blaze' => |
| 374 | 479 | array ( |
| 375 | 480 | 'name' => 'Blaze', |
| 376 | - 'description' => 'Grow your audience by promoting your content across Tumblr and WordPress.com.', | |
| 481 | + 'description' => 'Promote your posts and pages across millions of sites in the WordPress.com and Tumblr ad network.', | |
| 377 | 482 | 'sort' => '22', |
| 378 | 483 | 'recommendation_order' => '12', |
| 379 | 484 | 'introduced' => '12.3', |
| 380 | 485 | 'changed' => '', |
| @@ -387,12 +492,48 @@ | ||
| 387 | 492 | 'feature' => '', |
| 388 | 493 | 'additional_search_queries' => 'advertising, ads', |
| 389 | 494 | 'plan_classes' => '', |
| 390 | 495 | ), |
| 496 | + 'blocks' => | |
| 497 | + array ( | |
| 498 | + 'name' => 'Blocks', | |
| 499 | + 'description' => 'Expand your editor with custom Jetpack blocks for rich content and layout options.', | |
| 500 | + 'sort' => '5', | |
| 501 | + 'recommendation_order' => '', | |
| 502 | + 'introduced' => '13.9-a.8', | |
| 503 | + 'changed' => '', | |
| 504 | + 'deactivate' => '', | |
| 505 | + 'free' => '', | |
| 506 | + 'requires_connection' => 'No', | |
| 507 | + 'requires_user_connection' => '', | |
| 508 | + 'auto_activate' => 'Yes', | |
| 509 | + 'module_tags' => 'blocks', | |
| 510 | + 'feature' => 'Writing', | |
| 511 | + 'additional_search_queries' => '', | |
| 512 | + 'plan_classes' => '', | |
| 513 | + ), | |
| 514 | + 'canonical-urls' => | |
| 515 | + array ( | |
| 516 | + 'name' => 'Canonical URLs', | |
| 517 | + 'description' => 'Add canonical URL tags to archive pages to prevent duplicate content in search engines.', | |
| 518 | + 'sort' => '36', | |
| 519 | + 'recommendation_order' => '', | |
| 520 | + 'introduced' => '15.6', | |
| 521 | + 'changed' => '', | |
| 522 | + 'deactivate' => '', | |
| 523 | + 'free' => '', | |
| 524 | + 'requires_connection' => 'No', | |
| 525 | + 'requires_user_connection' => 'No', | |
| 526 | + 'auto_activate' => 'No', | |
| 527 | + 'module_tags' => 'Traffic', | |
| 528 | + 'feature' => 'Traffic', | |
| 529 | + 'additional_search_queries' => 'canonical, seo, duplicate content, woocommerce, archive', | |
| 530 | + 'plan_classes' => '', | |
| 531 | + ), | |
| 391 | 532 | 'carousel' => |
| 392 | 533 | array ( |
| 393 | 534 | 'name' => 'Carousel', |
| 394 | - 'description' => 'Display images and galleries in a gorgeous, full-screen browsing experience', | |
| 535 | + 'description' => 'Turn your image galleries into immersive, full‑screen slideshows.', | |
| 395 | 536 | 'sort' => '22', |
| 396 | 537 | 'recommendation_order' => '12', |
| 397 | 538 | 'introduced' => '1.5', |
| 398 | 539 | 'changed' => '', |
| @@ -408,9 +549,9 @@ | ||
| 408 | 549 | ), |
| 409 | 550 | 'comment-likes' => |
| 410 | 551 | array ( |
| 411 | 552 | 'name' => 'Comment Likes', |
| 412 | - 'description' => 'Increase visitor engagement by adding a Like button to comments.', | |
| 553 | + 'description' => 'Enable visitors to like individual comments and boost engagement.', | |
| 413 | 554 | 'sort' => '39', |
| 414 | 555 | 'recommendation_order' => '17', |
| 415 | 556 | 'introduced' => '5.1', |
| 416 | 557 | 'changed' => '', |
| @@ -426,9 +567,9 @@ | ||
| 426 | 567 | ), |
| 427 | 568 | 'comments' => |
| 428 | 569 | array ( |
| 429 | 570 | 'name' => 'Comments', |
| 430 | - 'description' => 'Let visitors use a WordPress.com or Facebook account to comment', | |
| 571 | + 'description' => 'Replace the default comment form with a modern, feature‑rich alternative.', | |
| 431 | 572 | 'sort' => '20', |
| 432 | 573 | 'recommendation_order' => '', |
| 433 | 574 | 'introduced' => '1.4', |
| 434 | 575 | 'changed' => '', |
| @@ -443,10 +584,10 @@ | ||
| 443 | 584 | 'plan_classes' => '', |
| 444 | 585 | ), |
| 445 | 586 | 'contact-form' => |
| 446 | 587 | array ( |
| 447 | - 'name' => 'Contact Form', | |
| 448 | - 'description' => 'Add a customizable contact form to any post or page using the Jetpack Form Block.', | |
| 588 | + 'name' => 'Forms', | |
| 589 | + 'description' => 'Add contact, registration, and feedback forms directly from the block editor.', | |
| 449 | 590 | 'sort' => '15', |
| 450 | 591 | 'recommendation_order' => '14', |
| 451 | 592 | 'introduced' => '1.3', |
| 452 | 593 | 'changed' => '', |
| @@ -462,9 +603,9 @@ | ||
| 462 | 603 | ), |
| 463 | 604 | 'copy-post' => |
| 464 | 605 | array ( |
| 465 | 606 | 'name' => 'Copy Post', |
| 466 | - 'description' => 'Enable the option to copy entire posts and pages, including tags and settings', | |
| 607 | + 'description' => 'Duplicate any post or page in one click to speed up content creation.', | |
| 467 | 608 | 'sort' => '15', |
| 468 | 609 | 'recommendation_order' => '', |
| 469 | 610 | 'introduced' => '7.0', |
| 470 | 611 | 'changed' => '', |
| @@ -479,9 +620,9 @@ | ||
| 479 | 620 | 'plan_classes' => '', |
| 480 | 621 | ), |
| 481 | 622 | 'custom-content-types' => |
| 482 | 623 | array ( |
| 483 | - 'name' => 'Custom content types', | |
| 624 | + 'name' => 'Custom Content Types', | |
| 484 | 625 | 'description' => 'Display different types of content on your site with custom content types.', |
| 485 | 626 | 'sort' => '34', |
| 486 | 627 | 'recommendation_order' => '', |
| 487 | 628 | 'introduced' => '3.1', |
| @@ -495,48 +636,12 @@ | ||
| 495 | 636 | 'feature' => 'Writing', |
| 496 | 637 | 'additional_search_queries' => 'cpt, custom post types, portfolio, portfolios, testimonial, testimonials', |
| 497 | 638 | 'plan_classes' => '', |
| 498 | 639 | ), |
| 499 | - 'custom-css' => | |
| 500 | - array ( | |
| 501 | - 'name' => 'Custom CSS', | |
| 502 | - 'description' => 'Adds options for CSS preprocessor use, disabling the theme\'s CSS, or custom image width.', | |
| 503 | - 'sort' => '2', | |
| 504 | - 'recommendation_order' => '', | |
| 505 | - 'introduced' => '1.7', | |
| 506 | - 'changed' => '', | |
| 507 | - 'deactivate' => '', | |
| 508 | - 'free' => '', | |
| 509 | - 'requires_connection' => 'No', | |
| 510 | - 'requires_user_connection' => '', | |
| 511 | - 'auto_activate' => 'No', | |
| 512 | - 'module_tags' => 'Appearance', | |
| 513 | - 'feature' => 'Appearance', | |
| 514 | - 'additional_search_queries' => 'css, customize, custom, style, editor, less, sass, preprocessor, font, mobile, appearance, theme, stylesheet', | |
| 515 | - 'plan_classes' => '', | |
| 516 | - ), | |
| 517 | - 'google-analytics' => | |
| 518 | - array ( | |
| 519 | - 'name' => 'Google Analytics', | |
| 520 | - 'description' => 'Set up Google Analytics without touching a line of code.', | |
| 521 | - 'sort' => '37', | |
| 522 | - 'recommendation_order' => '', | |
| 523 | - 'introduced' => '4.5', | |
| 524 | - 'changed' => '', | |
| 525 | - 'deactivate' => '', | |
| 526 | - 'free' => '', | |
| 527 | - 'requires_connection' => 'Yes', | |
| 528 | - 'requires_user_connection' => '', | |
| 529 | - 'auto_activate' => 'No', | |
| 530 | - 'module_tags' => '', | |
| 531 | - 'feature' => 'Engagement', | |
| 532 | - 'additional_search_queries' => 'webmaster, google, analytics, console', | |
| 533 | - 'plan_classes' => 'business, premium, security, complete', | |
| 534 | - ), | |
| 535 | 640 | 'google-fonts' => |
| 536 | 641 | array ( |
| 537 | 642 | 'name' => 'Google Fonts (Beta)', |
| 538 | - 'description' => 'A selection of Google fonts for block enabled themes. This feature is still being developed.', | |
| 643 | + 'description' => 'This feature is now supported natively in WordPress when using any block theme. To use Google Fonts, refer to the WordPress.org Font Library documentation.', | |
| 539 | 644 | 'sort' => '1', |
| 540 | 645 | 'recommendation_order' => '2', |
| 541 | 646 | 'introduced' => '10.8.0', |
| 542 | 647 | 'changed' => '', |
| @@ -552,9 +657,9 @@ | ||
| 552 | 657 | ), |
| 553 | 658 | 'gravatar-hovercards' => |
| 554 | 659 | array ( |
| 555 | 660 | 'name' => 'Gravatar Hovercards', |
| 556 | - 'description' => 'Enable pop-up business cards over commenters’ Gravatars.', | |
| 661 | + 'description' => 'Show a user’s Gravatar profile when visitors hover over their name or image.', | |
| 557 | 662 | 'sort' => '11', |
| 558 | 663 | 'recommendation_order' => '13', |
| 559 | 664 | 'introduced' => '1.1', |
| 560 | 665 | 'changed' => '', |
| @@ -570,9 +675,9 @@ | ||
| 570 | 675 | ), |
| 571 | 676 | 'infinite-scroll' => |
| 572 | 677 | array ( |
| 573 | 678 | 'name' => 'Infinite Scroll', |
| 574 | - 'description' => 'Automatically load new content when a visitor scrolls', | |
| 679 | + 'description' => 'Automatically load new posts as visitors scroll down your site.', | |
| 575 | 680 | 'sort' => '26', |
| 576 | 681 | 'recommendation_order' => '', |
| 577 | 682 | 'introduced' => '2.0', |
| 578 | 683 | 'changed' => '', |
| @@ -588,9 +693,9 @@ | ||
| 588 | 693 | ), |
| 589 | 694 | 'json-api' => |
| 590 | 695 | array ( |
| 591 | 696 | 'name' => 'JSON API', |
| 592 | - 'description' => 'Allow applications to securely access your content.', | |
| 697 | + 'description' => 'Access your site’s data remotely through the WordPress.com REST API.', | |
| 593 | 698 | 'sort' => '19', |
| 594 | 699 | 'recommendation_order' => '', |
| 595 | 700 | 'introduced' => '1.9', |
| 596 | 701 | 'changed' => '', |
| @@ -606,9 +711,9 @@ | ||
| 606 | 711 | ), |
| 607 | 712 | 'latex' => |
| 608 | 713 | array ( |
| 609 | 714 | 'name' => 'Beautiful Math', |
| 610 | - 'description' => 'Use the LaTeX markup language to write mathematical equations and formulas', | |
| 715 | + 'description' => 'Add beautifully formatted math equations to your posts and pages using LaTeX.', | |
| 611 | 716 | 'sort' => '12', |
| 612 | 717 | 'recommendation_order' => '', |
| 613 | 718 | 'introduced' => '1.1', |
| 614 | 719 | 'changed' => '', |
| @@ -624,9 +729,9 @@ | ||
| 624 | 729 | ), |
| 625 | 730 | 'likes' => |
| 626 | 731 | array ( |
| 627 | 732 | 'name' => 'Likes', |
| 628 | - 'description' => 'Give visitors an easy way to show they appreciate your content.', | |
| 733 | + 'description' => 'Let readers like your posts to show appreciation and encourage interaction.', | |
| 629 | 734 | 'sort' => '23', |
| 630 | 735 | 'recommendation_order' => '', |
| 631 | 736 | 'introduced' => '2.2', |
| 632 | 737 | 'changed' => '', |
| @@ -642,9 +747,9 @@ | ||
| 642 | 747 | ), |
| 643 | 748 | 'markdown' => |
| 644 | 749 | array ( |
| 645 | 750 | 'name' => 'Markdown', |
| 646 | - 'description' => 'Write posts or pages in plain-text Markdown syntax', | |
| 751 | + 'description' => 'Write and format posts using clean, readable Markdown syntax.', | |
| 647 | 752 | 'sort' => '31', |
| 648 | 753 | 'recommendation_order' => '', |
| 649 | 754 | 'introduced' => '2.8', |
| 650 | 755 | 'changed' => '', |
| @@ -657,30 +762,12 @@ | ||
| 657 | 762 | 'feature' => 'Writing', |
| 658 | 763 | 'additional_search_queries' => 'md, markdown', |
| 659 | 764 | 'plan_classes' => '', |
| 660 | 765 | ), |
| 661 | - 'masterbar' => | |
| 662 | - array ( | |
| 663 | - 'name' => 'WordPress.com Toolbar and Dashboard customizations', | |
| 664 | - '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.', | |
| 665 | - 'sort' => '38', | |
| 666 | - 'recommendation_order' => '16', | |
| 667 | - 'introduced' => '4.8', | |
| 668 | - 'changed' => '', | |
| 669 | - 'deactivate' => '', | |
| 670 | - 'free' => '', | |
| 671 | - 'requires_connection' => 'Yes', | |
| 672 | - 'requires_user_connection' => 'Yes', | |
| 673 | - 'auto_activate' => 'No', | |
| 674 | - 'module_tags' => 'General', | |
| 675 | - 'feature' => '', | |
| 676 | - 'additional_search_queries' => 'adminbar, masterbar, colorschemes, profile-edit', | |
| 677 | - 'plan_classes' => '', | |
| 678 | - ), | |
| 679 | 766 | 'monitor' => |
| 680 | 767 | array ( |
| 681 | - 'name' => 'Monitor', | |
| 682 | - 'description' => 'Jetpack’s downtime monitoring will continuously watch your site and alert you the moment that downtime is detected.', | |
| 768 | + 'name' => 'Downtime Monitor', | |
| 769 | + 'description' => 'Get instant alerts if your site goes down and know when it’s back online.', | |
| 683 | 770 | 'sort' => '28', |
| 684 | 771 | 'recommendation_order' => '10', |
| 685 | 772 | 'introduced' => '2.6', |
| 686 | 773 | 'changed' => '', |
| @@ -696,9 +783,9 @@ | ||
| 696 | 783 | ), |
| 697 | 784 | 'notes' => |
| 698 | 785 | array ( |
| 699 | 786 | 'name' => 'Notifications', |
| 700 | - 'description' => 'Receive instant notifications of site comments and likes.', | |
| 787 | + 'description' => 'Receive real‑time notifications about site activity across your devices.', | |
| 701 | 788 | 'sort' => '13', |
| 702 | 789 | 'recommendation_order' => '', |
| 703 | 790 | 'introduced' => '1.9', |
| 704 | 791 | 'changed' => '', |
| @@ -714,9 +801,9 @@ | ||
| 714 | 801 | ), |
| 715 | 802 | 'photon-cdn' => |
| 716 | 803 | array ( |
| 717 | 804 | 'name' => 'Asset CDN', |
| 718 | - '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.', | |
| 805 | + 'description' => 'Serve static files like CSS and JS from Jetpack’s global CDN for faster load times.', | |
| 719 | 806 | 'sort' => '26', |
| 720 | 807 | 'recommendation_order' => '1', |
| 721 | 808 | 'introduced' => '6.6', |
| 722 | 809 | 'changed' => '', |
| @@ -732,9 +819,9 @@ | ||
| 732 | 819 | ), |
| 733 | 820 | 'photon' => |
| 734 | 821 | array ( |
| 735 | 822 | 'name' => 'Image CDN', |
| 736 | - '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.', | |
| 823 | + 'description' => 'Deliver images quickly with automatic resizing from Jetpack’s global image CDN.', | |
| 737 | 824 | 'sort' => '25', |
| 738 | 825 | 'recommendation_order' => '1', |
| 739 | 826 | 'introduced' => '2.0', |
| 740 | 827 | 'changed' => '', |
| @@ -747,12 +834,30 @@ | ||
| 747 | 834 | 'feature' => 'Recommended, Appearance', |
| 748 | 835 | 'additional_search_queries' => 'photon, photo cdn, image cdn, speed, compression, resize, responsive images, responsive, content distribution network, optimize, page speed, image optimize, photon jetpack', |
| 749 | 836 | 'plan_classes' => '', |
| 750 | 837 | ), |
| 838 | + 'podcast' => | |
| 839 | + array ( | |
| 840 | + 'name' => 'Podcast', | |
| 841 | + 'description' => 'Publish, manage, and grow your podcast right from your site.', | |
| 842 | + 'sort' => '38', | |
| 843 | + 'recommendation_order' => '', | |
| 844 | + 'introduced' => '', | |
| 845 | + 'changed' => '', | |
| 846 | + 'deactivate' => '', | |
| 847 | + 'free' => '', | |
| 848 | + 'requires_connection' => 'No', | |
| 849 | + 'requires_user_connection' => '', | |
| 850 | + 'auto_activate' => 'Yes', | |
| 851 | + 'module_tags' => 'Writing', | |
| 852 | + 'feature' => 'Writing', | |
| 853 | + 'additional_search_queries' => 'podcast, podcasts, podcasting, audio, episodes, rss, feed, distribution', | |
| 854 | + 'plan_classes' => '', | |
| 855 | + ), | |
| 751 | 856 | 'post-by-email' => |
| 752 | 857 | array ( |
| 753 | - 'name' => 'Post by email', | |
| 754 | - 'description' => 'Publish posts by sending an email', | |
| 858 | + 'name' => 'Post by Email', | |
| 859 | + 'description' => 'Publish blog posts simply by sending an email to a custom address.', | |
| 755 | 860 | 'sort' => '14', |
| 756 | 861 | 'recommendation_order' => '', |
| 757 | 862 | 'introduced' => '2.0', |
| 758 | 863 | 'changed' => '', |
| @@ -768,9 +873,9 @@ | ||
| 768 | 873 | ), |
| 769 | 874 | 'post-list' => |
| 770 | 875 | array ( |
| 771 | 876 | 'name' => 'Post List', |
| 772 | - 'description' => 'Display extra information alongside each post in your dashboard’s Posts screen.', | |
| 877 | + 'description' => 'Display a customizable list of your latest posts anywhere on your site.', | |
| 773 | 878 | 'sort' => '31', |
| 774 | 879 | 'recommendation_order' => '12', |
| 775 | 880 | 'introduced' => '11.3', |
| 776 | 881 | 'changed' => '', |
| @@ -785,10 +890,10 @@ | ||
| 785 | 890 | 'plan_classes' => '', |
| 786 | 891 | ), |
| 787 | 892 | 'protect' => |
| 788 | 893 | array ( |
| 789 | - 'name' => 'Brute force protection', | |
| 790 | - 'description' => 'Enabling brute force protection will prevent bots and hackers from attempting to log in to your website with common username and password combinations.', | |
| 894 | + 'name' => 'Brute Force Protection', | |
| 895 | + 'description' => 'Block malicious login attempts automatically and keep hackers out.', | |
| 791 | 896 | 'sort' => '1', |
| 792 | 897 | 'recommendation_order' => '4', |
| 793 | 898 | 'introduced' => '3.4', |
| 794 | 899 | 'changed' => '', |
| @@ -804,9 +909,9 @@ | ||
| 804 | 909 | ), |
| 805 | 910 | 'publicize' => |
| 806 | 911 | array ( |
| 807 | 912 | 'name' => 'Jetpack Social', |
| 808 | - 'description' => 'Jetpack Social makes it easy to share your site’s posts on several social media networks automatically when you publish a new post.', | |
| 913 | + 'description' => 'Auto‑share your posts to social networks and track engagement in one place.', | |
| 809 | 914 | 'sort' => '10', |
| 810 | 915 | 'recommendation_order' => '7', |
| 811 | 916 | 'introduced' => '2.0', |
| 812 | 917 | 'changed' => '', |
| @@ -816,15 +921,15 @@ | ||
| 816 | 921 | 'requires_user_connection' => 'Yes', |
| 817 | 922 | 'auto_activate' => 'No', |
| 818 | 923 | 'module_tags' => 'Social, Recommended', |
| 819 | 924 | 'feature' => 'Engagement', |
| 820 | - 'additional_search_queries' => 'facebook, jetpack publicize, tumblr, linkedin, social, tweet, connections, sharing, social media, automated, automated sharing, auto publish, auto tweet and like, auto tweet, facebook auto post, facebook posting', | |
| 925 | + 'additional_search_queries' => 'facebook, bluesky, threads, mastodon, instagram, jetpack publicize, tumblr, linkedin, social, tweet, connections, sharing, social media, automated, automated sharing, auto publish, auto tweet and like, auto tweet, facebook auto post, facebook posting', | |
| 821 | 926 | 'plan_classes' => '', |
| 822 | 927 | ), |
| 823 | 928 | 'related-posts' => |
| 824 | 929 | array ( |
| 825 | - 'name' => 'Related posts', | |
| 826 | - 'description' => 'Keep visitors engaged on your blog by highlighting relevant and new content at the bottom of each published post.', | |
| 930 | + 'name' => 'Related Posts', | |
| 931 | + 'description' => 'Automatically display related articles to keep visitors reading longer.', | |
| 827 | 932 | 'sort' => '29', |
| 828 | 933 | 'recommendation_order' => '9', |
| 829 | 934 | 'introduced' => '2.9', |
| 830 | 935 | 'changed' => '', |
| @@ -840,9 +945,9 @@ | ||
| 840 | 945 | ), |
| 841 | 946 | 'search' => |
| 842 | 947 | array ( |
| 843 | 948 | 'name' => 'Search', |
| 844 | - 'description' => 'Help visitors quickly find answers with highly relevant instant search results and powerful filtering.', | |
| 949 | + 'description' => 'Instantly deliver the most relevant results to your visitors.', | |
| 845 | 950 | 'sort' => '34', |
| 846 | 951 | 'recommendation_order' => '', |
| 847 | 952 | 'introduced' => '5.0', |
| 848 | 953 | 'changed' => '', |
| @@ -858,9 +963,9 @@ | ||
| 858 | 963 | ), |
| 859 | 964 | 'seo-tools' => |
| 860 | 965 | array ( |
| 861 | 966 | 'name' => 'SEO Tools', |
| 862 | - 'description' => 'Better results on search engines and social media.', | |
| 967 | + 'description' => 'Optimize titles, meta descriptions, and social previews for better search results.', | |
| 863 | 968 | 'sort' => '35', |
| 864 | 969 | 'recommendation_order' => '15', |
| 865 | 970 | 'introduced' => '4.4', |
| 866 | 971 | 'changed' => '', |
| @@ -870,15 +975,15 @@ | ||
| 870 | 975 | 'requires_user_connection' => 'No', |
| 871 | 976 | 'auto_activate' => 'No', |
| 872 | 977 | 'module_tags' => 'Social, Appearance', |
| 873 | 978 | 'feature' => 'Traffic', |
| 874 | - 'additional_search_queries' => 'search engine optimization, social preview, meta description, custom title format', | |
| 979 | + 'additional_search_queries' => 'search engine optimization, social preview, meta description, custom title format, seo, sitemap, open graph, search engine, title tag', | |
| 875 | 980 | 'plan_classes' => '', |
| 876 | 981 | ), |
| 877 | 982 | 'sharedaddy' => |
| 878 | 983 | array ( |
| 879 | 984 | 'name' => 'Sharing', |
| 880 | - 'description' => 'Add sharing buttons at the bottom of each post, making it easy for visitors to share your content.', | |
| 985 | + 'description' => 'Add customizable share buttons so visitors can spread your content.', | |
| 881 | 986 | 'sort' => '7', |
| 882 | 987 | 'recommendation_order' => '6', |
| 883 | 988 | 'introduced' => '1.1', |
| 884 | 989 | 'changed' => '1.2', |
| @@ -888,15 +993,15 @@ | ||
| 888 | 993 | 'requires_user_connection' => '', |
| 889 | 994 | 'auto_activate' => 'No', |
| 890 | 995 | 'module_tags' => 'Social, Recommended', |
| 891 | 996 | 'feature' => 'Engagement', |
| 892 | - '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', | |
| 997 | + '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, social widget, social media', | |
| 893 | 998 | 'plan_classes' => '', |
| 894 | 999 | ), |
| 895 | 1000 | 'shortcodes' => |
| 896 | 1001 | array ( |
| 897 | 1002 | 'name' => 'Shortcode Embeds', |
| 898 | - '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.', | |
| 1003 | + 'description' => 'Easily embed rich media like YouTube videos and tweets using simple shortcodes.', | |
| 899 | 1004 | 'sort' => '3', |
| 900 | 1005 | 'recommendation_order' => '', |
| 901 | 1006 | 'introduced' => '1.1', |
| 902 | 1007 | 'changed' => '1.2', |
| @@ -912,9 +1017,9 @@ | ||
| 912 | 1017 | ), |
| 913 | 1018 | 'shortlinks' => |
| 914 | 1019 | array ( |
| 915 | 1020 | 'name' => 'WP.me Shortlinks', |
| 916 | - 'description' => 'Generates shorter links using the wp.me domain.', | |
| 1021 | + 'description' => 'Share short, easy-to-remember links to your posts and pages.', | |
| 917 | 1022 | 'sort' => '8', |
| 918 | 1023 | 'recommendation_order' => '', |
| 919 | 1024 | 'introduced' => '1.1', |
| 920 | 1025 | 'changed' => '', |
| @@ -930,9 +1035,9 @@ | ||
| 930 | 1035 | ), |
| 931 | 1036 | 'sitemaps' => |
| 932 | 1037 | array ( |
| 933 | 1038 | 'name' => 'Sitemaps', |
| 934 | - 'description' => 'Make it easy for search engines to find your site.', | |
| 1039 | + 'description' => 'Generate XML sitemaps so search engines can index your site efficiently.', | |
| 935 | 1040 | 'sort' => '13', |
| 936 | 1041 | 'recommendation_order' => '', |
| 937 | 1042 | 'introduced' => '3.9', |
| 938 | 1043 | 'changed' => '', |
| @@ -948,9 +1053,9 @@ | ||
| 948 | 1053 | ), |
| 949 | 1054 | 'sso' => |
| 950 | 1055 | array ( |
| 951 | 1056 | 'name' => 'Secure Sign On', |
| 952 | - 'description' => 'Allow users to log in to this site using WordPress.com accounts', | |
| 1057 | + 'description' => 'Let users log in with their WordPress.com account for quick, secure access.', | |
| 953 | 1058 | 'sort' => '30', |
| 954 | 1059 | 'recommendation_order' => '5', |
| 955 | 1060 | 'introduced' => '2.6', |
| 956 | 1061 | 'changed' => '', |
| @@ -966,9 +1071,9 @@ | ||
| 966 | 1071 | ), |
| 967 | 1072 | 'stats' => |
| 968 | 1073 | array ( |
| 969 | 1074 | 'name' => 'Jetpack Stats', |
| 970 | - 'description' => 'Collect valuable traffic stats and insights.', | |
| 1075 | + 'description' => 'Clear, concise traffic insights right in your WordPress dashboard.', | |
| 971 | 1076 | 'sort' => '1', |
| 972 | 1077 | 'recommendation_order' => '2', |
| 973 | 1078 | 'introduced' => '1.1', |
| 974 | 1079 | 'changed' => '', |
| @@ -984,9 +1089,9 @@ | ||
| 984 | 1089 | ), |
| 985 | 1090 | 'subscriptions' => |
| 986 | 1091 | array ( |
| 987 | 1092 | 'name' => 'Newsletter', |
| 988 | - 'description' => 'Let visitors subscribe to new posts and comments via email', | |
| 1093 | + 'description' => 'Grow your subscriber list and deliver your content directly to their email inbox.', | |
| 989 | 1094 | 'sort' => '9', |
| 990 | 1095 | 'recommendation_order' => '8', |
| 991 | 1096 | 'introduced' => '1.2', |
| 992 | 1097 | 'changed' => '', |
| @@ -993,9 +1098,9 @@ | ||
| 993 | 1098 | 'deactivate' => '', |
| 994 | 1099 | 'free' => '', |
| 995 | 1100 | 'requires_connection' => 'Yes', |
| 996 | 1101 | 'requires_user_connection' => 'Yes', |
| 997 | - 'auto_activate' => 'No', | |
| 1102 | + 'auto_activate' => 'Yes', | |
| 998 | 1103 | 'module_tags' => 'Social', |
| 999 | 1104 | 'feature' => 'Engagement', |
| 1000 | 1105 | 'additional_search_queries' => 'subscriptions, subscription, email, follow, followers, subscribers, signup, newsletter, creator', |
| 1001 | 1106 | 'plan_classes' => '', |
| @@ -1002,9 +1107,9 @@ | ||
| 1002 | 1107 | ), |
| 1003 | 1108 | 'tiled-gallery' => |
| 1004 | 1109 | array ( |
| 1005 | 1110 | 'name' => 'Tiled Galleries', |
| 1006 | - 'description' => 'Display image galleries in a variety of elegant arrangements.', | |
| 1111 | + 'description' => 'Create visually engaging tiled image galleries with multiple layout options.', | |
| 1007 | 1112 | 'sort' => '24', |
| 1008 | 1113 | 'recommendation_order' => '', |
| 1009 | 1114 | 'introduced' => '2.1', |
| 1010 | 1115 | 'changed' => '', |
| @@ -1019,10 +1124,10 @@ | ||
| 1019 | 1124 | 'plan_classes' => '', |
| 1020 | 1125 | ), |
| 1021 | 1126 | 'vaultpress' => |
| 1022 | 1127 | array ( |
| 1023 | - 'name' => 'Backups and Scanning', | |
| 1024 | - 'description' => 'Protect your site with daily or real-time backups and automated virus scanning and threat detection.', | |
| 1128 | + 'name' => 'VaultPress Backup', | |
| 1129 | + 'description' => 'Real-time backups save every change, and one-click restores get you back online quickly.', | |
| 1025 | 1130 | 'sort' => '32', |
| 1026 | 1131 | 'recommendation_order' => '', |
| 1027 | 1132 | 'introduced' => '0:1.2', |
| 1028 | 1133 | 'changed' => '', |
| @@ -1037,10 +1142,10 @@ | ||
| 1037 | 1142 | 'plan_classes' => 'personal, business, premium, security, complete', |
| 1038 | 1143 | ), |
| 1039 | 1144 | 'verification-tools' => |
| 1040 | 1145 | array ( |
| 1041 | - 'name' => 'Site verification', | |
| 1042 | - 'description' => 'Establish your site\'s authenticity with external services.', | |
| 1146 | + 'name' => 'Site Verification', | |
| 1147 | + 'description' => 'Verify your site with search engines and social platforms in a couple of clicks.', | |
| 1043 | 1148 | 'sort' => '33', |
| 1044 | 1149 | 'recommendation_order' => '', |
| 1045 | 1150 | 'introduced' => '3.0', |
| 1046 | 1151 | 'changed' => '', |
| @@ -1056,9 +1161,9 @@ | ||
| 1056 | 1161 | ), |
| 1057 | 1162 | 'videopress' => |
| 1058 | 1163 | array ( |
| 1059 | 1164 | 'name' => 'VideoPress', |
| 1060 | - 'description' => 'Save on hosting storage and bandwidth costs by streaming fast, ad-free video from our global network.', | |
| 1165 | + 'description' => 'Powerful and flexible video hosting.', | |
| 1061 | 1166 | 'sort' => '27', |
| 1062 | 1167 | 'recommendation_order' => '', |
| 1063 | 1168 | 'introduced' => '2.5', |
| 1064 | 1169 | 'changed' => '', |
| @@ -1074,9 +1179,9 @@ | ||
| 1074 | 1179 | ), |
| 1075 | 1180 | 'waf' => |
| 1076 | 1181 | array ( |
| 1077 | 1182 | 'name' => 'Firewall', |
| 1078 | - 'description' => 'Protect your site with Jetpack\'s Web Application Firewall', | |
| 1183 | + 'description' => 'Filter malicious traffic in real time with Jetpack’s site firewall.', | |
| 1079 | 1184 | 'sort' => '5', |
| 1080 | 1185 | 'recommendation_order' => '', |
| 1081 | 1186 | 'introduced' => '10.9', |
| 1082 | 1187 | 'changed' => '', |
| @@ -1092,9 +1197,9 @@ | ||
| 1092 | 1197 | ), |
| 1093 | 1198 | 'widget-visibility' => |
| 1094 | 1199 | array ( |
| 1095 | 1200 | 'name' => 'Widget Visibility', |
| 1096 | - 'description' => 'Control where widgets appear on your site.', | |
| 1201 | + 'description' => 'Choose which widgets appear on specific pages or posts with advanced controls.', | |
| 1097 | 1202 | 'sort' => '17', |
| 1098 | 1203 | 'recommendation_order' => '', |
| 1099 | 1204 | 'introduced' => '2.4', |
| 1100 | 1205 | 'changed' => '', |
| @@ -1110,9 +1215,9 @@ | ||
| 1110 | 1215 | ), |
| 1111 | 1216 | 'widgets' => |
| 1112 | 1217 | array ( |
| 1113 | 1218 | 'name' => 'Extra Sidebar Widgets', |
| 1114 | - 'description' => 'Provides additional widgets for use on your site.', | |
| 1219 | + 'description' => 'Add more widget options to your site, like social feeds, subscriptions, and more.', | |
| 1115 | 1220 | 'sort' => '4', |
| 1116 | 1221 | 'recommendation_order' => '', |
| 1117 | 1222 | 'introduced' => '1.2', |
| 1118 | 1223 | 'changed' => '', |
| @@ -1128,9 +1233,9 @@ | ||
| 1128 | 1233 | ), |
| 1129 | 1234 | 'woocommerce-analytics' => |
| 1130 | 1235 | array ( |
| 1131 | 1236 | 'name' => 'WooCommerce Analytics', |
| 1132 | - 'description' => 'Enhanced analytics for WooCommerce and Jetpack users.', | |
| 1237 | + 'description' => 'Get actionable insights on your store’s orders, revenue, and customers.', | |
| 1133 | 1238 | 'sort' => '13', |
| 1134 | 1239 | 'recommendation_order' => '', |
| 1135 | 1240 | 'introduced' => '8.4', |
| 1136 | 1241 | 'changed' => '', |
| @@ -1146,9 +1251,9 @@ | ||
| 1146 | 1251 | ), |
| 1147 | 1252 | 'wordads' => |
| 1148 | 1253 | array ( |
| 1149 | 1254 | 'name' => 'Ads', |
| 1150 | - 'description' => 'Earn income by allowing Jetpack to display high quality ads.', | |
| 1255 | + 'description' => 'Earn revenue by displaying high‑quality ads on your site.', | |
| 1151 | 1256 | 'sort' => '1', |
| 1152 | 1257 | 'recommendation_order' => '', |
| 1153 | 1258 | 'introduced' => '4.5.0', |
| 1154 | 1259 | 'changed' => '', |
| @@ -1161,10 +1266,28 @@ | ||
| 1161 | 1266 | 'feature' => '', |
| 1162 | 1267 | 'additional_search_queries' => 'advertising, ad codes, ads, creator', |
| 1163 | 1268 | 'plan_classes' => 'premium, business, security, complete', |
| 1164 | 1269 | ), |
| 1270 | + 'wpcom-reader' => | |
| 1271 | + array ( | |
| 1272 | + 'name' => 'WordPress.com Reader', | |
| 1273 | + 'description' => 'Quickly access the WordPress.com Reader from your site\'s admin bar.', | |
| 1274 | + 'sort' => '12', | |
| 1275 | + 'recommendation_order' => '', | |
| 1276 | + 'introduced' => '15.5', | |
| 1277 | + 'changed' => '', | |
| 1278 | + 'deactivate' => '', | |
| 1279 | + 'free' => '', | |
| 1280 | + 'requires_connection' => 'No', | |
| 1281 | + 'requires_user_connection' => '', | |
| 1282 | + 'auto_activate' => 'No', | |
| 1283 | + 'module_tags' => 'Social', | |
| 1284 | + 'feature' => 'Engagement', | |
| 1285 | + 'additional_search_queries' => 'read, subscriptions, subscribe, reader, follow', | |
| 1286 | + 'plan_classes' => '', | |
| 1287 | + ), | |
| 1165 | 1288 | ); |
| 1166 | - return isset( $module_info[ $key ] ) ? $module_info[ $key ] : null; | |
| 1289 | + return $module_info[ $key ] ?? null; | |
| 1167 | 1290 | } |
| 1168 | 1291 | |
| 1169 | 1292 | /** |
| 1170 | 1293 | * Return an array containing all module header names. |
| @@ -1199,13 +1322,14 @@ | ||
| 1199 | 1322 | * @return bool Whether the file has no module info. |
| 1200 | 1323 | */ |
| 1201 | 1324 | function jetpack_has_no_module_info( $slug ) { |
| 1202 | 1325 | $no_info_slugs = array ( |
| 1203 | - 0 => 'geo-location', | |
| 1204 | - 1 => 'module-extras', | |
| 1205 | - 2 => 'module-info', | |
| 1206 | - 3 => 'plugin-search', | |
| 1207 | - 4 => 'theme-tools', | |
| 1326 | + 0 => 'module-extras', | |
| 1327 | + 1 => 'module-info', | |
| 1328 | + 2 => 'plugin-search', | |
| 1329 | + 3 => 'reprint-export', | |
| 1330 | + 4 => 'simple-payments', | |
| 1331 | + 5 => 'theme-tools', | |
| 1208 | 1332 | ); |
| 1209 | 1333 | |
| 1210 | 1334 | return in_array( $slug, $no_info_slugs, true ); |
| 1211 | 1335 | } |