Changes in branches/2.8 [11767:11733]
- Location:
- branches/2.8
- Files:
-
- 28 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.8/readme.html
r11767 r11733 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. 311 <br /> Version 2.8.2 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. 3:</h2>32 <h2>Upgrading from any previous WordPress to 2.8.2:</h2> 33 33 <ol> 34 34 <li>Delete your old WP files, saving ones you've modified.</li> -
branches/2.8/wp-admin/css/plugin-install.css
r11767 r11733 69 69 -webkit-border-bottom-left-radius: 3px; 70 70 -khtml-border-bottom-left-radius: 3px; 71 border- bottom-left-radius: 3px;71 border-top-bottom-radius: 3px; 72 72 } 73 73 … … 111 111 -webkit-border-bottom-left-radius: 3px; 112 112 -khtml-border-bottom-left-radius: 3px; 113 border- bottom-left-radius: 3px;113 border-top-bottom-radius: 3px; 114 114 } 115 115 -
branches/2.8/wp-admin/edit-category-form.php
r11767 r11733 6 6 * @subpackage Administration 7 7 */ 8 9 if ( !current_user_can('manage_categories') )10 wp_die(__('You do not have sufficient permissions to edit categories for this blog.'));11 8 12 9 /** -
branches/2.8/wp-admin/edit-comments.php
r11767 r11733 9 9 /** WordPress Administration Bootstrap */ 10 10 require_once('admin.php'); 11 12 if ( !current_user_can('edit_posts') )13 wp_die(__('Cheatin’ uh?'));14 11 15 12 wp_enqueue_script('admin-comments'); -
branches/2.8/wp-admin/edit-form-comment.php
r11767 r11733 108 108 _e( 'URL:' ); 109 109 } ?></td> 110 <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> 111 111 </tr> 112 112 </tbody> -
branches/2.8/wp-admin/edit-link-category-form.php
r11767 r11733 6 6 * @subpackage Administration 7 7 */ 8 9 if ( !current_user_can('manage_categories') )10 wp_die(__('You do not have sufficient permissions to edit link categories for this blog.'));11 8 12 9 /** -
branches/2.8/wp-admin/edit-pages.php
r11767 r11733 9 9 /** WordPress Administration Bootstrap */ 10 10 require_once('admin.php'); 11 12 if ( !current_user_can('edit_pages') )13 wp_die(__('Cheatin’ uh?'));14 11 15 12 // Handle bulk actions -
branches/2.8/wp-admin/edit-tag-form.php
r11767 r11733 6 6 * @subpackage Administration 7 7 */ 8 9 if ( !current_user_can('manage_categories') )10 wp_die(__('You do not have sufficient permissions to edit tags for this blog.'));11 8 12 9 if ( empty($tag_ID) ) { ?> -
branches/2.8/wp-admin/edit.php
r11767 r11733 9 9 /** WordPress Administration Bootstrap */ 10 10 require_once('admin.php'); 11 12 if ( !current_user_can('edit_posts') )13 wp_die(__('Cheatin’ uh?'));14 11 15 12 // Back-compat for viewing comments of an entry -
branches/2.8/wp-admin/export.php
r11767 r11733 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.'));14 11 15 12 /** Load WordPress export API */ -
branches/2.8/wp-admin/import.php
r11767 r11733 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 15 11 $title = __('Import'); 16 12 require_once ('admin-header.php'); -
branches/2.8/wp-admin/link-add.php
r11767 r11733 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.'));14 11 15 12 $title = __('Add New Link'); -
branches/2.8/wp-admin/options-discussion.php
r11767 r11733 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.'));14 11 15 12 $title = __('Discussion Settings'); -
branches/2.8/wp-admin/options-general.php
r11767 r11733 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.'));14 11 15 12 $title = __('General Settings'); -
branches/2.8/wp-admin/options-media.php
r11767 r11733 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.'));14 11 15 12 $title = __('Media Settings'); -
branches/2.8/wp-admin/options-misc.php
r11767 r11733 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.'));14 11 15 12 $title = __('Miscellaneous Settings'); -
branches/2.8/wp-admin/options-permalink.php
r11767 r11733 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.'));14 11 15 12 $title = __('Permalink Settings'); -
branches/2.8/wp-admin/options-privacy.php
r11767 r11733 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.'));14 11 15 12 $title = __('Privacy Settings'); -
branches/2.8/wp-admin/options-reading.php
r11767 r11733 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.'));14 11 15 12 $title = __('Reading Settings'); -
branches/2.8/wp-admin/options-writing.php
r11767 r11733 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.'));14 11 15 12 $title = __('Writing Settings'); -
branches/2.8/wp-admin/plugins.php
r11767 r11733 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.'));14 11 15 12 if ( isset($_POST['clear-recent-list']) ) … … 41 38 switch ( $action ) { 42 39 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 46 40 check_admin_referer('activate-plugin_' . $plugin); 47 41 … … 60 54 break; 61 55 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 65 56 check_admin_referer('bulk-manage-plugins'); 66 57 … … 85 76 break; 86 77 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 90 78 check_admin_referer('plugin-activation-error_' . $plugin); 91 79 … … 101 89 break; 102 90 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 106 91 check_admin_referer('deactivate-plugin_' . $plugin); 107 92 deactivate_plugins($plugin); … … 111 96 break; 112 97 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 116 98 check_admin_referer('bulk-manage-plugins'); 117 99 -
branches/2.8/wp-admin/themes.php
r11767 r11733 9 9 /** WordPress Administration Bootstrap */ 10 10 require_once('admin.php'); 11 12 if ( !current_user_can('switch_themes') )13 wp_die( __( 'Cheatin’ uh?' ) );14 11 15 12 if ( isset($_GET['action']) ) { -
branches/2.8/wp-includes/comment.php
r11767 r11733 1325 1325 foreach ( $trackbacks as $trackback ) 1326 1326 do_trackbacks($trackback); 1327 1328 //Do Update Services/Generic Pings1329 generic_ping();1330 1327 } 1331 1328 … … 1389 1386 weblog_ping($service); 1390 1387 } 1388 1389 set_transient('generic_ping_last', time(), 1800); 1391 1390 1392 1391 return $post_id; -
branches/2.8/wp-includes/default-filters.php
r11767 r11733 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); 189 190 add_action('do_robots', 'do_robots'); 190 191 add_action('sanitize_comment_cookies', 'sanitize_comment_cookies'); -
branches/2.8/wp-includes/link-template.php
r11767 r11733 769 769 global $comment, $post; 770 770 771 if ( $post->post_type == 'page' ) { 771 if ( $post->post_type == 'attachment' ) { 772 } elseif ( $post->post_type == 'page' ) { 772 773 if ( !current_user_can( 'edit_page', $post->ID ) ) 773 774 return; -
branches/2.8/wp-includes/post.php
r11767 r11733 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 half hour at most 3278 if ( !wp_next_scheduled('do_generic_ping') ) { 3279 $schedule = time(); 3280 $last_ping = get_transient('generic_ping_last'); 3281 if ($last_ping) { 3282 $schedule = max($schedule, $last_ping + 1800); 3283 } 3284 wp_schedule_single_event($schedule, 'do_generic_ping'); 3285 } 3277 3286 } 3278 3287 -
branches/2.8/wp-includes/vars.php
r11767 r11733 18 18 preg_match('#/wp-admin/?(.*?)$#i', $PHP_SELF, $self_matches); 19 19 $pagenow = $self_matches[1]; 20 $pagenow = trim($pagenow, '/');21 20 $pagenow = preg_replace('#\?.*?$#', '', $pagenow); 22 21 if ( '' === $pagenow || 'index' === $pagenow || 'index.php' === $pagenow ) { -
branches/2.8/wp-includes/version.php
r11767 r11733 9 9 * @global string $wp_version 10 10 */ 11 $wp_version = '2.8. 3';11 $wp_version = '2.8.2'; 12 12 13 13 /**
Note: See TracChangeset
for help on using the changeset viewer.