Make WordPress Core


Ignore:
Timestamp:
09/24/2017 02:21:42 PM (7 years ago)
Author:
azaozz
Message:

Retire Press This and extract it to a plugin. First run.

Props kraftbj, azaozz.
See #41689.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/ajax-actions.php

    r41563 r41584  
    31903190
    31913191/**
    3192  * Ajax handler for saving a post from Press This.
    3193  *
    3194  * @since 4.2.0
    3195  */
    3196 function wp_ajax_press_this_save_post() {
    3197     include( ABSPATH . 'wp-admin/includes/class-wp-press-this.php' );
    3198     $wp_press_this = new WP_Press_This();
    3199     $wp_press_this->save_post();
    3200 }
    3201 
    3202 /**
    3203  * Ajax handler for creating new category from Press This.
    3204  *
    3205  * @since 4.2.0
    3206  */
    3207 function wp_ajax_press_this_add_category() {
    3208     include( ABSPATH . 'wp-admin/includes/class-wp-press-this.php' );
    3209     $wp_press_this = new WP_Press_This();
    3210     $wp_press_this->add_category();
    3211 }
    3212 
    3213 /**
    32143192 * Ajax handler for cropping an image.
    32153193 *
Note: See TracChangeset for help on using the changeset viewer.