Ticket #4803: wp_vanity.patch
| File wp_vanity.patch, 2.3 kB (added by Viper007Bond, 1 year ago) |
|---|
-
wp-content/themes/classic/header.php
old new 6 6 7 7 <title><?php bloginfo('name'); ?><?php wp_title(); ?></title> 8 8 9 <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats please -->10 11 9 <style type="text/css" media="screen"> 12 10 @import url( <?php bloginfo('stylesheet_url'); ?> ); 13 11 </style> -
wp-content/themes/default/header.php
old new 6 6 7 7 <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title> 8 8 9 <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->10 11 9 <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> 12 10 <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" /> 13 11 <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> -
wp-includes/default-filters.php
old new 105 105 add_filter('comment_email', 'antispambot'); 106 106 107 107 // Actions 108 add_action('wp_head', 'wp_vanity'); 109 add_action('admin_head', 'wp_vanity'); 108 110 add_action('wp_head', 'rsd_link'); 109 111 add_action('wp_head', 'locale_stylesheet'); 110 112 add_action('publish_future_post', 'wp_publish_post', 10, 1); -
wp-includes/functions.php
old new 1343 1343 ksort($submenu['themes.php'], SORT_NUMERIC); 1344 1344 } 1345 1345 1346 function wp_vanity() { 1347 echo "<meta name='generator' content='WordPress " . get_bloginfo('version') . "' />\n"; 1348 } 1349 1346 1350 // For PHP 5.2, make sure all output buffers are flushed 1347 1351 // before our singletons our destroyed. 1348 1352 function wp_ob_end_flush_all()
