Ticket #7550: 7550.r8991.2.diff
File 7550.r8991.2.diff, 16.9 KB (added by , 15 years ago) |
---|
-
wp-admin/js/revisions-js.php
1 1 <?php 2 2 3 if ( !defined( 'ABSPATH' ) ) 3 4 exit; 4 5 6 /** @ignore */ 5 7 function dvortr( $str ) { 6 8 return strtr( 7 9 $str, -
wp-content/plugins/hello.php
1 1 <?php 2 /** 3 * @package Hello_Dolly 4 */ 2 5 /* 3 6 Plugin Name: Hello Dolly 4 7 Plugin URI: http://wordpress.org/# … … 8 11 Author URI: http://ma.tt/ 9 12 */ 10 13 11 / / These are the lyrics to Hello Dolly14 /** These are the lyrics to Hello Dolly */ 12 15 $lyrics = "Hello, Dolly 13 16 Well, hello, Dolly 14 17 It's so nice to have you back where you belong -
wp-content/themes/classic/comments-popup.php
1 1 <?php 2 /** 3 * @package WordPress 4 * @subpackage Classic_Theme 5 */ 6 2 7 /* Don't remove these lines. */ 3 8 add_filter('comment_text', 'popuplinks'); 4 9 while( have_posts()) : the_post(); -
wp-content/themes/classic/comments.php
1 <?php if ( post_password_required() ) : ?> 1 <?php 2 /** 3 * @package WordPress 4 * @subpackage Classic_Theme 5 */ 6 7 if ( post_password_required() ) : ?> 2 8 <p><?php _e('Enter your password to view comments.'); ?></p> 3 9 <?php return; endif; ?> 4 10 -
wp-content/themes/classic/footer.php
1 <?php 2 /** 3 * @package WordPress 4 * @subpackage Classic_Theme 5 */ 6 ?> 1 7 <!-- begin footer --> 2 8 </div> 3 9 -
wp-content/themes/classic/functions.php
1 1 <?php 2 /** 3 * @package WordPress 4 * @subpackage Classic_Theme 5 */ 2 6 if ( function_exists('register_sidebar') ) 3 7 register_sidebar(array( 4 5 6 7 8 8 'before_widget' => '<li id="%1$s" class="widget %2$s">', 9 'after_widget' => '</li>', 10 'before_title' => '', 11 'after_title' => '', 12 )); 9 13 10 14 ?> -
wp-content/themes/classic/header.php
1 <?php 2 /** 3 * @package WordPress 4 * @subpackage Classic_Theme 5 */ 6 ?> 1 7 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 8 <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> 3 9 -
wp-content/themes/classic/index.php
1 1 <?php 2 /** 3 * @package WordPress 4 * @subpackage Classic_Theme 5 */ 2 6 get_header(); 3 7 ?> 4 8 -
wp-content/themes/classic/sidebar.php
1 1 <?php 2 /** 3 * @package WordPress 4 * @subpackage Classic_Theme 5 */ 6 ?> 2 7 <!-- begin sidebar --> 3 8 <div id="menu"> 4 9 -
wp-content/themes/default/404.php
1 <?php get_header(); ?> 1 <?php 2 /** 3 * @package WordPress 4 * @subpackage Default_Theme 5 */ 2 6 7 get_header(); 8 ?> 9 3 10 <div id="content" class="narrowcolumn"> 4 11 5 12 <h2 class="center">Error 404 - Not Found</h2> -
wp-content/themes/default/archive.php
1 <?php get_header(); ?> 1 <?php 2 /** 3 * @package WordPress 4 * @subpackage Default_Theme 5 */ 2 6 7 get_header(); 8 ?> 9 3 10 <div id="content" class="narrowcolumn"> 4 11 5 12 <?php if (have_posts()) : ?> -
wp-content/themes/default/archives.php
1 1 <?php 2 /** 3 * @package WordPress 4 * @subpackage Default_Theme 5 */ 2 6 /* 3 7 Template Name: Archives 4 8 */ -
wp-content/themes/default/comments-popup.php
1 1 <?php 2 /** 3 * @package WordPress 4 * @subpackage Default_Theme 5 */ 6 2 7 /* Don't remove these lines. */ 3 8 add_filter('comment_text', 'popuplinks'); 4 9 while ( have_posts()) : the_post(); -
wp-content/themes/default/comments.php
1 <?php // Do not delete these lines 1 <?php 2 /** 3 * @package WordPress 4 * @subpackage Default_Theme 5 */ 6 7 // Do not delete these lines 2 8 if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME'])) 3 9 die ('Please do not load this page directly. Thanks!'); 4 10 -
wp-content/themes/default/footer.php
1 <?php 2 /** 3 * @package WordPress 4 * @subpackage Default_Theme 5 */ 6 ?> 1 7 2 8 <hr /> 3 9 <div id="footer"> -
wp-content/themes/default/functions.php
1 1 <?php 2 /** 3 * @package WordPress 4 * @subpackage Default_Theme 5 */ 6 2 7 if ( function_exists('register_sidebar') ) 3 8 register_sidebar(array( 4 9 'before_widget' => '<li id="%1$s" class="widget %2$s">', … … 7 12 'after_title' => '</h2>', 8 13 )); 9 14 15 /** @ignore */ 10 16 function kubrick_head() { 11 17 $head = "<style type='text/css'>\n<!--"; 12 18 $output = ''; -
wp-content/themes/default/header.php
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 1 <?php 2 /** 3 * @package WordPress 4 * @subpackage Default_Theme 5 */ 6 ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 7 <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> 3 8 4 9 <head profile="http://gmpg.org/xfn/11"> -
wp-content/themes/default/image.php
1 <?php get_header(); ?> 1 <?php 2 /** 3 * @package WordPress 4 * @subpackage Default_Theme 5 */ 2 6 7 get_header(); 8 ?> 9 3 10 <div id="content" class="widecolumn"> 4 11 5 12 <?php if (have_posts()) : while (have_posts()) : the_post(); ?> … … 8 15 <h2><a href="<?php echo get_permalink($post->post_parent); ?>" rev="attachment"><?php echo get_the_title($post->post_parent); ?></a> » <?php the_title(); ?></h2> 9 16 <div class="entry"> 10 17 <p class="attachment"><a href="<?php echo wp_get_attachment_url($post->ID); ?>"><?php echo wp_get_attachment_image( $post->ID, 'medium' ); ?></a></p> 11 18 <div class="caption"><?php if ( !empty($post->post_excerpt) ) the_excerpt(); // this is the "caption" ?></div> 12 19 13 20 <?php the_content('<p class="serif">Read the rest of this entry »</p>'); ?> 14 21 -
wp-content/themes/default/images/header-img.php
1 1 <?php 2 /** 3 * @package WordPress 4 * @subpackage Default_Theme 5 */ 2 6 7 /** @ignore */ 3 8 $img = 'kubrickheader.jpg'; 4 9 5 10 // If we don't have image processing support, redirect. -
wp-content/themes/default/index.php
1 <?php get_header(); ?> 1 <?php 2 /** 3 * @package WordPress 4 * @subpackage Default_Theme 5 */ 2 6 7 get_header(); ?> 8 3 9 <div id="content" class="narrowcolumn"> 4 10 5 11 <?php if (have_posts()) : ?> -
wp-content/themes/default/links.php
1 1 <?php 2 /** 3 * @package WordPress 4 * @subpackage Default_Theme 5 */ 6 2 7 /* 3 8 Template Name: Links 4 9 */ -
wp-content/themes/default/page.php
1 <?php get_header(); ?> 1 <?php 2 /** 3 * @package WordPress 4 * @subpackage Default_Theme 5 */ 2 6 7 get_header(); ?> 8 3 9 <div id="content" class="narrowcolumn"> 4 10 5 11 <?php if (have_posts()) : while (have_posts()) : the_post(); ?> -
wp-content/themes/default/search.php
1 <?php get_header(); ?> 1 <?php 2 /** 3 * @package WordPress 4 * @subpackage Default_Theme 5 */ 2 6 7 get_header(); ?> 8 3 9 <div id="content" class="narrowcolumn"> 4 10 5 11 <?php if (have_posts()) : ?> -
wp-content/themes/default/searchform.php
1 <?php 2 /** 3 * @package WordPress 4 * @subpackage Default_Theme 5 */ 6 ?> 1 7 <form method="get" id="searchform" action="<?php bloginfo('url'); ?>/"> 2 8 <label class="hidden" for="s"><?php _e('Search for:'); ?></label> 3 9 <div><input type="text" value="<?php the_search_query(); ?>" name="s" id="s" /> -
wp-content/themes/default/sidebar.php
1 <?php 2 /** 3 * @package WordPress 4 * @subpackage Default_Theme 5 */ 6 ?> 1 7 <div id="sidebar"> 2 8 <ul> 3 9 <?php /* Widgetized sidebar, if you have the plugin installed. */ -
wp-content/themes/default/single.php
1 <?php get_header(); ?> 1 <?php 2 /** 3 * @package WordPress 4 * @subpackage Default_Theme 5 */ 2 6 7 get_header(); 8 ?> 9 3 10 <div id="content" class="widecolumn"> 4 11 5 12 <?php if (have_posts()) : while (have_posts()) : the_post(); ?> -
wp-includes/class-pop3.php
23 23 | - Technology Consulting | 24 24 | - Oursourcing (highly qualified programmers and graphic designers) | 25 25 '---------------------------------------------------------------------------' 26 */ 26 27 27 28 /** 28 29 * POP Before SMTP Authentication Class … … 42 43 * @package PHPMailer 43 44 * @author Richard Davey 44 45 */ 45 46 46 class POP3 47 47 { 48 48 /** -
wp-includes/class.wp-dependencies.php
1 1 <?php 2 /** 3 * BackPress Scripts enqueue. 4 * 5 * These classes were refactored from the WordPress WP_Scripts and WordPress 6 * script enqueue API. 7 * 8 * @package BackPress 9 * @since r74 10 */ 2 11 12 /** 13 * BackPress enqueued dependiences class. 14 * 15 * @package BackPress 16 * @uses WP_Dependencies 17 * @since r74 18 */ 3 19 class WP_Dependencies { 4 20 var $registered = array(); 5 21 var $queue = array(); -
wp-includes/class.wp-scripts.php
1 1 <?php 2 /** 3 * BackPress Scripts enqueue. 4 * 5 * These classes were refactored from the WordPress WP_Scripts and WordPress 6 * script enqueue API. 7 * 8 * @package BackPress 9 * @since r16 10 */ 2 11 12 /** 13 * BackPress Scripts enqueue class. 14 * 15 * @package BackPress 16 * @uses WP_Dependencies 17 * @since r16 18 */ 3 19 class WP_Scripts extends WP_Dependencies { 4 20 var $base_url; // Full URL with trailing slash 5 21 var $default_version; -
wp-includes/class.wp-styles.php
1 1 <?php 2 /** 3 * BackPress Styles enqueue. 4 * 5 * These classes were refactored from the WordPress WP_Scripts and WordPress 6 * script enqueue API. 7 * 8 * @package BackPress 9 * @since r74 10 */ 2 11 12 /** 13 * BackPress Styles enqueue class. 14 * 15 * @package BackPress 16 * @uses WP_Dependencies 17 * @since r74 18 */ 3 19 class WP_Styles extends WP_Dependencies { 4 20 var $base_url; 5 21 var $default_version; -
wp-includes/functions.wp-scripts.php
1 1 <?php 2 /** 3 * BackPress script procedural API. 4 * 5 * @package BackPress 6 * @since r16 7 */ 2 8 3 9 /** 4 * Prints script tags in document head 10 * Prints script tags in document head. 5 11 * 6 * Called by admin-header.php and by wp_head hook. Since it is called by wp_head on every page load, 7 * the function does not instantiate the WP_Scripts object unless script names are explicitly passed. 8 * Does make use of already instantiated $wp_scripts if present. 9 * Use provided wp_print_scripts hook to register/enqueue new scripts. 12 * Called by admin-header.php and by wp_head hook. Since it is called by wp_head 13 * on every page load, the function does not instantiate the WP_Scripts object 14 * unless script names are explicitly passed. Does make use of already 15 * instantiated $wp_scripts if present. Use provided wp_print_scripts hook to 16 * register/enqueue new scripts. 10 17 * 18 * @since r16 11 19 * @see WP_Scripts::print_scripts() 12 20 */ 13 21 function wp_print_scripts( $handles = false ) { -
wp-includes/functions.wp-styles.php
1 1 <?php 2 /** 3 * BackPress styles procedural API. 4 * 5 * @package BackPress 6 * @since r79 7 */ 2 8 9 /** 10 * {@internal Missing Short Description}} 11 * 12 * @since r79 13 * 14 * @param mixed $handles See {@link WP_Styles::do_items()} for information. 15 * @return mixed See {@link WP_Styles::do_items()} for information. 16 */ 3 17 function wp_print_styles( $handles = false ) { 4 18 do_action( 'wp_print_styles' ); 5 19 if ( '' === $handles ) // for wp_head