Make WordPress Core


Ignore:
Location:
branches/3.0
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/readme.html

    r17175 r17420  
    99<h1 id="logo">
    1010    <a href="http://wordpress.org/"><img alt="WordPress" src="wp-admin/images/wordpress-logo.png" width="250" height="68" /></a>
    11     <br /> Version 3.0.4
     11    <br /> Version 3.0.5
    1212</h1>
    1313<p style="text-align: center">Semantic Personal Publishing Platform</p>
     
    103103
    104104<h1>Copyright</h1>
    105 <p>WordPress is released under the <abbr title="GNU Public License">GPL</abbr> (see <a href="license.txt">license.txt</a>).</p>
     105<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>
    106106
    107107
  • branches/3.0/wp-admin/async-upload.php

    r17175 r17420  
    3131// just fetch the detail form for that attachment
    3232if ( isset($_REQUEST['attachment_id']) && ($id = intval($_REQUEST['attachment_id'])) && $_REQUEST['fetch'] ) {
     33    $post = get_post( $id );
     34    if ( 'attachment' != $post->post_type )
     35        wp_die( __( 'Unknown post type.' ) );
     36    $post_type_object = get_post_type_object( 'attachment' );
     37    if ( ! current_user_can( $post_type_object->cap->edit_post, $id ) )
     38        wp_die( __( 'You are not allowed to edit this item.' ) );
     39
    3340    if ( 2 == $_REQUEST['fetch'] ) {
    3441        add_filter('attachment_fields_to_edit', 'media_single_attachment_fields_to_edit', 10, 2);
  • branches/3.0/wp-admin/includes/post.php

    r17175 r17420  
    690690
    691691    $meta = $wpdb->get_row( $wpdb->prepare("SELECT * FROM $wpdb->postmeta WHERE meta_id = %d", $mid) );
     692    if ( empty($meta) )
     693        return false;
    692694    if ( is_serialized_string( $meta->meta_value ) )
    693695        $meta->meta_value = maybe_unserialize( $meta->meta_value );
  • branches/3.0/wp-admin/includes/template.php

    r17175 r17420  
    11861186        return;
    11871187
    1188     $title = esc_attr( get_the_title( $post->ID ) );
     1188    $title = htmlspecialchars( trim( $post->post_title ), ENT_QUOTES );
    11891189
    11901190    echo '
     
    11931193    <div class="post_name">' . apply_filters('editable_slug', $post->post_name) . '</div>
    11941194    <div class="post_author">' . $post->post_author . '</div>
    1195     <div class="comment_status">' . $post->comment_status . '</div>
    1196     <div class="ping_status">' . $post->ping_status . '</div>
    1197     <div class="_status">' . $post->post_status . '</div>
     1195    <div class="comment_status">' . esc_html( $post->comment_status ) . '</div>
     1196    <div class="ping_status">' . esc_html( $post->ping_status ) . '</div>
     1197    <div class="_status">' . esc_html( $post->post_status ) . '</div>
    11981198    <div class="jj">' . mysql2date( 'd', $post->post_date, false ) . '</div>
    11991199    <div class="mm">' . mysql2date( 'm', $post->post_date, false ) . '</div>
  • branches/3.0/wp-admin/includes/update-core.php

    r17175 r17420  
    275275    $required_php_version = '4.3';
    276276    $required_mysql_version = '4.1.2';
    277     $wp_version = '3.0.4';
     277    $wp_version = '3.0.5';
    278278    $php_compat     = version_compare( $php_version, $required_php_version, '>=' );
    279279    $mysql_compat   = version_compare( $mysql_version, $required_mysql_version, '>=' ) || file_exists( WP_CONTENT_DIR . '/db.php' );
  • branches/3.0/wp-admin/js/post.dev.js

    r17175 r17420  
    3737
    3838    quickClicks : function(el) {
    39         var thetags = $('.the-tags', el), tagchecklist = $('.tagchecklist', el), current_tags;
     39        var thetags = $('.the-tags', el),
     40            tagchecklist = $('.tagchecklist', el),
     41            id = $(el).attr('id'),
     42            current_tags, disabled;
    4043
    4144        if ( !thetags.length )
    4245            return;
    4346
    44         var disabled = thetags.attr('disabled');
     47        disabled = thetags.attr('disabled');
    4548
    4649        current_tags = thetags.val().split(',');
     
    4851
    4952        $.each( current_tags, function( key, val ) {
    50             var txt, button_id, id = $(el).attr('id');
    51 
    52             val = $.trim(val);
    53             if ( !val.match(/^\s+$/) && '' != val ) {
    54                 button_id = id + '-check-num-' + key;
    55                 if ( disabled )
    56                     txt = '<span>' + val + '</span> ';
    57                 else
    58                     txt = '<span><a id="' + button_id + '" class="ntdelbutton">X</a>&nbsp;' + val + '</span> ';
    59                 tagchecklist.append(txt);
    60                 if ( ! disabled )
    61                     $( '#' + button_id ).click( function(){ tagBox.parseTags(this); });
    62             }
     53            var span, xbutton;
     54
     55            val = $.trim( val );
     56
     57            if ( ! val )
     58                return;
     59
     60            // Create a new span, and ensure the text is properly escaped.
     61            span = $('<span />').text( val );
     62
     63            // If tags editing isn't disabled, create the X button.
     64            if ( ! disabled ) {
     65                xbutton = $( '<a id="' + id + '-check-num-' + key + '" class="ntdelbutton">X</a>' );
     66                xbutton.click( function(){ tagBox.parseTags(this); });
     67                span.prepend('&nbsp;').prepend( xbutton );
     68            }
     69
     70            // Append the span to the tag list.
     71            tagchecklist.append( span );
    6372        });
    6473    },
  • branches/3.0/wp-admin/js/post.js

    r17175 r17420  
    1 var tagBox,commentsBox,editPermalink,makeSlugeditClickable,WPSetThumbnailHTML,WPSetThumbnailID,WPRemoveThumbnail;function array_unique_noempty(b){var c=[];jQuery.each(b,function(a,d){d=jQuery.trim(d);if(d&&jQuery.inArray(d,c)==-1){c.push(d)}});return c}(function(a){tagBox={clean:function(b){return b.replace(/\s*,\s*/g,",").replace(/,+/g,",").replace(/[,\s]+$/,"").replace(/^[,\s]+/,"")},parseTags:function(e){var h=e.id,b=h.split("-check-num-")[1],d=a(e).closest(".tagsdiv"),g=d.find(".the-tags"),c=g.val().split(","),f=[];delete c[b];a.each(c,function(i,j){j=a.trim(j);if(j){f.push(j)}});g.val(this.clean(f.join(",")));this.quickClicks(d);return false},quickClicks:function(d){var f=a(".the-tags",d),e=a(".tagchecklist",d),b;if(!f.length){return}var c=f.attr("disabled");b=f.val().split(",");e.empty();a.each(b,function(i,j){var g,h,k=a(d).attr("id");j=a.trim(j);if(!j.match(/^\s+$/)&&""!=j){h=k+"-check-num-"+i;if(c){g="<span>"+j+"</span> "}else{g='<span><a id="'+h+'" class="ntdelbutton">X</a>&nbsp;'+j+"</span> "}e.append(g);if(!c){a("#"+h).click(function(){tagBox.parseTags(this)})}}})},flushTags:function(e,b,g){b=b||false;var i,c=a(".the-tags",e),h=a("input.newtag",e),d;i=b?a(b).text():h.val();tagsval=c.val();d=tagsval?tagsval+","+i:i;d=this.clean(d);d=array_unique_noempty(d.split(",")).join(",");c.val(d);this.quickClicks(e);if(!b){h.val("")}if("undefined"==typeof(g)){h.focus()}return false},get:function(c){var b=c.substr(c.indexOf("-")+1);a.post(ajaxurl,{action:"get-tagcloud",tax:b},function(e,d){if(0==e||"success"!=d){e=wpAjax.broken}e=a('<p id="tagcloud-'+b+'" class="the-tagcloud">'+e+"</p>");a("a",e).click(function(){tagBox.flushTags(a(this).closest(".inside").children(".tagsdiv"),this);return false});a("#"+c).after(e)})},init:function(){var b=this,c=a("div.ajaxtag");a(".tagsdiv").each(function(){tagBox.quickClicks(this)});a("input.tagadd",c).click(function(){b.flushTags(a(this).closest(".tagsdiv"))});a("div.taghint",c).click(function(){a(this).css("visibility","hidden").parent().siblings(".newtag").focus()});a("input.newtag",c).blur(function(){if(this.value==""){a(this).parent().siblings(".taghint").css("visibility","")}}).focus(function(){a(this).parent().siblings(".taghint").css("visibility","hidden")}).keyup(function(d){if(13==d.which){tagBox.flushTags(a(this).closest(".tagsdiv"));return false}}).keypress(function(d){if(13==d.which){d.preventDefault();return false}}).each(function(){var d=a(this).closest("div.tagsdiv").attr("id");a(this).suggest(ajaxurl+"?action=ajax-tag-search&tax="+d,{delay:500,minchars:2,multiple:true,multipleSep:","})});a("#post").submit(function(){a("div.tagsdiv").each(function(){tagBox.flushTags(this,false,1)})});a("a.tagcloud-link").click(function(){tagBox.get(a(this).attr("id"));a(this).unbind().click(function(){a(this).siblings(".the-tagcloud").toggle();return false});return false})}};commentsBox={st:0,get:function(d,c){var b=this.st,e;if(!c){c=20}this.st+=c;this.total=d;a("#commentsdiv img.waiting").show();e={action:"get-comments",mode:"single",_ajax_nonce:a("#add_comment_nonce").val(),post_ID:a("#post_ID").val(),start:b,num:c};a.post(ajaxurl,e,function(f){f=wpAjax.parseAjaxResponse(f);a("#commentsdiv .widefat").show();a("#commentsdiv img.waiting").hide();if("object"==typeof f&&f.responses[0]){a("#the-comment-list").append(f.responses[0].data);theList=theExtraList=null;a("a[className*=':']").unbind();setCommentsList();if(commentsBox.st>commentsBox.total){a("#show-comments").hide()}else{a("#show-comments").html(postL10n.showcomm)}return}else{if(1==f){a("#show-comments").parent().html(postL10n.endcomm);return}}a("#the-comment-list").append('<tr><td colspan="2">'+wpAjax.broken+"</td></tr>")});return false}};WPSetThumbnailHTML=function(b){a(".inside","#postimagediv").html(b)};WPSetThumbnailID=function(c){var b=a("input[value=_thumbnail_id]","#list-table");if(b.size()>0){a("#meta\\["+b.attr("id").match(/[0-9]+/)+"\\]\\[value\\]").text(c)}};WPRemoveThumbnail=function(b){a.post(ajaxurl,{action:"set-post-thumbnail",post_id:a("#post_ID").val(),thumbnail_id:-1,_ajax_nonce:b,cookie:encodeURIComponent(document.cookie)},function(c){if(c=="0"){alert(setPostThumbnailL10n.error)}else{WPSetThumbnailHTML(c)}})}})(jQuery);jQuery(document).ready(function(e){var b,a,f="";postboxes.add_postbox_toggles(pagenow);if(e("#tagsdiv-post_tag").length){tagBox.init()}else{e("#side-sortables, #normal-sortables, #advanced-sortables").children("div.postbox").each(function(){if(this.id.indexOf("tagsdiv-")===0){tagBox.init();return false}})}e(".categorydiv").each(function(){var l=e(this).attr("id"),h=false,k,m,j,g,i;j=l.split("-");j.shift();g=j.join("-");i=g+"_tab";if(g=="category"){i="cats"}e("a","#"+g+"-tabs").click(function(){var n=e(this).attr("href");e(this).parent().addClass("tabs").siblings("li").removeClass("tabs");e("#"+g+"-tabs").siblings(".tabs-panel").hide();e(n).show();if("#"+g+"-all"==n){deleteUserSetting(i)}else{setUserSetting(i,"pop")}return false});if(getUserSetting(i)){e('a[href="#'+g+'-pop"]',"#"+g+"-tabs").click()}e("#new"+g).one("focus",function(){e(this).val("").removeClass("form-input-tip")});e("#"+g+"-add-submit").click(function(){e("#new"+g).focus()});k=function(){if(h){return}h=true;var n=jQuery(this),p=n.is(":checked"),o=n.val().toString();e("#in-"+g+"-"+o+", #in-"+g+"-category-"+o).attr("checked",p);h=false};catAddBefore=function(n){if(!e("#new"+g).val()){return false}n.data+="&"+e(":checked","#"+g+"checklist").serialize();return n};m=function(q,p){var o,n=e("#new"+g+"_parent");if("undefined"!=p.parsed.responses[0]&&(o=p.parsed.responses[0].supplemental.newcat_parent)){n.before(o);n.remove()}};e("#"+g+"checklist").wpList({alt:"",response:g+"-ajax-response",addBefore:catAddBefore,addAfter:m});e("#"+g+"-add-toggle").click(function(){e("#"+g+"-adder").toggleClass("wp-hidden-children");e('a[href="#'+g+'-all"]',"#"+g+"-tabs").click();e("#new"+g).focus();return false});e("#"+g+"checklist li.popular-category :checkbox, #"+g+"checklist-pop :checkbox").live("click",function(){var n=e(this),p=n.is(":checked"),o=n.val();if(o&&n.parents("#taxonomy-"+g).length){e("#in-"+g+"-"+o+", #in-popular-"+g+"-"+o).attr("checked",p)}})});if(e("#postcustom").length){e("#the-list").wpList({addAfter:function(g,h){e("table#list-table").show()},addBefore:function(g){g.data+="&post_id="+e("#post_ID").val();return g}})}if(e("#submitdiv").length){b=e("#timestamp").html();a=e("#post-visibility-display").html();function d(){var g=e("#post-visibility-select");if(e("input:radio:checked",g).val()!="public"){e("#sticky").attr("checked",false);e("#sticky-span").hide()}else{e("#sticky-span").show()}if(e("input:radio:checked",g).val()!="password"){e("#password-span").hide()}else{e("#password-span").show()}}function c(){var n,p,h,r,o="page"==pagenow||"page-new"==pagenow,q=e("#post_status"),i=e("option[value=publish]",q),g=e("#aa").val(),l=e("#mm").val(),m=e("#jj").val(),k=e("#hh").val(),j=e("#mn").val();n=new Date(g,l-1,m,k,j);p=new Date(e("#hidden_aa").val(),e("#hidden_mm").val()-1,e("#hidden_jj").val(),e("#hidden_hh").val(),e("#hidden_mn").val());h=new Date(e("#cur_aa").val(),e("#cur_mm").val()-1,e("#cur_jj").val(),e("#cur_hh").val(),e("#cur_mn").val());if(n.getFullYear()!=g||(1+n.getMonth())!=l||n.getDate()!=m||n.getMinutes()!=j){e(".timestamp-wrap","#timestampdiv").addClass("form-invalid");return false}else{e(".timestamp-wrap","#timestampdiv").removeClass("form-invalid")}if(n>h&&e("#original_post_status").val()!="future"){r=postL10n.publishOnFuture;e("#publish").val(postL10n.schedule)}else{if(n<=h&&e("#original_post_status").val()!="publish"){r=postL10n.publishOn;e("#publish").val(postL10n.publish)}else{r=postL10n.publishOnPast;if(o){e("#publish").val(postL10n.updatePage)}else{e("#publish").val(postL10n.updatePost)}}}if(p.toUTCString()==n.toUTCString()){e("#timestamp").html(b)}else{e("#timestamp").html(r+" <b>"+e("option[value="+e("#mm").val()+"]","#mm").text()+" "+m+", "+g+" @ "+k+":"+j+"</b> ")}if(e("input:radio:checked","#post-visibility-select").val()=="private"){if(o){e("#publish").val(postL10n.updatePage)}else{e("#publish").val(postL10n.updatePost)}if(i.length==0){q.append('<option value="publish">'+postL10n.privatelyPublished+"</option>")}else{i.html(postL10n.privatelyPublished)}e("option[value=publish]",q).attr("selected",true);e(".edit-post-status","#misc-publishing-actions").hide()}else{if(e("#original_post_status").val()=="future"||e("#original_post_status").val()=="draft"){if(i.length){i.remove();q.val(e("#hidden_post_status").val())}}else{i.html(postL10n.published)}if(q.is(":hidden")){e(".edit-post-status","#misc-publishing-actions").show()}}e("#post-status-display").html(e("option:selected",q).text());if(e("option:selected",q).val()=="private"||e("option:selected",q).val()=="publish"){e("#save-post").hide()}else{e("#save-post").show();if(e("option:selected",q).val()=="pending"){e("#save-post").show().val(postL10n.savePending)}else{e("#save-post").show().val(postL10n.saveDraft)}}return true}e(".edit-visibility","#visibility").click(function(){if(e("#post-visibility-select").is(":hidden")){d();e("#post-visibility-select").slideDown("normal");e(this).hide()}return false});e(".cancel-post-visibility","#post-visibility-select").click(function(){e("#post-visibility-select").slideUp("normal");e("#visibility-radio-"+e("#hidden-post-visibility").val()).attr("checked",true);e("#post_password").val(e("#hidden_post_password").val());e("#sticky").attr("checked",e("#hidden-post-sticky").attr("checked"));e("#post-visibility-display").html(a);e(".edit-visibility","#visibility").show();c();return false});e(".save-post-visibility","#post-visibility-select").click(function(){var g=e("#post-visibility-select");g.slideUp("normal");e(".edit-visibility","#visibility").show();c();if(e("input:radio:checked",g).val()!="public"){e("#sticky").attr("checked",false)}if(true==e("#sticky").attr("checked")){f="Sticky"}else{f=""}e("#post-visibility-display").html(postL10n[e("input:radio:checked",g).val()+f]);return false});e("input:radio","#post-visibility-select").change(function(){d()});e("#timestampdiv").siblings("a.edit-timestamp").click(function(){if(e("#timestampdiv").is(":hidden")){e("#timestampdiv").slideDown("normal");e(this).hide()}return false});e(".cancel-timestamp","#timestampdiv").click(function(){e("#timestampdiv").slideUp("normal");e("#mm").val(e("#hidden_mm").val());e("#jj").val(e("#hidden_jj").val());e("#aa").val(e("#hidden_aa").val());e("#hh").val(e("#hidden_hh").val());e("#mn").val(e("#hidden_mn").val());e("#timestampdiv").siblings("a.edit-timestamp").show();c();return false});e(".save-timestamp","#timestampdiv").click(function(){if(c()){e("#timestampdiv").slideUp("normal");e("#timestampdiv").siblings("a.edit-timestamp").show()}return false});e("#post-status-select").siblings("a.edit-post-status").click(function(){if(e("#post-status-select").is(":hidden")){e("#post-status-select").slideDown("normal");e(this).hide()}return false});e(".save-post-status","#post-status-select").click(function(){e("#post-status-select").slideUp("normal");e("#post-status-select").siblings("a.edit-post-status").show();c();return false});e(".cancel-post-status","#post-status-select").click(function(){e("#post-status-select").slideUp("normal");e("#post_status").val(e("#hidden_post_status").val());e("#post-status-select").siblings("a.edit-post-status").show();c();return false})}if(e("#edit-slug-box").length){editPermalink=function(g){var h,l=0,k=e("#editable-post-name"),m=k.html(),p=e("#post_name"),q=p.val(),n=e("#edit-slug-buttons"),o=n.html(),j=e("#editable-post-name-full").html();e("#view-post-btn").hide();n.html('<a href="#" class="save button">'+postL10n.ok+'</a> <a class="cancel" href="#">'+postL10n.cancel+"</a>");n.children(".save").click(function(){var i=k.children("input").val();e.post(ajaxurl,{action:"sample-permalink",post_id:g,new_slug:i,new_title:e("#title").val(),samplepermalinknonce:e("#samplepermalinknonce").val()},function(r){e("#edit-slug-box").html(r);n.html(o);p.attr("value",i);makeSlugeditClickable();e("#view-post-btn").show()});return false});e(".cancel","#edit-slug-buttons").click(function(){e("#view-post-btn").show();k.html(m);n.html(o);p.attr("value",q);return false});for(h=0;h<j.length;++h){if("%"==j.charAt(h)){l++}}slug_value=(l>j.length/4)?"":j;k.html('<input type="text" id="new-post-slug" value="'+slug_value+'" />').children("input").keypress(function(r){var i=r.keyCode||0;if(13==i){n.children(".save").click();return false}if(27==i){n.children(".cancel").click();return false}p.attr("value",this.value)}).focus()};makeSlugeditClickable=function(){e("#editable-post-name").click(function(){e("#edit-slug-buttons").children(".edit-slug").click()})};makeSlugeditClickable()}if(e("#title").val()==""){e("#title").siblings("#title-prompt-text").css("visibility","")}e("#title-prompt-text").click(function(){e(this).css("visibility","hidden").siblings("#title").focus()});e("#title").blur(function(){if(this.value==""){e(this).siblings("#title-prompt-text").css("visibility","")}}).focus(function(){e(this).siblings("#title-prompt-text").css("visibility","hidden")}).keydown(function(g){e(this).siblings("#title-prompt-text").css("visibility","hidden");e(this).unbind(g)})});
     1var tagBox,commentsBox,editPermalink,makeSlugeditClickable,WPSetThumbnailHTML,WPSetThumbnailID,WPRemoveThumbnail;function array_unique_noempty(b){var c=[];jQuery.each(b,function(a,d){d=jQuery.trim(d);if(d&&jQuery.inArray(d,c)==-1){c.push(d)}});return c}(function(a){tagBox={clean:function(b){return b.replace(/\s*,\s*/g,",").replace(/,+/g,",").replace(/[,\s]+$/,"").replace(/^[,\s]+/,"")},parseTags:function(e){var h=e.id,b=h.split("-check-num-")[1],d=a(e).closest(".tagsdiv"),g=d.find(".the-tags"),c=g.val().split(","),f=[];delete c[b];a.each(c,function(i,j){j=a.trim(j);if(j){f.push(j)}});g.val(this.clean(f.join(",")));this.quickClicks(d);return false},quickClicks:function(d){var g=a(".the-tags",d),e=a(".tagchecklist",d),f=a(d).attr("id"),b,c;if(!g.length){return}c=g.attr("disabled");b=g.val().split(",");e.empty();a.each(b,function(i,k){var j,h;k=a.trim(k);if(!k){return}j=a("<span />").text(k);if(!c){h=a('<a id="'+f+"-check-num-"+i+'" class="ntdelbutton">X</a>');h.click(function(){tagBox.parseTags(this)});j.prepend("&nbsp;").prepend(h)}e.append(j)})},flushTags:function(e,b,g){b=b||false;var i,c=a(".the-tags",e),h=a("input.newtag",e),d;i=b?a(b).text():h.val();tagsval=c.val();d=tagsval?tagsval+","+i:i;d=this.clean(d);d=array_unique_noempty(d.split(",")).join(",");c.val(d);this.quickClicks(e);if(!b){h.val("")}if("undefined"==typeof(g)){h.focus()}return false},get:function(c){var b=c.substr(c.indexOf("-")+1);a.post(ajaxurl,{action:"get-tagcloud",tax:b},function(e,d){if(0==e||"success"!=d){e=wpAjax.broken}e=a('<p id="tagcloud-'+b+'" class="the-tagcloud">'+e+"</p>");a("a",e).click(function(){tagBox.flushTags(a(this).closest(".inside").children(".tagsdiv"),this);return false});a("#"+c).after(e)})},init:function(){var b=this,c=a("div.ajaxtag");a(".tagsdiv").each(function(){tagBox.quickClicks(this)});a("input.tagadd",c).click(function(){b.flushTags(a(this).closest(".tagsdiv"))});a("div.taghint",c).click(function(){a(this).css("visibility","hidden").parent().siblings(".newtag").focus()});a("input.newtag",c).blur(function(){if(this.value==""){a(this).parent().siblings(".taghint").css("visibility","")}}).focus(function(){a(this).parent().siblings(".taghint").css("visibility","hidden")}).keyup(function(d){if(13==d.which){tagBox.flushTags(a(this).closest(".tagsdiv"));return false}}).keypress(function(d){if(13==d.which){d.preventDefault();return false}}).each(function(){var d=a(this).closest("div.tagsdiv").attr("id");a(this).suggest(ajaxurl+"?action=ajax-tag-search&tax="+d,{delay:500,minchars:2,multiple:true,multipleSep:","})});a("#post").submit(function(){a("div.tagsdiv").each(function(){tagBox.flushTags(this,false,1)})});a("a.tagcloud-link").click(function(){tagBox.get(a(this).attr("id"));a(this).unbind().click(function(){a(this).siblings(".the-tagcloud").toggle();return false});return false})}};commentsBox={st:0,get:function(d,c){var b=this.st,e;if(!c){c=20}this.st+=c;this.total=d;a("#commentsdiv img.waiting").show();e={action:"get-comments",mode:"single",_ajax_nonce:a("#add_comment_nonce").val(),post_ID:a("#post_ID").val(),start:b,num:c};a.post(ajaxurl,e,function(f){f=wpAjax.parseAjaxResponse(f);a("#commentsdiv .widefat").show();a("#commentsdiv img.waiting").hide();if("object"==typeof f&&f.responses[0]){a("#the-comment-list").append(f.responses[0].data);theList=theExtraList=null;a("a[className*=':']").unbind();setCommentsList();if(commentsBox.st>commentsBox.total){a("#show-comments").hide()}else{a("#show-comments").html(postL10n.showcomm)}return}else{if(1==f){a("#show-comments").parent().html(postL10n.endcomm);return}}a("#the-comment-list").append('<tr><td colspan="2">'+wpAjax.broken+"</td></tr>")});return false}};WPSetThumbnailHTML=function(b){a(".inside","#postimagediv").html(b)};WPSetThumbnailID=function(c){var b=a("input[value=_thumbnail_id]","#list-table");if(b.size()>0){a("#meta\\["+b.attr("id").match(/[0-9]+/)+"\\]\\[value\\]").text(c)}};WPRemoveThumbnail=function(b){a.post(ajaxurl,{action:"set-post-thumbnail",post_id:a("#post_ID").val(),thumbnail_id:-1,_ajax_nonce:b,cookie:encodeURIComponent(document.cookie)},function(c){if(c=="0"){alert(setPostThumbnailL10n.error)}else{WPSetThumbnailHTML(c)}})}})(jQuery);jQuery(document).ready(function(e){var b,a,f="";postboxes.add_postbox_toggles(pagenow);if(e("#tagsdiv-post_tag").length){tagBox.init()}else{e("#side-sortables, #normal-sortables, #advanced-sortables").children("div.postbox").each(function(){if(this.id.indexOf("tagsdiv-")===0){tagBox.init();return false}})}e(".categorydiv").each(function(){var l=e(this).attr("id"),h=false,k,m,j,g,i;j=l.split("-");j.shift();g=j.join("-");i=g+"_tab";if(g=="category"){i="cats"}e("a","#"+g+"-tabs").click(function(){var n=e(this).attr("href");e(this).parent().addClass("tabs").siblings("li").removeClass("tabs");e("#"+g+"-tabs").siblings(".tabs-panel").hide();e(n).show();if("#"+g+"-all"==n){deleteUserSetting(i)}else{setUserSetting(i,"pop")}return false});if(getUserSetting(i)){e('a[href="#'+g+'-pop"]',"#"+g+"-tabs").click()}e("#new"+g).one("focus",function(){e(this).val("").removeClass("form-input-tip")});e("#"+g+"-add-submit").click(function(){e("#new"+g).focus()});k=function(){if(h){return}h=true;var n=jQuery(this),p=n.is(":checked"),o=n.val().toString();e("#in-"+g+"-"+o+", #in-"+g+"-category-"+o).attr("checked",p);h=false};catAddBefore=function(n){if(!e("#new"+g).val()){return false}n.data+="&"+e(":checked","#"+g+"checklist").serialize();return n};m=function(q,p){var o,n=e("#new"+g+"_parent");if("undefined"!=p.parsed.responses[0]&&(o=p.parsed.responses[0].supplemental.newcat_parent)){n.before(o);n.remove()}};e("#"+g+"checklist").wpList({alt:"",response:g+"-ajax-response",addBefore:catAddBefore,addAfter:m});e("#"+g+"-add-toggle").click(function(){e("#"+g+"-adder").toggleClass("wp-hidden-children");e('a[href="#'+g+'-all"]',"#"+g+"-tabs").click();e("#new"+g).focus();return false});e("#"+g+"checklist li.popular-category :checkbox, #"+g+"checklist-pop :checkbox").live("click",function(){var n=e(this),p=n.is(":checked"),o=n.val();if(o&&n.parents("#taxonomy-"+g).length){e("#in-"+g+"-"+o+", #in-popular-"+g+"-"+o).attr("checked",p)}})});if(e("#postcustom").length){e("#the-list").wpList({addAfter:function(g,h){e("table#list-table").show()},addBefore:function(g){g.data+="&post_id="+e("#post_ID").val();return g}})}if(e("#submitdiv").length){b=e("#timestamp").html();a=e("#post-visibility-display").html();function d(){var g=e("#post-visibility-select");if(e("input:radio:checked",g).val()!="public"){e("#sticky").attr("checked",false);e("#sticky-span").hide()}else{e("#sticky-span").show()}if(e("input:radio:checked",g).val()!="password"){e("#password-span").hide()}else{e("#password-span").show()}}function c(){var n,p,h,r,o="page"==pagenow||"page-new"==pagenow,q=e("#post_status"),i=e("option[value=publish]",q),g=e("#aa").val(),l=e("#mm").val(),m=e("#jj").val(),k=e("#hh").val(),j=e("#mn").val();n=new Date(g,l-1,m,k,j);p=new Date(e("#hidden_aa").val(),e("#hidden_mm").val()-1,e("#hidden_jj").val(),e("#hidden_hh").val(),e("#hidden_mn").val());h=new Date(e("#cur_aa").val(),e("#cur_mm").val()-1,e("#cur_jj").val(),e("#cur_hh").val(),e("#cur_mn").val());if(n.getFullYear()!=g||(1+n.getMonth())!=l||n.getDate()!=m||n.getMinutes()!=j){e(".timestamp-wrap","#timestampdiv").addClass("form-invalid");return false}else{e(".timestamp-wrap","#timestampdiv").removeClass("form-invalid")}if(n>h&&e("#original_post_status").val()!="future"){r=postL10n.publishOnFuture;e("#publish").val(postL10n.schedule)}else{if(n<=h&&e("#original_post_status").val()!="publish"){r=postL10n.publishOn;e("#publish").val(postL10n.publish)}else{r=postL10n.publishOnPast;if(o){e("#publish").val(postL10n.updatePage)}else{e("#publish").val(postL10n.updatePost)}}}if(p.toUTCString()==n.toUTCString()){e("#timestamp").html(b)}else{e("#timestamp").html(r+" <b>"+e("option[value="+e("#mm").val()+"]","#mm").text()+" "+m+", "+g+" @ "+k+":"+j+"</b> ")}if(e("input:radio:checked","#post-visibility-select").val()=="private"){if(o){e("#publish").val(postL10n.updatePage)}else{e("#publish").val(postL10n.updatePost)}if(i.length==0){q.append('<option value="publish">'+postL10n.privatelyPublished+"</option>")}else{i.html(postL10n.privatelyPublished)}e("option[value=publish]",q).attr("selected",true);e(".edit-post-status","#misc-publishing-actions").hide()}else{if(e("#original_post_status").val()=="future"||e("#original_post_status").val()=="draft"){if(i.length){i.remove();q.val(e("#hidden_post_status").val())}}else{i.html(postL10n.published)}if(q.is(":hidden")){e(".edit-post-status","#misc-publishing-actions").show()}}e("#post-status-display").html(e("option:selected",q).text());if(e("option:selected",q).val()=="private"||e("option:selected",q).val()=="publish"){e("#save-post").hide()}else{e("#save-post").show();if(e("option:selected",q).val()=="pending"){e("#save-post").show().val(postL10n.savePending)}else{e("#save-post").show().val(postL10n.saveDraft)}}return true}e(".edit-visibility","#visibility").click(function(){if(e("#post-visibility-select").is(":hidden")){d();e("#post-visibility-select").slideDown("normal");e(this).hide()}return false});e(".cancel-post-visibility","#post-visibility-select").click(function(){e("#post-visibility-select").slideUp("normal");e("#visibility-radio-"+e("#hidden-post-visibility").val()).attr("checked",true);e("#post_password").val(e("#hidden_post_password").val());e("#sticky").attr("checked",e("#hidden-post-sticky").attr("checked"));e("#post-visibility-display").html(a);e(".edit-visibility","#visibility").show();c();return false});e(".save-post-visibility","#post-visibility-select").click(function(){var g=e("#post-visibility-select");g.slideUp("normal");e(".edit-visibility","#visibility").show();c();if(e("input:radio:checked",g).val()!="public"){e("#sticky").attr("checked",false)}if(true==e("#sticky").attr("checked")){f="Sticky"}else{f=""}e("#post-visibility-display").html(postL10n[e("input:radio:checked",g).val()+f]);return false});e("input:radio","#post-visibility-select").change(function(){d()});e("#timestampdiv").siblings("a.edit-timestamp").click(function(){if(e("#timestampdiv").is(":hidden")){e("#timestampdiv").slideDown("normal");e(this).hide()}return false});e(".cancel-timestamp","#timestampdiv").click(function(){e("#timestampdiv").slideUp("normal");e("#mm").val(e("#hidden_mm").val());e("#jj").val(e("#hidden_jj").val());e("#aa").val(e("#hidden_aa").val());e("#hh").val(e("#hidden_hh").val());e("#mn").val(e("#hidden_mn").val());e("#timestampdiv").siblings("a.edit-timestamp").show();c();return false});e(".save-timestamp","#timestampdiv").click(function(){if(c()){e("#timestampdiv").slideUp("normal");e("#timestampdiv").siblings("a.edit-timestamp").show()}return false});e("#post-status-select").siblings("a.edit-post-status").click(function(){if(e("#post-status-select").is(":hidden")){e("#post-status-select").slideDown("normal");e(this).hide()}return false});e(".save-post-status","#post-status-select").click(function(){e("#post-status-select").slideUp("normal");e("#post-status-select").siblings("a.edit-post-status").show();c();return false});e(".cancel-post-status","#post-status-select").click(function(){e("#post-status-select").slideUp("normal");e("#post_status").val(e("#hidden_post_status").val());e("#post-status-select").siblings("a.edit-post-status").show();c();return false})}if(e("#edit-slug-box").length){editPermalink=function(g){var h,l=0,k=e("#editable-post-name"),m=k.html(),p=e("#post_name"),q=p.val(),n=e("#edit-slug-buttons"),o=n.html(),j=e("#editable-post-name-full").html();e("#view-post-btn").hide();n.html('<a href="#" class="save button">'+postL10n.ok+'</a> <a class="cancel" href="#">'+postL10n.cancel+"</a>");n.children(".save").click(function(){var i=k.children("input").val();e.post(ajaxurl,{action:"sample-permalink",post_id:g,new_slug:i,new_title:e("#title").val(),samplepermalinknonce:e("#samplepermalinknonce").val()},function(r){e("#edit-slug-box").html(r);n.html(o);p.attr("value",i);makeSlugeditClickable();e("#view-post-btn").show()});return false});e(".cancel","#edit-slug-buttons").click(function(){e("#view-post-btn").show();k.html(m);n.html(o);p.attr("value",q);return false});for(h=0;h<j.length;++h){if("%"==j.charAt(h)){l++}}slug_value=(l>j.length/4)?"":j;k.html('<input type="text" id="new-post-slug" value="'+slug_value+'" />').children("input").keypress(function(r){var i=r.keyCode||0;if(13==i){n.children(".save").click();return false}if(27==i){n.children(".cancel").click();return false}p.attr("value",this.value)}).focus()};makeSlugeditClickable=function(){e("#editable-post-name").click(function(){e("#edit-slug-buttons").children(".edit-slug").click()})};makeSlugeditClickable()}if(e("#title").val()==""){e("#title").siblings("#title-prompt-text").css("visibility","")}e("#title-prompt-text").click(function(){e(this).css("visibility","hidden").siblings("#title").focus()});e("#title").blur(function(){if(this.value==""){e(this).siblings("#title-prompt-text").css("visibility","")}}).focus(function(){e(this).siblings("#title-prompt-text").css("visibility","hidden")}).keydown(function(g){e(this).siblings("#title-prompt-text").css("visibility","hidden");e(this).unbind(g)})});
  • branches/3.0/wp-content/themes/twentyten/languages/twentyten.pot

    r17175 r17420  
    1 # Translation of the WordPress theme Twenty Ten 1.1 by the WordPress team.
    2 # Copyright (C) 2010 the WordPress team
     1# Copyright (C) 2010 Twenty Ten
    32# This file is distributed under the same license as the Twenty Ten package.
    4 # FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
    5 #
    6 #, fuzzy
    73msgid ""
    84msgstr ""
    95"Project-Id-Version: Twenty Ten 1.1\n"
    106"Report-Msgid-Bugs-To: http://wordpress.org/tag/twentyten\n"
    11 "POT-Creation-Date: 2010-07-14 16:21+0000\n"
     7"POT-Creation-Date: 2011-01-01 21:26:51+00:00\n"
     8"MIME-Version: 1.0\n"
     9"Content-Type: text/plain; charset=UTF-8\n"
     10"Content-Transfer-Encoding: 8bit\n"
    1211"PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n"
    1312"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    1413"Language-Team: LANGUAGE <LL@li.org>\n"
    15 "MIME-Version: 1.0\n"
    16 "Content-Type: text/plain; charset=utf-8\n"
    17 "Content-Transfer-Encoding: 8bit\n"
    18 "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
    19 
    20 #: 404.php:16 loop.php:33
    21 msgid "Not Found"
    22 msgstr ""
    23 
    24 #: 404.php:18
    25 msgid ""
    26 "Apologies, but the page you requested could not be found. Perhaps searching "
    27 "will help."
    28 msgstr ""
    29 
    30 #: archive.php:33
    31 #, php-format
    32 msgid "Daily Archives: <span>%s</span>"
    33 msgstr ""
    34 
    35 #: archive.php:35
    36 #, php-format
    37 msgid "Monthly Archives: <span>%s</span>"
    38 msgstr ""
    39 
    40 #: archive.php:37
    41 #, php-format
    42 msgid "Yearly Archives: <span>%s</span>"
    43 msgstr ""
    44 
    45 #: archive.php:39
    46 msgid "Blog Archives"
    47 msgstr ""
    48 
    49 #: attachment.php:18
    50 #, php-format
    51 msgid "Return to %s"
    52 msgstr ""
    53 
    54 #. translators: %s - title of parent post
    55 #: attachment.php:20
    56 #, php-format
    57 msgid "<span class=\"meta-nav\">&larr;</span> %s"
    58 msgstr ""
    59 
    60 #: attachment.php:29
    61 #, php-format
    62 msgid "<span class=\"%1$s\">By</span> %2$s"
    63 msgstr ""
    64 
    65 #: attachment.php:33 functions.php:451
    66 #, php-format
    67 msgid "View all posts by %s"
    68 msgstr ""
    69 
    70 #: attachment.php:40
    71 #, php-format
    72 msgid "<span class=\"%1$s\">Published</span> %2$s"
    73 msgstr ""
    74 
    75 #: attachment.php:50
    76 #, php-format
    77 msgid "Full size is %s pixels"
    78 msgstr ""
    79 
    80 #: attachment.php:53
    81 msgid "Link to full-size image"
    82 msgstr ""
    83 
    84 #: attachment.php:60 attachment.php:107 loop.php:95 loop.php:118 loop.php:160
    85 #: onecolumn-page.php:27 page.php:32 single.php:53
    86 msgid "Edit"
    87 msgstr ""
    88 
    89 #: attachment.php:100 functions.php:241 loop.php:110 loop.php:138
    90 msgid "Continue reading <span class=\"meta-nav\">&rarr;</span>"
    91 msgstr ""
    92 
    93 #: attachment.php:101 loop.php:139 onecolumn-page.php:26 page.php:31
    94 #: single.php:31
    95 msgid "Pages:"
    96 msgstr ""
    97 
    98 #: author.php:27
    99 #, php-format
    100 msgid "Author Archives: %s"
    101 msgstr ""
    102 
    103 #: author.php:37 single.php:40
    104 #, php-format
    105 msgid "About %s"
     14
     15#. #-#-#-#-#  twentyten.pot (Twenty Ten 1.1)  #-#-#-#-#
     16#. Theme URI of the plugin/theme
     17#: footer.php:33
     18msgid "http://wordpress.org/"
     19msgstr ""
     20
     21#: footer.php:34
     22msgid "Semantic Personal Publishing Platform"
     23msgstr ""
     24
     25#: footer.php:35
     26msgid "Proudly powered by %s."
    10627msgstr ""
    10728
    10829#: category.php:16
    109 #, php-format
    11030msgid "Category Archives: %s"
    11131msgstr ""
    11232
     33#: sidebar.php:27
     34msgid "Archives"
     35msgstr ""
     36
     37#: sidebar.php:34
     38msgid "Meta"
     39msgstr ""
     40
     41#: tag.php:16
     42msgid "Tag Archives: %s"
     43msgstr ""
     44
    11345#: comments.php:18
    11446msgid ""
     
    11749
    11850#: comments.php:35
    119 #, php-format
    12051msgid "One Response to %2$s"
    12152msgid_plural "%1$s Responses to %2$s"
     
    13566msgstr ""
    13667
    137 #. #-#-#-#-#  twentyten.pot (Twenty Ten 1.1)  #-#-#-#-#
    138 #. Theme URI of the plugin/theme
    139 #: footer.php:33
    140 msgid "http://wordpress.org/"
    141 msgstr ""
    142 
    143 #: footer.php:34
    144 msgid "Semantic Personal Publishing Platform"
    145 msgstr ""
    146 
    147 #: footer.php:35
    148 #, php-format
    149 msgid "Proudly powered by %s."
    150 msgstr ""
    151 
    152 #: functions.php:97
    153 msgid "Primary Navigation"
    154 msgstr ""
    155 
    156 #. translators: header image description
    157 #: functions.php:133
    158 msgid "Berries"
    159 msgstr ""
    160 
    161 #. translators: header image description
    162 #: functions.php:139
    163 msgid "Cherry Blossoms"
    164 msgstr ""
    165 
    166 #. translators: header image description
    167 #: functions.php:145
    168 msgid "Concave"
    169 msgstr ""
    170 
    171 #. translators: header image description
    172 #: functions.php:151
    173 msgid "Fern"
    174 msgstr ""
    175 
    176 #. translators: header image description
    177 #: functions.php:157
    178 msgid "Forest Floor"
    179 msgstr ""
    180 
    181 #. translators: header image description
    182 #: functions.php:163
    183 msgid "Inkwell"
    184 msgstr ""
    185 
    186 #. translators: header image description
    187 #: functions.php:169
    188 msgid "Path"
    189 msgstr ""
    190 
    191 #. translators: header image description
    192 #: functions.php:175
    193 msgid "Sunset"
    194 msgstr ""
    195 
    196 #: functions.php:308
    197 #, php-format
    198 msgid "%s <span class=\"says\">says:</span>"
    199 msgstr ""
    200 
    201 #: functions.php:311
    202 msgid "Your comment is awaiting moderation."
    203 msgstr ""
    204 
    205 #. translators: 1: date, 2: time
    206 #: functions.php:318
    207 #, php-format
    208 msgid "%1$s at %2$s"
    209 msgstr ""
    210 
    211 #: functions.php:318 functions.php:335
    212 msgid "(Edit)"
    213 msgstr ""
    214 
    215 #: functions.php:335
    216 msgid "Pingback:"
    217 msgstr ""
    218 
    219 #: functions.php:354
    220 msgid "Primary Widget Area"
    221 msgstr ""
    222 
    223 #: functions.php:356
    224 msgid "The primary widget area"
    225 msgstr ""
    226 
    227 #: functions.php:365
    228 msgid "Secondary Widget Area"
    229 msgstr ""
    230 
    231 #: functions.php:367
    232 msgid "The secondary widget area"
    233 msgstr ""
    234 
    235 #: functions.php:376
    236 msgid "First Footer Widget Area"
    237 msgstr ""
    238 
    239 #: functions.php:378
    240 msgid "The first footer widget area"
    241 msgstr ""
    242 
    243 #: functions.php:387
    244 msgid "Second Footer Widget Area"
    245 msgstr ""
    246 
    247 #: functions.php:389
    248 msgid "The second footer widget area"
    249 msgstr ""
    250 
    251 #: functions.php:398
    252 msgid "Third Footer Widget Area"
    253 msgstr ""
    254 
    255 #: functions.php:400
    256 msgid "The third footer widget area"
    257 msgstr ""
    258 
    259 #: functions.php:409
    260 msgid "Fourth Footer Widget Area"
    261 msgstr ""
    262 
    263 #: functions.php:411
    264 msgid "The fourth footer widget area"
    265 msgstr ""
    266 
    267 #: functions.php:442
    268 #, php-format
    269 msgid ""
    270 "<span class=\"%1$s\">Posted on</span> %2$s <span class=\"meta-sep\">by</"
    271 "span> %3$s"
    272 msgstr ""
    273 
    274 #: functions.php:468
    275 #, php-format
    276 msgid ""
    277 "This entry was posted in %1$s and tagged %2$s. Bookmark the <a href=\"%3$s\" "
    278 "title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>."
    279 msgstr ""
    280 
    281 #: functions.php:470
    282 #, php-format
    283 msgid ""
    284 "This entry was posted in %1$s. Bookmark the <a href=\"%3$s\" title="
    285 "\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>."
    286 msgstr ""
    287 
    288 #: functions.php:472
    289 #, php-format
    290 msgid ""
    291 "Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark"
    292 "\">permalink</a>."
    293 msgstr ""
    294 
    295 #: header.php:33
    296 #, php-format
    297 msgid "Page %s"
    298 msgstr ""
    299 
    300 #: header.php:83
    301 msgid "Skip to content"
     68#: 404.php:16 loop.php:33
     69msgid "Not Found"
     70msgstr ""
     71
     72#: 404.php:18
     73msgid ""
     74"Apologies, but the page you requested could not be found. Perhaps searching "
     75"will help."
    30276msgstr ""
    30377
     
    32296
    32397#: loop.php:62 loop.php:83 loop.php:126
    324 #, php-format
    32598msgid "Permalink to %s"
    32699msgstr ""
    327100
    328101#: loop.php:82
    329 #, php-format
    330102msgid "This gallery contains <a %1$s>%2$s photos</a>."
    331103msgstr ""
     
    349121#: loop.php:94 loop.php:117 loop.php:159
    350122msgid "% Comments"
     123msgstr ""
     124
     125#: loop.php:95 loop.php:118 loop.php:160 page.php:32 attachment.php:60
     126#: attachment.php:107 onecolumn-page.php:27 single.php:53
     127msgid "Edit"
    351128msgstr ""
    352129
     
    356133msgstr ""
    357134
     135#: loop.php:110 loop.php:138 functions.php:241 attachment.php:100
     136msgid "Continue reading <span class=\"meta-nav\">&rarr;</span>"
     137msgstr ""
     138
     139#: loop.php:139 page.php:31 attachment.php:101 onecolumn-page.php:26
     140#: single.php:31
     141msgid "Pages:"
     142msgstr ""
     143
    358144#: loop.php:146
    359 #, php-format
    360145msgid "<span class=\"%1$s\">Posted in</span> %2$s"
    361146msgstr ""
    362147
    363148#: loop.php:155
    364 #, php-format
    365149msgid "<span class=\"%1$s\">Tagged</span> %2$s"
    366150msgstr ""
    367151
     152#: functions.php:97
     153msgid "Primary Navigation"
     154msgstr ""
     155
     156#: functions.php:133
     157msgid "Berries"
     158msgstr ""
     159
     160#: functions.php:139
     161msgid "Cherry Blossoms"
     162msgstr ""
     163
     164#: functions.php:145
     165msgid "Concave"
     166msgstr ""
     167
     168#: functions.php:151
     169msgid "Fern"
     170msgstr ""
     171
     172#: functions.php:157
     173msgid "Forest Floor"
     174msgstr ""
     175
     176#: functions.php:163
     177msgid "Inkwell"
     178msgstr ""
     179
     180#: functions.php:169
     181msgid "Path"
     182msgstr ""
     183
     184#: functions.php:175
     185msgid "Sunset"
     186msgstr ""
     187
     188#: functions.php:308
     189msgid "%s <span class=\"says\">says:</span>"
     190msgstr ""
     191
     192#: functions.php:311
     193msgid "Your comment is awaiting moderation."
     194msgstr ""
     195
     196#: functions.php:318
     197msgid "%1$s at %2$s"
     198msgstr ""
     199
     200#: functions.php:318 functions.php:335
     201msgid "(Edit)"
     202msgstr ""
     203
     204#: functions.php:335
     205msgid "Pingback:"
     206msgstr ""
     207
     208#: functions.php:354
     209msgid "Primary Widget Area"
     210msgstr ""
     211
     212#: functions.php:356
     213msgid "The primary widget area"
     214msgstr ""
     215
     216#: functions.php:365
     217msgid "Secondary Widget Area"
     218msgstr ""
     219
     220#: functions.php:367
     221msgid "The secondary widget area"
     222msgstr ""
     223
     224#: functions.php:376
     225msgid "First Footer Widget Area"
     226msgstr ""
     227
     228#: functions.php:378
     229msgid "The first footer widget area"
     230msgstr ""
     231
     232#: functions.php:387
     233msgid "Second Footer Widget Area"
     234msgstr ""
     235
     236#: functions.php:389
     237msgid "The second footer widget area"
     238msgstr ""
     239
     240#: functions.php:398
     241msgid "Third Footer Widget Area"
     242msgstr ""
     243
     244#: functions.php:400
     245msgid "The third footer widget area"
     246msgstr ""
     247
     248#: functions.php:409
     249msgid "Fourth Footer Widget Area"
     250msgstr ""
     251
     252#: functions.php:411
     253msgid "The fourth footer widget area"
     254msgstr ""
     255
     256#: functions.php:442
     257msgid ""
     258"<span class=\"%1$s\">Posted on</span> %2$s <span class=\"meta-sep\">by</"
     259"span> %3$s"
     260msgstr ""
     261
     262#: functions.php:451 attachment.php:33
     263msgid "View all posts by %s"
     264msgstr ""
     265
     266#: functions.php:468
     267msgid ""
     268"This entry was posted in %1$s and tagged %2$s. Bookmark the <a href=\"%3$s\" "
     269"title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>."
     270msgstr ""
     271
     272#: functions.php:470
     273msgid ""
     274"This entry was posted in %1$s. Bookmark the <a href=\"%3$s\" title="
     275"\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>."
     276msgstr ""
     277
     278#: functions.php:472
     279msgid ""
     280"Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark"
     281"\">permalink</a>."
     282msgstr ""
     283
     284#: header.php:33
     285msgid "Page %s"
     286msgstr ""
     287
     288#: header.php:83
     289msgid "Skip to content"
     290msgstr ""
     291
     292#: author.php:27
     293msgid "Author Archives: %s"
     294msgstr ""
     295
     296#: author.php:37 single.php:40
     297msgid "About %s"
     298msgstr ""
     299
     300#: attachment.php:18
     301msgid "Return to %s"
     302msgstr ""
     303
     304#: attachment.php:20
     305msgid "<span class=\"meta-nav\">&larr;</span> %s"
     306msgstr ""
     307
     308#: attachment.php:29
     309msgid "<span class=\"%1$s\">By</span> %2$s"
     310msgstr ""
     311
     312#: attachment.php:40
     313msgid "<span class=\"%1$s\">Published</span> %2$s"
     314msgstr ""
     315
     316#: attachment.php:50
     317msgid "Full size is %s pixels"
     318msgstr ""
     319
     320#: attachment.php:53
     321msgid "Link to full-size image"
     322msgstr ""
     323
    368324#: search.php:16
    369 #, php-format
    370325msgid "Search Results for: %s"
    371326msgstr ""
     
    381336msgstr ""
    382337
    383 #: sidebar.php:27
    384 msgid "Archives"
    385 msgstr ""
    386 
    387 #: sidebar.php:34
    388 msgid "Meta"
     338#: archive.php:33
     339msgid "Daily Archives: <span>%s</span>"
     340msgstr ""
     341
     342#: archive.php:35
     343msgid "Monthly Archives: <span>%s</span>"
     344msgstr ""
     345
     346#: archive.php:37
     347msgid "Yearly Archives: <span>%s</span>"
     348msgstr ""
     349
     350#: archive.php:39
     351msgid "Blog Archives"
    389352msgstr ""
    390353
     
    400363
    401364#: single.php:44
    402 #, php-format
    403365msgid "View all posts by %s <span class=\"meta-nav\">&rarr;</span>"
    404 msgstr ""
    405 
    406 #: tag.php:16
    407 #, php-format
    408 msgid "Tag Archives: %s"
    409366msgstr ""
    410367
  • branches/3.0/wp-includes/default-filters.php

    r17175 r17420  
    3232}
    3333
    34 // Kses only for textarea saves displays
    35 foreach ( array( 'term_description', 'link_description', 'link_notes', 'user_description' ) as $filter ) {
     34// Kses only for textarea admin displays
     35foreach ( array( 'term_description', 'link_description', 'link_notes', 'user_description', 'comment_text' ) as $filter ) {
    3636    add_filter( $filter, 'wp_kses_data' );
    3737}
     
    7373foreach ( array( 'pre_post_type' ) as $filter ) {
    7474    add_filter( $filter, 'sanitize_user' );
     75}
     76foreach ( array( 'pre_post_status', 'pre_post_comment_status', 'pre_post_ping_status' ) as $filter ) {
     77    add_filter( $filter, 'sanitize_key' );
    7578}
    7679
  • branches/3.0/wp-includes/kses.php

    r17175 r17420  
    11<?php
    22/**
    3  * HTML/XHTML filter that only allows some elements and attributes
     3 * kses 0.2.2 - HTML/XHTML filter that only allows some elements and attributes
     4 * Copyright (C) 2002, 2003, 2005  Ulf Harnhammar
     5 *
     6 * This program is free software and open source software; you can redistribute
     7 * it and/or modify it under the terms of the GNU General Public License as
     8 * published by the Free Software Foundation; either version 2 of the License,
     9 * or (at your option) any later version.
     10 *
     11 * This program is distributed in the hope that it will be useful, but WITHOUT
     12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
     13 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
     14 * more details.
     15 *
     16 * You should have received a copy of the GNU General Public License along
     17 * with this program; if not, write to the Free Software Foundation, Inc.,
     18 * 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA  or visit
     19 * http://www.gnu.org/licenses/gpl.html
     20 *
     21 * [kses strips evil scripts!]
    422 *
    523 * Added wp_ prefix to avoid conflicts with existing kses users
     
    725 * @version 0.2.2
    826 * @copyright (C) 2002, 2003, 2005
    9  * @author Ulf Harnhammar <metaur@users.sourceforge.net>
     27 * @author Ulf Harnhammar <http://advogato.org/person/metaur/>
    1028 *
    1129 * @package External
    1230 * @subpackage KSES
    13  *
    14  * @internal
    15  * *** CONTACT INFORMATION ***
    16  * E-mail:      metaur at users dot sourceforge dot net
    17  * Web page:    http://sourceforge.net/projects/kses
    18  * Paper mail:  Ulf Harnhammar
    19  *              Ymergatan 17 C
    20  *              753 25  Uppsala
    21  *              SWEDEN
    22  *
    23  * [kses strips evil scripts!]
    2431 */
    2532
  • branches/3.0/wp-includes/pluggable.php

    r17175 r17420  
    826826    $referer = strtolower(wp_get_referer());
    827827    $result = isset($_REQUEST[$query_arg]) ? wp_verify_nonce($_REQUEST[$query_arg], $action) : false;
    828     if ( !$result && !(-1 == $action && strpos($referer, $adminurl) !== false) ) {
     828    if ( !$result && !(-1 == $action && strpos($referer, $adminurl) === 0) ) {
    829829        wp_nonce_ays($action);
    830830        die();
  • branches/3.0/wp-includes/script-loader.php

    r17175 r17420  
    276276        $scripts->add_data( 'postbox', 'group', 1 );
    277277
    278         $scripts->add( 'post', "/wp-admin/js/post$suffix.js", array('suggest', 'wp-lists', 'postbox'), '20100526' );
     278        $scripts->add( 'post', "/wp-admin/js/post$suffix.js", array('suggest', 'wp-lists', 'postbox'), '20110203' );
    279279        $scripts->add_data( 'post', 'group', 1 );
    280280        $scripts->localize( 'post', 'postL10n', array(
  • branches/3.0/wp-includes/version.php

    r17175 r17420  
    11<?php
    2 /**
    3  * This holds the version number in a separate file so we can bump it without cluttering the SVN
    4  */
     2/*
     3WordPress - Web publishing software
     4
     5This program is free software; you can redistribute it and/or
     6modify it under the terms of the GNU General Public License
     7as published by the Free Software Foundation; either version 2
     8of the License, or (at your option) any later version.
     9
     10This program is distributed in the hope that it will be useful,
     11but WITHOUT ANY WARRANTY; without even the implied warranty of
     12MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     13GNU General Public License for more details.
     14
     15You should have received a copy of the GNU General Public License
     16along with this program; if not, write to the Free Software
     17Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
     18*/
    519
    620/**
     
    923 * @global string $wp_version
    1024 */
    11 $wp_version = '3.0.4';
     25$wp_version = '3.0.5';
    1226
    1327/**
Note: See TracChangeset for help on using the changeset viewer.