Ticket #4331: admin-title-filter-and-upload-header.patch
| File admin-title-filter-and-upload-header.patch, 3.7 KB (added by , 19 years ago) |
|---|
-
wp-admin/admin-header.php
16 16 <html xmlns="http://www.w3.org/1999/xhtml" <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>> 17 17 <head> 18 18 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" /> 19 <title><?php bloginfo('name') ?> › <?php echo wp_specialchars( strip_tags( $title ) ); ?> — WordPress</title>19 <title><?php echo apply_filters('admin_title', bloginfo('name')." › ".wp_specialchars( strip_tags( $title ) )." — WordPress"); ?></title> 20 20 <link rel="stylesheet" href="<?php echo get_option('siteurl') ?>/wp-admin/wp-admin.css?version=<?php bloginfo('version'); ?>" type="text/css" /> 21 21 <?php if ( ('rtl' == $wp_locale->text_direction) ) : ?> 22 22 <link rel="stylesheet" href="<?php echo get_option('siteurl') ?>/wp-admin/rtl.css?version=<?php bloginfo('version'); ?>" type="text/css" /> -
wp-admin/bookmarklet.php
49 49 ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 50 50 <html xmlns="http://www.w3.org/1999/xhtml"> 51 51 <head> 52 <title><?php bloginfo('name') ?> › Bookmarklet — WordPress</title>52 <title><?php echo apply_filters('admin_title', bloginfo('name',false)." › Bookmarklet — WordPress"); ?></title> 53 53 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" /> 54 54 <link rel="stylesheet" href="wp-admin.css" type="text/css" /> 55 55 -
wp-admin/upload-functions.php
354 354 echo "\t#upload-file { position: absolute; top: 15px; }\n"; 355 355 echo "</style>"; 356 356 } 357 358 do_action('admin_head-upload'); 357 359 } 358 360 361 359 362 ?> 363 No newline at end of file -
wp-admin/upload.php
62 62 <html xmlns="http://www.w3.org/1999/xhtml" <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>> 63 63 <head> 64 64 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" /> 65 <title><?php bloginfo('name') ?> › <?php _e('Uploads'); ?> — WordPress</title>65 <title><?php echo apply_filters('admin_title', bloginfo('name',false)." › ".__('Uploads')." — WordPress"); ?></title> 66 66 <link rel="stylesheet" href="<?php echo get_option('siteurl') ?>/wp-admin/wp-admin.css?version=<?php bloginfo('version'); ?>" type="text/css" /> 67 67 <?php if ( ('rtl' == $wp_locale->text_direction) ) : ?> 68 68 <link rel="stylesheet" href="<?php echo get_option('siteurl') ?>/wp-admin/rtl.css?version=<?php bloginfo('version'); ?>" type="text/css" /> -
wp-includes/general-template.php
59 59 } 60 60 61 61 62 function bloginfo($show='' ) {62 function bloginfo($show='', $display=true) { 63 63 $info = get_bloginfo($show); 64 64 65 65 // Don't filter URL's. … … 72 72 $info = apply_filters('bloginfo_url', $info, $show); 73 73 } 74 74 75 echo $info; 75 if ( $display ) echo $info; 76 else return $info; 76 77 } 77 78 78 79 /**