WordPress.org

Plugin Directory

Changeset 530485


Ignore:
Timestamp:
04/13/12 01:00:12 (2 years ago)
Author:
sterlo
Message:

Removing construct overhead.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scalable-vector-graphics-svg/trunk/scalable-vector-graphics.php

    r402522 r530485  
    2626class scalable_vector_graphics { 
    2727 
    28     function __construct() { 
     28    public function execute() { 
    2929        add_filter( 'upload_mimes' , array( &$this , 'allow_svg_uploads' ) ); 
    3030        add_shortcode( 'svg' , array( &$this , 'process_shortcode' ) ); 
     
    6868if ( class_exists( 'scalable_vector_graphics' ) and !isset( $scalable_vector_graphics ) ) { 
    6969    $scalable_vector_graphics = new scalable_vector_graphics(); 
     70    $scalable_vector_graphics->execute(); 
    7071} 
    7172 
Note: See TracChangeset for help on using the changeset viewer.