Changeset 10030
- Timestamp:
- 12/04/2008 04:58:27 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/css/press-this.css
r9918 r10030 445 445 #saving { 446 446 display: inline; 447 padding-top: 5px;448 447 } 449 448 -
trunk/wp-admin/press-this.php
r9961 r10030 62 62 // insert the post with nothing in it, to get an ID 63 63 $post_ID = wp_insert_post($quick, true); 64 65 64 $content = $_REQUEST['content']; 66 65 … … 76 75 if( !is_wp_error($upload) ) $content = preg_replace('/<img ([^>]*)src=(\"|\')'.$quoted.'(\2)([^>\/]*)\/*>/is', $upload, $content); 77 76 } 78 77 79 78 // set the post_content 80 79 $quick['post_content'] = $content; … … 351 350 if ( user_can_richedit() ) { 352 351 add_filter( 'teeny_mce_before_init', create_function( '$a', '$a["height"] = "400"; $a["onpageload"] = ""; $a["mode"] = "textareas"; $a["editor_selector"] = "mceEditor"; return $a;' ) ); 353 354 352 wp_tiny_mce( true ); 355 353 } … … 454 452 show('photo'); 455 453 <?php } ?> 456 454 jQuery('#title').unbind(); 457 455 jQuery('#publish, #save').click(function() { jQuery('#saving').css('display', 'inline'); }); 458 456 }); … … 545 543 <a title="<?php _e('Embed a Video'); ?>" href="#"><img alt="<?php _e('Embed a Video'); ?>" src="images/media-button-video.gif"/></a> 546 544 </li> 545 <?php if( user_can_richedit() ) { ?> 547 546 <li id="switcher"> 548 547 <?php wp_print_scripts( 'quicktags' ); ?> … … 552 551 <div class="zerosize"><input accesskey="e" type="button" onclick="switchEditors.go('<?php echo $id; ?>')" /></div> 553 552 </li> 553 <?php } ?> 554 554 </ul> 555 555 <div id="quicktags"></div> -
trunk/wp-includes/script-loader.php
r10028 r10030 321 321 $styles->add( 'install', '/wp-admin/css/install.css', array(), '20081203' ); 322 322 $styles->add( 'theme-editor', '/wp-admin/css/theme-editor.css', array(), '20081203' ); 323 $styles->add( 'press-this', '/wp-admin/css/press-this.css', array(), '20081203 ' );323 $styles->add( 'press-this', '/wp-admin/css/press-this.css', array(), '20081203b' ); 324 324 $styles->add( 'thickbox', '/wp-includes/js/thickbox/thickbox.css', array(), '20081203' ); 325 325 $styles->add( 'login', '/wp-admin/css/login.css', array(), '20081203' );
Note: See TracChangeset
for help on using the changeset viewer.