Changeset 21070
- Timestamp:
- 06/12/2012 07:27:41 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
wp-admin/custom-background.php (modified) (1 diff)
-
wp-includes/class-wp-customize-manager.php (modified) (2 diffs)
-
wp-includes/js/quicktags.dev.js (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/custom-background.php
r21037 r21070 239 239 <?php endif; ?> 240 240 241 <?php $default_image = get_theme_support( 'custom-background', 'default-image' ); ?> 241 <?php $default_image = get_theme_support( 'custom-background', 'default-image' ); ?> 242 242 <?php if ( $default_image && get_background_image() != $default_image ) : ?> 243 243 <tr valign="top"> -
trunk/wp-includes/class-wp-customize-manager.php
r21069 r21070 161 161 add_filter( 'stylesheet', array( $this, 'get_stylesheet' ) ); 162 162 add_filter( 'pre_option_current_theme', array( $this, 'current_theme' ) ); 163 163 164 164 // @link: http://core.trac.wordpress.org/ticket/20027 165 165 add_filter( 'pre_option_stylesheet', array( $this, 'get_stylesheet' ) ); 166 166 add_filter( 'pre_option_template', array( $this, 'get_template' ) ); 167 167 168 168 // Handle custom theme roots. 169 169 add_filter( 'pre_option_stylesheet_root', array( $this, 'get_stylesheet_root' ) ); … … 191 191 remove_filter( 'stylesheet', array( $this, 'get_stylesheet' ) ); 192 192 remove_filter( 'pre_option_current_theme', array( $this, 'current_theme' ) ); 193 193 194 194 // @link: http://core.trac.wordpress.org/ticket/20027 195 195 remove_filter( 'pre_option_stylesheet', array( $this, 'get_stylesheet' ) ); 196 196 remove_filter( 'pre_option_template', array( $this, 'get_template' ) ); 197 197 198 198 // Handle custom theme roots. 199 199 remove_filter( 'pre_option_stylesheet_root', array( $this, 'get_stylesheet_root' ) ); -
trunk/wp-includes/js/quicktags.dev.js
r20451 r21070 1 1 /* 2 2 * Quicktags 3 * 3 * 4 4 * This is the HTML editor in WordPress. It can be attached to any textarea and will 5 5 * append a toolbar above it. This script is self-contained (does not require external libraries). … … 52 52 /** 53 53 * Inserts content at the caret in the active editor (textarea) 54 * 54 * 55 55 * Added for back compatibility 56 56 * @see QTags.insertContent() … … 62 62 /** 63 63 * Adds a button to all instances of the editor 64 * 64 * 65 65 * Added for back compatibility, use QTags.addButton() as it gives more flexibility like type of button, button placement, etc. 66 66 * @see QTags.addButton() 67 67 */ 68 68 function edButton(id, display, tagStart, tagEnd, access, open) { 69 return QTags.addButton( id, display, tagStart, tagEnd, access, '', -1 ); 69 return QTags.addButton( id, display, tagStart, tagEnd, access, '', -1 ); 70 70 } 71 71 … … 279 279 /** 280 280 * Main API function for adding a button to Quicktags 281 * 281 * 282 282 * Adds qt.Button or qt.TagButton depending on the args. The first three args are always required. 283 283 * To be able to add button(s) to Quicktags, your script should be enqueued as dependent … … 298 298 * @param arg2 string optional Ending tag like "</span>" 299 299 * @param access_key string optional Access key for the button. 300 * @param title string optional Button's title="..." 300 * @param title string optional Button's title="..." 301 301 * @param priority int optional Number representing the desired position of the button in the toolbar. 1 - 9 = first, 11 - 19 = second, 21 - 29 = third, etc. 302 302 * @param instance string optional Limit the button to a specifric instance of Quicktags, add to all instances if not present. 303 303 * @return mixed null or the button object that is needed for back-compat. 304 */ 304 */ 305 305 qt.addButton = function( id, display, arg1, arg2, access_key, title, priority, instance ) { 306 306 var btn; 307 307 308 308 if ( !id || !display ) 309 309 return;
Note: See TracChangeset
for help on using the changeset viewer.