Making WordPress.org


Ignore:
Timestamp:
12/23/2015 08:58:26 PM (9 years ago)
Author:
coffee2code
Message:

Handbook plugin: Generate proper permalinks for glossary terms and thus eliminate unnecessary redirects.

The glossary is always relative to the handbook.

Fixes #1228.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/handbook/inc/glossary.php

    r2162 r2226  
    4646            'hierarchical' => false,
    4747            # 'has_archive' => true,
    48             # 'rewrite' => array( 'slug' => 'handbook/glossary' ),
     48            'rewrite' => array( 'slug' => 'handbook/glossary' ),
    4949            'supports' => array( 'title', 'editor', 'revisions' ),
    5050            'capability_type' => self::capability_type,
Note: See TracChangeset for help on using the changeset viewer.