Plugin Directory

Changeset 463338


Ignore:
Timestamp:
11/16/2011 01:17:38 AM (14 years ago)
Author:
MarcusPope
Message:

removed warning for post type options when they are unset

File:
1 edited

Legend:

Unmodified
Added
Removed
  • customized-wysiwyg-editor-page-widths/trunk/emc2_customized_wysiwyg_editor_page_widths.php

    r462054 r463338  
    5858            //check post type page width specified by user setting
    5959            $options = get_option('emc2_wysiwyg_page_widths');
    60             self::$post_width = $options[$post_type]; //store for later usage in mce_css filter
     60            self::$post_width = @$options[$post_type]; //store for later usage in mce_css filter
    6161            if (!empty(self::$post_width)) {
    6262                //only load the dynamic stylesheet if we're editing a post that supports an editor
Note: See TracChangeset for help on using the changeset viewer.