Compare commits
21 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2888b91785 | ||
|
|
89a6328e88 | ||
|
|
3fd4cf12d1 | ||
|
|
ecd36854f2 | ||
|
|
00ff325f29 | ||
|
|
3c25793f2f | ||
|
|
503c727207 | ||
|
|
212716018d | ||
|
|
18deed9e05 | ||
|
|
35d53d8b31 | ||
|
|
6348d2a8d6 | ||
|
|
be60cf359a | ||
|
|
6f31fa6e29 | ||
|
|
0ee19cf7af | ||
|
|
b11819e607 | ||
|
|
253569c9a6 | ||
|
|
7673ac8a82 | ||
|
|
6d38b6875f | ||
|
|
6f422407c4 | ||
|
|
d003bceded | ||
|
|
f0ba342785 |
@@ -8,7 +8,7 @@
|
||||
<body>
|
||||
<h1 id="logo">
|
||||
<a href="http://wordpress.org/"><img alt="WordPress" src="wp-admin/images/wordpress-logo.png" width="250" height="68" /></a>
|
||||
<br /> Version 3.0.4
|
||||
<br /> Version 3.0.6
|
||||
</h1>
|
||||
<p style="text-align: center">Semantic Personal Publishing Platform</p>
|
||||
|
||||
@@ -102,7 +102,7 @@
|
||||
<p>WordPress is the official continuation of <a href="http://cafelog.com/">b2/cafélog</a>, which came from Michel V. The work has been continued by the <a href="http://wordpress.org/about/">WordPress developers</a>. If you would like to support WordPress, please consider <a href="http://wordpress.org/donate/" title="Donate to WordPress">donating</a>.</p>
|
||||
|
||||
<h1>Copyright</h1>
|
||||
<p>WordPress is released under the <abbr title="GNU Public License">GPL</abbr> (see <a href="license.txt">license.txt</a>).</p>
|
||||
<p>WordPress is free software, and is released under the terms of the <abbr title="GNU General Public License">GPL</abbr> version 2 or (at your option) any later version. See <a href="license.txt">license.txt</a>.</p>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
@@ -30,6 +30,13 @@ if ( !current_user_can('upload_files') )
|
||||
|
||||
// just fetch the detail form for that attachment
|
||||
if ( isset($_REQUEST['attachment_id']) && ($id = intval($_REQUEST['attachment_id'])) && $_REQUEST['fetch'] ) {
|
||||
$post = get_post( $id );
|
||||
if ( 'attachment' != $post->post_type )
|
||||
wp_die( __( 'Unknown post type.' ) );
|
||||
$post_type_object = get_post_type_object( 'attachment' );
|
||||
if ( ! current_user_can( $post_type_object->cap->edit_post, $id ) )
|
||||
wp_die( __( 'You are not allowed to edit this item.' ) );
|
||||
|
||||
if ( 2 == $_REQUEST['fetch'] ) {
|
||||
add_filter('attachment_fields_to_edit', 'media_single_attachment_fields_to_edit', 10, 2);
|
||||
echo get_media_item($id, array( 'send' => false, 'delete' => true ));
|
||||
|
||||
@@ -493,6 +493,7 @@ function media_upload_image() {
|
||||
$id = 0;
|
||||
|
||||
if ( isset($_POST['html-upload']) && !empty($_FILES) ) {
|
||||
check_admin_referer('media-form');
|
||||
// Upload File button was clicked
|
||||
$id = media_handle_upload('async-upload', $_REQUEST['post_id']);
|
||||
unset($_FILES);
|
||||
@@ -598,6 +599,7 @@ function media_upload_audio() {
|
||||
$id = 0;
|
||||
|
||||
if ( isset($_POST['html-upload']) && !empty($_FILES) ) {
|
||||
check_admin_referer('media-form');
|
||||
// Upload File button was clicked
|
||||
$id = media_handle_upload('async-upload', $_REQUEST['post_id']);
|
||||
unset($_FILES);
|
||||
@@ -656,6 +658,7 @@ function media_upload_video() {
|
||||
$id = 0;
|
||||
|
||||
if ( isset($_POST['html-upload']) && !empty($_FILES) ) {
|
||||
check_admin_referer('media-form');
|
||||
// Upload File button was clicked
|
||||
$id = media_handle_upload('async-upload', $_REQUEST['post_id']);
|
||||
unset($_FILES);
|
||||
@@ -714,6 +717,7 @@ function media_upload_file() {
|
||||
$id = 0;
|
||||
|
||||
if ( isset($_POST['html-upload']) && !empty($_FILES) ) {
|
||||
check_admin_referer('media-form');
|
||||
// Upload File button was clicked
|
||||
$id = media_handle_upload('async-upload', $_REQUEST['post_id']);
|
||||
unset($_FILES);
|
||||
|
||||
@@ -689,6 +689,8 @@ function get_post_meta_by_id( $mid ) {
|
||||
$mid = (int) $mid;
|
||||
|
||||
$meta = $wpdb->get_row( $wpdb->prepare("SELECT * FROM $wpdb->postmeta WHERE meta_id = %d", $mid) );
|
||||
if ( empty($meta) )
|
||||
return false;
|
||||
if ( is_serialized_string( $meta->meta_value ) )
|
||||
$meta->meta_value = maybe_unserialize( $meta->meta_value );
|
||||
return $meta;
|
||||
|
||||
@@ -1185,16 +1185,16 @@ function get_inline_data($post) {
|
||||
if ( ! current_user_can($post_type_object->cap->edit_post, $post->ID) )
|
||||
return;
|
||||
|
||||
$title = esc_attr( get_the_title( $post->ID ) );
|
||||
$title = htmlspecialchars( trim( $post->post_title ), ENT_QUOTES );
|
||||
|
||||
echo '
|
||||
<div class="hidden" id="inline_' . $post->ID . '">
|
||||
<div class="post_title">' . $title . '</div>
|
||||
<div class="post_name">' . apply_filters('editable_slug', $post->post_name) . '</div>
|
||||
<div class="post_author">' . $post->post_author . '</div>
|
||||
<div class="comment_status">' . $post->comment_status . '</div>
|
||||
<div class="ping_status">' . $post->ping_status . '</div>
|
||||
<div class="_status">' . $post->post_status . '</div>
|
||||
<div class="comment_status">' . esc_html( $post->comment_status ) . '</div>
|
||||
<div class="ping_status">' . esc_html( $post->ping_status ) . '</div>
|
||||
<div class="_status">' . esc_html( $post->post_status ) . '</div>
|
||||
<div class="jj">' . mysql2date( 'd', $post->post_date, false ) . '</div>
|
||||
<div class="mm">' . mysql2date( 'm', $post->post_date, false ) . '</div>
|
||||
<div class="aa">' . mysql2date( 'Y', $post->post_date, false ) . '</div>
|
||||
|
||||
@@ -274,7 +274,7 @@ function update_core($from, $to) {
|
||||
$mysql_version = $wpdb->db_version();
|
||||
$required_php_version = '4.3';
|
||||
$required_mysql_version = '4.1.2';
|
||||
$wp_version = '3.0.4';
|
||||
$wp_version = '3.0.6';
|
||||
$php_compat = version_compare( $php_version, $required_php_version, '>=' );
|
||||
$mysql_compat = version_compare( $mysql_version, $required_mysql_version, '>=' ) || file_exists( WP_CONTENT_DIR . '/db.php' );
|
||||
|
||||
|
||||
@@ -36,30 +36,39 @@ tagBox = {
|
||||
},
|
||||
|
||||
quickClicks : function(el) {
|
||||
var thetags = $('.the-tags', el), tagchecklist = $('.tagchecklist', el), current_tags;
|
||||
var thetags = $('.the-tags', el),
|
||||
tagchecklist = $('.tagchecklist', el),
|
||||
id = $(el).attr('id'),
|
||||
current_tags, disabled;
|
||||
|
||||
if ( !thetags.length )
|
||||
return;
|
||||
|
||||
var disabled = thetags.attr('disabled');
|
||||
disabled = thetags.attr('disabled');
|
||||
|
||||
current_tags = thetags.val().split(',');
|
||||
tagchecklist.empty();
|
||||
|
||||
$.each( current_tags, function( key, val ) {
|
||||
var txt, button_id, id = $(el).attr('id');
|
||||
var span, xbutton;
|
||||
|
||||
val = $.trim(val);
|
||||
if ( !val.match(/^\s+$/) && '' != val ) {
|
||||
button_id = id + '-check-num-' + key;
|
||||
if ( disabled )
|
||||
txt = '<span>' + val + '</span> ';
|
||||
else
|
||||
txt = '<span><a id="' + button_id + '" class="ntdelbutton">X</a> ' + val + '</span> ';
|
||||
tagchecklist.append(txt);
|
||||
if ( ! disabled )
|
||||
$( '#' + button_id ).click( function(){ tagBox.parseTags(this); });
|
||||
val = $.trim( val );
|
||||
|
||||
if ( ! val )
|
||||
return;
|
||||
|
||||
// Create a new span, and ensure the text is properly escaped.
|
||||
span = $('<span />').text( val );
|
||||
|
||||
// If tags editing isn't disabled, create the X button.
|
||||
if ( ! disabled ) {
|
||||
xbutton = $( '<a id="' + id + '-check-num-' + key + '" class="ntdelbutton">X</a>' );
|
||||
xbutton.click( function(){ tagBox.parseTags(this); });
|
||||
span.prepend(' ').prepend( xbutton );
|
||||
}
|
||||
|
||||
// Append the span to the tag list.
|
||||
tagchecklist.append( span );
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -35,6 +35,7 @@ if ( isset($_GET['inline']) ) {
|
||||
$errors = array();
|
||||
|
||||
if ( isset($_POST['html-upload']) && !empty($_FILES) ) {
|
||||
check_admin_referer('media-form');
|
||||
// Upload File button was clicked
|
||||
$id = media_handle_upload('async-upload', $_REQUEST['post_id']);
|
||||
unset($_FILES);
|
||||
|
||||
@@ -52,7 +52,12 @@ function press_it() {
|
||||
}
|
||||
}
|
||||
// set the post_content and status
|
||||
$quick['post_status'] = isset($_POST['publish']) ? 'publish' : 'draft';
|
||||
if ( isset( $_POST['publish'] ) && current_user_can( 'publish_posts' ) )
|
||||
$quick['post_status'] = 'publish';
|
||||
elseif ( isset( $_POST['review'] ) )
|
||||
$quick['post_status'] = 'pending';
|
||||
else
|
||||
$quick['post_status'] = 'draft';
|
||||
$quick['post_content'] = $content;
|
||||
// error handling for media_sideload
|
||||
if ( is_wp_error($upload) ) {
|
||||
|
||||
@@ -86,7 +86,7 @@ switch ( $step ) :
|
||||
wp_upgrade();
|
||||
|
||||
$backto = !empty($_GET['backto']) ? stripslashes( urldecode( $_GET['backto'] ) ) : __get_option( 'home' ) . '/';
|
||||
$backto = esc_url_raw( $backto );
|
||||
$backto = esc_url( $backto );
|
||||
$backto = wp_validate_redirect($backto, __get_option( 'home' ) . '/');
|
||||
?>
|
||||
<h2><?php _e( 'Upgrade Complete' ); ?></h2>
|
||||
|
||||
@@ -1,122 +1,53 @@
|
||||
# Translation of the WordPress theme Twenty Ten 1.1 by the WordPress team.
|
||||
# Copyright (C) 2010 the WordPress team
|
||||
# Copyright (C) 2010 Twenty Ten
|
||||
# This file is distributed under the same license as the Twenty Ten package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Twenty Ten 1.1\n"
|
||||
"Report-Msgid-Bugs-To: http://wordpress.org/tag/twentyten\n"
|
||||
"POT-Creation-Date: 2010-07-14 16:21+0000\n"
|
||||
"POT-Creation-Date: 2011-01-01 21:26:51+00:00\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
||||
|
||||
#: 404.php:16 loop.php:33
|
||||
msgid "Not Found"
|
||||
#. #-#-#-#-# twentyten.pot (Twenty Ten 1.1) #-#-#-#-#
|
||||
#. Theme URI of the plugin/theme
|
||||
#: footer.php:33
|
||||
msgid "http://wordpress.org/"
|
||||
msgstr ""
|
||||
|
||||
#: 404.php:18
|
||||
msgid ""
|
||||
"Apologies, but the page you requested could not be found. Perhaps searching "
|
||||
"will help."
|
||||
#: footer.php:34
|
||||
msgid "Semantic Personal Publishing Platform"
|
||||
msgstr ""
|
||||
|
||||
#: archive.php:33
|
||||
#, php-format
|
||||
msgid "Daily Archives: <span>%s</span>"
|
||||
msgstr ""
|
||||
|
||||
#: archive.php:35
|
||||
#, php-format
|
||||
msgid "Monthly Archives: <span>%s</span>"
|
||||
msgstr ""
|
||||
|
||||
#: archive.php:37
|
||||
#, php-format
|
||||
msgid "Yearly Archives: <span>%s</span>"
|
||||
msgstr ""
|
||||
|
||||
#: archive.php:39
|
||||
msgid "Blog Archives"
|
||||
msgstr ""
|
||||
|
||||
#: attachment.php:18
|
||||
#, php-format
|
||||
msgid "Return to %s"
|
||||
msgstr ""
|
||||
|
||||
#. translators: %s - title of parent post
|
||||
#: attachment.php:20
|
||||
#, php-format
|
||||
msgid "<span class=\"meta-nav\">←</span> %s"
|
||||
msgstr ""
|
||||
|
||||
#: attachment.php:29
|
||||
#, php-format
|
||||
msgid "<span class=\"%1$s\">By</span> %2$s"
|
||||
msgstr ""
|
||||
|
||||
#: attachment.php:33 functions.php:451
|
||||
#, php-format
|
||||
msgid "View all posts by %s"
|
||||
msgstr ""
|
||||
|
||||
#: attachment.php:40
|
||||
#, php-format
|
||||
msgid "<span class=\"%1$s\">Published</span> %2$s"
|
||||
msgstr ""
|
||||
|
||||
#: attachment.php:50
|
||||
#, php-format
|
||||
msgid "Full size is %s pixels"
|
||||
msgstr ""
|
||||
|
||||
#: attachment.php:53
|
||||
msgid "Link to full-size image"
|
||||
msgstr ""
|
||||
|
||||
#: attachment.php:60 attachment.php:107 loop.php:95 loop.php:118 loop.php:160
|
||||
#: onecolumn-page.php:27 page.php:32 single.php:53
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
#: attachment.php:100 functions.php:241 loop.php:110 loop.php:138
|
||||
msgid "Continue reading <span class=\"meta-nav\">→</span>"
|
||||
msgstr ""
|
||||
|
||||
#: attachment.php:101 loop.php:139 onecolumn-page.php:26 page.php:31
|
||||
#: single.php:31
|
||||
msgid "Pages:"
|
||||
msgstr ""
|
||||
|
||||
#: author.php:27
|
||||
#, php-format
|
||||
msgid "Author Archives: %s"
|
||||
msgstr ""
|
||||
|
||||
#: author.php:37 single.php:40
|
||||
#, php-format
|
||||
msgid "About %s"
|
||||
#: footer.php:35
|
||||
msgid "Proudly powered by %s."
|
||||
msgstr ""
|
||||
|
||||
#: category.php:16
|
||||
#, php-format
|
||||
msgid "Category Archives: %s"
|
||||
msgstr ""
|
||||
|
||||
#: sidebar.php:27
|
||||
msgid "Archives"
|
||||
msgstr ""
|
||||
|
||||
#: sidebar.php:34
|
||||
msgid "Meta"
|
||||
msgstr ""
|
||||
|
||||
#: tag.php:16
|
||||
msgid "Tag Archives: %s"
|
||||
msgstr ""
|
||||
|
||||
#: comments.php:18
|
||||
msgid ""
|
||||
"This post is password protected. Enter the password to view any comments."
|
||||
msgstr ""
|
||||
|
||||
#: comments.php:35
|
||||
#, php-format
|
||||
msgid "One Response to %2$s"
|
||||
msgid_plural "%1$s Responses to %2$s"
|
||||
msgstr[0] ""
|
||||
@@ -134,67 +65,127 @@ msgstr ""
|
||||
msgid "Comments are closed."
|
||||
msgstr ""
|
||||
|
||||
#. #-#-#-#-# twentyten.pot (Twenty Ten 1.1) #-#-#-#-#
|
||||
#. Theme URI of the plugin/theme
|
||||
#: footer.php:33
|
||||
msgid "http://wordpress.org/"
|
||||
#: 404.php:16 loop.php:33
|
||||
msgid "Not Found"
|
||||
msgstr ""
|
||||
|
||||
#: footer.php:34
|
||||
msgid "Semantic Personal Publishing Platform"
|
||||
#: 404.php:18
|
||||
msgid ""
|
||||
"Apologies, but the page you requested could not be found. Perhaps searching "
|
||||
"will help."
|
||||
msgstr ""
|
||||
|
||||
#: footer.php:35
|
||||
#, php-format
|
||||
msgid "Proudly powered by %s."
|
||||
#: loop.php:25 loop.php:173
|
||||
msgid "<span class=\"meta-nav\">←</span> Older posts"
|
||||
msgstr ""
|
||||
|
||||
#: loop.php:26 loop.php:174
|
||||
msgid "Newer posts <span class=\"meta-nav\">→</span>"
|
||||
msgstr ""
|
||||
|
||||
#: loop.php:35
|
||||
msgid ""
|
||||
"Apologies, but no results were found for the requested archive. Perhaps "
|
||||
"searching will help find a related post."
|
||||
msgstr ""
|
||||
|
||||
#: loop.php:60 loop.php:92
|
||||
msgctxt "gallery category slug"
|
||||
msgid "gallery"
|
||||
msgstr ""
|
||||
|
||||
#: loop.php:62 loop.php:83 loop.php:126
|
||||
msgid "Permalink to %s"
|
||||
msgstr ""
|
||||
|
||||
#: loop.php:82
|
||||
msgid "This gallery contains <a %1$s>%2$s photos</a>."
|
||||
msgstr ""
|
||||
|
||||
#: loop.php:92
|
||||
msgid "View posts in the Gallery category"
|
||||
msgstr ""
|
||||
|
||||
#: loop.php:92
|
||||
msgid "More Galleries"
|
||||
msgstr ""
|
||||
|
||||
#: loop.php:94 loop.php:117 loop.php:159
|
||||
msgid "Leave a comment"
|
||||
msgstr ""
|
||||
|
||||
#: loop.php:94 loop.php:117 loop.php:159
|
||||
msgid "1 Comment"
|
||||
msgstr ""
|
||||
|
||||
#: loop.php:94 loop.php:117 loop.php:159
|
||||
msgid "% Comments"
|
||||
msgstr ""
|
||||
|
||||
#: loop.php:95 loop.php:118 loop.php:160 page.php:32 attachment.php:60
|
||||
#: attachment.php:107 onecolumn-page.php:27 single.php:53
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
#: loop.php:101
|
||||
msgctxt "asides category slug"
|
||||
msgid "asides"
|
||||
msgstr ""
|
||||
|
||||
#: loop.php:110 loop.php:138 functions.php:241 attachment.php:100
|
||||
msgid "Continue reading <span class=\"meta-nav\">→</span>"
|
||||
msgstr ""
|
||||
|
||||
#: loop.php:139 page.php:31 attachment.php:101 onecolumn-page.php:26
|
||||
#: single.php:31
|
||||
msgid "Pages:"
|
||||
msgstr ""
|
||||
|
||||
#: loop.php:146
|
||||
msgid "<span class=\"%1$s\">Posted in</span> %2$s"
|
||||
msgstr ""
|
||||
|
||||
#: loop.php:155
|
||||
msgid "<span class=\"%1$s\">Tagged</span> %2$s"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:97
|
||||
msgid "Primary Navigation"
|
||||
msgstr ""
|
||||
|
||||
#. translators: header image description
|
||||
#: functions.php:133
|
||||
msgid "Berries"
|
||||
msgstr ""
|
||||
|
||||
#. translators: header image description
|
||||
#: functions.php:139
|
||||
msgid "Cherry Blossoms"
|
||||
msgstr ""
|
||||
|
||||
#. translators: header image description
|
||||
#: functions.php:145
|
||||
msgid "Concave"
|
||||
msgstr ""
|
||||
|
||||
#. translators: header image description
|
||||
#: functions.php:151
|
||||
msgid "Fern"
|
||||
msgstr ""
|
||||
|
||||
#. translators: header image description
|
||||
#: functions.php:157
|
||||
msgid "Forest Floor"
|
||||
msgstr ""
|
||||
|
||||
#. translators: header image description
|
||||
#: functions.php:163
|
||||
msgid "Inkwell"
|
||||
msgstr ""
|
||||
|
||||
#. translators: header image description
|
||||
#: functions.php:169
|
||||
msgid "Path"
|
||||
msgstr ""
|
||||
|
||||
#. translators: header image description
|
||||
#: functions.php:175
|
||||
msgid "Sunset"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:308
|
||||
#, php-format
|
||||
msgid "%s <span class=\"says\">says:</span>"
|
||||
msgstr ""
|
||||
|
||||
@@ -202,9 +193,7 @@ msgstr ""
|
||||
msgid "Your comment is awaiting moderation."
|
||||
msgstr ""
|
||||
|
||||
#. translators: 1: date, 2: time
|
||||
#: functions.php:318
|
||||
#, php-format
|
||||
msgid "%1$s at %2$s"
|
||||
msgstr ""
|
||||
|
||||
@@ -265,35 +254,34 @@ msgid "The fourth footer widget area"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:442
|
||||
#, php-format
|
||||
msgid ""
|
||||
"<span class=\"%1$s\">Posted on</span> %2$s <span class=\"meta-sep\">by</"
|
||||
"span> %3$s"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:451 attachment.php:33
|
||||
msgid "View all posts by %s"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:468
|
||||
#, php-format
|
||||
msgid ""
|
||||
"This entry was posted in %1$s and tagged %2$s. Bookmark the <a href=\"%3$s\" "
|
||||
"title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>."
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:470
|
||||
#, php-format
|
||||
msgid ""
|
||||
"This entry was posted in %1$s. Bookmark the <a href=\"%3$s\" title="
|
||||
"\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>."
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:472
|
||||
#, php-format
|
||||
msgid ""
|
||||
"Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark"
|
||||
"\">permalink</a>."
|
||||
msgstr ""
|
||||
|
||||
#: header.php:33
|
||||
#, php-format
|
||||
msgid "Page %s"
|
||||
msgstr ""
|
||||
|
||||
@@ -301,72 +289,39 @@ msgstr ""
|
||||
msgid "Skip to content"
|
||||
msgstr ""
|
||||
|
||||
#: loop.php:25 loop.php:173
|
||||
msgid "<span class=\"meta-nav\">←</span> Older posts"
|
||||
#: author.php:27
|
||||
msgid "Author Archives: %s"
|
||||
msgstr ""
|
||||
|
||||
#: loop.php:26 loop.php:174
|
||||
msgid "Newer posts <span class=\"meta-nav\">→</span>"
|
||||
#: author.php:37 single.php:40
|
||||
msgid "About %s"
|
||||
msgstr ""
|
||||
|
||||
#: loop.php:35
|
||||
msgid ""
|
||||
"Apologies, but no results were found for the requested archive. Perhaps "
|
||||
"searching will help find a related post."
|
||||
#: attachment.php:18
|
||||
msgid "Return to %s"
|
||||
msgstr ""
|
||||
|
||||
#: loop.php:60 loop.php:92
|
||||
msgctxt "gallery category slug"
|
||||
msgid "gallery"
|
||||
#: attachment.php:20
|
||||
msgid "<span class=\"meta-nav\">←</span> %s"
|
||||
msgstr ""
|
||||
|
||||
#: loop.php:62 loop.php:83 loop.php:126
|
||||
#, php-format
|
||||
msgid "Permalink to %s"
|
||||
#: attachment.php:29
|
||||
msgid "<span class=\"%1$s\">By</span> %2$s"
|
||||
msgstr ""
|
||||
|
||||
#: loop.php:82
|
||||
#, php-format
|
||||
msgid "This gallery contains <a %1$s>%2$s photos</a>."
|
||||
#: attachment.php:40
|
||||
msgid "<span class=\"%1$s\">Published</span> %2$s"
|
||||
msgstr ""
|
||||
|
||||
#: loop.php:92
|
||||
msgid "View posts in the Gallery category"
|
||||
#: attachment.php:50
|
||||
msgid "Full size is %s pixels"
|
||||
msgstr ""
|
||||
|
||||
#: loop.php:92
|
||||
msgid "More Galleries"
|
||||
msgstr ""
|
||||
|
||||
#: loop.php:94 loop.php:117 loop.php:159
|
||||
msgid "Leave a comment"
|
||||
msgstr ""
|
||||
|
||||
#: loop.php:94 loop.php:117 loop.php:159
|
||||
msgid "1 Comment"
|
||||
msgstr ""
|
||||
|
||||
#: loop.php:94 loop.php:117 loop.php:159
|
||||
msgid "% Comments"
|
||||
msgstr ""
|
||||
|
||||
#: loop.php:101
|
||||
msgctxt "asides category slug"
|
||||
msgid "asides"
|
||||
msgstr ""
|
||||
|
||||
#: loop.php:146
|
||||
#, php-format
|
||||
msgid "<span class=\"%1$s\">Posted in</span> %2$s"
|
||||
msgstr ""
|
||||
|
||||
#: loop.php:155
|
||||
#, php-format
|
||||
msgid "<span class=\"%1$s\">Tagged</span> %2$s"
|
||||
#: attachment.php:53
|
||||
msgid "Link to full-size image"
|
||||
msgstr ""
|
||||
|
||||
#: search.php:16
|
||||
#, php-format
|
||||
msgid "Search Results for: %s"
|
||||
msgstr ""
|
||||
|
||||
@@ -380,12 +335,20 @@ msgid ""
|
||||
"different keywords."
|
||||
msgstr ""
|
||||
|
||||
#: sidebar.php:27
|
||||
msgid "Archives"
|
||||
#: archive.php:33
|
||||
msgid "Daily Archives: <span>%s</span>"
|
||||
msgstr ""
|
||||
|
||||
#: sidebar.php:34
|
||||
msgid "Meta"
|
||||
#: archive.php:35
|
||||
msgid "Monthly Archives: <span>%s</span>"
|
||||
msgstr ""
|
||||
|
||||
#: archive.php:37
|
||||
msgid "Yearly Archives: <span>%s</span>"
|
||||
msgstr ""
|
||||
|
||||
#: archive.php:39
|
||||
msgid "Blog Archives"
|
||||
msgstr ""
|
||||
|
||||
#: single.php:18 single.php:58
|
||||
@@ -399,15 +362,9 @@ msgid "→"
|
||||
msgstr ""
|
||||
|
||||
#: single.php:44
|
||||
#, php-format
|
||||
msgid "View all posts by %s <span class=\"meta-nav\">→</span>"
|
||||
msgstr ""
|
||||
|
||||
#: tag.php:16
|
||||
#, php-format
|
||||
msgid "Tag Archives: %s"
|
||||
msgstr ""
|
||||
|
||||
#. Theme Name of the plugin/theme
|
||||
msgid "Twenty Ten"
|
||||
msgstr ""
|
||||
|
||||
@@ -31,10 +31,12 @@ foreach ( array( 'pre_term_description', 'pre_link_description', 'pre_link_notes
|
||||
add_filter( $filter, 'wp_filter_kses' );
|
||||
}
|
||||
|
||||
// Kses only for textarea saves displays
|
||||
// Kses only for textarea admin displays
|
||||
foreach ( array( 'term_description', 'link_description', 'link_notes', 'user_description' ) as $filter ) {
|
||||
add_filter( $filter, 'wp_kses_data' );
|
||||
}
|
||||
if ( is_admin() )
|
||||
add_filter( 'comment_text', 'wp_kses_post' );
|
||||
|
||||
// Email saves
|
||||
foreach ( array( 'pre_comment_author_email', 'pre_user_email' ) as $filter ) {
|
||||
@@ -73,6 +75,9 @@ foreach ( array( 'pre_term_slug' ) as $filter ) {
|
||||
foreach ( array( 'pre_post_type' ) as $filter ) {
|
||||
add_filter( $filter, 'sanitize_user' );
|
||||
}
|
||||
foreach ( array( 'pre_post_status', 'pre_post_comment_status', 'pre_post_ping_status' ) as $filter ) {
|
||||
add_filter( $filter, 'sanitize_key' );
|
||||
}
|
||||
|
||||
// Places to balance tags on input
|
||||
foreach ( array( 'content_save_pre', 'excerpt_save_pre', 'comment_save_pre', 'pre_comment_content' ) as $filter ) {
|
||||
|
||||
@@ -1,26 +1,33 @@
|
||||
<?php
|
||||
/**
|
||||
* HTML/XHTML filter that only allows some elements and attributes
|
||||
* kses 0.2.2 - HTML/XHTML filter that only allows some elements and attributes
|
||||
* Copyright (C) 2002, 2003, 2005 Ulf Harnhammar
|
||||
*
|
||||
* This program is free software and open source software; you can redistribute
|
||||
* it and/or modify it under the terms of the GNU General Public License as
|
||||
* published by the Free Software Foundation; either version 2 of the License,
|
||||
* or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along
|
||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or visit
|
||||
* http://www.gnu.org/licenses/gpl.html
|
||||
*
|
||||
* [kses strips evil scripts!]
|
||||
*
|
||||
* Added wp_ prefix to avoid conflicts with existing kses users
|
||||
*
|
||||
* @version 0.2.2
|
||||
* @copyright (C) 2002, 2003, 2005
|
||||
* @author Ulf Harnhammar <metaur@users.sourceforge.net>
|
||||
* @author Ulf Harnhammar <http://advogato.org/person/metaur/>
|
||||
*
|
||||
* @package External
|
||||
* @subpackage KSES
|
||||
*
|
||||
* @internal
|
||||
* *** CONTACT INFORMATION ***
|
||||
* E-mail: metaur at users dot sourceforge dot net
|
||||
* Web page: http://sourceforge.net/projects/kses
|
||||
* Paper mail: Ulf Harnhammar
|
||||
* Ymergatan 17 C
|
||||
* 753 25 Uppsala
|
||||
* SWEDEN
|
||||
*
|
||||
* [kses strips evil scripts!]
|
||||
*/
|
||||
|
||||
/**
|
||||
|
||||
@@ -2215,7 +2215,7 @@ function wp_shortlink_wp_head() {
|
||||
if ( empty( $shortlink ) )
|
||||
return;
|
||||
|
||||
echo "<link rel='shortlink' href='" . esc_url_raw( $shortlink ) . "' />\n";
|
||||
echo "<link rel='shortlink' href='" . esc_url( $shortlink ) . "' />\n";
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -825,7 +825,7 @@ function check_admin_referer($action = -1, $query_arg = '_wpnonce') {
|
||||
$adminurl = strtolower(admin_url());
|
||||
$referer = strtolower(wp_get_referer());
|
||||
$result = isset($_REQUEST[$query_arg]) ? wp_verify_nonce($_REQUEST[$query_arg], $action) : false;
|
||||
if ( !$result && !(-1 == $action && strpos($referer, $adminurl) !== false) ) {
|
||||
if ( !$result && !(-1 == $action && strpos($referer, $adminurl) === 0) ) {
|
||||
wp_nonce_ays($action);
|
||||
die();
|
||||
}
|
||||
|
||||
@@ -275,7 +275,7 @@ function wp_default_scripts( &$scripts ) {
|
||||
$scripts->add( 'postbox', "/wp-admin/js/postbox$suffix.js", array('jquery-ui-sortable'), '20091012' );
|
||||
$scripts->add_data( 'postbox', 'group', 1 );
|
||||
|
||||
$scripts->add( 'post', "/wp-admin/js/post$suffix.js", array('suggest', 'wp-lists', 'postbox'), '20100526' );
|
||||
$scripts->add( 'post', "/wp-admin/js/post$suffix.js", array('suggest', 'wp-lists', 'postbox'), '20110203' );
|
||||
$scripts->add_data( 'post', 'group', 1 );
|
||||
$scripts->localize( 'post', 'postL10n', array(
|
||||
'tagsUsed' => __('Tags used on this post:'),
|
||||
|
||||
@@ -1,14 +1,28 @@
|
||||
<?php
|
||||
/**
|
||||
* This holds the version number in a separate file so we can bump it without cluttering the SVN
|
||||
*/
|
||||
/*
|
||||
WordPress - Web publishing software
|
||||
|
||||
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 the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The WordPress version string
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '3.0.4';
|
||||
$wp_version = '3.0.6';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
||||
Reference in New Issue
Block a user