Changes in trunk/wp-admin/bookmarklet.php [4144:2972]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/bookmarklet.php
r4144 r2972 4 4 5 5 if ( ! current_user_can('edit_posts') ) 6 wp_die(__('Cheatin’ uh?'));6 die ("Cheatin' uh?"); 7 7 8 8 if ('b' == $a): … … 26 26 $popuptitle = wp_specialchars(stripslashes($popuptitle)); 27 27 $text = wp_specialchars(stripslashes(urldecode($text))); 28 28 29 29 $popuptitle = funky_javascript_fix($popuptitle); 30 30 $text = funky_javascript_fix($text); 31 31 32 32 $post_title = wp_specialchars($_REQUEST['post_title']); 33 33 if (!empty($post_title)) … … 35 35 else 36 36 $post->post_title = $popuptitle; 37 37 38 38 39 39 $content = wp_specialchars($_REQUEST['content']); … … 51 51 <head> 52 52 <title><?php bloginfo('name') ?> › Bookmarklet — WordPress</title> 53 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_ option('blog_charset'); ?>" />53 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_settings('blog_charset'); ?>" /> 54 54 <link rel="stylesheet" href="wp-admin.css" type="text/css" /> 55 55
Note: See TracChangeset
for help on using the changeset viewer.