WordPress.org

Make WordPress Core


Ignore:
Location:
branches/2.8
Files:
34 edited

Legend:

Unmodified
Added
Removed
  • branches/2.8/readme.html

    r11770 r11729  
    99<h1 id="logo" style="text-align: center">
    1010    <img alt="WordPress" src="wp-admin/images/wordpress-logo.png" />
    11     <br /> Version 2.8.3
     11    <br /> Version 2.8.2
    1212</h1>
    1313<p style="text-align: center">Semantic Personal Publishing Platform</p>
     
    3030<h1>Upgrading</h1>
    3131<p>Before you upgrade anything, make sure you have backup copies of any files you may have modified such as <code>index.php</code>.</p>
    32 <h2>Upgrading from any previous WordPress to 2.8.3:</h2>
     32<h2>Upgrading from any previous WordPress to 2.8.2:</h2>
    3333<ol>
    3434    <li>Delete your old WP files, saving ones you've modified.</li>
  • branches/2.8/wp-admin/admin-footer.php

    r11770 r11729  
    66 * @subpackage Administration
    77 */
    8 
    9 // don't load directly
    10 if ( !defined('ABSPATH') )
    11     die('-1');
    128?>
    139
  • branches/2.8/wp-admin/css/plugin-install.css

    r11770 r11729  
    6969    -webkit-border-bottom-left-radius: 3px;
    7070    -khtml-border-bottom-left-radius: 3px;
    71     border-bottom-left-radius: 3px;
     71    border-top-bottom-radius: 3px;
    7272}
    7373
     
    111111    -webkit-border-bottom-left-radius: 3px;
    112112    -khtml-border-bottom-left-radius: 3px;
    113     border-bottom-left-radius: 3px;
     113    border-top-bottom-radius: 3px;
    114114}
    115115
  • branches/2.8/wp-admin/edit-attachment-rows.php

    r11770 r11729  
    77 */
    88
    9 // don't load directly
    10 if ( !defined('ABSPATH') )
    11     die('-1');
     9if ( ! defined('ABSPATH') ) die();
    1210
    1311if ( have_posts() ) { ?>
  • branches/2.8/wp-admin/edit-category-form.php

    r11770 r11729  
    66 * @subpackage Administration
    77 */
    8 
    9 // don't load directly
    10 if ( !defined('ABSPATH') )
    11     die('-1');
    12 
    13 if ( !current_user_can('manage_categories') )
    14     wp_die(__('You do not have sufficient permissions to edit categories for this blog.'));
    158
    169/**
  • branches/2.8/wp-admin/edit-comments.php

    r11770 r11729  
    99/** WordPress Administration Bootstrap */
    1010require_once('admin.php');
    11 
    12 if ( !current_user_can('edit_posts') )
    13     wp_die(__('Cheatin&#8217; uh?'));
    1411
    1512wp_enqueue_script('admin-comments');
  • branches/2.8/wp-admin/edit-form-advanced.php

    r11770 r11729  
    66 * @subpackage Administration
    77 */
    8 
    9 // don't load directly
    10 if ( !defined('ABSPATH') )
    11     die('-1');
    128
    139/**
  • branches/2.8/wp-admin/edit-form-comment.php

    r11770 r11729  
    66 * @subpackage Administration
    77 */
    8 
    9 // don't load directly
    10 if ( !defined('ABSPATH') )
    11     die('-1');
    128
    139/**
     
    112108            _e( 'URL:' );
    113109        } ?></td>
    114     <td><input type="text" id="newcomment_author_url" name="newcomment_author_url" size="30" class="code" value="<?php echo esc_attr($comment->comment_author_url); ?>" tabindex="3" /></td>
     110    <td><input type="text" id="newcomment_author_url" name="newcomment_author_url" size="30" class="code" value="<?php echo esc_attr($url); ?>" tabindex="3" /></td>
    115111</tr>
    116112</tbody>
  • branches/2.8/wp-admin/edit-link-category-form.php

    r11770 r11729  
    66 * @subpackage Administration
    77 */
    8 
    9 // don't load directly
    10 if ( !defined('ABSPATH') )
    11     die('-1');
    12 
    13 if ( !current_user_can('manage_categories') )
    14     wp_die(__('You do not have sufficient permissions to edit link categories for this blog.'));
    158
    169/**
  • branches/2.8/wp-admin/edit-link-form.php

    r11770 r11729  
    66 * @subpackage Administration
    77 */
    8 
    9 // don't load directly
    10 if ( !defined('ABSPATH') )
    11     die('-1');
    128
    139if ( ! empty($link_id) ) {
  • branches/2.8/wp-admin/edit-page-form.php

    r11770 r11729  
    66 * @subpackage Administration
    77 */
    8 
    9 // don't load directly
    10 if ( !defined('ABSPATH') )
    11     die('-1');
    128
    139/**
  • branches/2.8/wp-admin/edit-pages.php

    r11770 r11729  
    99/** WordPress Administration Bootstrap */
    1010require_once('admin.php');
    11 
    12 if ( !current_user_can('edit_pages') )
    13     wp_die(__('Cheatin&#8217; uh?'));
    1411
    1512// Handle bulk actions
  • branches/2.8/wp-admin/edit-post-rows.php

    r11770 r11729  
    77 */
    88
    9 // don't load directly
    10 if ( !defined('ABSPATH') )
    11     die('-1');
     9if ( ! defined('ABSPATH') ) die();
    1210?>
    1311<table class="widefat post fixed" cellspacing="0">
  • branches/2.8/wp-admin/edit-tag-form.php

    r11770 r11729  
    66 * @subpackage Administration
    77 */
    8 
    9 // don't load directly
    10 if ( !defined('ABSPATH') )
    11     die('-1');
    12 
    13 if ( !current_user_can('manage_categories') )
    14     wp_die(__('You do not have sufficient permissions to edit tags for this blog.'));
    158
    169if ( empty($tag_ID) ) { ?>
  • branches/2.8/wp-admin/edit.php

    r11770 r11729  
    99/** WordPress Administration Bootstrap */
    1010require_once('admin.php');
    11 
    12 if ( !current_user_can('edit_posts') )
    13     wp_die(__('Cheatin&#8217; uh?'));
    1411
    1512// Back-compat for viewing comments of an entry
  • branches/2.8/wp-admin/export.php

    r11770 r11729  
    99/** Load WordPress Bootstrap */
    1010require_once ('admin.php');
    11 
    12 if ( !current_user_can('edit_files') )
    13     wp_die(__('You do not have sufficient permissions to export the content of this blog.'));
    1411
    1512/** Load WordPress export API */
  • branches/2.8/wp-admin/import.php

    r11770 r11729  
    99/** Load WordPress Bootstrap */
    1010require_once ('admin.php');
    11 
    12 if ( !current_user_can('edit_files') )
    13     wp_die(__('You do not have sufficient permissions to import content in this blog.'));
    14 
    1511$title = __('Import');
    1612require_once ('admin-header.php');
  • branches/2.8/wp-admin/link-add.php

    r11770 r11729  
    99/** Load WordPress Administration Bootstrap */
    1010require_once('admin.php');
    11 
    12 if ( ! current_user_can('manage_links') )
    13     wp_die(__('You do not have sufficient permissions to add links to this blog.'));
    1411
    1512$title = __('Add New Link');
  • branches/2.8/wp-admin/options-discussion.php

    r11770 r11729  
    99/** WordPress Administration Bootstrap */
    1010require_once('admin.php');
    11 
    12 if ( ! current_user_can('manage_options') )
    13     wp_die(__('You do not have sufficient permissions to manage options for this blog.'));
    1411
    1512$title = __('Discussion Settings');
  • branches/2.8/wp-admin/options-general.php

    r11770 r11729  
    99/** WordPress Administration Bootstrap */
    1010require_once('./admin.php');
    11 
    12 if ( ! current_user_can('manage_options') )
    13     wp_die(__('You do not have sufficient permissions to manage options for this blog.'));
    1411
    1512$title = __('General Settings');
  • branches/2.8/wp-admin/options-media.php

    r11770 r11729  
    99/** WordPress Administration Bootstrap */
    1010require_once('admin.php');
    11 
    12 if ( ! current_user_can('manage_options') )
    13     wp_die(__('You do not have sufficient permissions to manage options for this blog.'));
    1411
    1512$title = __('Media Settings');
  • branches/2.8/wp-admin/options-misc.php

    r11770 r11729  
    99/** WordPress Administration Bootstrap */
    1010require_once('admin.php');
    11 
    12 if ( ! current_user_can('manage_options') )
    13     wp_die(__('You do not have sufficient permissions to manage options for this blog.'));
    1411
    1512$title = __('Miscellaneous Settings');
  • branches/2.8/wp-admin/options-permalink.php

    r11770 r11729  
    99/** WordPress Administration Bootstrap */
    1010require_once('admin.php');
    11 
    12 if ( ! current_user_can('manage_options') )
    13     wp_die(__('You do not have sufficient permissions to manage options for this blog.'));
    1411
    1512$title = __('Permalink Settings');
  • branches/2.8/wp-admin/options-privacy.php

    r11770 r11729  
    99/** Load WordPress Administration Bootstrap */
    1010require_once('./admin.php');
    11 
    12 if ( ! current_user_can('manage_options') )
    13     wp_die(__('You do not have sufficient permissions to manage options for this blog.'));
    1411
    1512$title = __('Privacy Settings');
  • branches/2.8/wp-admin/options-reading.php

    r11770 r11729  
    99/** WordPress Administration Bootstrap */
    1010require_once('admin.php');
    11 
    12 if ( ! current_user_can('manage_options') )
    13     wp_die(__('You do not have sufficient permissions to manage options for this blog.'));
    1411
    1512$title = __('Reading Settings');
  • branches/2.8/wp-admin/options-writing.php

    r11770 r11729  
    99/** WordPress Administration Bootstrap */
    1010require_once('admin.php');
    11 
    12 if ( ! current_user_can('manage_options') )
    13     wp_die(__('You do not have sufficient permissions to manage options for this blog.'));
    1411
    1512$title = __('Writing Settings');
  • branches/2.8/wp-admin/plugins.php

    r11770 r11729  
    99/** WordPress Administration Bootstrap */
    1010require_once('admin.php');
    11 
    12 if ( ! current_user_can('activate_plugins') )
    13     wp_die(__('You do not have sufficient permissions to manage plugins for this blog.'));
    1411
    1512if ( isset($_POST['clear-recent-list']) )
     
    4138    switch ( $action ) {
    4239        case 'activate':
    43             if ( ! current_user_can('activate_plugins') )
    44                 wp_die(__('You do not have sufficient permissions to activate plugins for this blog.'));
    45 
    4640            check_admin_referer('activate-plugin_' . $plugin);
    4741
     
    6054            break;
    6155        case 'activate-selected':
    62             if ( ! current_user_can('activate_plugins') )
    63                 wp_die(__('You do not have sufficient permissions to activate plugins for this blog.'));
    64            
    6556            check_admin_referer('bulk-manage-plugins');
    6657
     
    8576            break;
    8677        case 'error_scrape':
    87             if ( ! current_user_can('activate_plugins') )
    88                 wp_die(__('You do not have sufficient permissions to activate plugins for this blog.'));
    89 
    9078            check_admin_referer('plugin-activation-error_' . $plugin);
    9179
     
    10189            break;
    10290        case 'deactivate':
    103             if ( ! current_user_can('activate_plugins') )
    104                 wp_die(__('You do not have sufficient permissions to deactivate plugins for this blog.'));
    105 
    10691            check_admin_referer('deactivate-plugin_' . $plugin);
    10792            deactivate_plugins($plugin);
     
    11196            break;
    11297        case 'deactivate-selected':
    113             if ( ! current_user_can('activate_plugins') )
    114                 wp_die(__('You do not have sufficient permissions to deactivate plugins for this blog.'));
    115 
    11698            check_admin_referer('bulk-manage-plugins');
    11799
  • branches/2.8/wp-admin/themes.php

    r11770 r11729  
    99/** WordPress Administration Bootstrap */
    1010require_once('admin.php');
    11 
    12 if ( !current_user_can('switch_themes') )
    13     wp_die( __( 'Cheatin&#8217; uh?' ) );
    1411
    1512if ( isset($_GET['action']) ) {
  • branches/2.8/wp-includes/comment.php

    r11770 r11729  
    13251325        foreach ( $trackbacks as $trackback )
    13261326            do_trackbacks($trackback);
    1327 
    1328     //Do Update Services/Generic Pings
    1329     generic_ping();
    13301327}
    13311328
  • branches/2.8/wp-includes/default-filters.php

    r11770 r11729  
    187187add_action('do_feed_atom', 'do_feed_atom', 10, 1);
    188188add_action('do_pings', 'do_all_pings', 10, 1);
     189add_action('do_generic_ping', 'generic_ping', 10, 1);
    189190add_action('do_robots', 'do_robots');
    190191add_action('sanitize_comment_cookies', 'sanitize_comment_cookies');
  • branches/2.8/wp-includes/link-template.php

    r11770 r11729  
    769769    global $comment, $post;
    770770
    771     if ( $post->post_type == 'page' ) {
     771    if ( $post->post_type == 'attachment' ) {
     772    } elseif ( $post->post_type == 'page' ) {
    772773        if ( !current_user_can( 'edit_page', $post->ID ) )
    773774            return;
  • branches/2.8/wp-includes/post.php

    r11770 r11729  
    32753275            $wpdb->update( $wpdb->posts, array( 'guid' => get_permalink( $post->ID ) ), array( 'ID' => $post->ID ) );
    32763276        do_action('private_to_published', $post->ID);  // Deprecated, use private_to_publish
     3277        // do generic pings once per hour at most
     3278        if ( !wp_next_scheduled('do_generic_ping') )
     3279            wp_schedule_single_event(time() + 3600, 'do_generic_ping');
    32773280    }
    32783281
  • branches/2.8/wp-includes/vars.php

    r11770 r11729  
    1818    preg_match('#/wp-admin/?(.*?)$#i', $PHP_SELF, $self_matches);
    1919    $pagenow = $self_matches[1];
    20     $pagenow = trim($pagenow, '/');
    2120    $pagenow = preg_replace('#\?.*?$#', '', $pagenow);
    2221    if ( '' === $pagenow || 'index' === $pagenow || 'index.php' === $pagenow ) {
  • branches/2.8/wp-includes/version.php

    r11770 r11729  
    99 * @global string $wp_version
    1010 */
    11 $wp_version = '2.8.3';
     11$wp_version = '2.8.2';
    1212
    1313/**
Note: See TracChangeset for help on using the changeset viewer.