n class="time-since" title="Sun, 18 Jul 2021 17:39:38 UTC">5 anos atrás 3394_fsm a4345e5759 first commit 5 anos atrás 3394_vm a4345e5759 first commit 5 anos atrás 3395 a4345e5759 first commit 5 anos atrás 3429 a4345e5759 first commit 5 anos atrás 3430 a4345e5759 first commit 5 anos atrás 3431 a4345e5759 first commit 5 anos atrás 3433 a4345e5759 first commit 5 anos atrás 3439 a4345e5759 first commit 5 anos atrás 3440 a4345e5759 first commit 5 anos atrás 3455 a4345e5759 first commit 5 anos atrás 3456 a4345e5759 first commit 5 anos atrás 3456_fsm a4345e5759 first commit 5 anos atrás 3456_vm a4345e5759 first commit 5 anos atrás 3466 a4345e5759 first commit 5 anos atrás 3467 a4345e5759 first commit 5 anos atrás 3468 a4345e5759 first commit 5 anos atrás 3501 a4345e5759 first commit 5 anos atrás 3502 a4345e5759 first commit 5 anos atrás 3503 a4345e5759 first commit 5 anos atrás 3534 a4345e5759 first commit 5 anos atrás 3541 a4345e5759 first commit 5 anos atrás 3541_fsm a4345e5759 first commit 5 anos atrás 3541_vm a4345e5759 first commit 5 anos atrás 3542 a4345e5759 first commit 5 anos atrás 3574 a4345e5759 first commit 5 anos atrás 3575 a4345e5759 first commit 5 anos atrás 3576 a4345e5759 first commit 5 anos atrás 3596 a4345e5759 first commit 5 anos atrás 3597 a4345e5759 first commit 5 anos atrás 3598 a4345e5759 first commit 5 anos atrás 3599 a4345e5759 first commit 5 anos atrás 3600 a4345e5759 first commit 5 anos atrás 3600_fsm a4345e5759 first commit 5 anos atrás 3600_vm a4345e5759 first commit 5 anos atrás 3601 a4345e5759 first commit 5 anos atrás 3601_fsm a4345e5759 first commit 5 anos atrás 3601_vm a4345e5759 first commit 5 anos atrás 3602 a4345e5759 first commit 5 anos atrás 3602_fsm a4345e5759 first commit 5 anos atrás 3602_vm a4345e5759 first commit 5 anos atrás 3603 a4345e5759 first commit 5 anos atrás 3603_fsm a4345e5759 first commit 5 anos atrás 3603_vm a4345e5759 first commit 5 anos atrás 3604 a4345e5759 first commit 5 anos atrás 3605 a4345e5759 first commit 5 anos atrás 3606 a4345e5759 first commit 5 anos atrás 3607 a4345e5759 first commit 5 anos atrás 3608 a4345e5759 first commit 5 anos atrás 3609 a4345e5759 first commit 5 anos atrás 3712 a4345e5759 first commit 5 anos atrás 3764 a4345e5759 first commit 5 anos atrás 3764_fsm a4345e5759 first commit 5 anos atrás 3764_vm a4345e5759 first commit 5 anos atrás 3766 a4345e5759 first commit 5 anos atrás 3767 a4345e5759 first commit 5 anos atrás 3997 a4345e5759 first commit 5 anos atrás 4143 a4345e5759 first commit 5 anos atrás 4144 a4345e5759 first commit 5 anos atrás 4145 a4345e5759 first commit 5 anos atrás 4146 a4345e5759 first commit 5 anos atrás 4147 a4345e5759 first commit 5 anos atrás 4148 a4345e5759 first commit 5 anos atrás 4149 a4345e5759 first commit 5 anos atrás 4150 a4345e5759 first commit 5 anos atrás 4151 a4345e5759 first commit 5 anos atrás 4152 a4345e5759 first commit 5 anos atrás 4153 a4345e5759 first commit 5 anos atrás 4154 a4345e5759 first commit 5 anos atrás 4155 a4345e5759 first commit 5 anos atrás 4156 a4345e5759 first commit 5 anos atrás 4157 a4345e5759 first commit 5 anos atrás 4158 a4345e5759 first commit 5 anos atrás 4159 a4345e5759 first commit 5 anos atrás 4160 a4345e5759 first commit 5 anos atrás 4161 a4345e5759 first commit 5 anos atrás 4162 a4345e5759 first commit 5 anos atrás 4163 a4345e5759 first commit 5 anos atrás 4164 a4345e5759 first commit 5 anos atrás 4165 a4345e5759 first commit 5 anos atrás 4166 a4345e5759 first commit 5 anos atrás 4167 a4345e5759 first commit 5 anos atrás 4168 a4345e5759 first commit 5 anos atrás 4169 a4345e5759 first commit 5 anos atrás 4170 a4345e5759 first commit 5 anos atrás 4171 a4345e5759 first commit 5 anos atrás 4172 a4345e5759 first commit 5 anos atrás 4173 a4345e5759 first commit 5 anos atrás 4174 a4345e5759 first commit 5 anos atrás 5002 a4345e5759 first commit 5 anos atrás 548 a4345e5759 first commit 5 anos atrás 549 a4345e5759 first commit 5 anos atrás 6102 a4345e5759 first commit 5 anos atrás 6104 a4345e5759 first commit 5 anos atrás 6106 a4345e5759 first commit 5 anos atrás 6110 a4345e5759 first commit 5 anos atrás 6111 a4345e5759 first commit 5 anos atrás 6112 a4345e5759 first commit 5 anos atrás 6113 a4345e5759 first commit 5 anos atrás 6117 a4345e5759 first commit 5 anos atrás 826 a4345e5759 first commit 5 anos atrás 827 a4345e5759 first commit 5 anos atrás 828 a4345e5759 first commit 5 anos atrás PG_VERSION a4345e5759 first commit 5 anos atrás pg_filenode.map a4345e5759 first commit 5 anos atrás tum/whitesports - Gogs: Simplico Git Service

Açıklama Yok

bbpress.php 2.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <?php
  2. /**
  3. * Compatibility functions for bbpress.
  4. *
  5. * @package automattic/jetpack
  6. */
  7. add_action( 'init', 'jetpack_bbpress_compat', 11 ); // Priority 11 needed to ensure sharing_display is loaded.
  8. /**
  9. * Adds Jetpack + bbPress Compatibility filters.
  10. *
  11. * @author Brandon Kraft
  12. * @since 3.7.1
  13. */
  14. function jetpack_bbpress_compat() {
  15. if ( ! function_exists( 'bbpress' ) ) {
  16. return;
  17. }
  18. /**
  19. * Add compatibility layer for REST API.
  20. *
  21. * @since 8.5.0 Moved from root-level file and check_rest_api_compat()
  22. */
  23. require_once 'class-jetpack-bbpress-rest-api.php';
  24. Jetpack_BbPress_REST_API::instance();
  25. // Adds sharing buttons to bbPress items.
  26. if ( function_exists( 'sharing_display' ) ) {
  27. add_filter( 'bbp_get_topic_content', 'sharing_display', 19 );
  28. add_action( 'bbp_template_after_single_forum', 'jetpack_sharing_bbpress' );
  29. add_action( 'bbp_template_after_single_topic', 'jetpack_sharing_bbpress' );
  30. }
  31. /**
  32. * Enable Markdown support for bbpress post types.
  33. *
  34. * @author Brandon Kraft
  35. * @since 6.0.0
  36. */
  37. if ( function_exists( 'bbp_get_topic_post_type' ) ) {
  38. add_post_type_support( bbp_get_topic_post_type(), 'wpcom-markdown' );
  39. add_post_type_support( bbp_get_reply_post_type(), 'wpcom-markdown' );
  40. add_post_type_support( bbp_get_forum_post_type(), 'wpcom-markdown' );
  41. }
  42. /**
  43. * Use Photon for all images in Topics and replies.
  44. *
  45. * @since 4.9.0
  46. */
  47. if ( class_exists( 'Jetpack_Photon' ) && Jetpack::is_module_active( 'photon' ) ) {
  48. add_filter( 'bbp_get_topic_content', array( 'Jetpack_Photon', 'filter_the_content' ), 999999 );
  49. add_filter( 'bbp_get_reply_content', array( 'Jetpack_Photon', 'filter_the_content' ), 999999 );
  50. }
  51. }
  52. /**
  53. * Display Jetpack "Sharing" buttons on bbPress 2.x forums/ topics/ lead topics/ replies.
  54. *
  55. * Determination if the sharing buttons should display on the post type is handled within sharing_display().
  56. *
  57. * @author David Decker
  58. * @since 3.7.0
  59. */
  60. function jetpack_sharing_bbpress() {
  61. sharing_display( null, true );
  62. }