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