Changeset 7243
- Timestamp:
- 05/26/2018 01:58:44 PM (6 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc
- Files:
-
- 3 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 } -
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-plugin-directory-compat.php
r6850 r7243 56 56 function taxonomy() { 57 57 return 'topic-' . self::COMPAT; 58 } 59 60 function name() { 61 return ucfirst( self::COMPAT ); 58 62 } 59 63 -
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-theme-directory-compat.php
r5868 r7243 56 56 function taxonomy() { 57 57 return 'topic-' . self::COMPAT; 58 } 59 60 function name() { 61 return ucfirst( self::COMPAT ); 58 62 } 59 63
Note: See TracChangeset
for help on using the changeset viewer.