Changeset 31597
- Timestamp:
- 03/02/2015 12:57:34 AM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-press-this.php
r31596 r31597 724 724 $post_ID = (int) $post->ID; 725 725 726 wp_enqueue_media( array( 'post' => $post_ID ) ); 726 727 wp_enqueue_style( 'press-this' ); 727 728 wp_enqueue_script( 'press-this' ); 728 729 wp_enqueue_script( 'json2' ); 729 wp_enqueue_media( array( 'post' => $post->ID ) );730 730 wp_enqueue_script( 'editor' ); 731 731 … … 736 736 $supports_formats = true; 737 737 738 if ( ! ( $post_format = get_post_format( $post ->ID ) ) ) {738 if ( ! ( $post_format = get_post_format( $post_ID ) ) ) { 739 739 $post_format = 0; 740 740 } … … 795 795 796 796 <form id="pressthis-form" name="pressthis-form" method="POST" autocomplete="off"> 797 <input type="hidden" name="post_ID" id="post_ID" value="<?php echo esc_attr( $post_ID ); ?>" />797 <input type="hidden" name="post_ID" id="post_ID" value="<?php echo $post_ID; ?>" /> 798 798 <input type="hidden" name="action" value="press-this-save-post" /> 799 799 <input type="hidden" name="post_status" id="post_status" value="draft" /> -
trunk/src/wp-includes/script-loader.php
r31595 r31597 654 654 $styles->add( 'customize-controls', "/wp-admin/css/customize-controls$suffix.css", array( 'wp-admin', 'colors', 'ie', 'imgareaselect' ) ); 655 655 $styles->add( 'customize-widgets', "/wp-admin/css/customize-widgets$suffix.css", array( 'wp-admin', 'colors' ) ); 656 $styles->add( 'press-this', "/wp-admin/css/press-this$suffix.css", array( 'open-sans' ) );656 $styles->add( 'press-this', "/wp-admin/css/press-this$suffix.css", array( 'open-sans', 'buttons' ) ); 657 657 658 658 $styles->add( 'ie', "/wp-admin/css/ie$suffix.css" );
Note: See TracChangeset
for help on using the changeset viewer.