Changeset 7243 for sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-directory-compat.php
- Timestamp:
- 05/26/2018 01:58:44 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-directory-compat.php
r6387 r7243 16 16 abstract protected function query_var(); 17 17 abstract protected function taxonomy(); 18 abstract protected function name(); 18 19 abstract protected function parse_query(); 19 20 abstract protected function do_view_sidebar(); … … 480 481 public function register_taxonomy() { 481 482 if ( post_type_exists( 'topic' ) ) { 482 register_taxonomy( $this->taxonomy(), 'topic', array( 'public' => false ) );483 register_taxonomy( $this->taxonomy(), 'topic', array( 'public' => false, 'show_ui' => true, 'labels' => array ('name' => $this->name() ) ) ); 483 484 } 484 485 }
Note: See TracChangeset
for help on using the changeset viewer.