Making WordPress.org

Changeset 973


Ignore:
Timestamp:
11/11/2014 08:16:00 AM (10 years ago)
Author:
coffee2code
Message:

developer.wordpress.org: Temporarily redirect naked '/resource/' requests to '/resource/dashicons'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/redirects.php

    r956 r973  
    5555
    5656    /**
    57      * Redirects a naked /resources/ request to dashicons page.
     57     * Redirects a naked /resource/ request to dashicons page.
    5858     *
    5959     * Temporary until a resource page other than dashicons is created.
    6060     */
    6161    public static function redirect_resources() {
    62         if ( is_page( 'resources' ) ) {
     62        if ( is_page( 'resource' ) ) {
    6363            wp_redirect( get_permalink( get_page_by_title( 'dashicons' ) ) );
    6464            exit();
Note: See TracChangeset for help on using the changeset viewer.