Changes in branches/2.8 [11729:11770]
- Location:
- branches/2.8
- Files:
-
- 34 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.8/readme.html
r11729 r11770 9 9 <h1 id="logo" style="text-align: center"> 10 10 <img alt="WordPress" src="wp-admin/images/wordpress-logo.png" /> 11 <br /> Version 2.8. 211 <br /> Version 2.8.3 12 12 </h1> 13 13 <p style="text-align: center">Semantic Personal Publishing Platform</p> … … 30 30 <h1>Upgrading</h1> 31 31 <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. 2:</h2>32 <h2>Upgrading from any previous WordPress to 2.8.3:</h2> 33 33 <ol> 34 34 <li>Delete your old WP files, saving ones you've modified.</li> -
branches/2.8/wp-admin/admin-footer.php
r11729 r11770 6 6 * @subpackage Administration 7 7 */ 8 9 // don't load directly 10 if ( !defined('ABSPATH') ) 11 die('-1'); 8 12 ?> 9 13 -
branches/2.8/wp-admin/css/plugin-install.css
r11729 r11770 69 69 -webkit-border-bottom-left-radius: 3px; 70 70 -khtml-border-bottom-left-radius: 3px; 71 border- top-bottom-radius: 3px;71 border-bottom-left-radius: 3px; 72 72 } 73 73 … … 111 111 -webkit-border-bottom-left-radius: 3px; 112 112 -khtml-border-bottom-left-radius: 3px; 113 border- top-bottom-radius: 3px;113 border-bottom-left-radius: 3px; 114 114 } 115 115 -
branches/2.8/wp-admin/edit-attachment-rows.php
r11729 r11770 7 7 */ 8 8 9 if ( ! defined('ABSPATH') ) die(); 9 // don't load directly 10 if ( !defined('ABSPATH') ) 11 die('-1'); 10 12 11 13 if ( have_posts() ) { ?> -
branches/2.8/wp-admin/edit-category-form.php
r11729 r11770 6 6 * @subpackage Administration 7 7 */ 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.')); 8 15 9 16 /** -
branches/2.8/wp-admin/edit-comments.php
r11729 r11770 9 9 /** WordPress Administration Bootstrap */ 10 10 require_once('admin.php'); 11 12 if ( !current_user_can('edit_posts') ) 13 wp_die(__('Cheatin’ uh?')); 11 14 12 15 wp_enqueue_script('admin-comments'); -
branches/2.8/wp-admin/edit-form-advanced.php
r11729 r11770 6 6 * @subpackage Administration 7 7 */ 8 9 // don't load directly 10 if ( !defined('ABSPATH') ) 11 die('-1'); 8 12 9 13 /** -
branches/2.8/wp-admin/edit-form-comment.php
r11729 r11770 6 6 * @subpackage Administration 7 7 */ 8 9 // don't load directly 10 if ( !defined('ABSPATH') ) 11 die('-1'); 8 12 9 13 /** … … 108 112 _e( 'URL:' ); 109 113 } ?></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>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> 111 115 </tr> 112 116 </tbody> -
branches/2.8/wp-admin/edit-link-category-form.php
r11729 r11770 6 6 * @subpackage Administration 7 7 */ 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.')); 8 15 9 16 /** -
branches/2.8/wp-admin/edit-link-form.php
r11729 r11770 6 6 * @subpackage Administration 7 7 */ 8 9 // don't load directly 10 if ( !defined('ABSPATH') ) 11 die('-1'); 8 12 9 13 if ( ! empty($link_id) ) { -
branches/2.8/wp-admin/edit-page-form.php
r11729 r11770 6 6 * @subpackage Administration 7 7 */ 8 9 // don't load directly 10 if ( !defined('ABSPATH') ) 11 die('-1'); 8 12 9 13 /** -
branches/2.8/wp-admin/edit-pages.php
r11729 r11770 9 9 /** WordPress Administration Bootstrap */ 10 10 require_once('admin.php'); 11 12 if ( !current_user_can('edit_pages') ) 13 wp_die(__('Cheatin’ uh?')); 11 14 12 15 // Handle bulk actions -
branches/2.8/wp-admin/edit-post-rows.php
r11729 r11770 7 7 */ 8 8 9 if ( ! defined('ABSPATH') ) die(); 9 // don't load directly 10 if ( !defined('ABSPATH') ) 11 die('-1'); 10 12 ?> 11 13 <table class="widefat post fixed" cellspacing="0"> -
branches/2.8/wp-admin/edit-tag-form.php
r11729 r11770 6 6 * @subpackage Administration 7 7 */ 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.')); 8 15 9 16 if ( empty($tag_ID) ) { ?> -
branches/2.8/wp-admin/edit.php
r11729 r11770 9 9 /** WordPress Administration Bootstrap */ 10 10 require_once('admin.php'); 11 12 if ( !current_user_can('edit_posts') ) 13 wp_die(__('Cheatin’ uh?')); 11 14 12 15 // Back-compat for viewing comments of an entry -
branches/2.8/wp-admin/export.php
r11729 r11770 9 9 /** Load WordPress Bootstrap */ 10 10 require_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.')); 11 14 12 15 /** Load WordPress export API */ -
branches/2.8/wp-admin/import.php
r11729 r11770 9 9 /** Load WordPress Bootstrap */ 10 10 require_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 11 15 $title = __('Import'); 12 16 require_once ('admin-header.php'); -
branches/2.8/wp-admin/link-add.php
r11729 r11770 9 9 /** Load WordPress Administration Bootstrap */ 10 10 require_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.')); 11 14 12 15 $title = __('Add New Link'); -
branches/2.8/wp-admin/options-discussion.php
r11729 r11770 9 9 /** WordPress Administration Bootstrap */ 10 10 require_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.')); 11 14 12 15 $title = __('Discussion Settings'); -
branches/2.8/wp-admin/options-general.php
r11729 r11770 9 9 /** WordPress Administration Bootstrap */ 10 10 require_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.')); 11 14 12 15 $title = __('General Settings'); -
branches/2.8/wp-admin/options-media.php
r11729 r11770 9 9 /** WordPress Administration Bootstrap */ 10 10 require_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.')); 11 14 12 15 $title = __('Media Settings'); -
branches/2.8/wp-admin/options-misc.php
r11729 r11770 9 9 /** WordPress Administration Bootstrap */ 10 10 require_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.')); 11 14 12 15 $title = __('Miscellaneous Settings'); -
branches/2.8/wp-admin/options-permalink.php
r11729 r11770 9 9 /** WordPress Administration Bootstrap */ 10 10 require_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.')); 11 14 12 15 $title = __('Permalink Settings'); -
branches/2.8/wp-admin/options-privacy.php
r11729 r11770 9 9 /** Load WordPress Administration Bootstrap */ 10 10 require_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.')); 11 14 12 15 $title = __('Privacy Settings'); -
branches/2.8/wp-admin/options-reading.php
r11729 r11770 9 9 /** WordPress Administration Bootstrap */ 10 10 require_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.')); 11 14 12 15 $title = __('Reading Settings'); -
branches/2.8/wp-admin/options-writing.php
r11729 r11770 9 9 /** WordPress Administration Bootstrap */ 10 10 require_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.')); 11 14 12 15 $title = __('Writing Settings'); -
branches/2.8/wp-admin/plugins.php
r11729 r11770 9 9 /** WordPress Administration Bootstrap */ 10 10 require_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.')); 11 14 12 15 if ( isset($_POST['clear-recent-list']) ) … … 38 41 switch ( $action ) { 39 42 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 40 46 check_admin_referer('activate-plugin_' . $plugin); 41 47 … … 54 60 break; 55 61 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 56 65 check_admin_referer('bulk-manage-plugins'); 57 66 … … 76 85 break; 77 86 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 78 90 check_admin_referer('plugin-activation-error_' . $plugin); 79 91 … … 89 101 break; 90 102 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 91 106 check_admin_referer('deactivate-plugin_' . $plugin); 92 107 deactivate_plugins($plugin); … … 96 111 break; 97 112 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 98 116 check_admin_referer('bulk-manage-plugins'); 99 117 -
branches/2.8/wp-admin/themes.php
r11729 r11770 9 9 /** WordPress Administration Bootstrap */ 10 10 require_once('admin.php'); 11 12 if ( !current_user_can('switch_themes') ) 13 wp_die( __( 'Cheatin’ uh?' ) ); 11 14 12 15 if ( isset($_GET['action']) ) { -
branches/2.8/wp-includes/comment.php
r11729 r11770 1325 1325 foreach ( $trackbacks as $trackback ) 1326 1326 do_trackbacks($trackback); 1327 1328 //Do Update Services/Generic Pings 1329 generic_ping(); 1327 1330 } 1328 1331 -
branches/2.8/wp-includes/default-filters.php
r11729 r11770 187 187 add_action('do_feed_atom', 'do_feed_atom', 10, 1); 188 188 add_action('do_pings', 'do_all_pings', 10, 1); 189 add_action('do_generic_ping', 'generic_ping', 10, 1);190 189 add_action('do_robots', 'do_robots'); 191 190 add_action('sanitize_comment_cookies', 'sanitize_comment_cookies'); -
branches/2.8/wp-includes/link-template.php
r11729 r11770 769 769 global $comment, $post; 770 770 771 if ( $post->post_type == 'attachment' ) { 772 } elseif ( $post->post_type == 'page' ) { 771 if ( $post->post_type == 'page' ) { 773 772 if ( !current_user_can( 'edit_page', $post->ID ) ) 774 773 return; -
branches/2.8/wp-includes/post.php
r11729 r11770 3275 3275 $wpdb->update( $wpdb->posts, array( 'guid' => get_permalink( $post->ID ) ), array( 'ID' => $post->ID ) ); 3276 3276 do_action('private_to_published', $post->ID); // Deprecated, use private_to_publish 3277 // do generic pings once per hour at most3278 if ( !wp_next_scheduled('do_generic_ping') )3279 wp_schedule_single_event(time() + 3600, 'do_generic_ping');3280 3277 } 3281 3278 -
branches/2.8/wp-includes/vars.php
r11729 r11770 18 18 preg_match('#/wp-admin/?(.*?)$#i', $PHP_SELF, $self_matches); 19 19 $pagenow = $self_matches[1]; 20 $pagenow = trim($pagenow, '/'); 20 21 $pagenow = preg_replace('#\?.*?$#', '', $pagenow); 21 22 if ( '' === $pagenow || 'index' === $pagenow || 'index.php' === $pagenow ) { -
branches/2.8/wp-includes/version.php
r11729 r11770 9 9 * @global string $wp_version 10 10 */ 11 $wp_version = '2.8. 2';11 $wp_version = '2.8.3'; 12 12 13 13 /**
Note: See TracChangeset
for help on using the changeset viewer.