summaryrefslogtreecommitdiffstats
path: root/wp-admin
diff options
context:
space:
mode:
Diffstat (limited to 'wp-admin')
-rw-r--r--wp-admin/custom-header.php4
-rw-r--r--wp-admin/options-reading.php5
-rw-r--r--wp-admin/wp-admin.css2
3 files changed, 4 insertions, 7 deletions
diff --git a/wp-admin/custom-header.php b/wp-admin/custom-header.php
index 8bdd83d..8b0ad34 100644
--- a/wp-admin/custom-header.php
+++ b/wp-admin/custom-header.php
@@ -223,12 +223,12 @@ Event.observe( window, 'load', hide_text );
if ( $width == HEADER_IMAGE_WIDTH && $height == HEADER_IMAGE_HEIGHT ) {
set_theme_mod('header_image', $url);
- $header = apply_filters('wp_create_file_in_uploads', $header); // For replication
+ $header = apply_filters('wp_create_file_in_uploads', $file, $id); // For replication
return $this->finished();
} elseif ( $width > HEADER_IMAGE_WIDTH ) {
$oitar = $width / HEADER_IMAGE_WIDTH;
$image = wp_crop_image($file, 0, 0, $width, $height, HEADER_IMAGE_WIDTH, $height / $oitar, false, str_replace(basename($file), 'midsize-'.basename($file), $file));
- $image = apply_filters('wp_create_file_in_uploads', $image); // For replication
+ $image = apply_filters('wp_create_file_in_uploads', $image, $id); // For replication
$url = str_replace(basename($url), basename($image), $url);
$width = $width / $oitar;
diff --git a/wp-admin/options-reading.php b/wp-admin/options-reading.php
index c603a88..f2d01ea 100644
--- a/wp-admin/options-reading.php
+++ b/wp-admin/options-reading.php
@@ -50,7 +50,6 @@ if ( 'page' == get_option('show_on_front') ) {
</p>
</div>
<?php endif; ?>
-</fieldset>
</td>
</tr>
</table>
@@ -64,7 +63,6 @@ if ( 'page' == get_option('show_on_front') ) {
<th width="33%" scope="row"><?php _e('Show at most:') ?></th>
<td>
<input name="posts_per_page" type="text" id="posts_per_page" value="<?php form_option('posts_per_page'); ?>" size="3" /> <?php _e('posts') ?>
-</select>
</td>
</tr>
</table>
@@ -82,7 +80,7 @@ if ( 'page' == get_option('show_on_front') ) {
<td>
<p><label><input name="rss_use_excerpt" type="radio" value="0" <?php checked(0, get_option('rss_use_excerpt')); ?> /> <?php _e('Full text') ?></label><br />
<label><input name="rss_use_excerpt" type="radio" value="1" <?php checked(1, get_option('rss_use_excerpt')); ?> /> <?php _e('Summary') ?></label></p>
-<p><?php _e('Note: If you use the <code>&lt;--more--&gt;</code> feature, it will cut off posts in RSS feeds.'); ?></p>
+<p><?php _e('Note: If you use the <code>&lt;!--more--&gt;</code> feature, it will cut off posts in RSS feeds.'); ?></p>
</td>
</tr>
</table>
@@ -96,7 +94,6 @@ if ( 'page' == get_option('show_on_front') ) {
</table>
<p class="submit">
<input type="hidden" name="action" value="update" />
-<input type="hidden" name="page_options" value="posts_per_page,posts_per_rss,rss_use_excerpt,blog_charset,gzipcompression,show_on_front,page_on_front,page_for_posts" />
<input type="hidden" name="page_options" value="posts_per_page,posts_per_rss,rss_use_excerpt,blog_charset,show_on_front,page_on_front,page_for_posts" />
<input type="submit" name="Submit" value="<?php _e('Update Options &raquo;') ?>" />
</p>
diff --git a/wp-admin/wp-admin.css b/wp-admin/wp-admin.css
index 8f396ab..f49b366 100644
--- a/wp-admin/wp-admin.css
+++ b/wp-admin/wp-admin.css
@@ -888,7 +888,7 @@ input.delete:hover {
font-weight: normal;
letter-spacing: -.05em;
margin: 0;
- font-family: Georgia, "Times New Roman", Times, serif
+ font-family: Georgia, "Times New Roman", Times, serif;
}
#wphead h1 span {