Making WordPress.org


Ignore:
Timestamp:
11/18/2014 12:20:59 AM (10 years ago)
Author:
coffee2code
Message:

developer.wordpress.org: remove unused code added in r988

fixes #692.
props DrewAPicture.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/user-content.php

    r988 r989  
    124124            'textarea_rows' => 8,
    125125            'quicktags'     => array(
    126                 'buttons' => 'strong,em,ul,ol,li,wporg_php,js'
     126                'buttons' => 'strong,em,ul,ol,li'
    127127            ),
    128128            'teeny'         => true,
     
    133133    }
    134134
    135     public static function mce_buttons( $buttons ) {
    136         $buttons = array_merge( $buttons, array( 'wporg_php' ) );
    137         return $buttons;
    138     }
    139 
    140     public static function mce_plugins( $plugins ) {
    141         $plugins['wporg_php'] = get_stylesheet_directory_uri() . '/js/user-notes.js';
    142         return $plugins;
    143     }
    144135} // DevHub_User_Submitted_Content
    145136
Note: See TracChangeset for help on using the changeset viewer.