Make WordPress Core


Ignore:
Timestamp:
11/19/2006 07:56:05 AM (19 years ago)
Author:
ryan
Message:

Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986

File:
1 edited

Legend:

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

    r4144 r4495  
    3636    $post->post_title = $popuptitle;
    3737
    38  
     38
    3939$content  = wp_specialchars($_REQUEST['content']);
    4040$popupurl = wp_specialchars($_REQUEST['popupurl']);
    41     if ( !empty($content) ) {
    42         $post->post_content = wp_specialchars( stripslashes($_REQUEST['content']) );
    43     } else {
    44         $post->post_content = '<a href="'.$popupurl.'">'.$popuptitle.'</a>'."\n$text";
    45     }
     41if ( !empty($content) ) {
     42    $post->post_content = wp_specialchars( stripslashes($_REQUEST['content']) );
     43} else {
     44    $post->post_content = '<a href="'.$popupurl.'">'.$popuptitle.'</a>'."\n$text";
     45}
    4646
    47     /* /big funky fixes */
     47/* /big funky fixes */
    4848
    4949?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     
    7878
    7979#wpbookmarklet .wrap {
    80     border: 0px;
     80    border: 0px;
    8181}
    8282
    8383#wpbookmarklet #postdiv {
    84     margin-bottom: 0.5em;
     84    margin-bottom: 0.5em;
    8585}
    8686
    8787#wpbookmarklet #titlediv {
    88     margin-bottom: 1em;
     88    margin-bottom: 1em;
    8989}
    9090
Note: See TracChangeset for help on using the changeset viewer.