Making WordPress.org

Changeset 322


Ignore:
Timestamp:
01/29/2014 05:01:44 AM (11 years ago)
Author:
nacin
Message:

Add support for Trac components pages to make.wordpress.org/core.

Location:
sites/trunk/wordpress.org/public_html/wp-content/plugins/trac-notifications
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/trac-notifications/trac-notifications.php

    r317 r322  
    11<?php
    22/* Plugin Name: Trac Notifications
    3  * Description: Adds notifications endpoints for Trac, as well as notification management.
     3 * Description: Adds notifications endpoints for Trac, as well as notification and component management.
    44 * Author: Nacin
    55 * Version: 1.1
     
    2626        add_action( 'template_redirect', array( $this, 'action_template_redirect' ) );
    2727        add_shortcode( 'trac-notifications', array( $this, 'notification_settings_page' ) );
     28        if ( 'core' === $trac ) {
     29            require __DIR__ . '/trac-components.php';
     30        }
    2831    }
    2932
Note: See TracChangeset for help on using the changeset viewer.