Changeset 8081 for sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-support-compat.php
- Timestamp:
- 01/15/2019 03:10:41 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-support-compat.php
r7293 r8081 355 355 if ( class_exists( 'WordPressdotorg\Forums\Term_Subscription\Plugin' ) ) { 356 356 Plugin::get_instance()->plugin_subscriptions = new Term_Subscription\Plugin( array( 357 'taxonomy' => 'topic-plugin', 358 'labels' => array( 357 'taxonomy' => 'topic-plugin', 358 'directory' => Plugin::get_instance()->plugins, 359 'labels' => array( 359 360 'subscribed_header' => __( 'Subscribed Plugins', 'wporg-forums' ), 360 361 'subscribed_user_notice' => __( 'You are not currently subscribed to any plugins.', 'wporg-forums' ), 361 362 'subscribed_anon_notice' => __( 'This user is not currently subscribed to any plugins.', 'wporg-forums' ), 362 'receipt' => __( 'You are receiving this email because you are subscribed to a plugin.', 'wporg-forums' ), 363 /* translators: %s: Plugin Name. */ 364 'receipt' => __( 'You are receiving this email because you are subscribed to the %s plugin.', 'wporg-forums' ), 363 365 ), 364 366 ) ); 365 367 Plugin::get_instance()->theme_subscriptions = new Term_Subscription\Plugin( array( 366 'taxonomy' => 'topic-theme', 367 'labels' => array( 368 'taxonomy' => 'topic-theme', 369 'directory' => Plugin::get_instance()->themes, 370 'labels' => array( 368 371 'subscribed_header' => __( 'Subscribed Themes', 'wporg-forums' ), 369 372 'subscribed_user_notice' => __( 'You are not currently subscribed to any themes.', 'wporg-forums' ), 370 373 'subscribed_anon_notice' => __( 'This user is not currently subscribed to any themes.', 'wporg-forums' ), 371 'receipt' => __( 'You are receiving this email because you are subscribed to a theme.', 'wporg-forums' ), 374 /* translators: %s: Theme Name. */ 375 'receipt' => __( 'You are receiving this email because you are subscribed to the %s theme.', 'wporg-forums' ), 372 376 ), 373 377 ) ); … … 394 398 FROM {$prefix}posts AS p 395 399 LEFT JOIN {$prefix}term_relationships AS tr ON p.ID = tr.object_id 396 LEFT JOIN {$prefix}term_taxonomy AS tt ON tr.term_taxonomy_id = tt.term_taxonomy_id 400 LEFT JOIN {$prefix}term_taxonomy AS tt ON tr.term_taxonomy_id = tt.term_taxonomy_id 397 401 LEFT JOIN {$prefix}terms AS t ON tt.term_id = t.term_id 398 402 WHERE tt.taxonomy = 'plugin_committers' AND p.post_status = 'publish' AND p.post_type = 'plugin' AND t.slug = %s … … 412 416 FROM {$prefix}posts AS p 413 417 LEFT JOIN {$prefix}term_relationships AS tr ON p.ID = tr.object_id 414 LEFT JOIN {$prefix}term_taxonomy AS tt ON tr.term_taxonomy_id = tt.term_taxonomy_id 418 LEFT JOIN {$prefix}term_taxonomy AS tt ON tr.term_taxonomy_id = tt.term_taxonomy_id 415 419 LEFT JOIN {$prefix}terms AS t ON tt.term_id = t.term_id 416 420 WHERE tt.taxonomy = 'plugin_contributors' AND p.post_status = 'publish' AND p.post_type = 'plugin' AND t.slug = %s
Note: See TracChangeset
for help on using the changeset viewer.