WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/bookmarklet.php

    r4144 r2972  
    44
    55if ( ! current_user_can('edit_posts') )
    6     wp_die(__('Cheatin’ uh?'));
     6    die ("Cheatin' uh?");
    77
    88if ('b' == $a):
     
    2626$popuptitle = wp_specialchars(stripslashes($popuptitle));
    2727$text       = wp_specialchars(stripslashes(urldecode($text)));
    28 
     28   
    2929$popuptitle = funky_javascript_fix($popuptitle);
    3030$text       = funky_javascript_fix($text);
    31 
     31   
    3232$post_title = wp_specialchars($_REQUEST['post_title']);
    3333if (!empty($post_title))
     
    3535else
    3636    $post->post_title = $popuptitle;
    37 
     37   
    3838 
    3939$content  = wp_specialchars($_REQUEST['content']);
     
    5151<head>
    5252<title><?php bloginfo('name') ?> &rsaquo; Bookmarklet &#8212; 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'); ?>" />
    5454<link rel="stylesheet" href="wp-admin.css" type="text/css" />
    5555
Note: See TracChangeset for help on using the changeset viewer.