Changeset 3261811
- Timestamp:
- 03/25/2025 10:09:28 PM (12 months ago)
- Location:
- indieblocks
- Files:
-
- 18 edited
-
tags/0.13.2/build/vendor/composer/autoload_classmap.php (modified) (1 diff)
-
tags/0.13.2/build/vendor/composer/autoload_static.php (modified) (1 diff)
-
tags/0.13.2/build/vendor/composer/installed.php (modified) (1 diff)
-
tags/0.13.2/includes/class-options-handler.php (modified) (5 diffs)
-
tags/0.13.2/includes/class-plugin.php (modified) (2 diffs)
-
tags/0.13.2/includes/class-theme-mf2.php (modified) (2 diffs)
-
tags/0.13.2/includes/functions.php (modified) (1 diff)
-
tags/0.13.2/languages/indieblocks.pot (modified) (5 diffs)
-
tags/0.13.2/readme.txt (modified) (1 diff)
-
trunk/build/vendor/composer/autoload_classmap.php (modified) (1 diff)
-
trunk/build/vendor/composer/autoload_static.php (modified) (1 diff)
-
trunk/build/vendor/composer/installed.php (modified) (1 diff)
-
trunk/includes/class-options-handler.php (modified) (5 diffs)
-
trunk/includes/class-plugin.php (modified) (2 diffs)
-
trunk/includes/class-theme-mf2.php (modified) (2 diffs)
-
trunk/includes/functions.php (modified) (1 diff)
-
trunk/languages/indieblocks.pot (modified) (5 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
indieblocks/tags/0.13.2/build/vendor/composer/autoload_classmap.php
r3088601 r3261811 11 11 'IndieBlocks\\Commands\\Commands' => $baseDir . '/../includes/commands/class-commands.php', 12 12 'IndieBlocks\\Feeds' => $baseDir . '/../includes/class-feeds.php', 13 'IndieBlocks\\Image_Proxy\\Image_Proxy' => $baseDir . '/../includes/image-proxy/class-image-proxy.php',14 13 'IndieBlocks\\Location' => $baseDir . '/../includes/class-location.php', 15 14 'IndieBlocks\\Masterminds\\HTML5' => $vendorDir . '/masterminds/html5/src/HTML5.php', -
indieblocks/tags/0.13.2/build/vendor/composer/autoload_static.php
r3149625 r3261811 41 41 'IndieBlocks\\Commands\\Commands' => __DIR__ . '/../..' . '/../includes/commands/class-commands.php', 42 42 'IndieBlocks\\Feeds' => __DIR__ . '/../..' . '/../includes/class-feeds.php', 43 'IndieBlocks\\Image_Proxy\\Image_Proxy' => __DIR__ . '/../..' . '/../includes/image-proxy/class-image-proxy.php',44 43 'IndieBlocks\\Location' => __DIR__ . '/../..' . '/../includes/class-location.php', 45 44 'IndieBlocks\\Masterminds\\HTML5' => __DIR__ . '/..' . '/masterminds/html5/src/HTML5.php', -
indieblocks/tags/0.13.2/build/vendor/composer/installed.php
r3149625 r3261811 3 3 namespace IndieBlocks; 4 4 5 return array('root' => array('name' => '__root__', 'pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => ' 72470e7ec09782f3ba7f718811ab11985e18d67b', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \false), 'versions' => array('__root__' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => '72470e7ec09782f3ba7f718811ab11985e18d67b', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'masterminds/html5' => array('pretty_version' => '2.9.0', 'version' => '2.9.0.0', 'reference' => 'f5ac2c0b0a2eefca70b2ce32a5809992227e75a6', 'type' => 'library', 'install_path' => __DIR__ . '/../masterminds/html5', 'aliases' => array(), 'dev_requirement' => \false), 'mf2/mf2' => array('pretty_version' => 'v0.5.0', 'version' => '0.5.0.0', 'reference' => 'ddc56de6be62ed4a21f569de9b80e17af678ca50', 'type' => 'library', 'install_path' => __DIR__ . '/../mf2/mf2', 'aliases' => array(), 'dev_requirement' => \false), 'michelf/php-markdown' => array('pretty_version' => '2.0.0', 'version' => '2.0.0.0', 'reference' => 'eb176f173fbac58a045aff78e55f833264b34e71', 'type' => 'library', 'install_path' => __DIR__ . '/../michelf/php-markdown', 'aliases' => array(), 'dev_requirement' => \false), 'ralouphie/mimey' => array('pretty_version' => '1.0.2', 'version' => '1.0.2.0', 'reference' => '2a0e997c733b7c2f9f8b61cafb006fd5fb9fa15a', 'type' => 'library', 'install_path' => __DIR__ . '/../ralouphie/mimey', 'aliases' => array(), 'dev_requirement' => \false)));5 return array('root' => array('name' => '__root__', 'pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => 'd1a34c307a1cb144139314bb49043c6a4bb67106', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \false), 'versions' => array('__root__' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => 'd1a34c307a1cb144139314bb49043c6a4bb67106', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'masterminds/html5' => array('pretty_version' => '2.9.0', 'version' => '2.9.0.0', 'reference' => 'f5ac2c0b0a2eefca70b2ce32a5809992227e75a6', 'type' => 'library', 'install_path' => __DIR__ . '/../masterminds/html5', 'aliases' => array(), 'dev_requirement' => \false), 'mf2/mf2' => array('pretty_version' => 'v0.5.0', 'version' => '0.5.0.0', 'reference' => 'ddc56de6be62ed4a21f569de9b80e17af678ca50', 'type' => 'library', 'install_path' => __DIR__ . '/../mf2/mf2', 'aliases' => array(), 'dev_requirement' => \false), 'michelf/php-markdown' => array('pretty_version' => '2.0.0', 'version' => '2.0.0.0', 'reference' => 'eb176f173fbac58a045aff78e55f833264b34e71', 'type' => 'library', 'install_path' => __DIR__ . '/../michelf/php-markdown', 'aliases' => array(), 'dev_requirement' => \false), 'ralouphie/mimey' => array('pretty_version' => '1.0.2', 'version' => '1.0.2.0', 'reference' => '2a0e997c733b7c2f9f8b61cafb006fd5fb9fa15a', 'type' => 'library', 'install_path' => __DIR__ . '/../ralouphie/mimey', 'aliases' => array(), 'dev_requirement' => \false))); -
indieblocks/tags/0.13.2/includes/class-options-handler.php
r3261765 r3261811 156 156 'type' => 'boolean', 157 157 'default' => false, 158 ),159 'image_proxy' => array(160 'type' => 'boolean',161 'default' => false,162 ),163 'image_proxy_secret' => array(164 'type' => 'string',165 'default' => '',166 158 ), 167 159 ); … … 229 221 230 222 add_action( 'admin_init', array( $this, 'add_settings' ) ); 231 add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts' ) );232 223 } 233 224 … … 259 250 ), 260 251 ) 261 );262 }263 264 /**265 * Enqueues JS file.266 */267 public function enqueue_scripts() {268 wp_enqueue_script(269 'indieblocks-admin',270 plugins_url( '/assets/admin.js', __DIR__ ),271 array(),272 Plugin::PLUGIN_VERSION,273 true274 252 ); 275 253 } … … 351 329 'facepile_block_hook' => isset( $settings['facepile_block_hook'] ) ? true : false, 352 330 'cache_avatars' => isset( $settings['cache_avatars'] ) ? true : false, 353 'image_proxy' => isset( $settings['image_proxy'] ) ? true : false,354 'image_proxy_secret' => isset( $settings['image_proxy_secret'] )355 ? $settings['image_proxy_secret']356 : '',357 331 ); 358 332 … … 527 501 </tr> 528 502 <tr valign="top"> 529 <th scope="row"><?php esc_html_e( '“Proxy” Avatars', 'indieblocks' ); ?></th>530 <td><label><input type="checkbox" name="indieblocks_settings[image_proxy]" value="1" <?php checked( ! empty( $this->options['image_proxy'] ) ); ?>/> <?php esc_html_e( '“Reverse proxy” avatars', 'indieblocks' ); ?></label>531 <p class="description"><?php esc_html_e( 'Serve remote avatars from this site’s domain.', 'indieblocks' ); ?></p></td>532 </tr>533 <tr valign="top">534 <th scope="row"><label for="indieblocks-image-proxy-secret"><?php esc_html_e( 'Proxy Secret', 'indieblocks' ); ?></label></th>535 <td><input type="text" name="indieblocks_settings[image_proxy_secret]" id="indieblocks-image-proxy-secret" style="min-width: 25%;" value="<?php echo ! empty( $this->options['image_proxy_secret'] ) ? esc_attr( $this->options['image_proxy_secret'] ) : ''; ?>" />536 <button type="button" class="button" id="indieblocks-generate-secret"><?php esc_html_e( 'Generate', 'indieblocks' ); ?></button>537 <p class="description"><?php esc_html_e( 'To work, the image proxy needs a (sufficiently random) secret, much like an autogenerated password.', 'indieblocks' ); ?></p></td>538 </tr>539 <tr valign="top">540 503 <th scope="row"><?php esc_html_e( 'Cache Avatars', 'indieblocks' ); ?></th> 541 504 <td><label><input type="checkbox" name="indieblocks_settings[cache_avatars]" value="1" <?php checked( ! empty( $this->options['cache_avatars'] ) ); ?>/> <?php esc_html_e( 'Cache webmention avatars', 'indieblocks' ); ?></label> -
indieblocks/tags/0.13.2/includes/class-plugin.php
r3261765 r3261811 8 8 namespace IndieBlocks; 9 9 10 use IndieBlocks\Image_Proxy\Image_Proxy;11 10 use IndieBlocks\Webmention\Webmention; 12 11 … … 110 109 add_action( 'plugins_loaded', array( Preview_Cards::class, 'register' ) ); 111 110 } 112 113 add_action( 'rest_api_init', array( Image_Proxy::class, 'register' ) );114 111 } 115 112 -
indieblocks/tags/0.13.2/includes/class-theme-mf2.php
r3149625 r3261811 495 495 } 496 496 497 $options = get_options();498 if ( ! empty( $options['image_proxy'] ) && 0 !== strpos( $url, home_url() ) ) {499 $url = proxy_image( $url );500 }501 502 497 $width = (int) ( ! empty( $args['width'] ) ? $args['width'] : 96 ); 503 498 $height = (int) ( ! empty( $args['height'] ) ? $args['height'] : 96 ); … … 549 544 } 550 545 551 $options = get_options();552 if ( ! empty( $options['image_proxy'] ) && wp_http_validate_url( $url ) && 0 !== strpos( $url, home_url() ) ) {553 return proxy_image( $url );554 }555 556 546 return $url; 557 547 } -
indieblocks/tags/0.13.2/includes/functions.php
r3149625 r3261811 546 546 547 547 /** 548 * Replaces a media URL with its "proxy" alternative.549 *550 * @param string $url Media URL.551 * @return string Proxy URL.552 */553 function proxy_image( $url ) {554 $options = get_options();555 556 if ( empty( $options['image_proxy'] ) ) {557 return $url;558 }559 560 if ( empty( $options['image_proxy_secret'] ) ) {561 return $url;562 }563 564 if ( ! empty( $options['image_proxy_http_only'] ) && 0 === stripos( $url, 'https://' ) ) {565 return $url;566 }567 568 $query_string = http_build_query(569 array(570 'hash' => hash_hmac( 'sha1', $url, $options['image_proxy_secret'] ),571 'url' => rawurlencode( $url ),572 )573 );574 575 return get_rest_url( null, '/indieblocks/v1/imageproxy' ) . "?$query_string";576 }577 578 /**579 548 * Recursively search `innerBlocks`. 580 549 * -
indieblocks/tags/0.13.2/languages/indieblocks.pot
r3261765 r3261811 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2025-03-25T2 0:20:00+01:00\n"12 "POT-Creation-Date: 2025-03-25T22:41:47+01:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.10.0\n" … … 17 17 #. Plugin Name of the plugin 18 18 #: indieblocks.php 19 #: includes/class-options-handler.php:2 2320 #: includes/class-options-handler.php:2 2421 #: includes/class-options-handler.php:3 9619 #: includes/class-options-handler.php:215 20 #: includes/class-options-handler.php:216 21 #: includes/class-options-handler.php:370 22 22 msgid "IndieBlocks" 23 23 msgstr "" … … 177 177 msgstr "" 178 178 179 #: includes/class-options-handler.php: 405179 #: includes/class-options-handler.php:379 180 180 msgid "Microformats and Blocks" 181 181 msgstr "" 182 182 183 #: includes/class-options-handler.php: 406184 #: includes/class-options-handler.php: 515183 #: includes/class-options-handler.php:380 184 #: includes/class-options-handler.php:489 185 185 msgid "Post Types" 186 186 msgstr "" 187 187 188 #: includes/class-options-handler.php: 407189 #: includes/class-options-handler.php: 510188 #: includes/class-options-handler.php:381 189 #: includes/class-options-handler.php:484 190 190 #: includes/webmention/class-webmention-receiver.php:339 191 191 #: includes/webmention/class-webmention-sender.php:635 … … 196 196 msgstr "" 197 197 198 #: includes/class-options-handler.php: 408198 #: includes/class-options-handler.php:382 199 199 msgid "Miscellaneous" 200 200 msgstr "" 201 201 202 #: includes/class-options-handler.php: 414202 #: includes/class-options-handler.php:388 203 203 msgid "Blocks" 204 204 msgstr "" 205 205 206 #: includes/class-options-handler.php: 415206 #: includes/class-options-handler.php:389 207 207 msgid "Enable blocks" 208 208 msgstr "" 209 209 210 #: includes/class-options-handler.php: 416210 #: includes/class-options-handler.php:390 211 211 msgid "Introduces several blocks that help ensure replies, likes, etc., are microformatted correctly." 212 212 msgstr "" 213 213 214 #: includes/class-options-handler.php: 419214 #: includes/class-options-handler.php:393 215 215 msgid "Block Theme Enhancements" 216 216 msgstr "" 217 217 218 #: includes/class-options-handler.php: 420218 #: includes/class-options-handler.php:394 219 219 msgid "Enable microformats" 220 220 msgstr "" 221 221 222 #: includes/class-options-handler.php:395 223 msgid "Adds microformats2 to your site’s front end. Requires the active theme to support WordPress’ new Site Editor." 224 msgstr "" 225 226 #: includes/class-options-handler.php:399 227 #: includes/class-options-handler.php:459 228 msgid "Hide note and like titles" 229 msgstr "" 230 231 #: includes/class-options-handler.php:400 232 msgid "(Experimental) Attempts to (visually) hide note and like titles, if you have enabled microformats and your theme supports the Site Editor." 233 msgstr "" 234 235 #: includes/class-options-handler.php:402 236 msgid "Exempt bookmark titles" 237 msgstr "" 238 239 #: includes/class-options-handler.php:403 240 msgid "Do <em>not</em> hide bookmark titles, <em>and</em> have them link to the bookmarked page." 241 msgstr "" 242 243 #: includes/class-options-handler.php:404 244 msgid "Exempt like titles" 245 msgstr "" 246 247 #: includes/class-options-handler.php:405 248 msgid "Do <em>not</em> hide like titles, <em>and</em> have them link to the liked page." 249 msgstr "" 250 251 #: includes/class-options-handler.php:411 252 msgid "<em>Always</em> show notes and likes in full" 253 msgstr "" 254 255 #: includes/class-options-handler.php:412 256 msgid "Attempts to dynamically replace instances of the Post Excerpt block with a Post Content block, but only for short-form post types such as notes and likes." 257 msgstr "" 258 222 259 #: includes/class-options-handler.php:421 223 msgid "Adds microformats2 to your site’s front end. Requires the active theme to support WordPress’ new Site Editor." 260 msgid "Custom Post Types" 261 msgstr "" 262 263 #: includes/class-options-handler.php:423 264 msgid "Enable “Notes”" 224 265 msgstr "" 225 266 226 267 #: includes/class-options-handler.php:425 268 #: includes/class-options-handler.php:435 269 msgid "Include in main feed" 270 msgstr "" 271 272 #: includes/class-options-handler.php:426 273 #: includes/class-options-handler.php:436 274 msgid "Show on blog page" 275 msgstr "" 276 277 #: includes/class-options-handler.php:427 278 #: includes/class-options-handler.php:437 279 msgid "Include in author archives" 280 msgstr "" 281 282 #: includes/class-options-handler.php:428 283 #: includes/class-options-handler.php:438 284 msgid "Enable categories and tags" 285 msgstr "" 286 287 #: includes/class-options-handler.php:433 288 msgid "Enable “Likes”" 289 msgstr "" 290 291 #: includes/class-options-handler.php:442 292 msgid "Random Slugs" 293 msgstr "" 294 295 #: includes/class-options-handler.php:443 296 msgid "Generate random slugs" 297 msgstr "" 298 299 #: includes/class-options-handler.php:444 300 msgid "Autogenerate unique note and like slugs. Disable for WordPress’ default behavior." 301 msgstr "" 302 303 #: includes/class-options-handler.php:447 304 msgid "Autogenerate Titles" 305 msgstr "" 306 307 #: includes/class-options-handler.php:449 308 msgid "Automatically generate titles" 309 msgstr "" 310 311 #: includes/class-options-handler.php:451 312 msgid "Have bookmark titles reflect bookmarked pages" 313 msgstr "" 314 315 #: includes/class-options-handler.php:452 316 msgid "“Bookmarks” are <em>notes that contain a Bookmark block</em>." 317 msgstr "" 318 319 #: includes/class-options-handler.php:453 320 msgid "Have like titles reflect liked pages" 321 msgstr "" 322 323 #: includes/class-options-handler.php:458 324 msgid "Web Feeds" 325 msgstr "" 326 327 #: includes/class-options-handler.php:460 328 msgid "(Experimental) Remove note (and like) titles from RSS and Atom feeds. This may help feed readers recognize them as “notes,” but might conflict with existing custom feed templates." 329 msgstr "" 330 331 #: includes/class-options-handler.php:464 332 msgid "Date-Based Archives" 333 msgstr "" 334 335 #: includes/class-options-handler.php:465 336 msgid "Enable date-based archives" 337 msgstr "" 338 339 #: includes/class-options-handler.php:466 340 msgid "(Experimental) Enable year, month, and day archives for notes and likes." 341 msgstr "" 342 343 #: includes/class-options-handler.php:469 344 msgid "Permalink Format" 345 msgstr "" 346 347 #: includes/class-options-handler.php:474 348 msgid "(Experimental) Set a custom note and like permalink format." 349 msgstr "" 350 227 351 #: includes/class-options-handler.php:485 228 msgid "Hide note and like titles" 229 msgstr "" 230 231 #: includes/class-options-handler.php:426 232 msgid "(Experimental) Attempts to (visually) hide note and like titles, if you have enabled microformats and your theme supports the Site Editor." 233 msgstr "" 234 235 #: includes/class-options-handler.php:428 236 msgid "Exempt bookmark titles" 237 msgstr "" 238 239 #: includes/class-options-handler.php:429 240 msgid "Do <em>not</em> hide bookmark titles, <em>and</em> have them link to the bookmarked page." 241 msgstr "" 242 243 #: includes/class-options-handler.php:430 244 msgid "Exempt like titles" 245 msgstr "" 246 247 #: includes/class-options-handler.php:431 248 msgid "Do <em>not</em> hide like titles, <em>and</em> have them link to the liked page." 249 msgstr "" 250 251 #: includes/class-options-handler.php:437 252 msgid "<em>Always</em> show notes and likes in full" 253 msgstr "" 254 255 #: includes/class-options-handler.php:438 256 msgid "Attempts to dynamically replace instances of the Post Excerpt block with a Post Content block, but only for short-form post types such as notes and likes." 257 msgstr "" 258 259 #: includes/class-options-handler.php:447 260 msgid "Custom Post Types" 261 msgstr "" 262 263 #: includes/class-options-handler.php:449 264 msgid "Enable “Notes”" 265 msgstr "" 266 267 #: includes/class-options-handler.php:451 268 #: includes/class-options-handler.php:461 269 msgid "Include in main feed" 270 msgstr "" 271 272 #: includes/class-options-handler.php:452 273 #: includes/class-options-handler.php:462 274 msgid "Show on blog page" 275 msgstr "" 276 277 #: includes/class-options-handler.php:453 278 #: includes/class-options-handler.php:463 279 msgid "Include in author archives" 280 msgstr "" 281 282 #: includes/class-options-handler.php:454 283 #: includes/class-options-handler.php:464 284 msgid "Enable categories and tags" 285 msgstr "" 286 287 #: includes/class-options-handler.php:459 288 msgid "Enable “Likes”" 289 msgstr "" 290 291 #: includes/class-options-handler.php:468 292 msgid "Random Slugs" 293 msgstr "" 294 295 #: includes/class-options-handler.php:469 296 msgid "Generate random slugs" 297 msgstr "" 298 299 #: includes/class-options-handler.php:470 300 msgid "Autogenerate unique note and like slugs. Disable for WordPress’ default behavior." 301 msgstr "" 302 303 #: includes/class-options-handler.php:473 304 msgid "Autogenerate Titles" 305 msgstr "" 306 307 #: includes/class-options-handler.php:475 308 msgid "Automatically generate titles" 309 msgstr "" 310 311 #: includes/class-options-handler.php:477 312 msgid "Have bookmark titles reflect bookmarked pages" 313 msgstr "" 314 315 #: includes/class-options-handler.php:478 316 msgid "“Bookmarks” are <em>notes that contain a Bookmark block</em>." 317 msgstr "" 318 319 #: includes/class-options-handler.php:479 320 msgid "Have like titles reflect liked pages" 321 msgstr "" 322 323 #: includes/class-options-handler.php:484 324 msgid "Web Feeds" 352 msgid "Enable Webmention" 325 353 msgstr "" 326 354 327 355 #: includes/class-options-handler.php:486 328 msgid "(Experimental) Remove note (and like) titles from RSS and Atom feeds. This may help feed readers recognize them as “notes,” but might conflict with existing custom feed templates." 329 msgstr "" 330 331 #: includes/class-options-handler.php:490 332 msgid "Date-Based Archives" 333 msgstr "" 334 335 #: includes/class-options-handler.php:491 336 msgid "Enable date-based archives" 337 msgstr "" 338 339 #: includes/class-options-handler.php:492 340 msgid "(Experimental) Enable year, month, and day archives for notes and likes." 341 msgstr "" 342 343 #: includes/class-options-handler.php:495 344 msgid "Permalink Format" 356 msgid "(Experimental) Automatically notify pages you’ve linked to, and allow other websites to do the same. You’ll probably want to leave this disabled if you’re already using a different Webmention plugin." 357 msgstr "" 358 359 #: includes/class-options-handler.php:494 360 msgid "The post types for which webmentions (outgoing and incoming) should be enabled." 361 msgstr "" 362 363 #: includes/class-options-handler.php:498 364 msgid "Webmention Delay" 345 365 msgstr "" 346 366 347 367 #: includes/class-options-handler.php:500 348 msgid "(Experimental) Set a custom note and like permalink format." 368 msgid "The time, in seconds, WordPress should delay sending webmentions after a post is first published." 369 msgstr "" 370 371 #: includes/class-options-handler.php:503 372 msgid "Cache Avatars" 373 msgstr "" 374 375 #: includes/class-options-handler.php:504 376 msgid "Cache webmention avatars" 377 msgstr "" 378 379 #: includes/class-options-handler.php:505 380 msgid "(Experimental) Attempt to locally cache webmention avatars." 381 msgstr "" 382 383 #: includes/class-options-handler.php:508 384 msgid "Facepile" 385 msgstr "" 386 387 #: includes/class-options-handler.php:510 388 msgid "“Facepile” bookmarks, likes, and reposts" 349 389 msgstr "" 350 390 351 391 #: includes/class-options-handler.php:511 352 msgid " Enable Webmention"392 msgid "(Experimental) Display bookmarks, likes, and reposts separate from “regular” comments." 353 393 msgstr "" 354 394 355 395 #: includes/class-options-handler.php:512 356 msgid "(Experimental) Automatically notify pages you’ve linked to, and allow other websites to do the same. You’ll probably want to leave this disabled if you’re already using a different Webmention plugin." 357 msgstr "" 358 359 #: includes/class-options-handler.php:520 360 msgid "The post types for which webmentions (outgoing and incoming) should be enabled." 396 msgid "Auto-insert Facepile block." 397 msgstr "" 398 399 #: includes/class-options-handler.php:513 400 msgid "(Experimental) Automatically insert a Facepile block in front of every Comments block. (You can still customize its look and feel by editing it in the Site Editor.)" 401 msgstr "" 402 403 #: includes/class-options-handler.php:522 404 msgid "Featured Images" 405 msgstr "" 406 407 #: includes/class-options-handler.php:523 408 msgid "Add Featured Images to feeds" 361 409 msgstr "" 362 410 363 411 #: includes/class-options-handler.php:524 364 msgid "Webmention Delay" 365 msgstr "" 366 367 #: includes/class-options-handler.php:526 368 msgid "The time, in seconds, WordPress should delay sending webmentions after a post is first published." 412 msgid "(Experimental) Prepend Featured Images to feed items." 413 msgstr "" 414 415 #: includes/class-options-handler.php:527 416 msgid "Location and Weather" 417 msgstr "" 418 419 #: includes/class-options-handler.php:528 420 msgid "Enable location functions" 369 421 msgstr "" 370 422 371 423 #: includes/class-options-handler.php:529 372 msgid " “Proxy” Avatars"373 msgstr "" 374 375 #: includes/class-options-handler.php:53 0376 msgid " “Reverse proxy” avatars"377 msgstr "" 378 379 #: includes/class-options-handler.php:53 1380 msgid " Serve remote avatars from this site’s domain."424 msgid "(Experimental) Add basic location and weather data to posts." 425 msgstr "" 426 427 #: includes/class-options-handler.php:532 428 msgid "Weather Units" 429 msgstr "" 430 431 #: includes/class-options-handler.php:533 432 msgid "Metric" 381 433 msgstr "" 382 434 383 435 #: includes/class-options-handler.php:534 384 msgid "Proxy Secret" 385 msgstr "" 386 387 #: includes/class-options-handler.php:536 388 msgid "Generate" 436 msgid "Imperial" 389 437 msgstr "" 390 438 391 439 #: includes/class-options-handler.php:537 392 msgid " To work, the image proxy needs a (sufficiently random) secret, much like an autogenerated password."393 msgstr "" 394 395 #: includes/class-options-handler.php:5 40396 msgid " Cache Avatars"397 msgstr "" 398 399 #: includes/class-options-handler.php:5 41400 msgid " Cache webmention avatars"440 msgid "Micropub" 441 msgstr "" 442 443 #: includes/class-options-handler.php:538 444 msgid "Deeper Micropub integration" 445 msgstr "" 446 447 #: includes/class-options-handler.php:539 448 msgid "(Experimental) Add post type and category data to responses to Micropub “config” queries." 401 449 msgstr "" 402 450 403 451 #: includes/class-options-handler.php:542 404 msgid "(Experimental) Attempt to locally cache webmention avatars." 405 msgstr "" 406 407 #: includes/class-options-handler.php:545 408 msgid "Facepile" 452 #: includes/class-options-handler.php:543 453 msgid "Parse Markdown" 454 msgstr "" 455 456 #: includes/class-options-handler.php:544 457 msgid "(Experimental) Parse Markdown inside “Micropub” notes or likes." 409 458 msgstr "" 410 459 411 460 #: includes/class-options-handler.php:547 412 msgid " “Facepile” bookmarks, likes, and reposts"461 msgid "Link Preview Cards" 413 462 msgstr "" 414 463 415 464 #: includes/class-options-handler.php:548 416 msgid " (Experimental) Display bookmarks, likes, and reposts separate from “regular” comments."465 msgid "Generate preview cards" 417 466 msgstr "" 418 467 419 468 #: includes/class-options-handler.php:549 420 msgid "Auto-insert Facepile block."421 msgstr ""422 423 #: includes/class-options-handler.php:550424 msgid "(Experimental) Automatically insert a Facepile block in front of every Comments block. (You can still customize its look and feel by editing it in the Site Editor.)"425 msgstr ""426 427 #: includes/class-options-handler.php:559428 msgid "Featured Images"429 msgstr ""430 431 #: includes/class-options-handler.php:560432 msgid "Add Featured Images to feeds"433 msgstr ""434 435 #: includes/class-options-handler.php:561436 msgid "(Experimental) Prepend Featured Images to feed items."437 msgstr ""438 439 #: includes/class-options-handler.php:564440 msgid "Location and Weather"441 msgstr ""442 443 #: includes/class-options-handler.php:565444 msgid "Enable location functions"445 msgstr ""446 447 #: includes/class-options-handler.php:566448 msgid "(Experimental) Add basic location and weather data to posts."449 msgstr ""450 451 #: includes/class-options-handler.php:569452 msgid "Weather Units"453 msgstr ""454 455 #: includes/class-options-handler.php:570456 msgid "Metric"457 msgstr ""458 459 #: includes/class-options-handler.php:571460 msgid "Imperial"461 msgstr ""462 463 #: includes/class-options-handler.php:574464 msgid "Micropub"465 msgstr ""466 467 #: includes/class-options-handler.php:575468 msgid "Deeper Micropub integration"469 msgstr ""470 471 #: includes/class-options-handler.php:576472 msgid "(Experimental) Add post type and category data to responses to Micropub “config” queries."473 msgstr ""474 475 #: includes/class-options-handler.php:579476 #: includes/class-options-handler.php:580477 msgid "Parse Markdown"478 msgstr ""479 480 #: includes/class-options-handler.php:581481 msgid "(Experimental) Parse Markdown inside “Micropub” notes or likes."482 msgstr ""483 484 #: includes/class-options-handler.php:584485 msgid "Link Preview Cards"486 msgstr ""487 488 #: includes/class-options-handler.php:585489 msgid "Generate preview cards"490 msgstr ""491 492 #: includes/class-options-handler.php:586493 469 msgid "(Experimental) Fetch link metadata in order to generate “link preview cards.”" 494 470 msgstr "" 495 471 496 #: includes/class-options-handler.php:5 91472 #: includes/class-options-handler.php:554 497 473 msgid "Save Changes" 498 474 msgstr "" 499 475 500 #: includes/class-options-handler.php: 700476 #: includes/class-options-handler.php:663 501 477 #: includes/class-post-types.php:86 502 478 msgid "notes" 503 479 msgstr "" 504 480 505 #: includes/class-options-handler.php: 728481 #: includes/class-options-handler.php:691 506 482 msgid "sample-post" 507 483 msgstr "" … … 588 564 #: includes/class-post-types.php:128 589 565 msgid "likes" 590 msgstr ""591 592 #: includes/image-proxy/class-image-proxy.php:38593 msgid "Invalid URL."594 msgstr ""595 596 #: includes/image-proxy/class-image-proxy.php:45597 #: includes/image-proxy/class-image-proxy.php:49598 #: includes/image-proxy/class-image-proxy.php:53599 msgid "Invalid hash."600 msgstr ""601 602 #: includes/image-proxy/class-image-proxy.php:88603 msgid "Could not open URL."604 msgstr ""605 606 #: includes/image-proxy/class-image-proxy.php:98607 msgid "Something went wrong."608 566 msgstr "" 609 567 -
indieblocks/tags/0.13.2/readme.txt
r3261765 r3261811 37 37 == Changelog == 38 38 = 0.13.2 = 39 Fixed "image proxy" hash verification. 39 Removed "image proxy." 40 40 41 41 = 0.13.1 = -
indieblocks/trunk/build/vendor/composer/autoload_classmap.php
r3088601 r3261811 11 11 'IndieBlocks\\Commands\\Commands' => $baseDir . '/../includes/commands/class-commands.php', 12 12 'IndieBlocks\\Feeds' => $baseDir . '/../includes/class-feeds.php', 13 'IndieBlocks\\Image_Proxy\\Image_Proxy' => $baseDir . '/../includes/image-proxy/class-image-proxy.php',14 13 'IndieBlocks\\Location' => $baseDir . '/../includes/class-location.php', 15 14 'IndieBlocks\\Masterminds\\HTML5' => $vendorDir . '/masterminds/html5/src/HTML5.php', -
indieblocks/trunk/build/vendor/composer/autoload_static.php
r3149625 r3261811 41 41 'IndieBlocks\\Commands\\Commands' => __DIR__ . '/../..' . '/../includes/commands/class-commands.php', 42 42 'IndieBlocks\\Feeds' => __DIR__ . '/../..' . '/../includes/class-feeds.php', 43 'IndieBlocks\\Image_Proxy\\Image_Proxy' => __DIR__ . '/../..' . '/../includes/image-proxy/class-image-proxy.php',44 43 'IndieBlocks\\Location' => __DIR__ . '/../..' . '/../includes/class-location.php', 45 44 'IndieBlocks\\Masterminds\\HTML5' => __DIR__ . '/..' . '/masterminds/html5/src/HTML5.php', -
indieblocks/trunk/build/vendor/composer/installed.php
r3149625 r3261811 3 3 namespace IndieBlocks; 4 4 5 return array('root' => array('name' => '__root__', 'pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => ' 72470e7ec09782f3ba7f718811ab11985e18d67b', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \false), 'versions' => array('__root__' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => '72470e7ec09782f3ba7f718811ab11985e18d67b', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'masterminds/html5' => array('pretty_version' => '2.9.0', 'version' => '2.9.0.0', 'reference' => 'f5ac2c0b0a2eefca70b2ce32a5809992227e75a6', 'type' => 'library', 'install_path' => __DIR__ . '/../masterminds/html5', 'aliases' => array(), 'dev_requirement' => \false), 'mf2/mf2' => array('pretty_version' => 'v0.5.0', 'version' => '0.5.0.0', 'reference' => 'ddc56de6be62ed4a21f569de9b80e17af678ca50', 'type' => 'library', 'install_path' => __DIR__ . '/../mf2/mf2', 'aliases' => array(), 'dev_requirement' => \false), 'michelf/php-markdown' => array('pretty_version' => '2.0.0', 'version' => '2.0.0.0', 'reference' => 'eb176f173fbac58a045aff78e55f833264b34e71', 'type' => 'library', 'install_path' => __DIR__ . '/../michelf/php-markdown', 'aliases' => array(), 'dev_requirement' => \false), 'ralouphie/mimey' => array('pretty_version' => '1.0.2', 'version' => '1.0.2.0', 'reference' => '2a0e997c733b7c2f9f8b61cafb006fd5fb9fa15a', 'type' => 'library', 'install_path' => __DIR__ . '/../ralouphie/mimey', 'aliases' => array(), 'dev_requirement' => \false)));5 return array('root' => array('name' => '__root__', 'pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => 'd1a34c307a1cb144139314bb49043c6a4bb67106', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \false), 'versions' => array('__root__' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => 'd1a34c307a1cb144139314bb49043c6a4bb67106', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'masterminds/html5' => array('pretty_version' => '2.9.0', 'version' => '2.9.0.0', 'reference' => 'f5ac2c0b0a2eefca70b2ce32a5809992227e75a6', 'type' => 'library', 'install_path' => __DIR__ . '/../masterminds/html5', 'aliases' => array(), 'dev_requirement' => \false), 'mf2/mf2' => array('pretty_version' => 'v0.5.0', 'version' => '0.5.0.0', 'reference' => 'ddc56de6be62ed4a21f569de9b80e17af678ca50', 'type' => 'library', 'install_path' => __DIR__ . '/../mf2/mf2', 'aliases' => array(), 'dev_requirement' => \false), 'michelf/php-markdown' => array('pretty_version' => '2.0.0', 'version' => '2.0.0.0', 'reference' => 'eb176f173fbac58a045aff78e55f833264b34e71', 'type' => 'library', 'install_path' => __DIR__ . '/../michelf/php-markdown', 'aliases' => array(), 'dev_requirement' => \false), 'ralouphie/mimey' => array('pretty_version' => '1.0.2', 'version' => '1.0.2.0', 'reference' => '2a0e997c733b7c2f9f8b61cafb006fd5fb9fa15a', 'type' => 'library', 'install_path' => __DIR__ . '/../ralouphie/mimey', 'aliases' => array(), 'dev_requirement' => \false))); -
indieblocks/trunk/includes/class-options-handler.php
r3261761 r3261811 156 156 'type' => 'boolean', 157 157 'default' => false, 158 ),159 'image_proxy' => array(160 'type' => 'boolean',161 'default' => false,162 ),163 'image_proxy_secret' => array(164 'type' => 'string',165 'default' => '',166 158 ), 167 159 ); … … 229 221 230 222 add_action( 'admin_init', array( $this, 'add_settings' ) ); 231 add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts' ) );232 223 } 233 224 … … 259 250 ), 260 251 ) 261 );262 }263 264 /**265 * Enqueues JS file.266 */267 public function enqueue_scripts() {268 wp_enqueue_script(269 'indieblocks-admin',270 plugins_url( '/assets/admin.js', __DIR__ ),271 array(),272 Plugin::PLUGIN_VERSION,273 true274 252 ); 275 253 } … … 351 329 'facepile_block_hook' => isset( $settings['facepile_block_hook'] ) ? true : false, 352 330 'cache_avatars' => isset( $settings['cache_avatars'] ) ? true : false, 353 'image_proxy' => isset( $settings['image_proxy'] ) ? true : false,354 'image_proxy_secret' => isset( $settings['image_proxy_secret'] )355 ? $settings['image_proxy_secret']356 : '',357 331 ); 358 332 … … 527 501 </tr> 528 502 <tr valign="top"> 529 <th scope="row"><?php esc_html_e( '“Proxy” Avatars', 'indieblocks' ); ?></th>530 <td><label><input type="checkbox" name="indieblocks_settings[image_proxy]" value="1" <?php checked( ! empty( $this->options['image_proxy'] ) ); ?>/> <?php esc_html_e( '“Reverse proxy” avatars', 'indieblocks' ); ?></label>531 <p class="description"><?php esc_html_e( 'Serve remote avatars from this site’s domain.', 'indieblocks' ); ?></p></td>532 </tr>533 <tr valign="top">534 <th scope="row"><label for="indieblocks-image-proxy-secret"><?php esc_html_e( 'Proxy Secret', 'indieblocks' ); ?></label></th>535 <td><input type="text" name="indieblocks_settings[image_proxy_secret]" id="indieblocks-image-proxy-secret" style="min-width: 25%;" value="<?php echo ! empty( $this->options['image_proxy_secret'] ) ? esc_attr( $this->options['image_proxy_secret'] ) : ''; ?>" />536 <button type="button" class="button" id="indieblocks-generate-secret"><?php esc_html_e( 'Generate', 'indieblocks' ); ?></button>537 <p class="description"><?php esc_html_e( 'To work, the image proxy needs a (sufficiently random) secret, much like an autogenerated password.', 'indieblocks' ); ?></p></td>538 </tr>539 <tr valign="top">540 503 <th scope="row"><?php esc_html_e( 'Cache Avatars', 'indieblocks' ); ?></th> 541 504 <td><label><input type="checkbox" name="indieblocks_settings[cache_avatars]" value="1" <?php checked( ! empty( $this->options['cache_avatars'] ) ); ?>/> <?php esc_html_e( 'Cache webmention avatars', 'indieblocks' ); ?></label> -
indieblocks/trunk/includes/class-plugin.php
r3261761 r3261811 8 8 namespace IndieBlocks; 9 9 10 use IndieBlocks\Image_Proxy\Image_Proxy;11 10 use IndieBlocks\Webmention\Webmention; 12 11 … … 110 109 add_action( 'plugins_loaded', array( Preview_Cards::class, 'register' ) ); 111 110 } 112 113 add_action( 'rest_api_init', array( Image_Proxy::class, 'register' ) );114 111 } 115 112 -
indieblocks/trunk/includes/class-theme-mf2.php
r3149625 r3261811 495 495 } 496 496 497 $options = get_options();498 if ( ! empty( $options['image_proxy'] ) && 0 !== strpos( $url, home_url() ) ) {499 $url = proxy_image( $url );500 }501 502 497 $width = (int) ( ! empty( $args['width'] ) ? $args['width'] : 96 ); 503 498 $height = (int) ( ! empty( $args['height'] ) ? $args['height'] : 96 ); … … 549 544 } 550 545 551 $options = get_options();552 if ( ! empty( $options['image_proxy'] ) && wp_http_validate_url( $url ) && 0 !== strpos( $url, home_url() ) ) {553 return proxy_image( $url );554 }555 556 546 return $url; 557 547 } -
indieblocks/trunk/includes/functions.php
r3149625 r3261811 546 546 547 547 /** 548 * Replaces a media URL with its "proxy" alternative.549 *550 * @param string $url Media URL.551 * @return string Proxy URL.552 */553 function proxy_image( $url ) {554 $options = get_options();555 556 if ( empty( $options['image_proxy'] ) ) {557 return $url;558 }559 560 if ( empty( $options['image_proxy_secret'] ) ) {561 return $url;562 }563 564 if ( ! empty( $options['image_proxy_http_only'] ) && 0 === stripos( $url, 'https://' ) ) {565 return $url;566 }567 568 $query_string = http_build_query(569 array(570 'hash' => hash_hmac( 'sha1', $url, $options['image_proxy_secret'] ),571 'url' => rawurlencode( $url ),572 )573 );574 575 return get_rest_url( null, '/indieblocks/v1/imageproxy' ) . "?$query_string";576 }577 578 /**579 548 * Recursively search `innerBlocks`. 580 549 * -
indieblocks/trunk/languages/indieblocks.pot
r3261761 r3261811 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2025-03-25T2 0:20:00+01:00\n"12 "POT-Creation-Date: 2025-03-25T22:41:47+01:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.10.0\n" … … 17 17 #. Plugin Name of the plugin 18 18 #: indieblocks.php 19 #: includes/class-options-handler.php:2 2320 #: includes/class-options-handler.php:2 2421 #: includes/class-options-handler.php:3 9619 #: includes/class-options-handler.php:215 20 #: includes/class-options-handler.php:216 21 #: includes/class-options-handler.php:370 22 22 msgid "IndieBlocks" 23 23 msgstr "" … … 177 177 msgstr "" 178 178 179 #: includes/class-options-handler.php: 405179 #: includes/class-options-handler.php:379 180 180 msgid "Microformats and Blocks" 181 181 msgstr "" 182 182 183 #: includes/class-options-handler.php: 406184 #: includes/class-options-handler.php: 515183 #: includes/class-options-handler.php:380 184 #: includes/class-options-handler.php:489 185 185 msgid "Post Types" 186 186 msgstr "" 187 187 188 #: includes/class-options-handler.php: 407189 #: includes/class-options-handler.php: 510188 #: includes/class-options-handler.php:381 189 #: includes/class-options-handler.php:484 190 190 #: includes/webmention/class-webmention-receiver.php:339 191 191 #: includes/webmention/class-webmention-sender.php:635 … … 196 196 msgstr "" 197 197 198 #: includes/class-options-handler.php: 408198 #: includes/class-options-handler.php:382 199 199 msgid "Miscellaneous" 200 200 msgstr "" 201 201 202 #: includes/class-options-handler.php: 414202 #: includes/class-options-handler.php:388 203 203 msgid "Blocks" 204 204 msgstr "" 205 205 206 #: includes/class-options-handler.php: 415206 #: includes/class-options-handler.php:389 207 207 msgid "Enable blocks" 208 208 msgstr "" 209 209 210 #: includes/class-options-handler.php: 416210 #: includes/class-options-handler.php:390 211 211 msgid "Introduces several blocks that help ensure replies, likes, etc., are microformatted correctly." 212 212 msgstr "" 213 213 214 #: includes/class-options-handler.php: 419214 #: includes/class-options-handler.php:393 215 215 msgid "Block Theme Enhancements" 216 216 msgstr "" 217 217 218 #: includes/class-options-handler.php: 420218 #: includes/class-options-handler.php:394 219 219 msgid "Enable microformats" 220 220 msgstr "" 221 221 222 #: includes/class-options-handler.php:395 223 msgid "Adds microformats2 to your site’s front end. Requires the active theme to support WordPress’ new Site Editor." 224 msgstr "" 225 226 #: includes/class-options-handler.php:399 227 #: includes/class-options-handler.php:459 228 msgid "Hide note and like titles" 229 msgstr "" 230 231 #: includes/class-options-handler.php:400 232 msgid "(Experimental) Attempts to (visually) hide note and like titles, if you have enabled microformats and your theme supports the Site Editor." 233 msgstr "" 234 235 #: includes/class-options-handler.php:402 236 msgid "Exempt bookmark titles" 237 msgstr "" 238 239 #: includes/class-options-handler.php:403 240 msgid "Do <em>not</em> hide bookmark titles, <em>and</em> have them link to the bookmarked page." 241 msgstr "" 242 243 #: includes/class-options-handler.php:404 244 msgid "Exempt like titles" 245 msgstr "" 246 247 #: includes/class-options-handler.php:405 248 msgid "Do <em>not</em> hide like titles, <em>and</em> have them link to the liked page." 249 msgstr "" 250 251 #: includes/class-options-handler.php:411 252 msgid "<em>Always</em> show notes and likes in full" 253 msgstr "" 254 255 #: includes/class-options-handler.php:412 256 msgid "Attempts to dynamically replace instances of the Post Excerpt block with a Post Content block, but only for short-form post types such as notes and likes." 257 msgstr "" 258 222 259 #: includes/class-options-handler.php:421 223 msgid "Adds microformats2 to your site’s front end. Requires the active theme to support WordPress’ new Site Editor." 260 msgid "Custom Post Types" 261 msgstr "" 262 263 #: includes/class-options-handler.php:423 264 msgid "Enable “Notes”" 224 265 msgstr "" 225 266 226 267 #: includes/class-options-handler.php:425 268 #: includes/class-options-handler.php:435 269 msgid "Include in main feed" 270 msgstr "" 271 272 #: includes/class-options-handler.php:426 273 #: includes/class-options-handler.php:436 274 msgid "Show on blog page" 275 msgstr "" 276 277 #: includes/class-options-handler.php:427 278 #: includes/class-options-handler.php:437 279 msgid "Include in author archives" 280 msgstr "" 281 282 #: includes/class-options-handler.php:428 283 #: includes/class-options-handler.php:438 284 msgid "Enable categories and tags" 285 msgstr "" 286 287 #: includes/class-options-handler.php:433 288 msgid "Enable “Likes”" 289 msgstr "" 290 291 #: includes/class-options-handler.php:442 292 msgid "Random Slugs" 293 msgstr "" 294 295 #: includes/class-options-handler.php:443 296 msgid "Generate random slugs" 297 msgstr "" 298 299 #: includes/class-options-handler.php:444 300 msgid "Autogenerate unique note and like slugs. Disable for WordPress’ default behavior." 301 msgstr "" 302 303 #: includes/class-options-handler.php:447 304 msgid "Autogenerate Titles" 305 msgstr "" 306 307 #: includes/class-options-handler.php:449 308 msgid "Automatically generate titles" 309 msgstr "" 310 311 #: includes/class-options-handler.php:451 312 msgid "Have bookmark titles reflect bookmarked pages" 313 msgstr "" 314 315 #: includes/class-options-handler.php:452 316 msgid "“Bookmarks” are <em>notes that contain a Bookmark block</em>." 317 msgstr "" 318 319 #: includes/class-options-handler.php:453 320 msgid "Have like titles reflect liked pages" 321 msgstr "" 322 323 #: includes/class-options-handler.php:458 324 msgid "Web Feeds" 325 msgstr "" 326 327 #: includes/class-options-handler.php:460 328 msgid "(Experimental) Remove note (and like) titles from RSS and Atom feeds. This may help feed readers recognize them as “notes,” but might conflict with existing custom feed templates." 329 msgstr "" 330 331 #: includes/class-options-handler.php:464 332 msgid "Date-Based Archives" 333 msgstr "" 334 335 #: includes/class-options-handler.php:465 336 msgid "Enable date-based archives" 337 msgstr "" 338 339 #: includes/class-options-handler.php:466 340 msgid "(Experimental) Enable year, month, and day archives for notes and likes." 341 msgstr "" 342 343 #: includes/class-options-handler.php:469 344 msgid "Permalink Format" 345 msgstr "" 346 347 #: includes/class-options-handler.php:474 348 msgid "(Experimental) Set a custom note and like permalink format." 349 msgstr "" 350 227 351 #: includes/class-options-handler.php:485 228 msgid "Hide note and like titles" 229 msgstr "" 230 231 #: includes/class-options-handler.php:426 232 msgid "(Experimental) Attempts to (visually) hide note and like titles, if you have enabled microformats and your theme supports the Site Editor." 233 msgstr "" 234 235 #: includes/class-options-handler.php:428 236 msgid "Exempt bookmark titles" 237 msgstr "" 238 239 #: includes/class-options-handler.php:429 240 msgid "Do <em>not</em> hide bookmark titles, <em>and</em> have them link to the bookmarked page." 241 msgstr "" 242 243 #: includes/class-options-handler.php:430 244 msgid "Exempt like titles" 245 msgstr "" 246 247 #: includes/class-options-handler.php:431 248 msgid "Do <em>not</em> hide like titles, <em>and</em> have them link to the liked page." 249 msgstr "" 250 251 #: includes/class-options-handler.php:437 252 msgid "<em>Always</em> show notes and likes in full" 253 msgstr "" 254 255 #: includes/class-options-handler.php:438 256 msgid "Attempts to dynamically replace instances of the Post Excerpt block with a Post Content block, but only for short-form post types such as notes and likes." 257 msgstr "" 258 259 #: includes/class-options-handler.php:447 260 msgid "Custom Post Types" 261 msgstr "" 262 263 #: includes/class-options-handler.php:449 264 msgid "Enable “Notes”" 265 msgstr "" 266 267 #: includes/class-options-handler.php:451 268 #: includes/class-options-handler.php:461 269 msgid "Include in main feed" 270 msgstr "" 271 272 #: includes/class-options-handler.php:452 273 #: includes/class-options-handler.php:462 274 msgid "Show on blog page" 275 msgstr "" 276 277 #: includes/class-options-handler.php:453 278 #: includes/class-options-handler.php:463 279 msgid "Include in author archives" 280 msgstr "" 281 282 #: includes/class-options-handler.php:454 283 #: includes/class-options-handler.php:464 284 msgid "Enable categories and tags" 285 msgstr "" 286 287 #: includes/class-options-handler.php:459 288 msgid "Enable “Likes”" 289 msgstr "" 290 291 #: includes/class-options-handler.php:468 292 msgid "Random Slugs" 293 msgstr "" 294 295 #: includes/class-options-handler.php:469 296 msgid "Generate random slugs" 297 msgstr "" 298 299 #: includes/class-options-handler.php:470 300 msgid "Autogenerate unique note and like slugs. Disable for WordPress’ default behavior." 301 msgstr "" 302 303 #: includes/class-options-handler.php:473 304 msgid "Autogenerate Titles" 305 msgstr "" 306 307 #: includes/class-options-handler.php:475 308 msgid "Automatically generate titles" 309 msgstr "" 310 311 #: includes/class-options-handler.php:477 312 msgid "Have bookmark titles reflect bookmarked pages" 313 msgstr "" 314 315 #: includes/class-options-handler.php:478 316 msgid "“Bookmarks” are <em>notes that contain a Bookmark block</em>." 317 msgstr "" 318 319 #: includes/class-options-handler.php:479 320 msgid "Have like titles reflect liked pages" 321 msgstr "" 322 323 #: includes/class-options-handler.php:484 324 msgid "Web Feeds" 352 msgid "Enable Webmention" 325 353 msgstr "" 326 354 327 355 #: includes/class-options-handler.php:486 328 msgid "(Experimental) Remove note (and like) titles from RSS and Atom feeds. This may help feed readers recognize them as “notes,” but might conflict with existing custom feed templates." 329 msgstr "" 330 331 #: includes/class-options-handler.php:490 332 msgid "Date-Based Archives" 333 msgstr "" 334 335 #: includes/class-options-handler.php:491 336 msgid "Enable date-based archives" 337 msgstr "" 338 339 #: includes/class-options-handler.php:492 340 msgid "(Experimental) Enable year, month, and day archives for notes and likes." 341 msgstr "" 342 343 #: includes/class-options-handler.php:495 344 msgid "Permalink Format" 356 msgid "(Experimental) Automatically notify pages you’ve linked to, and allow other websites to do the same. You’ll probably want to leave this disabled if you’re already using a different Webmention plugin." 357 msgstr "" 358 359 #: includes/class-options-handler.php:494 360 msgid "The post types for which webmentions (outgoing and incoming) should be enabled." 361 msgstr "" 362 363 #: includes/class-options-handler.php:498 364 msgid "Webmention Delay" 345 365 msgstr "" 346 366 347 367 #: includes/class-options-handler.php:500 348 msgid "(Experimental) Set a custom note and like permalink format." 368 msgid "The time, in seconds, WordPress should delay sending webmentions after a post is first published." 369 msgstr "" 370 371 #: includes/class-options-handler.php:503 372 msgid "Cache Avatars" 373 msgstr "" 374 375 #: includes/class-options-handler.php:504 376 msgid "Cache webmention avatars" 377 msgstr "" 378 379 #: includes/class-options-handler.php:505 380 msgid "(Experimental) Attempt to locally cache webmention avatars." 381 msgstr "" 382 383 #: includes/class-options-handler.php:508 384 msgid "Facepile" 385 msgstr "" 386 387 #: includes/class-options-handler.php:510 388 msgid "“Facepile” bookmarks, likes, and reposts" 349 389 msgstr "" 350 390 351 391 #: includes/class-options-handler.php:511 352 msgid " Enable Webmention"392 msgid "(Experimental) Display bookmarks, likes, and reposts separate from “regular” comments." 353 393 msgstr "" 354 394 355 395 #: includes/class-options-handler.php:512 356 msgid "(Experimental) Automatically notify pages you’ve linked to, and allow other websites to do the same. You’ll probably want to leave this disabled if you’re already using a different Webmention plugin." 357 msgstr "" 358 359 #: includes/class-options-handler.php:520 360 msgid "The post types for which webmentions (outgoing and incoming) should be enabled." 396 msgid "Auto-insert Facepile block." 397 msgstr "" 398 399 #: includes/class-options-handler.php:513 400 msgid "(Experimental) Automatically insert a Facepile block in front of every Comments block. (You can still customize its look and feel by editing it in the Site Editor.)" 401 msgstr "" 402 403 #: includes/class-options-handler.php:522 404 msgid "Featured Images" 405 msgstr "" 406 407 #: includes/class-options-handler.php:523 408 msgid "Add Featured Images to feeds" 361 409 msgstr "" 362 410 363 411 #: includes/class-options-handler.php:524 364 msgid "Webmention Delay" 365 msgstr "" 366 367 #: includes/class-options-handler.php:526 368 msgid "The time, in seconds, WordPress should delay sending webmentions after a post is first published." 412 msgid "(Experimental) Prepend Featured Images to feed items." 413 msgstr "" 414 415 #: includes/class-options-handler.php:527 416 msgid "Location and Weather" 417 msgstr "" 418 419 #: includes/class-options-handler.php:528 420 msgid "Enable location functions" 369 421 msgstr "" 370 422 371 423 #: includes/class-options-handler.php:529 372 msgid " “Proxy” Avatars"373 msgstr "" 374 375 #: includes/class-options-handler.php:53 0376 msgid " “Reverse proxy” avatars"377 msgstr "" 378 379 #: includes/class-options-handler.php:53 1380 msgid " Serve remote avatars from this site’s domain."424 msgid "(Experimental) Add basic location and weather data to posts." 425 msgstr "" 426 427 #: includes/class-options-handler.php:532 428 msgid "Weather Units" 429 msgstr "" 430 431 #: includes/class-options-handler.php:533 432 msgid "Metric" 381 433 msgstr "" 382 434 383 435 #: includes/class-options-handler.php:534 384 msgid "Proxy Secret" 385 msgstr "" 386 387 #: includes/class-options-handler.php:536 388 msgid "Generate" 436 msgid "Imperial" 389 437 msgstr "" 390 438 391 439 #: includes/class-options-handler.php:537 392 msgid " To work, the image proxy needs a (sufficiently random) secret, much like an autogenerated password."393 msgstr "" 394 395 #: includes/class-options-handler.php:5 40396 msgid " Cache Avatars"397 msgstr "" 398 399 #: includes/class-options-handler.php:5 41400 msgid " Cache webmention avatars"440 msgid "Micropub" 441 msgstr "" 442 443 #: includes/class-options-handler.php:538 444 msgid "Deeper Micropub integration" 445 msgstr "" 446 447 #: includes/class-options-handler.php:539 448 msgid "(Experimental) Add post type and category data to responses to Micropub “config” queries." 401 449 msgstr "" 402 450 403 451 #: includes/class-options-handler.php:542 404 msgid "(Experimental) Attempt to locally cache webmention avatars." 405 msgstr "" 406 407 #: includes/class-options-handler.php:545 408 msgid "Facepile" 452 #: includes/class-options-handler.php:543 453 msgid "Parse Markdown" 454 msgstr "" 455 456 #: includes/class-options-handler.php:544 457 msgid "(Experimental) Parse Markdown inside “Micropub” notes or likes." 409 458 msgstr "" 410 459 411 460 #: includes/class-options-handler.php:547 412 msgid " “Facepile” bookmarks, likes, and reposts"461 msgid "Link Preview Cards" 413 462 msgstr "" 414 463 415 464 #: includes/class-options-handler.php:548 416 msgid " (Experimental) Display bookmarks, likes, and reposts separate from “regular” comments."465 msgid "Generate preview cards" 417 466 msgstr "" 418 467 419 468 #: includes/class-options-handler.php:549 420 msgid "Auto-insert Facepile block."421 msgstr ""422 423 #: includes/class-options-handler.php:550424 msgid "(Experimental) Automatically insert a Facepile block in front of every Comments block. (You can still customize its look and feel by editing it in the Site Editor.)"425 msgstr ""426 427 #: includes/class-options-handler.php:559428 msgid "Featured Images"429 msgstr ""430 431 #: includes/class-options-handler.php:560432 msgid "Add Featured Images to feeds"433 msgstr ""434 435 #: includes/class-options-handler.php:561436 msgid "(Experimental) Prepend Featured Images to feed items."437 msgstr ""438 439 #: includes/class-options-handler.php:564440 msgid "Location and Weather"441 msgstr ""442 443 #: includes/class-options-handler.php:565444 msgid "Enable location functions"445 msgstr ""446 447 #: includes/class-options-handler.php:566448 msgid "(Experimental) Add basic location and weather data to posts."449 msgstr ""450 451 #: includes/class-options-handler.php:569452 msgid "Weather Units"453 msgstr ""454 455 #: includes/class-options-handler.php:570456 msgid "Metric"457 msgstr ""458 459 #: includes/class-options-handler.php:571460 msgid "Imperial"461 msgstr ""462 463 #: includes/class-options-handler.php:574464 msgid "Micropub"465 msgstr ""466 467 #: includes/class-options-handler.php:575468 msgid "Deeper Micropub integration"469 msgstr ""470 471 #: includes/class-options-handler.php:576472 msgid "(Experimental) Add post type and category data to responses to Micropub “config” queries."473 msgstr ""474 475 #: includes/class-options-handler.php:579476 #: includes/class-options-handler.php:580477 msgid "Parse Markdown"478 msgstr ""479 480 #: includes/class-options-handler.php:581481 msgid "(Experimental) Parse Markdown inside “Micropub” notes or likes."482 msgstr ""483 484 #: includes/class-options-handler.php:584485 msgid "Link Preview Cards"486 msgstr ""487 488 #: includes/class-options-handler.php:585489 msgid "Generate preview cards"490 msgstr ""491 492 #: includes/class-options-handler.php:586493 469 msgid "(Experimental) Fetch link metadata in order to generate “link preview cards.”" 494 470 msgstr "" 495 471 496 #: includes/class-options-handler.php:5 91472 #: includes/class-options-handler.php:554 497 473 msgid "Save Changes" 498 474 msgstr "" 499 475 500 #: includes/class-options-handler.php: 700476 #: includes/class-options-handler.php:663 501 477 #: includes/class-post-types.php:86 502 478 msgid "notes" 503 479 msgstr "" 504 480 505 #: includes/class-options-handler.php: 728481 #: includes/class-options-handler.php:691 506 482 msgid "sample-post" 507 483 msgstr "" … … 588 564 #: includes/class-post-types.php:128 589 565 msgid "likes" 590 msgstr ""591 592 #: includes/image-proxy/class-image-proxy.php:38593 msgid "Invalid URL."594 msgstr ""595 596 #: includes/image-proxy/class-image-proxy.php:45597 #: includes/image-proxy/class-image-proxy.php:49598 #: includes/image-proxy/class-image-proxy.php:53599 msgid "Invalid hash."600 msgstr ""601 602 #: includes/image-proxy/class-image-proxy.php:88603 msgid "Could not open URL."604 msgstr ""605 606 #: includes/image-proxy/class-image-proxy.php:98607 msgid "Something went wrong."608 566 msgstr "" 609 567 -
indieblocks/trunk/readme.txt
r3261761 r3261811 37 37 == Changelog == 38 38 = 0.13.2 = 39 Fixed "image proxy" hash verification. 39 Removed "image proxy." 40 40 41 41 = 0.13.1 =
Note: See TracChangeset
for help on using the changeset viewer.