WordPress.org

Plugin Directory

Changeset 588001


Ignore:
Timestamp:
08/20/12 21:30:46 (20 months ago)
Author:
evansolomon
Message:

Group similar functions together and add code navigation comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • oembed-in-comments/trunk/oembed-in-comments.php

    r588000 r588001  
    1818    } 
    1919 
     20 
     21    /* Front end functions */ 
     22 
    2023    /** 
    2124     * If oEmbed is enabled in comments, keep going 
     
    2629 
    2730        $this->oembed_in_comments(); 
    28     } 
    29  
    30     /** 
    31      * Setup admin area 
    32      */ 
    33     function admin_init() { 
    34         $this->register_setting(); 
    3531    } 
    3632 
     
    6258 
    6359        add_filter( 'comment_text', array( $wp_embed, 'autoembed' ), $priority ); 
     60    } 
     61 
     62 
     63    /* Admin functions */ 
     64 
     65    /** 
     66     * Setup admin area 
     67     */ 
     68    function admin_init() { 
     69        $this->register_setting(); 
    6470    } 
    6571 
Note: See TracChangeset for help on using the changeset viewer.