Changeset 5464 for trunk/src/includes/admin/metaboxes.php
- Timestamp:
- 09/08/2014 07:45:00 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/admin/metaboxes.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/metaboxes.php
r5439 r5464 29 29 $elements[] = '<a href="' . esc_url( $link ) . '" class="bbp-glance-forums">' . esc_html( $text ) . '</a>'; 30 30 } 31 31 32 32 // Topics 33 33 if ( current_user_can( 'publish_topics' ) ) { … … 47 47 if ( bbp_allow_topic_tags() && current_user_can( 'manage_topic_tags' ) ) { 48 48 $link = add_query_arg( array( 'taxonomy' => bbp_get_topic_tag_tax_id(), 'post_type' => bbp_get_topic_post_type() ), get_admin_url( null, 'edit-tags.php' ) ); 49 $text = sprintf( _n( '%d Topic Tag s', '%d Topic Tags', $r['topic_tag_count'], 'bbpress' ), $r['topic_tag_count'] );49 $text = sprintf( _n( '%d Topic Tag', '%d Topic Tags', $r['topic_tag_count'], 'bbpress' ), $r['topic_tag_count'] ); 50 50 $elements[] = '<a href="' . esc_url( $link ) . '" class="bbp-glance-topic-tags">' . esc_html( $text ) . '</a>'; 51 51 }
Note: See TracChangeset
for help on using the changeset viewer.