| @@ -9,231 +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 | 84 | 'google-fonts' => array( |
| 60 | 85 | 'name' => _x( 'Google Fonts (Beta)', 'Module Name', 'jetpack' ), |
| 61 | - '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' ), | |
| 62 | 87 | ), |
| 63 | 88 | |
| 64 | 89 | 'gravatar-hovercards' => array( |
| 65 | 90 | 'name' => _x( 'Gravatar Hovercards', 'Module Name', 'jetpack' ), |
| 66 | - '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' ), | |
| 67 | 92 | ), |
| 68 | 93 | |
| 69 | 94 | 'infinite-scroll' => array( |
| 70 | 95 | 'name' => _x( 'Infinite Scroll', 'Module Name', 'jetpack' ), |
| 71 | - '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' ), | |
| 72 | 97 | ), |
| 73 | 98 | |
| 74 | 99 | 'json-api' => array( |
| 75 | 100 | 'name' => _x( 'JSON API', 'Module Name', 'jetpack' ), |
| 76 | - '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' ), | |
| 77 | 102 | ), |
| 78 | 103 | |
| 79 | 104 | 'latex' => array( |
| 80 | 105 | 'name' => _x( 'Beautiful Math', 'Module Name', 'jetpack' ), |
| 81 | - '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' ), | |
| 82 | 107 | ), |
| 83 | 108 | |
| 84 | 109 | 'likes' => array( |
| 85 | 110 | 'name' => _x( 'Likes', 'Module Name', 'jetpack' ), |
| 86 | - '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' ), | |
| 87 | 112 | ), |
| 88 | 113 | |
| 89 | 114 | 'markdown' => array( |
| 90 | 115 | 'name' => _x( 'Markdown', 'Module Name', 'jetpack' ), |
| 91 | - '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' ), | |
| 92 | 117 | ), |
| 93 | 118 | |
| 94 | - 'masterbar' => array( | |
| 95 | - 'name' => _x( 'WordPress.com Toolbar and Dashboard customizations', 'Module Name', 'jetpack' ), | |
| 96 | - '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' ), | |
| 97 | - ), | |
| 98 | - | |
| 99 | 119 | 'monitor' => array( |
| 100 | - 'name' => _x( 'Monitor', 'Module Name', 'jetpack' ), | |
| 101 | - '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' ), | |
| 102 | 122 | ), |
| 103 | 123 | |
| 104 | 124 | 'notes' => array( |
| 105 | 125 | 'name' => _x( 'Notifications', 'Module Name', 'jetpack' ), |
| 106 | - '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' ), | |
| 107 | 127 | ), |
| 108 | 128 | |
| 109 | 129 | 'photon-cdn' => array( |
| 110 | 130 | 'name' => _x( 'Asset CDN', 'Module Name', 'jetpack' ), |
| 111 | - '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' ), | |
| 112 | 132 | ), |
| 113 | 133 | |
| 114 | 134 | 'photon' => array( |
| 115 | 135 | 'name' => _x( 'Image CDN', 'Module Name', 'jetpack' ), |
| 116 | - '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' ), | |
| 117 | 137 | ), |
| 118 | 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 | + | |
| 119 | 144 | 'post-by-email' => array( |
| 120 | - 'name' => _x( 'Post by email', 'Module Name', 'jetpack' ), | |
| 121 | - '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' ), | |
| 122 | 147 | ), |
| 123 | 148 | |
| 124 | 149 | 'post-list' => array( |
| 125 | 150 | 'name' => _x( 'Post List', 'Module Name', 'jetpack' ), |
| 126 | - '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' ), | |
| 127 | 152 | ), |
| 128 | 153 | |
| 129 | 154 | 'protect' => array( |
| 130 | - 'name' => _x( 'Brute force protection', 'Module Name', 'jetpack' ), | |
| 131 | - 'description' => _x( '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' ), | |
| 132 | 157 | ), |
| 133 | 158 | |
| 134 | 159 | 'publicize' => array( |
| 135 | 160 | 'name' => _x( 'Jetpack Social', 'Module Name', 'jetpack' ), |
| 136 | - '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' ), | |
| 137 | 162 | ), |
| 138 | 163 | |
| 139 | 164 | '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' ), | |
| 165 | + 'name' => _x( 'Related Posts', 'Module Name', 'jetpack' ), | |
| 166 | + 'description' => _x( 'Automatically display related articles to keep visitors reading longer.', 'Module Description', 'jetpack' ), | |
| 142 | 167 | ), |
| 143 | 168 | |
| 144 | 169 | 'search' => array( |
| 145 | 170 | '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' ), | |
| 171 | + 'description' => _x( 'Instantly deliver the most relevant results to your visitors.', 'Module Description', 'jetpack' ), | |
| 147 | 172 | ), |
| 148 | 173 | |
| 149 | 174 | 'seo-tools' => array( |
| 150 | 175 | 'name' => _x( 'SEO Tools', 'Module Name', 'jetpack' ), |
| 151 | - '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' ), | |
| 152 | 177 | ), |
| 153 | 178 | |
| 154 | 179 | 'sharedaddy' => array( |
| 155 | 180 | 'name' => _x( 'Sharing', 'Module Name', 'jetpack' ), |
| 156 | - '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' ), | |
| 157 | 182 | ), |
| 158 | 183 | |
| 159 | 184 | 'shortcodes' => array( |
| 160 | 185 | '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' ), | |
| 186 | + 'description' => _x( 'Easily embed rich media like YouTube videos and tweets using simple shortcodes.', 'Module Description', 'jetpack' ), | |
| 162 | 187 | ), |
| 163 | 188 | |
| 164 | 189 | 'shortlinks' => array( |
| 165 | 190 | 'name' => _x( 'WP.me Shortlinks', 'Module Name', 'jetpack' ), |
| 166 | - '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' ), | |
| 167 | 192 | ), |
| 168 | 193 | |
| 169 | 194 | 'sitemaps' => array( |
| 170 | 195 | 'name' => _x( 'Sitemaps', 'Module Name', 'jetpack' ), |
| 171 | - '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' ), | |
| 172 | 197 | ), |
| 173 | 198 | |
| 174 | 199 | 'sso' => array( |
| 175 | 200 | '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' ), | |
| 201 | + 'description' => _x( 'Let users log in with their WordPress.com account for quick, secure access.', 'Module Description', 'jetpack' ), | |
| 177 | 202 | ), |
| 178 | 203 | |
| 179 | 204 | 'stats' => array( |
| 180 | 205 | 'name' => _x( 'Jetpack Stats', 'Module Name', 'jetpack' ), |
| 181 | - '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' ), | |
| 182 | 207 | ), |
| 183 | 208 | |
| 184 | 209 | 'subscriptions' => array( |
| 185 | 210 | 'name' => _x( 'Newsletter', 'Module Name', 'jetpack' ), |
| 186 | - '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' ), | |
| 187 | 212 | ), |
| 188 | 213 | |
| 189 | 214 | 'tiled-gallery' => array( |
| 190 | 215 | 'name' => _x( 'Tiled Galleries', 'Module Name', 'jetpack' ), |
| 191 | - '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' ), | |
| 192 | 217 | ), |
| 193 | 218 | |
| 194 | 219 | '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' ), | |
| 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' ), | |
| 197 | 222 | ), |
| 198 | 223 | |
| 199 | 224 | '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' ), | |
| 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' ), | |
| 202 | 227 | ), |
| 203 | 228 | |
| 204 | 229 | 'videopress' => array( |
| 205 | 230 | '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' ), | |
| 231 | + 'description' => _x( 'Powerful and flexible video hosting.', 'Module Description', 'jetpack' ), | |
| 207 | 232 | ), |
| 208 | 233 | |
| 209 | 234 | 'waf' => array( |
| 210 | 235 | 'name' => _x( 'Firewall', 'Module Name', 'jetpack' ), |
| 211 | - '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' ), | |
| 212 | 237 | ), |
| 213 | 238 | |
| 214 | 239 | 'widget-visibility' => array( |
| 215 | 240 | 'name' => _x( 'Widget Visibility', 'Module Name', 'jetpack' ), |
| 216 | - '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' ), | |
| 217 | 242 | ), |
| 218 | 243 | |
| 219 | 244 | 'widgets' => array( |
| 220 | 245 | 'name' => _x( 'Extra Sidebar Widgets', 'Module Name', 'jetpack' ), |
| 221 | - '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' ), | |
| 222 | 247 | ), |
| 223 | 248 | |
| 224 | 249 | 'woocommerce-analytics' => array( |
| 225 | 250 | 'name' => _x( 'WooCommerce Analytics', 'Module Name', 'jetpack' ), |
| 226 | - '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' ), | |
| 227 | 252 | ), |
| 228 | 253 | |
| 229 | 254 | 'wordads' => array( |
| 230 | 255 | 'name' => _x( 'Ads', 'Module Name', 'jetpack' ), |
| 231 | - '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' ), | |
| 232 | 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 | + ), | |
| 233 | 263 | ); |
| 234 | 264 | } |
| 235 | - return isset( $modules[ $key ] ) ? $modules[ $key ] : null; | |
| 265 | + return $modules[ $key ] ?? null; | |
| 236 | 266 | } |
| 237 | 267 | |
| 238 | 268 | /** |
| 239 | 269 | * For a given module tag, return its translated version. |
| @@ -251,10 +281,42 @@ | ||
| 251 | 281 | // - modules/notes.php |
| 252 | 282 | // - modules/woocommerce-analytics.php |
| 253 | 283 | 'Other' => _x( 'Other', 'Module Tag', 'jetpack' ), |
| 254 | 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 | + | |
| 255 | 316 | // Modules with `Traffic` tag: |
| 256 | 317 | // - modules/blaze.php |
| 318 | + // - modules/canonical-urls.php | |
| 257 | 319 | // - modules/sitemaps.php |
| 258 | 320 | // - modules/wordads.php |
| 259 | 321 | 'Traffic' => _x( 'Traffic', 'Module Tag', 'jetpack' ), |
| 260 | 322 | |
| @@ -270,10 +332,15 @@ | ||
| 270 | 332 | // - modules/shortcodes.php |
| 271 | 333 | // - modules/shortlinks.php |
| 272 | 334 | // - modules/subscriptions.php |
| 273 | 335 | // - modules/widgets.php |
| 336 | + // - modules/wpcom-reader.php | |
| 274 | 337 | 'Social' => _x( 'Social', 'Module Tag', 'jetpack' ), |
| 275 | 338 | |
| 339 | + // Modules with `blocks` tag: | |
| 340 | + // - modules/blocks.php | |
| 341 | + 'blocks' => _x( 'blocks', 'Module Tag', 'jetpack' ), | |
| 342 | + | |
| 276 | 343 | // Modules with `Photos and Videos` tag: |
| 277 | 344 | // - modules/carousel.php |
| 278 | 345 | // - modules/photon-cdn.php |
| 279 | 346 | // - modules/photon.php |
| @@ -281,20 +348,13 @@ | ||
| 281 | 348 | // - modules/tiled-gallery.php |
| 282 | 349 | // - modules/videopress.php |
| 283 | 350 | 'Photos and Videos' => _x( 'Photos and Videos', 'Module Tag', 'jetpack' ), |
| 284 | 351 | |
| 285 | - // Modules with `Writing` tag: | |
| 286 | - // - modules/copy-post.php | |
| 287 | - // - modules/custom-content-types.php | |
| 288 | - // - modules/json-api.php | |
| 289 | - // - modules/latex.php | |
| 290 | - // - modules/markdown.php | |
| 291 | - // - modules/post-by-email.php | |
| 292 | - // - modules/shortcodes.php | |
| 293 | - 'Writing' => _x( 'Writing', 'Module Tag', 'jetpack' ), | |
| 352 | + // Modules with `Fonts` tag: | |
| 353 | + // - modules/google-fonts.php | |
| 354 | + 'Fonts' => _x( 'Fonts', 'Module Tag', 'jetpack' ), | |
| 294 | 355 | |
| 295 | 356 | // Modules with `Appearance` tag: |
| 296 | - // - modules/custom-css.php | |
| 297 | 357 | // - modules/gravatar-hovercards.php |
| 298 | 358 | // - modules/infinite-scroll.php |
| 299 | 359 | // - modules/photon-cdn.php |
| 300 | 360 | // - modules/photon.php |
| @@ -304,35 +364,13 @@ | ||
| 304 | 364 | // - modules/widgets.php |
| 305 | 365 | // - modules/wordads.php |
| 306 | 366 | 'Appearance' => _x( 'Appearance', 'Module Tag', 'jetpack' ), |
| 307 | 367 | |
| 308 | - // Modules with `Fonts` tag: | |
| 309 | - // - modules/google-fonts.php | |
| 310 | - 'Fonts' => _x( 'Fonts', 'Module Tag', 'jetpack' ), | |
| 311 | - | |
| 312 | - // Modules with `Recommended` tag: | |
| 313 | - // - modules/google-fonts.php | |
| 314 | - // - modules/monitor.php | |
| 315 | - // - modules/photon-cdn.php | |
| 316 | - // - modules/photon.php | |
| 317 | - // - modules/protect.php | |
| 318 | - // - modules/publicize.php | |
| 319 | - // - modules/related-posts.php | |
| 320 | - // - modules/sharedaddy.php | |
| 321 | - // - modules/sitemaps.php | |
| 322 | - // - modules/stats.php | |
| 323 | - // - modules/woocommerce-analytics.php | |
| 324 | - 'Recommended' => _x( 'Recommended', 'Module Tag', 'jetpack' ), | |
| 325 | - | |
| 326 | 368 | // Modules with `Developers` tag: |
| 327 | 369 | // - modules/json-api.php |
| 328 | 370 | // - modules/sso.php |
| 329 | 371 | 'Developers' => _x( 'Developers', 'Module Tag', 'jetpack' ), |
| 330 | 372 | |
| 331 | - // Modules with `General` tag: | |
| 332 | - // - modules/masterbar.php | |
| 333 | - 'General' => _x( 'General', 'Module Tag', 'jetpack' ), | |
| 334 | - | |
| 335 | 373 | // Modules with `Admin` tag: |
| 336 | 374 | // - modules/post-list.php |
| 337 | 375 | 'Admin' => _x( 'Admin', 'Module Tag', 'jetpack' ), |
| 338 | 376 | |
| @@ -360,16 +398,88 @@ | ||
| 360 | 398 | * For a given module, return an array with the module info. |
| 361 | 399 | * |
| 362 | 400 | * @param string $key Module file name without `.php`. |
| 363 | 401 | * |
| 364 | - * 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. | |
| 365 | 403 | */ |
| 366 | 404 | function jetpack_get_module_info( $key ) { |
| 367 | 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 | + ), | |
| 368 | 478 | 'blaze' => |
| 369 | 479 | array ( |
| 370 | 480 | 'name' => 'Blaze', |
| 371 | - '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.', | |
| 372 | 482 | 'sort' => '22', |
| 373 | 483 | 'recommendation_order' => '12', |
| 374 | 484 | 'introduced' => '12.3', |
| 375 | 485 | 'changed' => '', |
| @@ -382,12 +492,48 @@ | ||
| 382 | 492 | 'feature' => '', |
| 383 | 493 | 'additional_search_queries' => 'advertising, ads', |
| 384 | 494 | 'plan_classes' => '', |
| 385 | 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 | + ), | |
| 386 | 532 | 'carousel' => |
| 387 | 533 | array ( |
| 388 | 534 | 'name' => 'Carousel', |
| 389 | - 'description' => 'Display images and galleries in a gorgeous, full-screen browsing experience', | |
| 535 | + 'description' => 'Turn your image galleries into immersive, full‑screen slideshows.', | |
| 390 | 536 | 'sort' => '22', |
| 391 | 537 | 'recommendation_order' => '12', |
| 392 | 538 | 'introduced' => '1.5', |
| 393 | 539 | 'changed' => '', |
| @@ -403,9 +549,9 @@ | ||
| 403 | 549 | ), |
| 404 | 550 | 'comment-likes' => |
| 405 | 551 | array ( |
| 406 | 552 | 'name' => 'Comment Likes', |
| 407 | - 'description' => 'Increase visitor engagement by adding a Like button to comments.', | |
| 553 | + 'description' => 'Enable visitors to like individual comments and boost engagement.', | |
| 408 | 554 | 'sort' => '39', |
| 409 | 555 | 'recommendation_order' => '17', |
| 410 | 556 | 'introduced' => '5.1', |
| 411 | 557 | 'changed' => '', |
| @@ -421,9 +567,9 @@ | ||
| 421 | 567 | ), |
| 422 | 568 | 'comments' => |
| 423 | 569 | array ( |
| 424 | 570 | 'name' => 'Comments', |
| 425 | - '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.', | |
| 426 | 572 | 'sort' => '20', |
| 427 | 573 | 'recommendation_order' => '', |
| 428 | 574 | 'introduced' => '1.4', |
| 429 | 575 | 'changed' => '', |
| @@ -438,10 +584,10 @@ | ||
| 438 | 584 | 'plan_classes' => '', |
| 439 | 585 | ), |
| 440 | 586 | 'contact-form' => |
| 441 | 587 | array ( |
| 442 | - 'name' => 'Contact Form', | |
| 443 | - '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.', | |
| 444 | 590 | 'sort' => '15', |
| 445 | 591 | 'recommendation_order' => '14', |
| 446 | 592 | 'introduced' => '1.3', |
| 447 | 593 | 'changed' => '', |
| @@ -457,9 +603,9 @@ | ||
| 457 | 603 | ), |
| 458 | 604 | 'copy-post' => |
| 459 | 605 | array ( |
| 460 | 606 | 'name' => 'Copy Post', |
| 461 | - '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.', | |
| 462 | 608 | 'sort' => '15', |
| 463 | 609 | 'recommendation_order' => '', |
| 464 | 610 | 'introduced' => '7.0', |
| 465 | 611 | 'changed' => '', |
| @@ -474,9 +620,9 @@ | ||
| 474 | 620 | 'plan_classes' => '', |
| 475 | 621 | ), |
| 476 | 622 | 'custom-content-types' => |
| 477 | 623 | array ( |
| 478 | - 'name' => 'Custom content types', | |
| 624 | + 'name' => 'Custom Content Types', | |
| 479 | 625 | 'description' => 'Display different types of content on your site with custom content types.', |
| 480 | 626 | 'sort' => '34', |
| 481 | 627 | 'recommendation_order' => '', |
| 482 | 628 | 'introduced' => '3.1', |
| @@ -490,30 +636,12 @@ | ||
| 490 | 636 | 'feature' => 'Writing', |
| 491 | 637 | 'additional_search_queries' => 'cpt, custom post types, portfolio, portfolios, testimonial, testimonials', |
| 492 | 638 | 'plan_classes' => '', |
| 493 | 639 | ), |
| 494 | - 'custom-css' => | |
| 495 | - array ( | |
| 496 | - 'name' => 'Custom CSS', | |
| 497 | - 'description' => 'Adds options for CSS preprocessor use, disabling the theme\'s CSS, or custom image width.', | |
| 498 | - 'sort' => '2', | |
| 499 | - 'recommendation_order' => '', | |
| 500 | - 'introduced' => '1.7', | |
| 501 | - 'changed' => '', | |
| 502 | - 'deactivate' => '', | |
| 503 | - 'free' => '', | |
| 504 | - 'requires_connection' => 'No', | |
| 505 | - 'requires_user_connection' => '', | |
| 506 | - 'auto_activate' => 'No', | |
| 507 | - 'module_tags' => 'Appearance', | |
| 508 | - 'feature' => 'Appearance', | |
| 509 | - 'additional_search_queries' => 'css, customize, custom, style, editor, less, sass, preprocessor, font, mobile, appearance, theme, stylesheet', | |
| 510 | - 'plan_classes' => '', | |
| 511 | - ), | |
| 512 | 640 | 'google-fonts' => |
| 513 | 641 | array ( |
| 514 | 642 | 'name' => 'Google Fonts (Beta)', |
| 515 | - '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.', | |
| 516 | 644 | 'sort' => '1', |
| 517 | 645 | 'recommendation_order' => '2', |
| 518 | 646 | 'introduced' => '10.8.0', |
| 519 | 647 | 'changed' => '', |
| @@ -529,9 +657,9 @@ | ||
| 529 | 657 | ), |
| 530 | 658 | 'gravatar-hovercards' => |
| 531 | 659 | array ( |
| 532 | 660 | 'name' => 'Gravatar Hovercards', |
| 533 | - '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.', | |
| 534 | 662 | 'sort' => '11', |
| 535 | 663 | 'recommendation_order' => '13', |
| 536 | 664 | 'introduced' => '1.1', |
| 537 | 665 | 'changed' => '', |
| @@ -547,9 +675,9 @@ | ||
| 547 | 675 | ), |
| 548 | 676 | 'infinite-scroll' => |
| 549 | 677 | array ( |
| 550 | 678 | 'name' => 'Infinite Scroll', |
| 551 | - 'description' => 'Automatically load new content when a visitor scrolls', | |
| 679 | + 'description' => 'Automatically load new posts as visitors scroll down your site.', | |
| 552 | 680 | 'sort' => '26', |
| 553 | 681 | 'recommendation_order' => '', |
| 554 | 682 | 'introduced' => '2.0', |
| 555 | 683 | 'changed' => '', |
| @@ -565,9 +693,9 @@ | ||
| 565 | 693 | ), |
| 566 | 694 | 'json-api' => |
| 567 | 695 | array ( |
| 568 | 696 | 'name' => 'JSON API', |
| 569 | - 'description' => 'Allow applications to securely access your content.', | |
| 697 | + 'description' => 'Access your site’s data remotely through the WordPress.com REST API.', | |
| 570 | 698 | 'sort' => '19', |
| 571 | 699 | 'recommendation_order' => '', |
| 572 | 700 | 'introduced' => '1.9', |
| 573 | 701 | 'changed' => '', |
| @@ -583,9 +711,9 @@ | ||
| 583 | 711 | ), |
| 584 | 712 | 'latex' => |
| 585 | 713 | array ( |
| 586 | 714 | 'name' => 'Beautiful Math', |
| 587 | - '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.', | |
| 588 | 716 | 'sort' => '12', |
| 589 | 717 | 'recommendation_order' => '', |
| 590 | 718 | 'introduced' => '1.1', |
| 591 | 719 | 'changed' => '', |
| @@ -601,9 +729,9 @@ | ||
| 601 | 729 | ), |
| 602 | 730 | 'likes' => |
| 603 | 731 | array ( |
| 604 | 732 | 'name' => 'Likes', |
| 605 | - '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.', | |
| 606 | 734 | 'sort' => '23', |
| 607 | 735 | 'recommendation_order' => '', |
| 608 | 736 | 'introduced' => '2.2', |
| 609 | 737 | 'changed' => '', |
| @@ -619,9 +747,9 @@ | ||
| 619 | 747 | ), |
| 620 | 748 | 'markdown' => |
| 621 | 749 | array ( |
| 622 | 750 | 'name' => 'Markdown', |
| 623 | - 'description' => 'Write posts or pages in plain-text Markdown syntax', | |
| 751 | + 'description' => 'Write and format posts using clean, readable Markdown syntax.', | |
| 624 | 752 | 'sort' => '31', |
| 625 | 753 | 'recommendation_order' => '', |
| 626 | 754 | 'introduced' => '2.8', |
| 627 | 755 | 'changed' => '', |
| @@ -634,30 +762,12 @@ | ||
| 634 | 762 | 'feature' => 'Writing', |
| 635 | 763 | 'additional_search_queries' => 'md, markdown', |
| 636 | 764 | 'plan_classes' => '', |
| 637 | 765 | ), |
| 638 | - 'masterbar' => | |
| 639 | - array ( | |
| 640 | - 'name' => 'WordPress.com Toolbar and Dashboard customizations', | |
| 641 | - '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.', | |
| 642 | - 'sort' => '38', | |
| 643 | - 'recommendation_order' => '16', | |
| 644 | - 'introduced' => '4.8', | |
| 645 | - 'changed' => '', | |
| 646 | - 'deactivate' => '', | |
| 647 | - 'free' => '', | |
| 648 | - 'requires_connection' => 'Yes', | |
| 649 | - 'requires_user_connection' => 'Yes', | |
| 650 | - 'auto_activate' => 'No', | |
| 651 | - 'module_tags' => 'General', | |
| 652 | - 'feature' => '', | |
| 653 | - 'additional_search_queries' => 'adminbar, masterbar, colorschemes, profile-edit', | |
| 654 | - 'plan_classes' => '', | |
| 655 | - ), | |
| 656 | 766 | 'monitor' => |
| 657 | 767 | array ( |
| 658 | - 'name' => 'Monitor', | |
| 659 | - '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.', | |
| 660 | 770 | 'sort' => '28', |
| 661 | 771 | 'recommendation_order' => '10', |
| 662 | 772 | 'introduced' => '2.6', |
| 663 | 773 | 'changed' => '', |
| @@ -673,9 +783,9 @@ | ||
| 673 | 783 | ), |
| 674 | 784 | 'notes' => |
| 675 | 785 | array ( |
| 676 | 786 | 'name' => 'Notifications', |
| 677 | - 'description' => 'Receive instant notifications of site comments and likes.', | |
| 787 | + 'description' => 'Receive real‑time notifications about site activity across your devices.', | |
| 678 | 788 | 'sort' => '13', |
| 679 | 789 | 'recommendation_order' => '', |
| 680 | 790 | 'introduced' => '1.9', |
| 681 | 791 | 'changed' => '', |
| @@ -691,9 +801,9 @@ | ||
| 691 | 801 | ), |
| 692 | 802 | 'photon-cdn' => |
| 693 | 803 | array ( |
| 694 | 804 | 'name' => 'Asset CDN', |
| 695 | - '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.', | |
| 696 | 806 | 'sort' => '26', |
| 697 | 807 | 'recommendation_order' => '1', |
| 698 | 808 | 'introduced' => '6.6', |
| 699 | 809 | 'changed' => '', |
| @@ -709,9 +819,9 @@ | ||
| 709 | 819 | ), |
| 710 | 820 | 'photon' => |
| 711 | 821 | array ( |
| 712 | 822 | 'name' => 'Image CDN', |
| 713 | - '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.', | |
| 714 | 824 | 'sort' => '25', |
| 715 | 825 | 'recommendation_order' => '1', |
| 716 | 826 | 'introduced' => '2.0', |
| 717 | 827 | 'changed' => '', |
| @@ -724,12 +834,30 @@ | ||
| 724 | 834 | 'feature' => 'Recommended, Appearance', |
| 725 | 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', |
| 726 | 836 | 'plan_classes' => '', |
| 727 | 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 | + ), | |
| 728 | 856 | 'post-by-email' => |
| 729 | 857 | array ( |
| 730 | - 'name' => 'Post by email', | |
| 731 | - '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.', | |
| 732 | 860 | 'sort' => '14', |
| 733 | 861 | 'recommendation_order' => '', |
| 734 | 862 | 'introduced' => '2.0', |
| 735 | 863 | 'changed' => '', |
| @@ -745,9 +873,9 @@ | ||
| 745 | 873 | ), |
| 746 | 874 | 'post-list' => |
| 747 | 875 | array ( |
| 748 | 876 | 'name' => 'Post List', |
| 749 | - '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.', | |
| 750 | 878 | 'sort' => '31', |
| 751 | 879 | 'recommendation_order' => '12', |
| 752 | 880 | 'introduced' => '11.3', |
| 753 | 881 | 'changed' => '', |
| @@ -762,10 +890,10 @@ | ||
| 762 | 890 | 'plan_classes' => '', |
| 763 | 891 | ), |
| 764 | 892 | 'protect' => |
| 765 | 893 | array ( |
| 766 | - 'name' => 'Brute force protection', | |
| 767 | - 'description' => '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.', | |
| 768 | 896 | 'sort' => '1', |
| 769 | 897 | 'recommendation_order' => '4', |
| 770 | 898 | 'introduced' => '3.4', |
| 771 | 899 | 'changed' => '', |
| @@ -781,9 +909,9 @@ | ||
| 781 | 909 | ), |
| 782 | 910 | 'publicize' => |
| 783 | 911 | array ( |
| 784 | 912 | 'name' => 'Jetpack Social', |
| 785 | - '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.', | |
| 786 | 914 | 'sort' => '10', |
| 787 | 915 | 'recommendation_order' => '7', |
| 788 | 916 | 'introduced' => '2.0', |
| 789 | 917 | 'changed' => '', |
| @@ -793,15 +921,15 @@ | ||
| 793 | 921 | 'requires_user_connection' => 'Yes', |
| 794 | 922 | 'auto_activate' => 'No', |
| 795 | 923 | 'module_tags' => 'Social, Recommended', |
| 796 | 924 | 'feature' => 'Engagement', |
| 797 | - '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', | |
| 798 | 926 | 'plan_classes' => '', |
| 799 | 927 | ), |
| 800 | 928 | 'related-posts' => |
| 801 | 929 | array ( |
| 802 | - 'name' => 'Related posts', | |
| 803 | - '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.', | |
| 804 | 932 | 'sort' => '29', |
| 805 | 933 | 'recommendation_order' => '9', |
| 806 | 934 | 'introduced' => '2.9', |
| 807 | 935 | 'changed' => '', |
| @@ -817,9 +945,9 @@ | ||
| 817 | 945 | ), |
| 818 | 946 | 'search' => |
| 819 | 947 | array ( |
| 820 | 948 | 'name' => 'Search', |
| 821 | - '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.', | |
| 822 | 950 | 'sort' => '34', |
| 823 | 951 | 'recommendation_order' => '', |
| 824 | 952 | 'introduced' => '5.0', |
| 825 | 953 | 'changed' => '', |
| @@ -835,9 +963,9 @@ | ||
| 835 | 963 | ), |
| 836 | 964 | 'seo-tools' => |
| 837 | 965 | array ( |
| 838 | 966 | 'name' => 'SEO Tools', |
| 839 | - 'description' => 'Better results on search engines and social media.', | |
| 967 | + 'description' => 'Optimize titles, meta descriptions, and social previews for better search results.', | |
| 840 | 968 | 'sort' => '35', |
| 841 | 969 | 'recommendation_order' => '15', |
| 842 | 970 | 'introduced' => '4.4', |
| 843 | 971 | 'changed' => '', |
| @@ -847,15 +975,15 @@ | ||
| 847 | 975 | 'requires_user_connection' => 'No', |
| 848 | 976 | 'auto_activate' => 'No', |
| 849 | 977 | 'module_tags' => 'Social, Appearance', |
| 850 | 978 | 'feature' => 'Traffic', |
| 851 | - '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', | |
| 852 | 980 | 'plan_classes' => '', |
| 853 | 981 | ), |
| 854 | 982 | 'sharedaddy' => |
| 855 | 983 | array ( |
| 856 | 984 | 'name' => 'Sharing', |
| 857 | - '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.', | |
| 858 | 986 | 'sort' => '7', |
| 859 | 987 | 'recommendation_order' => '6', |
| 860 | 988 | 'introduced' => '1.1', |
| 861 | 989 | 'changed' => '1.2', |
| @@ -865,15 +993,15 @@ | ||
| 865 | 993 | 'requires_user_connection' => '', |
| 866 | 994 | 'auto_activate' => 'No', |
| 867 | 995 | 'module_tags' => 'Social, Recommended', |
| 868 | 996 | 'feature' => 'Engagement', |
| 869 | - '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', | |
| 870 | 998 | 'plan_classes' => '', |
| 871 | 999 | ), |
| 872 | 1000 | 'shortcodes' => |
| 873 | 1001 | array ( |
| 874 | 1002 | 'name' => 'Shortcode Embeds', |
| 875 | - '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.', | |
| 876 | 1004 | 'sort' => '3', |
| 877 | 1005 | 'recommendation_order' => '', |
| 878 | 1006 | 'introduced' => '1.1', |
| 879 | 1007 | 'changed' => '1.2', |
| @@ -889,9 +1017,9 @@ | ||
| 889 | 1017 | ), |
| 890 | 1018 | 'shortlinks' => |
| 891 | 1019 | array ( |
| 892 | 1020 | 'name' => 'WP.me Shortlinks', |
| 893 | - 'description' => 'Generates shorter links using the wp.me domain.', | |
| 1021 | + 'description' => 'Share short, easy-to-remember links to your posts and pages.', | |
| 894 | 1022 | 'sort' => '8', |
| 895 | 1023 | 'recommendation_order' => '', |
| 896 | 1024 | 'introduced' => '1.1', |
| 897 | 1025 | 'changed' => '', |
| @@ -907,9 +1035,9 @@ | ||
| 907 | 1035 | ), |
| 908 | 1036 | 'sitemaps' => |
| 909 | 1037 | array ( |
| 910 | 1038 | 'name' => 'Sitemaps', |
| 911 | - 'description' => 'Make it easy for search engines to find your site.', | |
| 1039 | + 'description' => 'Generate XML sitemaps so search engines can index your site efficiently.', | |
| 912 | 1040 | 'sort' => '13', |
| 913 | 1041 | 'recommendation_order' => '', |
| 914 | 1042 | 'introduced' => '3.9', |
| 915 | 1043 | 'changed' => '', |
| @@ -925,9 +1053,9 @@ | ||
| 925 | 1053 | ), |
| 926 | 1054 | 'sso' => |
| 927 | 1055 | array ( |
| 928 | 1056 | 'name' => 'Secure Sign On', |
| 929 | - '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.', | |
| 930 | 1058 | 'sort' => '30', |
| 931 | 1059 | 'recommendation_order' => '5', |
| 932 | 1060 | 'introduced' => '2.6', |
| 933 | 1061 | 'changed' => '', |
| @@ -943,9 +1071,9 @@ | ||
| 943 | 1071 | ), |
| 944 | 1072 | 'stats' => |
| 945 | 1073 | array ( |
| 946 | 1074 | 'name' => 'Jetpack Stats', |
| 947 | - 'description' => 'Collect valuable traffic stats and insights.', | |
| 1075 | + 'description' => 'Clear, concise traffic insights right in your WordPress dashboard.', | |
| 948 | 1076 | 'sort' => '1', |
| 949 | 1077 | 'recommendation_order' => '2', |
| 950 | 1078 | 'introduced' => '1.1', |
| 951 | 1079 | 'changed' => '', |
| @@ -961,9 +1089,9 @@ | ||
| 961 | 1089 | ), |
| 962 | 1090 | 'subscriptions' => |
| 963 | 1091 | array ( |
| 964 | 1092 | 'name' => 'Newsletter', |
| 965 | - '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.', | |
| 966 | 1094 | 'sort' => '9', |
| 967 | 1095 | 'recommendation_order' => '8', |
| 968 | 1096 | 'introduced' => '1.2', |
| 969 | 1097 | 'changed' => '', |
| @@ -970,9 +1098,9 @@ | ||
| 970 | 1098 | 'deactivate' => '', |
| 971 | 1099 | 'free' => '', |
| 972 | 1100 | 'requires_connection' => 'Yes', |
| 973 | 1101 | 'requires_user_connection' => 'Yes', |
| 974 | - 'auto_activate' => 'No', | |
| 1102 | + 'auto_activate' => 'Yes', | |
| 975 | 1103 | 'module_tags' => 'Social', |
| 976 | 1104 | 'feature' => 'Engagement', |
| 977 | 1105 | 'additional_search_queries' => 'subscriptions, subscription, email, follow, followers, subscribers, signup, newsletter, creator', |
| 978 | 1106 | 'plan_classes' => '', |
| @@ -979,9 +1107,9 @@ | ||
| 979 | 1107 | ), |
| 980 | 1108 | 'tiled-gallery' => |
| 981 | 1109 | array ( |
| 982 | 1110 | 'name' => 'Tiled Galleries', |
| 983 | - 'description' => 'Display image galleries in a variety of elegant arrangements.', | |
| 1111 | + 'description' => 'Create visually engaging tiled image galleries with multiple layout options.', | |
| 984 | 1112 | 'sort' => '24', |
| 985 | 1113 | 'recommendation_order' => '', |
| 986 | 1114 | 'introduced' => '2.1', |
| 987 | 1115 | 'changed' => '', |
| @@ -996,10 +1124,10 @@ | ||
| 996 | 1124 | 'plan_classes' => '', |
| 997 | 1125 | ), |
| 998 | 1126 | 'vaultpress' => |
| 999 | 1127 | array ( |
| 1000 | - 'name' => 'Backups and Scanning', | |
| 1001 | - '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.', | |
| 1002 | 1130 | 'sort' => '32', |
| 1003 | 1131 | 'recommendation_order' => '', |
| 1004 | 1132 | 'introduced' => '0:1.2', |
| 1005 | 1133 | 'changed' => '', |
| @@ -1014,10 +1142,10 @@ | ||
| 1014 | 1142 | 'plan_classes' => 'personal, business, premium, security, complete', |
| 1015 | 1143 | ), |
| 1016 | 1144 | 'verification-tools' => |
| 1017 | 1145 | array ( |
| 1018 | - 'name' => 'Site verification', | |
| 1019 | - '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.', | |
| 1020 | 1148 | 'sort' => '33', |
| 1021 | 1149 | 'recommendation_order' => '', |
| 1022 | 1150 | 'introduced' => '3.0', |
| 1023 | 1151 | 'changed' => '', |
| @@ -1033,9 +1161,9 @@ | ||
| 1033 | 1161 | ), |
| 1034 | 1162 | 'videopress' => |
| 1035 | 1163 | array ( |
| 1036 | 1164 | 'name' => 'VideoPress', |
| 1037 | - '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.', | |
| 1038 | 1166 | 'sort' => '27', |
| 1039 | 1167 | 'recommendation_order' => '', |
| 1040 | 1168 | 'introduced' => '2.5', |
| 1041 | 1169 | 'changed' => '', |
| @@ -1051,9 +1179,9 @@ | ||
| 1051 | 1179 | ), |
| 1052 | 1180 | 'waf' => |
| 1053 | 1181 | array ( |
| 1054 | 1182 | 'name' => 'Firewall', |
| 1055 | - 'description' => 'Protect your site with Jetpack\'s Web Application Firewall', | |
| 1183 | + 'description' => 'Filter malicious traffic in real time with Jetpack’s site firewall.', | |
| 1056 | 1184 | 'sort' => '5', |
| 1057 | 1185 | 'recommendation_order' => '', |
| 1058 | 1186 | 'introduced' => '10.9', |
| 1059 | 1187 | 'changed' => '', |
| @@ -1069,9 +1197,9 @@ | ||
| 1069 | 1197 | ), |
| 1070 | 1198 | 'widget-visibility' => |
| 1071 | 1199 | array ( |
| 1072 | 1200 | 'name' => 'Widget Visibility', |
| 1073 | - 'description' => 'Control where widgets appear on your site.', | |
| 1201 | + 'description' => 'Choose which widgets appear on specific pages or posts with advanced controls.', | |
| 1074 | 1202 | 'sort' => '17', |
| 1075 | 1203 | 'recommendation_order' => '', |
| 1076 | 1204 | 'introduced' => '2.4', |
| 1077 | 1205 | 'changed' => '', |
| @@ -1087,9 +1215,9 @@ | ||
| 1087 | 1215 | ), |
| 1088 | 1216 | 'widgets' => |
| 1089 | 1217 | array ( |
| 1090 | 1218 | 'name' => 'Extra Sidebar Widgets', |
| 1091 | - 'description' => 'Provides additional widgets for use on your site.', | |
| 1219 | + 'description' => 'Add more widget options to your site, like social feeds, subscriptions, and more.', | |
| 1092 | 1220 | 'sort' => '4', |
| 1093 | 1221 | 'recommendation_order' => '', |
| 1094 | 1222 | 'introduced' => '1.2', |
| 1095 | 1223 | 'changed' => '', |
| @@ -1105,9 +1233,9 @@ | ||
| 1105 | 1233 | ), |
| 1106 | 1234 | 'woocommerce-analytics' => |
| 1107 | 1235 | array ( |
| 1108 | 1236 | 'name' => 'WooCommerce Analytics', |
| 1109 | - 'description' => 'Enhanced analytics for WooCommerce and Jetpack users.', | |
| 1237 | + 'description' => 'Get actionable insights on your store’s orders, revenue, and customers.', | |
| 1110 | 1238 | 'sort' => '13', |
| 1111 | 1239 | 'recommendation_order' => '', |
| 1112 | 1240 | 'introduced' => '8.4', |
| 1113 | 1241 | 'changed' => '', |
| @@ -1123,9 +1251,9 @@ | ||
| 1123 | 1251 | ), |
| 1124 | 1252 | 'wordads' => |
| 1125 | 1253 | array ( |
| 1126 | 1254 | 'name' => 'Ads', |
| 1127 | - 'description' => 'Earn income by allowing Jetpack to display high quality ads.', | |
| 1255 | + 'description' => 'Earn revenue by displaying high‑quality ads on your site.', | |
| 1128 | 1256 | 'sort' => '1', |
| 1129 | 1257 | 'recommendation_order' => '', |
| 1130 | 1258 | 'introduced' => '4.5.0', |
| 1131 | 1259 | 'changed' => '', |
| @@ -1138,10 +1266,28 @@ | ||
| 1138 | 1266 | 'feature' => '', |
| 1139 | 1267 | 'additional_search_queries' => 'advertising, ad codes, ads, creator', |
| 1140 | 1268 | 'plan_classes' => 'premium, business, security, complete', |
| 1141 | 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 | + ), | |
| 1142 | 1288 | ); |
| 1143 | - return isset( $module_info[ $key ] ) ? $module_info[ $key ] : null; | |
| 1289 | + return $module_info[ $key ] ?? null; | |
| 1144 | 1290 | } |
| 1145 | 1291 | |
| 1146 | 1292 | /** |
| 1147 | 1293 | * Return an array containing all module header names. |
| @@ -1176,13 +1322,14 @@ | ||
| 1176 | 1322 | * @return bool Whether the file has no module info. |
| 1177 | 1323 | */ |
| 1178 | 1324 | function jetpack_has_no_module_info( $slug ) { |
| 1179 | 1325 | $no_info_slugs = array ( |
| 1180 | - 0 => 'geo-location', | |
| 1181 | - 1 => 'module-extras', | |
| 1182 | - 2 => 'module-info', | |
| 1183 | - 3 => 'plugin-search', | |
| 1184 | - 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', | |
| 1185 | 1332 | ); |
| 1186 | 1333 | |
| 1187 | 1334 | return in_array( $slug, $no_info_slugs, true ); |
| 1188 | 1335 | } |