Skip to content

Commit

Permalink
Merge pull request #4 from WEBdeBS/revisione-tema
Browse files Browse the repository at this point in the history
NodeJs Conf 2015
  • Loading branch information
davidebrognoli committed Apr 3, 2016
2 parents ea95236 + 3aa6e39 commit fb297d3
Show file tree
Hide file tree
Showing 2,220 changed files with 292,116 additions and 36,178 deletions.
2 changes: 1 addition & 1 deletion LEGGIMI.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Questa versione in italiano di WordPress � basata sulla versione di
Wordpress 4.1 inglese rilasciata il 18/12/2014.
Wordpress 4.2.2 inglese rilasciata il 7/05/2015.

Nessuna responsabilit� viene presa da wpitaly.it per eventuali problemi
o malfunzionamenti derivanti dall'uso di questa distribuzione.
Expand Down
2 changes: 1 addition & 1 deletion license.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
WordPress - Web publishing software

Copyright 2014 by the contributors
Copyright 2015 by the contributors

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion readme.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<body>
<h1 id="logo" style="text-align: center">
<img alt="WordPress" src="wp-admin/images/wordpress-logo.png" />
<br /> Versione 4.1
<br /> Versione 4.2.2
</h1>
<p style="text-align: center"> Piattaforma di Editoria Personale Semantica</p>

Expand Down
170 changes: 71 additions & 99 deletions wp-admin/about.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,11 @@

include( ABSPATH . 'wp-admin/admin-header.php' );
?>
<!--[if lt IE 9]><script>document.createElement('audio');document.createElement('video');</script><![endif]-->
<div class="wrap about-wrap">

<h1><?php printf( __( 'Welcome to WordPress&nbsp;%s' ), $display_version ); ?></h1>

<div class="about-text"><?php printf( __( 'Thank you for updating! WordPress %s helps you focus on your writing, and the new default theme lets you show it off in style.' ), $display_version ); ?></div>
<div class="about-text"><?php printf( __( 'Thank you for updating! WordPress %s helps you communicate and share, globally.' ), $display_version ); ?></div>

<div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>

Expand All @@ -41,114 +40,99 @@
</a>
</h2>

<div class="changelog headline-feature">
<h2><?php _e( 'Introducing Twenty&nbsp;Fifteen' ); ?></h2>
<div class="featured-image">
<img src="//s.w.org/images/core/4.1/theme.png?0" />
</div>

<div class="feature-section">
<div class="col">
<h3><?php _e( 'Our newest default theme, Twenty Fifteen, is a blog-focused theme designed for clarity.' ); ?></h3>
<p><?php printf( __( 'Twenty Fifteen has flawless language support, with help from <a href="%s">Google&#8217;s Noto font family</a>.' ), 'https://www.google.com/get/noto/' ); ?></p>
<p><?php _e( 'The straightforward typography is readable on any screen size.' ); ?></p>
<p><?php _e( 'Your content always takes center stage, whether viewed on a phone, tablet, laptop, or desktop computer.' ); ?></p>
</div>
<div class="col">
<img class="" src="//s.w.org/images/core/4.1/mobile.png?0" />
</div>
</div>

<div class="clear"></div>
<div class="changelog point-releases">
<h3><?php echo _n( 'Maintenance and Security Release', 'Maintenance and Security Releases', 2 ); ?></h3>
<p><?php printf( _n( '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.', 13 ), '4.2.2', number_format_i18n( 13 ) ); ?>
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'http://codex.wordpress.org/Version_4.2.2' ); ?>
</p>
<p><?php printf( _n( '<strong>Version %1$s</strong> addressed a security issue.',
'<strong>Version %1$s</strong> addressed some security issues.', 1 ), '4.2.1' ); ?>
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'http://codex.wordpress.org/Version_4.2.1' ); ?>
</p>
</div>

<hr />

<div class="changelog headline-feature dfw">
<h2><?php _e( 'Distraction-free writing' ); ?></h2>
<div class="feature-section">
<div class="dfw-container">
<img src="//s.w.org/images/core/4.1/focus.png?0" class="base-image" />
<img src="//s.w.org/images/core/4.1/focus1.png?0" class="overlay-image fade-in" />
<img src="//s.w.org/images/core/4.1/focus2.png?0" class="overlay-image fade-in" />
<img src="//s.w.org/images/core/4.1/focus3.png?0" class="overlay-image from-left" />
</div>
<h3><em><?php _e( 'Just write.' ); ?></em></h3>
<p><?php _e( 'Sometimes, you just need to concentrate on putting your thoughts into words. Try turning on <strong>distraction-free writing mode</strong>. When you start typing, all the distractions will fade away, letting you focus solely on your writing. All your editing tools instantly return when you need them.' ); ?></p>
</div>
<div class="headline-feature feature-video">
<embed type="application/x-shockwave-flash" src="https://v0.wordpress.com/player.swf?v=1.04" width="1000" height="560" wmode="direct" seamlesstabbing="true" allowfullscreen="true" allowscriptaccess="always" overstretch="true" flashvars="guid=e9kH4FzP&amp;isDynamicSeeking=true"></embed>
</div>

<hr />

<div class="changelog feature-list finer-points">
<h2><?php _e( 'The Finer Points' ); ?></h2>
<div class="feature-section two-col">
<div class="col">
<h3><?php _e( 'An easier way to share content' ); ?></h3>
<p><?php printf( __( 'Clip it, edit it, publish it. Get familiar with the new and improved Press This. From the <a href="%s">Tools</a> menu, add Press This to your browser bookmark bar or your mobile device home screen. Once installed you can share your content with lightning speed. Sharing your favorite videos, images, and content has never been this fast or this easy.' ), admin_url( 'tools.php' ) ); ?></p>
<p><?php _e( 'Drag the bookmarklet below to your bookmarks bar. Then, when you&#8217;re on a page you want to share, simply &#8220;press&#8221; it.' ); ?></p>

<div class="feature-section col two-col">
<div>
<svg viewBox="-30 -30 160 160"><path d="M57.9,28.9h-7.9c-1.6,0-3.2,0.3-4.7,1c-1.5,0.7-2.7,1.6-3.7,2.7l-4.7-14.2H21.7L9.2,55.3h8.9l3.9-10.5h14.9v21.1H10.5 c-2.9,0-5.4-1-7.4-3.1C1,60.6,0,58.1,0,55.3V18.4c0-2.9,1-5.4,3.1-7.4c2.1-2.1,4.5-3.1,7.4-3.1h36.8c2.9,0,5.4,1,7.4,3.1 c2.1,2.1,3.1,4.5,3.1,7.4V28.9z M34.3,39.5H23.6l5.3-15.4L34.3,39.5z M52.6,34.2h36.8c2.9,0,5.4,1,7.4,3.1c2.1,2.1,3.1,4.5,3.1,7.4 v36.8c0,2.9-1,5.4-3.1,7.4c-2.1,2.1-4.5,3.1-7.4,3.1H52.6c-2.9,0-5.4-1-7.4-3.1c-2.1-2.1-3.1-4.5-3.1-7.4V44.7c0-2.9,1-5.4,3.1-7.4 C47.3,35.2,49.8,34.2,52.6,34.2z M90.8,60.5v-5.7H74.1V43.4H68v11.4H51.3v5.7h6.7c0.3,2.3,1.1,4.7,2.2,7.2c1.2,2.5,2.7,4.7,4.5,6.6 c-2.2,0.9-4.5,1.7-6.9,2.3s-4.1,0.9-5.2,0.9l0.3,1.4c0.2,0.9,0.4,2,0.6,3.3c0.2,1.3,0.3,2.3,0.2,3.1c2.2,0,4.9-0.6,8.1-1.7 c3.2-1.1,6.3-2.6,9.2-4.3c2.9,1.8,6,3.2,9.3,4.3c3.3,1.1,6.1,1.7,8.3,1.7c0-0.5,0-1.1,0.1-1.8c0.1-0.7,0.2-1.4,0.3-2 c0.1-0.7,0.2-1.3,0.3-1.9c0.1-0.6,0.2-1.1,0.3-1.4l0.1-0.6c-1.2,0-3-0.3-5.4-1c-2.5-0.7-4.8-1.4-7.1-2.3c1.8-2,3.3-4.2,4.4-6.6 s1.9-4.8,2.2-7.1H90.8z M70.7,70.7c-2.7-2.5-4.4-5.8-5.3-10.2h11c-0.9,4.4-2.7,7.7-5.3,10.2l-0.2,0.2 C70.8,70.8,70.8,70.7,70.7,70.7z"/></svg>
<h4><?php _e( 'Choose a language' ); ?></h4>
<p><?php
$count = '<span id="translations-count">' . 40 . '</span>';
$string = __( 'Right now, WordPress %1$s is already translated into %2$s languages, with more always in progress. You can switch to any translation on the <a href="%3$s">General Settings</a> screen.' );
if ( ! current_user_can( 'manage_options' ) ) {
$string = strip_tags( $string );
}
echo sprintf( $string, $display_version, $count, admin_url( 'options-general.php' ) );
?></p>
</div>

<div class="last-feature">
<svg viewBox="-30 -30 160 160"><path d="M35.3,26.5H5.9c-1.5,0-2.9-0.6-4.1-1.7C0.6,23.6,0,22.2,0,20.6c0-1.6,0.6-3,1.7-4.1c1.2-1.2,2.5-1.7,4.1-1.7h29.4 c1.6,0,3,0.6,4.1,1.7c1.2,1.2,1.7,2.5,1.7,4.1c0,1.6-0.6,3-1.7,4.1C38.3,25.9,36.9,26.5,35.3,26.5z M68.9,77.7 c-1.2,1.2-2.5,1.7-4.1,1.7H17.6c-1.6,0-3-0.6-4.1-1.7c-1.2-1.2-1.7-2.5-1.7-4.1V38.2c0-1.6,0.6-3,1.7-4.1c1.2-1.2,2.5-1.7,4.1-1.7 h47.1c1.6,0,3,0.6,4.1,1.7c1.2,1.2,1.7,2.5,1.7,4.1v35.3C70.6,75.1,70,76.5,68.9,77.7z M76.5,61.8L100,85.3V26.5L76.5,50V61.8z"/></svg>
<h4><?php _e( 'Vine embeds' ); ?></h4>
<p><?php printf( __( 'Embedding videos from Vine is as simple as pasting a URL onto its own line in a post. See the <a href="%s">full list</a> of supported embeds.' ), 'http://codex.wordpress.org/Embeds' ); ?></p>
</div>
<p class="pressthis-bookmarklet-demo">
<a class="pressthis-bookmarklet" onclick="return false;" href="<?php echo htmlspecialchars( get_shortcut_link() ); ?>"><span><?php _e( 'Press This' ); ?></span></a>
</p>
</div>

<div>
<svg viewBox="-30 -30 160 160"><path d="M61.4,78.6V61.4L72.9,50v40H10V27.1h45.7L44.3,38.6H21.4v40H61.4z M44.3,10H90v45.7L78.6,50V32.4l-32,31.9l-8.1-8.1 l34.8-34.9H50L44.3,10z"/></svg>
<h4><?php _e( 'Log out everywhere' ); ?></h4>
<p><?php printf( __( 'If you&#8217;ve ever worried you forgot to sign out from a shared computer, you can now go to <a href="%s">your profile</a> and log out everywhere.' ), get_edit_profile_url() ); ?></p>
</div>
<div class="col">
<img src="//s.w.org/images/core/4.2/press-this.jpg" />
</div>
</div>

<div class="last-feature">
<svg viewBox="-30 -30 160 160"><path d="M35.1,30.1l4.7-5.8l46.4,46.4L80,75c-1.7,1.7-4.6,3.1-8.6,4.3c-4,1.1-7.7,1.7-11,1.7h-20L34,87.4 c-1.5,1.5-3.3,2.3-5.5,2.3c-2.1,0-3.9-0.8-5.5-2.3c-1.5-1.5-2.3-3.3-2.3-5.4c0-2.1,0.8-4,2.3-5.5l6.4-6.4v-20 c0-3.3,0.5-7,1.6-11.2C32.1,34.7,33.4,31.8,35.1,30.1z M76.2,21L59.6,37.7L49.9,28l16.7-16.7c0.9-0.9,2.1-1.2,3.7-0.8 c1.6,0.3,3,1.2,4.3,2.5c1.3,1.3,2.2,2.7,2.5,4.3C77.4,18.9,77.1,20.1,76.2,21z M72.4,50.5l16.7-16.7c0.9-0.9,2.1-1.2,3.7-0.9 c1.6,0.3,3,1.1,4.3,2.5c1.3,1.3,2.2,2.7,2.5,4.3c0.3,1.6,0,2.8-0.9,3.7L82,60.1L72.4,50.5z"/><path d="M10.9,40.4l3.4,6.8L21,48l-4.7,5.2l1.3,7.5l-6.8-3.4l-6.8,3.4l1.3-7.5L0.7,48l6.8-0.8L10.9,40.4z"/></svg>
<h4><?php _e( 'Plugin recommendations' ); ?></h4>
<p><?php
$string = __( 'The <a href="%s">plugin installer</a> suggests plugins for you to try. Recommendations are based on the plugins you and other users have installed.' );
if ( ! current_user_can( 'install_plugins' ) ) {
$string = strip_tags( $string );
}
echo sprintf( $string, network_admin_url( 'plugin-install.php?tab=recommended' ) );
?></p>
</div>
<div class="feature-section two-col">
<div class="col">
<img src="//s.w.org/images/core/4.2/unicode.png" />
</div>
<div class="col">
<h3><?php _e( 'Extended character support' ); ?></h3>
<p><?php _e( 'Writing in WordPress, whatever your language, just got better. WordPress 4.2 supports a host of new characters out-of-the-box, including native Chinese, Japanese, and Korean characters, musical and mathematical symbols, and hieroglyphs.' ); ?></p>
<p><?php
/* translators: 1: heart emoji, 2: frog face emoji, 3, monkey emoji, 4: pizza emoji, 5: Emoji Codex link */
printf( __( 'Don&#8217;t use any of those characters? You can still have fun &mdash; emoji are now available in WordPress! Get creative and decorate your content with %1$s, %2$s, %3$s, %4$s, and all the many other <a href="%5$s">emoji</a>.' ), '&#x1F499', '&#x1F438', '&#x1F412', '&#x1F355', __( 'https://codex.wordpress.org/Emoji' ) );
?></p>
</div>
</div>

<hr />
<div class="changelog feature-section three-col">
<div>
<img src="//s.w.org/images/core/4.2/theme-switcher.png" />
<h3><?php _e( 'Switch themes in the Customizer' ); ?></h3>
<p><?php _e( 'Browse and preview your installed themes from the Customizer. Make sure the theme looks great with <em>your</em> content, before it debuts on your site. ' ); ?></p>
</div>
<div>
<img src="//s.w.org/images/core/4.2/embeds.png" />
<h3><?php _e( 'Even more embeds' ); ?></h3>
<p><?php _e( 'Paste links from Tumblr.com and Kickstarter and watch them magically appear right in the editor. With every release, your publishing and editing experience get closer together.' ); ?></p>
</div>
<div class="last-feature">
<img src="//s.w.org/images/core/4.2/plugins.png" />
<h3><?php _e( 'Streamlined plugin updates' ); ?></h3>
<p><?php _e( 'Goodbye boring loading screen, hello smooth and simple plugin updates. Click <em>Update&nbsp;Now</em> and watch the magic happen.' ); ?></p>
</div>
</div>

<div class="changelog feature-list">
<h2><?php _e( 'Under the Hood' ); ?></h3>
<div class="changelog under-the-hood feature-list">
<h3><?php _e( 'Under the Hood' ); ?></h3>

<div class="feature-section col two-col">
<div>
<h4><?php _e( 'Complex Queries' ); ?></h4>
<p><?php printf( __( 'Metadata, date, and term queries now support advanced conditional logic, like nested clauses and multiple operators &mdash; %s.' ), '<code>A&nbsp;AND&nbsp;(&nbsp;B&nbsp;OR&nbsp;C&nbsp;)</code>' ); ?></p>
<h4><?php _e( 'utf8mb4 support' ); ?></h4>
<p><?php _e( 'Database character encoding has changed from utf8 to utf8mb4, which adds support for a whole range of new 4-byte characters.' ); ?></p>

<h4><?php _e( 'Customizer API' ); ?></h4>
<p><?php _e( 'Expanded JavaScript APIs in the customizer enable a new media experience as well as dynamic and contextual controls, sections, and panels.' ); ?></p>
<h4><?php _e( 'JavaScript accessibility' ); ?></h4>
<p><?php
/* translators: %s wp.a11y.speak() */
printf( __( 'You can now send audible notifications to screen readers in JavaScript with %s. Pass it a string, and an update will be sent to a dedicated ARIA live notifications area.' ), '<code>wp.a11y.speak()</code>' );
?></p>
</div>
<div class="last-feature">
<h4><?php
/* translators: %s: "<title>" tag */
printf( __( '%s tags in themes' ), '<code>&lt;title&gt;</code>' );
?></h4>
<h4><?php _e( 'Shared term splitting' ); ?></h4>
<p><?php
printf( __( '%s tells WordPress to handle the complexities of document titles.' ), "<code>add_theme_support( 'title-tag' )</code>" );
/* translators: 1: Term splitting guide link */
printf( __( 'Terms shared across multiple taxonomies will be split when one of them is updated. Find out more in the <a href="%1$s">Plugin Developer Handbook</a>.' ), 'https://developer.wordpress.org/plugins/taxonomy/working-with-split-terms-in-wp-4-2/' );
?></p>

<h4><?php _e( 'Developer Reference' ); ?></h4>
<p><?php printf( __( 'Continued improvements to inline code documentation have made the <a href="%s">developer reference</a> more complete than ever.' ), 'https://developer.wordpress.org/reference/' ); ?></p>
<h4><?php _e( 'Complex query ordering' ); ?></h4>
<p><?php
/* translators: 1: WP_Query, 2: WP_Comment_Query, 3: WP_User_Query */
printf( __( '%1$s, %2$s, and %3$s now support complex ordering with named meta query clauses.' ), '<code>WP_Query</code>', '<code>WP_Comment_Query</code>', '<code>WP_User_Query</code>' );
?></p>
</div>
</div>

<hr />

Expand All @@ -164,18 +148,6 @@
</div>

</div>

<script>
jQuery(document).ready( function($) {
$.ajax( 'https://api.wordpress.org/translations/core/1.0/?version=4.1',
{ 'type' : 'HEAD' } ).done( function( data, textStatus, jqXHR ) {
var count = jqXHR.getResponseHeader( 'X-Translations-Count' );
if ( count ) {
$( '#translations-count' ).text( count );
}
});
});
</script>
<?php

include( ABSPATH . 'wp-admin/admin-footer.php' );
Expand Down
5 changes: 3 additions & 2 deletions wp-admin/admin-ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package WordPress
* @subpackage Administration
*
* @link http://codex.wordpress.org/AJAX_in_Plugins
* @link https://codex.wordpress.org/AJAX_in_Plugins
*/

/**
Expand Down Expand Up @@ -61,7 +61,8 @@
'query-attachments', 'save-attachment', 'save-attachment-compat', 'send-link-to-editor',
'send-attachment-to-editor', 'save-attachment-order', 'heartbeat', 'get-revision-diffs',
'save-user-color-scheme', 'update-widget', 'query-themes', 'parse-embed', 'set-attachment-thumbnail',
'parse-media-shortcode', 'destroy-sessions'
'parse-media-shortcode', 'destroy-sessions', 'install-plugin', 'update-plugin', 'press-this-save-post',
'press-this-add-category',
);

// Register core Ajax calls.
Expand Down
2 changes: 1 addition & 1 deletion wp-admin/admin-footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<div class="clear"></div></div><!-- wpbody -->
<div class="clear"></div></div><!-- wpcontent -->

<div id="wpfooter">
<div id="wpfooter" role="contentinfo">
<?php
/**
* Fires after the opening tag for the admin footer.
Expand Down
3 changes: 1 addition & 2 deletions wp-admin/admin-header.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@
?>

<div id="wpwrap">
<a tabindex="1" href="#wpbody-content" class="screen-reader-shortcut"><?php _e('Skip to main content'); ?></a>
<?php require(ABSPATH . 'wp-admin/menu-header.php'); ?>
<div id="wpcontent">

Expand All @@ -203,7 +202,7 @@
do_action( 'in_admin_header' );
?>

<div id="wpbody">
<div id="wpbody" role="main">
<?php
unset($title_class, $blog_name, $total_update_count, $update_title);

Expand Down
26 changes: 20 additions & 6 deletions wp-admin/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,11 @@
*/
} elseif ( apply_filters( 'do_mu_upgrade', true ) ) {
$c = get_blog_count();
// If 50 or fewer sites, run every time. Else, run "about ten percent" of the time. Shh, don't check that math.

/*
* If there are 50 or fewer sites, run every time. Otherwise, throttle to reduce load:
* attempt to do no more than threshold value, with some +/- allowed.
*/
if ( $c <= 50 || ( $c > 50 && mt_rand( 0, (int)( $c / 50 ) ) == 1 ) ) {
require_once( ABSPATH . WPINC . '/http.php' );
$response = wp_remote_get( admin_url( 'upgrade.php?step=1' ), array( 'timeout' => 120, 'httpversion' => '1.1' ) );
Expand All @@ -90,6 +94,15 @@

wp_enqueue_script( 'common' );

// $pagenow is set in vars.php
// $wp_importers is sometimes set in wp-admin/includes/import.php
//
// The remaining variables are imported as globals elsewhere,
// declared as globals here
global $pagenow, $wp_importers, $hook_suffix, $plugin_page, $typenow, $taxnow;

$page_hook = null;

$editing = false;

if ( isset($_GET['page']) ) {
Expand Down Expand Up @@ -167,12 +180,13 @@
}

$hook_suffix = '';
if ( isset($page_hook) )
if ( isset( $page_hook ) ) {
$hook_suffix = $page_hook;
else if ( isset($plugin_page) )
} elseif ( isset( $plugin_page ) ) {
$hook_suffix = $plugin_page;
else if ( isset($pagenow) )
} elseif ( isset( $pagenow ) ) {
$hook_suffix = $pagenow;
}

set_current_screen();

Expand Down Expand Up @@ -206,7 +220,7 @@
/**
* Used to call the registered callback for a plugin screen.
*
* @internal
* @ignore
* @since 1.5.0
*/
do_action( $page_hook );
Expand Down Expand Up @@ -243,7 +257,7 @@
include(ABSPATH . 'wp-admin/admin-footer.php');

exit();
} else if (isset($_GET['import'])) {
} elseif ( isset( $_GET['import'] ) ) {

$importer = $_GET['import'];

Expand Down
4 changes: 2 additions & 2 deletions wp-admin/async-upload.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@

require_once( ABSPATH . 'wp-admin/admin.php' );

header( 'Content-Type: text/html; charset=' . get_option( 'blog_charset' ) );

if ( isset( $_REQUEST['action'] ) && 'upload-attachment' === $_REQUEST['action'] ) {
include( ABSPATH . 'wp-admin/includes/ajax-actions.php' );

Expand All @@ -46,8 +48,6 @@
wp_die( __( 'You do not have permission to upload files.' ) );
}

header( 'Content-Type: text/html; charset=' . get_option( 'blog_charset' ) );

// just fetch the detail form for that attachment
if ( isset($_REQUEST['attachment_id']) && ($id = intval($_REQUEST['attachment_id'])) && $_REQUEST['fetch'] ) {
$post = get_post( $id );
Expand Down
Loading

0 comments on commit fb297d3

Please sign in to comment.