Changeset 7931

Show
Ignore:
Timestamp:
05/14/08 16:59:07 (6 months ago)
Author:
ryan
Message:

Brand as Press This. see #6813

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-admin/press-this.php

    r7927 r7931  
    184184    </script> 
    185185 
    186             <form action="quick-post.php?action=post" method="post" id="photo_form"> 
    187                 <?php wp_nonce_field('quick-post') ?> 
     186            <form action="press-this.php?action=post" method="post" id="photo_form"> 
     187                <?php wp_nonce_field('press-this') ?> 
    188188                <input type="hidden" name="source" value="bookmarklet"/> 
    189189                <input type="hidden" name="post_type" value="photo"/> 
     
    249249    <?php wp_enqueue_script('thickbox'); ?> 
    250250    <?php do_action('admin_print_scripts'); do_action('admin_head'); ?> 
    251     <?php wp_admin_css('css/quick-post'); ?> 
     251    <?php wp_admin_css('css/press-this'); ?> 
    252252    <?php wp_admin_css( 'css/colors' ); ?> 
    253253 
     
    311311<?php 
    312312if ( 'post' == $_REQUEST['action'] ) { 
    313     check_admin_referer('quick-post'); 
     313    check_admin_referer('press-this'); 
    314314    $post_ID = quick_post(); 
    315315?> 
     
    332332        <!-- Regular --> 
    333333        <div id="section-1"> 
    334           <form action="quick-post.php?action=post" method="post" id="regular_form"> 
    335                 <?php wp_nonce_field('quick-post') ?> 
     334          <form action="press-this.php?action=post" method="post" id="regular_form"> 
     335                <?php wp_nonce_field('press-this') ?> 
    336336                <input type="hidden" name="source" value="bookmarklet"/> 
    337337                <input type="hidden" name="post_type" value="regular"/> 
     
    364364        <!-- Quote --> 
    365365        <div id="section-3"> 
    366             <form action="quick-post.php?action=post" method="post" id="quote_form"> 
    367                 <?php wp_nonce_field('quick-post') ?> 
     366            <form action="press-this.php?action=post" method="post" id="quote_form"> 
     367                <?php wp_nonce_field('press-this') ?> 
    368368                <input type="hidden" name="source" value="bookmarklet"/> 
    369369                <input type="hidden" name="post_type" value="quote"/> 
     
    401401        <!-- Video --> 
    402402        <div id="section-4"> 
    403             <form action="quick-post.php?action=post" method="post" id="video_form"> 
    404                 <?php wp_nonce_field('quick-post') ?> 
     403            <form action="press-this.php?action=post" method="post" id="video_form"> 
     404                <?php wp_nonce_field('press-this') ?> 
    405405                <input type="hidden" name="source" value="bookmarklet"/> 
    406406                <input type="hidden" name="post_type" value="video"/> 
  • trunk/wp-includes/link-template.php

    r7927 r7931  
    751751            var x=d.selection; 
    752752            var s=(e?e():(k)?k():(x?x.createRange().text:0)); 
    753             var f='" . get_settings('siteurl') . '/wp-admin/quick-post.php' . "'; 
     753            var f='" . get_settings('siteurl') . '/wp-admin/press-this.php' . "'; 
    754754            var l=d.location; 
    755755            var e=encodeURIComponent;