Changeset 9802
- Timestamp:
- 05/01/2020 04:47:37 AM (4 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-hooks.php
r9708 r9802 489 489 $robots = true; 490 490 } 491 492 // If topic is marked as NSFW. 493 $is_nsfw = get_post_meta( bbp_get_topic_id(), '_topic_is_nsfw', true ); 494 495 if ( $is_nsfw ) { 496 $robots = true; 497 } 491 498 } 492 499 -
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-plugin.php
r7605 r9802 43 43 $this->hooks = new Hooks; 44 44 $this->report_topic = new Report_Topic; 45 $this->nsfw_handler = new NSFW_Handler; 45 46 46 47 // These modifications are specific to https://wordpress.org/support/ -
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/support-forums.php
r9208 r9802 26 26 include( dirname( __FILE__ ) . '/inc/class-hooks.php' ); 27 27 include( dirname( __FILE__ ) . '/inc/class-report-topic.php' ); 28 include( dirname( __FILE__ ) . '/inc/class-nsfw-handler.php' ); 28 29 29 30 // Compat-only includes.
Note: See TracChangeset
for help on using the changeset viewer.