Skip to content

Commit f384590

Browse files
author
Anderson Casimiro
committed
sync with site
1 parent 0f9b19e commit f384590

File tree

544 files changed

+99585
-69372
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

544 files changed

+99585
-69372
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
wp-content/plugins/crayon-syntax-highlighter/langs/ada/../../.git/modules/langs/ada

README.md

100644100755
+17-17
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
# PHPSP
2-
3-
## Blog
4-
5-
> Este tema foi gentilmente cedido ao PHPSP pela Soyuz
6-
[http://www.soyuz.com.br]
7-
8-
### Contribua
9-
10-
#### Bugs
11-
12-
Quando encontrar um bug reporte-o no sistema de issues aqui do Github
13-
14-
#### Sugestões
15-
16-
Quer dar uma sugestão de mudança? cadastre no sistema de issues também
17-
Você também pode abrir um Pull Request com a implementação de sua sugestão
1+
# PHPSP
2+
3+
## Blog
4+
5+
> Este tema foi gentilmente cedido ao PHPSP pela Soyuz
6+
[http://www.soyuz.com.br]
7+
8+
### Contribua
9+
10+
#### Bugs
11+
12+
Quando encontrar um bug reporte-o no sistema de issues aqui do Github
13+
14+
#### Sugestões
15+
16+
Quer dar uma sugestão de mudança? cadastre no sistema de issues também
17+
Você também pode abrir um Pull Request com a implementação de sua sugestão

license.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
WordPress - Web publishing software
22

3-
Copyright 2011 by the contributors
3+
Copyright 2013 by the contributors
44

55
This program is free software; you can redistribute it and/or modify
66
it under the terms of the GNU General Public License as published by

readme.html

+59-73
Large diffs are not rendered by default.

wp-activate.php

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
* @package WordPress
77
*/
88

9-
/** Define ABSPATH as this file's directory */
109
define( 'WP_INSTALLING', true );
1110

1211
/** Sets up the WordPress Environment. */

wp-admin/about.php

+58-53
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

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

22-
<div class="about-text"><?php printf( __( 'Thank you for updating to the latest version! WordPress %s is more polished and enjoyable than ever before. We hope you like it.' ), $display_version ); ?></div>
22+
<div class="about-text"><?php printf( __( 'Thank you for updating to the latest version. WordPress %s makes your writing experience even better.' ), $display_version ); ?></div>
2323

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

@@ -33,63 +33,66 @@
3333
</a>
3434
</h2>
3535

36-
<div class="changelog point-releases">
37-
<h3><?php echo _n( 'Maintenance and Security Release', 'Maintenance and Security Releases', 1 ); ?></h3>
38-
<p><?php printf( _n( '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
39-
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.', 37 ), '3.5.1', number_format_i18n( 37 ) ); ?>
40-
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'http://codex.wordpress.org/Version_3.5.1' ); ?>
41-
</p>
42-
</div>
43-
4436
<div class="changelog">
45-
<h3><?php _e( 'New Media Manager' ); ?></h3>
37+
<h3><?php _e( 'Colorful New Theme' ); ?></h3>
4638

47-
<div class="feature-section col two-col">
48-
<img alt="" src="<?php echo esc_url( admin_url( 'images/screenshots/about-media.png' ) ); ?>" class="image-100" />
49-
50-
<div>
51-
<h4><?php _e( 'Beautiful Interface' ); ?></h4>
52-
<p><?php _e( 'Adding media has been streamlined with an all-new experience, making it a breeze to upload files and place them into your posts.' ); ?></p>
53-
</div>
54-
<div class="last-feature">
55-
<h4><?php _e( 'Picturesque Galleries' ); ?></h4>
56-
<p><?php _e( 'Creating image galleries is faster with drag and drop reordering, inline caption editing, and simplified controls for layout.' ); ?></p>
57-
</div>
39+
<div class="feature-section images-stagger-right">
40+
<img alt="" src="<?php echo is_ssl() ? 'https://' : '//s.'; ?>wordpress.org/images/core/3.6/twentythirteen.png" class="image-66" />
41+
<h4><?php _e( 'Introducing Twenty Thirteen' ); ?></h4>
42+
<p><?php printf( __( "The new default theme puts focus on your content with a colorful, single-column design made for media-rich blogging." ) ); ?></p>
43+
<p><?php _e( 'Inspired by modern art, Twenty Thirteen features quirky details, beautiful typography, and bold, high-contrast colors &mdash; all with a flexible layout that looks great on any device, big or small.' ); ?></p>
5844
</div>
5945
</div>
6046

6147
<div class="changelog">
62-
<h3><?php _e( 'New Default Theme' ); ?></h3>
48+
<h3><?php _e( 'Write with Confidence' ); ?></h3>
6349

6450
<div class="feature-section images-stagger-right">
65-
<img alt="" src="<?php echo esc_url( admin_url( 'images/screenshots/about-twenty-twelve.png' ) ); ?>" class="image-66" />
66-
<h4><?php _e( 'Introducing Twenty Twelve' ); ?></h4>
67-
<p><?php _e( 'The newest default theme for WordPress is simple, flexible, and elegant.' ); ?></p>
68-
<p><?php _e( 'What makes it really shine are the design details, like the gorgeous Open Sans typeface and a fully responsive design that looks great on any device.' ); ?></p>
69-
<p><?php _e( 'Naturally, Twenty Twelve supports all the theme features you’ve come to know and love, but it is also designed to be as great for a website as it is for a blog.' ); ?></p>
51+
<img alt="" src="<?php echo is_ssl() ? 'https://' : '//s.'; ?>wordpress.org/images/core/3.6/revisions.png" class="image-66" />
52+
<h4><?php _e( 'Explore Revisions' ); ?></h4>
53+
<p></p>
54+
<p><?php _e( 'From the first word you write, WordPress saves every change. Each revision is always at your fingertips. Text is highlighted as you scroll through revisions at lightning speed, so you can see what changes have been made along the way.' ); ?></p>
55+
<p><?php _e( 'It&#8217;s easy to compare two revisions from any point in time, and to restore a revision and go back to writing. Now you can be confident that no mistake is permanent.' ); ?></p>
7056
</div>
71-
</div>
7257

73-
<div class="changelog">
74-
<h3><?php _e( 'Retina Ready' ); ?></h3>
75-
76-
<div class="feature-section images-stagger-right">
77-
<img alt="" src="<?php echo esc_url( admin_url( 'images/screenshots/about-retina.png' ) ); ?>" class="image-66" />
78-
<h4><?php _e( 'So Sharp You Can&#8217;t See the Pixels' ); ?></h4>
79-
<p><?php _e( 'The WordPress dashboard now looks beautiful on high-resolution screens like those found on the iPad, Kindle Fire HD, Nexus 10, and MacBook Pro with Retina Display. Icons and other visual elements are crystal clear and full of detail.' ); ?></p>
58+
<div class="feature-section col two-col">
59+
<div>
60+
<h4><?php _e( 'Improved Autosaves' ); ?></h4>
61+
<p><?php _e( 'Never lose a word you&#8217;ve written. Autosaving is now even better; whether your power goes out, your browser crashes, or you lose your internet connection, your content is safe.' ); ?></p>
62+
</div>
63+
<div class="last-feature">
64+
<h4><?php _e( 'Better Post Locking' ); ?></h4>
65+
<p><?php _e( 'Always know who&#8217;s editing with live updates that appear in the list of posts. And if someone leaves for lunch with a post open, you can take over where they left off.' ); ?></p>
66+
</div>
8067
</div>
8168
</div>
8269

8370
<div class="changelog">
84-
<h3><?php _e( 'Smoother Experience' ); ?></h3>
71+
<h3><?php _e( 'Support for Audio and Video' ); ?></h3>
8572

8673
<div class="feature-section images-stagger-right">
87-
<img alt="" src="<?php echo esc_url( admin_url( 'images/screenshots/about-color-picker.png' ) ); ?>" class="image-30" />
88-
<h4><?php _e( 'Better Accessibility' ); ?></h4>
89-
<p><?php _e( 'WordPress supports more usage modes than ever before. Screenreaders, touch devices, and mouseless workflows all have improved ease of use and accessibility.' ); ?></p>
90-
91-
<h4><?php _e( 'More Polish' ); ?></h4>
92-
<p><?php _e( 'A number of screens and controls have been refined. For example, a new color picker makes it easier for you to choose that perfect shade of blue.' ); ?></p>
74+
<div class="video image-66"><?php
75+
$sample_video = ( is_ssl() ? 'https://' : 'http://s.' ) . 'wordpress.org/images/core/3.6/sample-video';
76+
$args = array(
77+
'mp4' => "$sample_video.mp4",
78+
'ogv' => "$sample_video.ogv",
79+
'width' => 625,
80+
'height' => 360,
81+
);
82+
// Opera 12 (Presto, pre-Chromium) fails to load ogv properly
83+
// when combined with ME.js. Works fine in Opera 15.
84+
// Don't serve ogv to Opera 12 to avoid complete brokeness.
85+
if ( $GLOBALS['is_opera'] )
86+
unset( $args['ogv'] );
87+
// Our current ME.js API is limited to shortcodes in posts.
88+
echo wp_video_shortcode( $args );
89+
?></div>
90+
<h4><?php _e( 'New Media Player' ); ?></h4>
91+
<p><?php _e( 'Share your audio and video with the new built-in HTML5 media player. Upload files using the media manager and embed them in your posts.' ); ?></p>
92+
93+
<h4><?php _e( 'Embed Music from Spotify, Rdio, and SoundCloud' ); ?></h4>
94+
<p><?php _e( 'Embed songs and albums from your favorite artists, or playlists you&#8217;ve mixed yourself. It&#8217;s as simple as pasting a URL into a post on its own line.' ); ?></p>
95+
<p><?php printf( __( '(Love another service? Check out all of the <a href="%s">embeds</a> that WordPress supports.)' ), 'http://codex.wordpress.org/Embeds' ); ?></p>
9396
</div>
9497
</div>
9598

@@ -98,31 +101,33 @@
98101

99102
<div class="feature-section col three-col">
100103
<div>
101-
<h4><?php _e( 'Meta Query Additions' ); ?></h4>
102-
<p><?php _e( 'The <code>WP_Comment_Query</code> and <code>WP_User_Query</code> classes now support meta queries just like <code>WP_Query.</code> Meta queries now support querying for objects without a particular meta key.' ); ?></p>
104+
<h4><?php _e( 'Audio/Video API' ); ?></h4>
105+
<p><?php _e( 'The new audio/video APIs give developers access to powerful media metadata, like ID3 tags.' ); ?></p>
103106
</div>
104107
<div>
105-
<h4><?php _e( 'Post Objects' ); ?></h4>
106-
<p><?php _e( 'Post objects are now instances of a <code>WP_Post</code> class, which improves performance by loading selected properties on demand.' ); ?></p>
108+
<h4><?php _e( 'Semantic Markup' ); ?></h4>
109+
<p><?php _e( 'Themes can now choose improved HTML5 markup for comment forms, search forms, and comment lists.' ); ?></p>
107110
</div>
108111
<div class="last-feature">
109-
<h4><?php _e( 'Image Editing API' ); ?></h4>
110-
<p><?php _e( 'The <code>WP_Image_Editor</code> class abstracts image editing functionality such as cropping and scaling, and uses ImageMagick when available.' ); ?></p>
112+
<h4><?php _e( 'JavaScript Utilities' ); ?></h4>
113+
<p><?php _e( 'Handy JavaScript utilities ease common tasks like Ajax requests, templating, and Backbone view management.' ); ?></p>
111114
</div>
112115
</div>
113116

114117
<div class="feature-section col three-col">
115118
<div>
116-
<h4><?php _e( 'Multisite Improvements' ); ?></h4>
117-
<p><?php _e( '<code>switch_to_blog()</code> is now significantly faster and more reliable.' ); ?></p>
119+
<h4><?php _e( 'Shortcode Improvements' ); ?></h4>
120+
<p><?php _e( 'Search content for shortcodes with <code>has_shortcode()</code> and adjust shortcode attributes with a new filter.' ); ?></p>
118121
</div>
119122
<div>
120-
<h4><?php _e( 'XML-RPC API' ); ?></h4>
121-
<p><?php printf( __( 'The <a href="%s">WordPress API</a> is now always enabled, and supports fetching users, editing profiles, managing post revisions, and searching posts.' ), __( 'http://codex.wordpress.org/XML-RPC_WordPress_API' ) ); ?></p>
123+
<h4><?php _e( 'Revision Control' ); ?></h4>
124+
<p><?php _e( 'Fine-grained revision controls allow you to keep a different number of revisions for each post type.' ); ?></p>
122125
</div>
123126
<div class="last-feature">
124127
<h4><?php _e( 'External Libraries' ); ?></h4>
125-
<p><?php printf( __( 'WordPress now includes the <a href="%1$s">Underscore</a> and <a href="%2$s">Backbone</a> JavaScript libraries. TinyMCE, jQuery, jQuery UI, and SimplePie have all been updated to the latest versions.' ), 'http://underscorejs.org/', 'http://backbonejs.org/' ); ?></p>
128+
<p><?php
129+
/* translators: placeholders 2, 3 and 4 are version numbers */
130+
printf( __( 'New and updated libraries: <a href="%1$s">MediaElement.js</a>, jQuery %2$s, jQuery UI %3$s, jQuery Migrate, Backbone %4$s.' ), 'http://mediaelementjs.com/', '1.10.2', '1.10.3', '1.0' ); ?></p>
126131
</div>
127132
</div>
128133
</div>

wp-admin/admin-ajax.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
'save-widget', 'set-post-thumbnail', 'date_format', 'time_format', 'wp-fullscreen-save-post',
5757
'wp-remove-post-lock', 'dismiss-wp-pointer', 'upload-attachment', 'get-attachment',
5858
'query-attachments', 'save-attachment', 'save-attachment-compat', 'send-link-to-editor',
59-
'send-attachment-to-editor', 'save-attachment-order',
59+
'send-attachment-to-editor', 'save-attachment-order', 'heartbeat', 'get-revision-diffs',
6060
);
6161

6262
// Register core Ajax calls.
@@ -66,7 +66,7 @@
6666
if ( ! empty( $_POST['action'] ) && in_array( $_POST['action'], $core_actions_post ) )
6767
add_action( 'wp_ajax_' . $_POST['action'], 'wp_ajax_' . str_replace( '-', '_', $_POST['action'] ), 1 );
6868

69-
add_action( 'wp_ajax_nopriv_autosave', 'wp_ajax_nopriv_autosave', 1 );
69+
add_action( 'wp_ajax_nopriv_heartbeat', 'wp_ajax_nopriv_heartbeat', 1 );
7070

7171
if ( is_user_logged_in() )
7272
do_action( 'wp_ajax_' . $_REQUEST['action'] ); // Authenticated actions

wp-admin/admin-header.php

+2-3
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,8 @@
9898
</script>
9999

100100
<?php
101-
// If the customize-loader script is enqueued, make sure the customize
102-
// body classes are correct as early as possible.
103-
if ( wp_script_is( 'customize-loader', 'queue' ) && current_user_can( 'edit_theme_options' ) )
101+
// Make sure the customize body classes are correct as early as possible.
102+
if ( current_user_can( 'edit_theme_options' ) )
104103
wp_customize_support_script();
105104
?>
106105

wp-admin/admin.php

+2-4
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
do_action('after_db_upgrade');
4444
} elseif ( get_option('db_version') != $wp_db_version && empty($_POST) ) {
4545
if ( !is_multisite() ) {
46-
wp_redirect(admin_url('upgrade.php?_wp_http_referer=' . urlencode(stripslashes($_SERVER['REQUEST_URI']))));
46+
wp_redirect( admin_url( 'upgrade.php?_wp_http_referer=' . urlencode( wp_unslash( $_SERVER['REQUEST_URI'] ) ) ) );
4747
exit;
4848
} elseif ( apply_filters( 'do_mu_upgrade', true ) ) {
4949
/**
@@ -77,14 +77,12 @@
7777
$date_format = get_option('date_format');
7878
$time_format = get_option('time_format');
7979

80-
wp_reset_vars(array('profile', 'redirect', 'redirect_url', 'a', 'text', 'trackback', 'pingback'));
81-
8280
wp_enqueue_script( 'common' );
8381

8482
$editing = false;
8583

8684
if ( isset($_GET['page']) ) {
87-
$plugin_page = stripslashes($_GET['page']);
85+
$plugin_page = wp_unslash( $_GET['page'] );
8886
$plugin_page = plugin_basename($plugin_page);
8987
}
9088

wp-admin/async-upload.php

+2-3
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@
4747
$post = get_post( $id );
4848
if ( 'attachment' != $post->post_type )
4949
wp_die( __( 'Unknown post type.' ) );
50-
$post_type_object = get_post_type_object( 'attachment' );
51-
if ( ! current_user_can( $post_type_object->cap->edit_post, $id ) )
50+
if ( ! current_user_can( 'edit_post', $id ) )
5251
wp_die( __( 'You are not allowed to edit this item.' ) );
5352

5453
switch ( $_REQUEST['fetch'] ) {
@@ -57,7 +56,7 @@
5756
echo '<img class="pinkynail" src="' . esc_url( $thumb_url[0] ) . '" alt="" />';
5857
echo '<a class="edit-attachment" href="' . esc_url( get_edit_post_link( $id ) ) . '" target="_blank">' . _x( 'Edit', 'media item' ) . '</a>';
5958
$title = $post->post_title ? $post->post_title : wp_basename( $post->guid ); // title shouldn't ever be empty, but use filename just in cas.e
60-
echo '<div class="filename new"><span class="title">' . esc_html( wp_html_excerpt( $title, 60 ) ) . '</span></div>';
59+
echo '<div class="filename new"><span class="title">' . esc_html( wp_html_excerpt( $title, 60, '&hellip;' ) ) . '</span></div>';
6160
break;
6261
case 2 :
6362
add_filter('attachment_fields_to_edit', 'media_single_attachment_fields_to_edit', 10, 2);

wp-admin/credits.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ function _wp_credits_build_object_link( &$data ) {
5252

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

55-
<div class="about-text"><?php printf( __( 'Thank you for updating to the latest version! WordPress %s is more polished and enjoyable than ever before. We hope you like it.' ), $display_version ); ?></div>
55+
<div class="about-text"><?php printf( __( 'Thank you for updating to the latest version. WordPress %s makes your writing experience even better.' ), $display_version ); ?></div>
5656

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

0 commit comments

Comments
 (0)