Changeset 989 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/user-content.php
- Timestamp:
- 11/18/2014 12:20:59 AM (10 years ago)
- 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 124 124 'textarea_rows' => 8, 125 125 'quicktags' => array( 126 'buttons' => 'strong,em,ul,ol,li ,wporg_php,js'126 'buttons' => 'strong,em,ul,ol,li' 127 127 ), 128 128 'teeny' => true, … … 133 133 } 134 134 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 }144 135 } // DevHub_User_Submitted_Content 145 136
Note: See TracChangeset
for help on using the changeset viewer.