WordPress.org

Plugin Directory

Changeset 530488


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

Moar understandable!

File:
1 edited

Legend:

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

    r530486 r530488  
    2727 
    2828    public function execute() { 
     29        $this->_enable_svg_mime_type(); 
     30        $this->_enable_shortcode_processing(); 
     31    } 
     32 
     33    private function _enable_svg_mime_type() { 
    2934        add_filter( 'upload_mimes', array( &$this, 'allow_svg_uploads' ) ); 
     35    } 
     36 
     37    private function _enable_shortcode_processing() { 
    3038        add_shortcode( 'svg', array( &$this, 'process_shortcode' ) ); 
    3139    } 
Note: See TracChangeset for help on using the changeset viewer.