Changes from tags/3.0.4 at r59701 to tags/3.0.5 at r59701
- Location:
- tags/3.0.5
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/3.0.5/readme.html
r59701 r59701 9 9 <h1 id="logo"> 10 10 <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. 411 <br /> Version 3.0.5 12 12 </h1> 13 13 <p style="text-align: center">Semantic Personal Publishing Platform</p> … … 103 103 104 104 <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> 106 106 107 107 -
tags/3.0.5/wp-admin/async-upload.php
r59701 r59701 31 31 // just fetch the detail form for that attachment 32 32 if ( 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 33 40 if ( 2 == $_REQUEST['fetch'] ) { 34 41 add_filter('attachment_fields_to_edit', 'media_single_attachment_fields_to_edit', 10, 2); -
tags/3.0.5/wp-admin/includes/post.php
r59701 r59701 690 690 691 691 $meta = $wpdb->get_row( $wpdb->prepare("SELECT * FROM $wpdb->postmeta WHERE meta_id = %d", $mid) ); 692 if ( empty($meta) ) 693 return false; 692 694 if ( is_serialized_string( $meta->meta_value ) ) 693 695 $meta->meta_value = maybe_unserialize( $meta->meta_value ); -
tags/3.0.5/wp-admin/includes/template.php
r59701 r59701 1186 1186 return; 1187 1187 1188 $title = esc_attr( get_the_title( $post->ID ));1188 $title = htmlspecialchars( trim( $post->post_title ), ENT_QUOTES ); 1189 1189 1190 1190 echo ' … … 1193 1193 <div class="post_name">' . apply_filters('editable_slug', $post->post_name) . '</div> 1194 1194 <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> 1198 1198 <div class="jj">' . mysql2date( 'd', $post->post_date, false ) . '</div> 1199 1199 <div class="mm">' . mysql2date( 'm', $post->post_date, false ) . '</div> -
tags/3.0.5/wp-admin/includes/update-core.php
r59701 r59701 275 275 $required_php_version = '4.3'; 276 276 $required_mysql_version = '4.1.2'; 277 $wp_version = '3.0. 4';277 $wp_version = '3.0.5'; 278 278 $php_compat = version_compare( $php_version, $required_php_version, '>=' ); 279 279 $mysql_compat = version_compare( $mysql_version, $required_mysql_version, '>=' ) || file_exists( WP_CONTENT_DIR . '/db.php' ); -
tags/3.0.5/wp-admin/js/post.dev.js
r59701 r59701 37 37 38 38 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; 40 43 41 44 if ( !thetags.length ) 42 45 return; 43 46 44 vardisabled = thetags.attr('disabled');47 disabled = thetags.attr('disabled'); 45 48 46 49 current_tags = thetags.val().split(','); … … 48 51 49 52 $.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> ' + 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(' ').prepend( xbutton ); 68 } 69 70 // Append the span to the tag list. 71 tagchecklist.append( span ); 63 72 }); 64 73 }, -
tags/3.0.5/wp-admin/js/post.js
r59701 r59701 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> '+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)})});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 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(" ").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)})}); -
tags/3.0.5/wp-content/themes/twentyten/languages/twentyten.pot
r59701 r59701 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 3 2 # This file is distributed under the same license as the Twenty Ten package. 4 # FIRST AUTHOR <EMAIL@ADDRESS>, 2010.5 #6 #, fuzzy7 3 msgid "" 8 4 msgstr "" 9 5 "Project-Id-Version: Twenty Ten 1.1\n" 10 6 "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" 12 11 "PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n" 13 12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 14 13 "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\">←</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\">→</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 18 msgid "http://wordpress.org/" 19 msgstr "" 20 21 #: footer.php:34 22 msgid "Semantic Personal Publishing Platform" 23 msgstr "" 24 25 #: footer.php:35 26 msgid "Proudly powered by %s." 106 27 msgstr "" 107 28 108 29 #: category.php:16 109 #, php-format110 30 msgid "Category Archives: %s" 111 31 msgstr "" 112 32 33 #: sidebar.php:27 34 msgid "Archives" 35 msgstr "" 36 37 #: sidebar.php:34 38 msgid "Meta" 39 msgstr "" 40 41 #: tag.php:16 42 msgid "Tag Archives: %s" 43 msgstr "" 44 113 45 #: comments.php:18 114 46 msgid "" … … 117 49 118 50 #: comments.php:35 119 #, php-format120 51 msgid "One Response to %2$s" 121 52 msgid_plural "%1$s Responses to %2$s" … … 135 66 msgstr "" 136 67 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 69 msgid "Not Found" 70 msgstr "" 71 72 #: 404.php:18 73 msgid "" 74 "Apologies, but the page you requested could not be found. Perhaps searching " 75 "will help." 302 76 msgstr "" 303 77 … … 322 96 323 97 #: loop.php:62 loop.php:83 loop.php:126 324 #, php-format325 98 msgid "Permalink to %s" 326 99 msgstr "" 327 100 328 101 #: loop.php:82 329 #, php-format330 102 msgid "This gallery contains <a %1$s>%2$s photos</a>." 331 103 msgstr "" … … 349 121 #: loop.php:94 loop.php:117 loop.php:159 350 122 msgid "% Comments" 123 msgstr "" 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 127 msgid "Edit" 351 128 msgstr "" 352 129 … … 356 133 msgstr "" 357 134 135 #: loop.php:110 loop.php:138 functions.php:241 attachment.php:100 136 msgid "Continue reading <span class=\"meta-nav\">→</span>" 137 msgstr "" 138 139 #: loop.php:139 page.php:31 attachment.php:101 onecolumn-page.php:26 140 #: single.php:31 141 msgid "Pages:" 142 msgstr "" 143 358 144 #: loop.php:146 359 #, php-format360 145 msgid "<span class=\"%1$s\">Posted in</span> %2$s" 361 146 msgstr "" 362 147 363 148 #: loop.php:155 364 #, php-format365 149 msgid "<span class=\"%1$s\">Tagged</span> %2$s" 366 150 msgstr "" 367 151 152 #: functions.php:97 153 msgid "Primary Navigation" 154 msgstr "" 155 156 #: functions.php:133 157 msgid "Berries" 158 msgstr "" 159 160 #: functions.php:139 161 msgid "Cherry Blossoms" 162 msgstr "" 163 164 #: functions.php:145 165 msgid "Concave" 166 msgstr "" 167 168 #: functions.php:151 169 msgid "Fern" 170 msgstr "" 171 172 #: functions.php:157 173 msgid "Forest Floor" 174 msgstr "" 175 176 #: functions.php:163 177 msgid "Inkwell" 178 msgstr "" 179 180 #: functions.php:169 181 msgid "Path" 182 msgstr "" 183 184 #: functions.php:175 185 msgid "Sunset" 186 msgstr "" 187 188 #: functions.php:308 189 msgid "%s <span class=\"says\">says:</span>" 190 msgstr "" 191 192 #: functions.php:311 193 msgid "Your comment is awaiting moderation." 194 msgstr "" 195 196 #: functions.php:318 197 msgid "%1$s at %2$s" 198 msgstr "" 199 200 #: functions.php:318 functions.php:335 201 msgid "(Edit)" 202 msgstr "" 203 204 #: functions.php:335 205 msgid "Pingback:" 206 msgstr "" 207 208 #: functions.php:354 209 msgid "Primary Widget Area" 210 msgstr "" 211 212 #: functions.php:356 213 msgid "The primary widget area" 214 msgstr "" 215 216 #: functions.php:365 217 msgid "Secondary Widget Area" 218 msgstr "" 219 220 #: functions.php:367 221 msgid "The secondary widget area" 222 msgstr "" 223 224 #: functions.php:376 225 msgid "First Footer Widget Area" 226 msgstr "" 227 228 #: functions.php:378 229 msgid "The first footer widget area" 230 msgstr "" 231 232 #: functions.php:387 233 msgid "Second Footer Widget Area" 234 msgstr "" 235 236 #: functions.php:389 237 msgid "The second footer widget area" 238 msgstr "" 239 240 #: functions.php:398 241 msgid "Third Footer Widget Area" 242 msgstr "" 243 244 #: functions.php:400 245 msgid "The third footer widget area" 246 msgstr "" 247 248 #: functions.php:409 249 msgid "Fourth Footer Widget Area" 250 msgstr "" 251 252 #: functions.php:411 253 msgid "The fourth footer widget area" 254 msgstr "" 255 256 #: functions.php:442 257 msgid "" 258 "<span class=\"%1$s\">Posted on</span> %2$s <span class=\"meta-sep\">by</" 259 "span> %3$s" 260 msgstr "" 261 262 #: functions.php:451 attachment.php:33 263 msgid "View all posts by %s" 264 msgstr "" 265 266 #: functions.php:468 267 msgid "" 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>." 270 msgstr "" 271 272 #: functions.php:470 273 msgid "" 274 "This entry was posted in %1$s. Bookmark the <a href=\"%3$s\" title=" 275 "\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>." 276 msgstr "" 277 278 #: functions.php:472 279 msgid "" 280 "Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark" 281 "\">permalink</a>." 282 msgstr "" 283 284 #: header.php:33 285 msgid "Page %s" 286 msgstr "" 287 288 #: header.php:83 289 msgid "Skip to content" 290 msgstr "" 291 292 #: author.php:27 293 msgid "Author Archives: %s" 294 msgstr "" 295 296 #: author.php:37 single.php:40 297 msgid "About %s" 298 msgstr "" 299 300 #: attachment.php:18 301 msgid "Return to %s" 302 msgstr "" 303 304 #: attachment.php:20 305 msgid "<span class=\"meta-nav\">←</span> %s" 306 msgstr "" 307 308 #: attachment.php:29 309 msgid "<span class=\"%1$s\">By</span> %2$s" 310 msgstr "" 311 312 #: attachment.php:40 313 msgid "<span class=\"%1$s\">Published</span> %2$s" 314 msgstr "" 315 316 #: attachment.php:50 317 msgid "Full size is %s pixels" 318 msgstr "" 319 320 #: attachment.php:53 321 msgid "Link to full-size image" 322 msgstr "" 323 368 324 #: search.php:16 369 #, php-format370 325 msgid "Search Results for: %s" 371 326 msgstr "" … … 381 336 msgstr "" 382 337 383 #: sidebar.php:27 384 msgid "Archives" 385 msgstr "" 386 387 #: sidebar.php:34 388 msgid "Meta" 338 #: archive.php:33 339 msgid "Daily Archives: <span>%s</span>" 340 msgstr "" 341 342 #: archive.php:35 343 msgid "Monthly Archives: <span>%s</span>" 344 msgstr "" 345 346 #: archive.php:37 347 msgid "Yearly Archives: <span>%s</span>" 348 msgstr "" 349 350 #: archive.php:39 351 msgid "Blog Archives" 389 352 msgstr "" 390 353 … … 400 363 401 364 #: single.php:44 402 #, php-format403 365 msgid "View all posts by %s <span class=\"meta-nav\">→</span>" 404 msgstr ""405 406 #: tag.php:16407 #, php-format408 msgid "Tag Archives: %s"409 366 msgstr "" 410 367 -
tags/3.0.5/wp-includes/default-filters.php
r59701 r59701 32 32 } 33 33 34 // Kses only for textarea savesdisplays35 foreach ( array( 'term_description', 'link_description', 'link_notes', 'user_description' ) as $filter ) {34 // Kses only for textarea admin displays 35 foreach ( array( 'term_description', 'link_description', 'link_notes', 'user_description', 'comment_text' ) as $filter ) { 36 36 add_filter( $filter, 'wp_kses_data' ); 37 37 } … … 73 73 foreach ( array( 'pre_post_type' ) as $filter ) { 74 74 add_filter( $filter, 'sanitize_user' ); 75 } 76 foreach ( array( 'pre_post_status', 'pre_post_comment_status', 'pre_post_ping_status' ) as $filter ) { 77 add_filter( $filter, 'sanitize_key' ); 75 78 } 76 79 -
tags/3.0.5/wp-includes/kses.php
r59701 r59701 1 1 <?php 2 2 /** 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!] 4 22 * 5 23 * Added wp_ prefix to avoid conflicts with existing kses users … … 7 25 * @version 0.2.2 8 26 * @copyright (C) 2002, 2003, 2005 9 * @author Ulf Harnhammar < metaur@users.sourceforge.net>27 * @author Ulf Harnhammar <http://advogato.org/person/metaur/> 10 28 * 11 29 * @package External 12 30 * @subpackage KSES 13 *14 * @internal15 * *** CONTACT INFORMATION ***16 * E-mail: metaur at users dot sourceforge dot net17 * Web page: http://sourceforge.net/projects/kses18 * Paper mail: Ulf Harnhammar19 * Ymergatan 17 C20 * 753 25 Uppsala21 * SWEDEN22 *23 * [kses strips evil scripts!]24 31 */ 25 32 -
tags/3.0.5/wp-includes/pluggable.php
r59701 r59701 826 826 $referer = strtolower(wp_get_referer()); 827 827 $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) ) { 829 829 wp_nonce_ays($action); 830 830 die(); -
tags/3.0.5/wp-includes/script-loader.php
r59701 r59701 276 276 $scripts->add_data( 'postbox', 'group', 1 ); 277 277 278 $scripts->add( 'post', "/wp-admin/js/post$suffix.js", array('suggest', 'wp-lists', 'postbox'), '201 00526' );278 $scripts->add( 'post', "/wp-admin/js/post$suffix.js", array('suggest', 'wp-lists', 'postbox'), '20110203' ); 279 279 $scripts->add_data( 'post', 'group', 1 ); 280 280 $scripts->localize( 'post', 'postL10n', array( -
tags/3.0.5/wp-includes/version.php
r59701 r59701 1 1 <?php 2 /** 3 * This holds the version number in a separate file so we can bump it without cluttering the SVN 4 */ 2 /* 3 WordPress - Web publishing software 4 5 This program is free software; you can redistribute it and/or 6 modify it under the terms of the GNU General Public License 7 as published by the Free Software Foundation; either version 2 8 of the License, or (at your option) any later version. 9 10 This program is distributed in the hope that it will be useful, 11 but WITHOUT ANY WARRANTY; without even the implied warranty of 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 GNU General Public License for more details. 14 15 You should have received a copy of the GNU General Public License 16 along with this program; if not, write to the Free Software 17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 18 */ 5 19 6 20 /** … … 9 23 * @global string $wp_version 10 24 */ 11 $wp_version = '3.0. 4';25 $wp_version = '3.0.5'; 12 26 13 27 /**
Note: See TracChangeset
for help on using the changeset viewer.