Making WordPress.org


Ignore:
Timestamp:
02/24/2015 08:05:37 PM (12 years ago)
Author:
iandunn
Message:

Multi Event Sponsors: Whitespace and documentation cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/multi-event-sponsors/classes/mes-sponsor.php

    r1302 r1304  
    1313
    1414class MES_Sponsor {
    15         const POST_TYPE_SLUG     = 'mes';
     15        const POST_TYPE_SLUG = 'mes';
    1616       
    1717        /**
     
    1919         */
    2020        public function __construct() {
    21                 add_action( 'init',                                   array( $this, 'create_post_type' ) );
    22                 add_action( 'admin_init',                             array( $this, 'add_meta_boxes' ) );
    23                 add_action( 'save_post',                              array( $this, 'save_post' ), 10, 2 );
    24                 add_filter( 'the_content',                            array( $this, 'add_header_footer_text' ) );
    25 
    26                 // todo readjust whitespace after this commit
     21                add_action( 'init',        array( $this, 'create_post_type' ) );
     22                add_action( 'admin_init',  array( $this, 'add_meta_boxes' ) );
     23                add_action( 'save_post',   array( $this, 'save_post' ), 10, 2 );
     24                add_filter( 'the_content', array( $this, 'add_header_footer_text' ) );
    2725        }
    2826
     
    126124         * @param array $regional_sponsorships
    127125         * @param array $regions
     126         *
    128127         * @return array
    129128         */
     
    203202         *
    204203         * @param string $content
     204         *
    205205         * @return string
    206206         */
Note: See TracChangeset for help on using the changeset viewer.