Ticket #3474: 3474.diff
File 3474.diff, 3.9 KB (added by , 18 years ago) |
---|
-
wp-admin/admin-functions.php
561 561 562 562 function edit_link( $link_id = '' ) { 563 563 if (!current_user_can( 'manage_links' )) 564 wp_die( __( 'Cheatin& 8217; uh?' ));564 wp_die( __( 'Cheatin’ uh?' )); 565 565 566 566 $_POST['link_url'] = wp_specialchars( $_POST['link_url'] ); 567 567 $_POST['link_url'] = preg_match('/^(https?|ftps?|mailto|news|irc|gopher|nntp|feed|telnet):/is', $_POST['link_url']) ? $_POST['link_url'] : 'http://' . $_POST['link_url']; -
wp-admin/export.php
14 14 <div class="narrow"> 15 15 <p><?php _e('When you click the button below WordPress will create an XML file for you to save to your computer.'); ?></p> 16 16 <p><?php _e('This format, which we call WordPress eXtended RSS or WXR, will contain your posts, comments, custom fields, and categories.'); ?></p> 17 <p><?php _e('Once you& 8217;ve saved the download file, you can use the Import function on another WordPress blog to import this blog.'); ?></p>17 <p><?php _e('Once you’ve saved the download file, you can use the Import function on another WordPress blog to import this blog.'); ?></p> 18 18 <form action="" method="get"> 19 19 <h3><?php _e('Optional options'); ?></h3> 20 20 -
wp-admin/plugins.php
79 79 80 80 if (empty($plugins)) { 81 81 echo '<p>'; 82 _e("Couldn& 8217;t open plugins directory or there are no plugins available."); // TODO: make more helpful82 _e("Couldn’t open plugins directory or there are no plugins available."); // TODO: make more helpful 83 83 echo '</p>'; 84 84 } else { 85 85 ?> -
wp-admin/link-add.php
28 28 29 29 <div id="wp-link-bookmarklet" class="wrap"> 30 30 <h3><?php _e('Add Link Bookmarklet'); ?></h3> 31 <p><?php _e('Right click on the following link and choose "Bookmark This Link..." to create an add link shortcut. Right now this only works on Mozilla or Netscape, but we& 8217;re working on it.'); ?></p>31 <p><?php _e('Right click on the following link and choose "Bookmark This Link..." to create an add link shortcut. Right now this only works on Mozilla or Netscape, but we’re working on it.'); ?></p> 32 32 <?php printf('<p><a href="%s" title="'.__('Link add bookmarklet').'">'.__('Link This').'</a></p>', "javascript:void(linkmanpopup=window.open('" . get_option('siteurl') . "/wp-admin/link-add.php?action=popup&linkurl='+escape(location.href)+'&name='+escape(document.title),'LinkManager','scrollbars=yes,width=750,height=550,left=15,top=15,status=yes,resizable=yes'));linkmanpopup.focus();window.focus();linkmanpopup.focus();") ?> 33 33 </div> 34 34 -
wp-admin/categories.php
34 34 35 35 // Don't delete the default cats. 36 36 if ( $cat_ID == get_option('default_category') ) 37 wp_die(sprintf(__("Can& 8217;t delete the <strong>%s</strong> category: this is the default one"), $cat_name));37 wp_die(sprintf(__("Can’t delete the <strong>%s</strong> category: this is the default one"), $cat_name)); 38 38 39 39 if ( $cat_ID == get_option('default_link_category') ) 40 wp_die(sprintf(__("Can& 8217;t delete the <strong>%s</strong> category: this is the default one for links"), $cat_name));40 wp_die(sprintf(__("Can’t delete the <strong>%s</strong> category: this is the default one for links"), $cat_name)); 41 41 42 42 wp_delete_category($cat_ID); 43 43