Changeset 37471 for trunk/src/wp-includes/formatting.php
- Timestamp:
- 05/20/2016 06:02:55 AM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/formatting.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/formatting.php
r37469 r37471 4518 4518 4519 4519 /** 4520 * 4521 * @global string $wp_version 4520 * Print the inline Emoji detection script if it is not already printed. 4521 * 4522 * @since 4.2.0 4522 4523 * @staticvar bool $printed 4523 4524 */ 4524 4525 function print_emoji_detection_script() { 4525 global $wp_version;4526 4526 static $printed = false; 4527 4527 … … 4532 4532 $printed = true; 4533 4533 4534 _print_emoji_detection_script(); 4535 } 4536 4537 /** 4538 * Print inline Emoji dection script 4539 * 4540 * @ignore 4541 * @since 4.6.0 4542 * @access private 4543 * 4544 * @global string $wp_version 4545 */ 4546 function _print_emoji_detection_script() { 4547 global $wp_version; 4548 4534 4549 $settings = array( 4535 4550 /** 4536 * Filter the URL where emoji images are hosted.4551 * Filter the URL where emoji png images are hosted. 4537 4552 * 4538 4553 * @since 4.2.0 4539 4554 * 4540 * @param string The emoji base URL .4555 * @param string The emoji base URL for png images. 4541 4556 */ 4542 4557 'baseUrl' => apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/72x72/' ), 4543 4558 4544 4559 /** 4545 * Filter the extension of the emoji files.4560 * Filter the extension of the emoji png files. 4546 4561 * 4547 4562 * @since 4.2.0 4548 4563 * 4549 * @param string The emoji extension . Default .png.4564 * @param string The emoji extension for png files. Default .png. 4550 4565 */ 4551 4566 'ext' => apply_filters( 'emoji_ext', '.png' ), 4567 4568 /** 4569 * Filter the URL where emoji SVG images are hosted. 4570 * 4571 * @since 4.2.0 4572 * 4573 * @param string The emoji base URL for svg images. 4574 */ 4575 'svgUrl' => apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/svg/' ), 4576 4577 /** 4578 * Filter the extension of the emoji SVG files. 4579 * 4580 * @since 4.2.0 4581 * 4582 * @param string The emoji extension for svg files. Default .svg. 4583 */ 4584 'svgExt' => apply_filters( 'emoji_svg_ext', '.svg' ), 4552 4585 ); 4553 4586
Note: See TracChangeset
for help on using the changeset viewer.