Plugin Directory

Changeset 2544884


Ignore:
Timestamp:
06/09/2021 08:47:20 AM (5 years ago)
Author:
resoc
Message:

Version 1.0.1

Location:
resoc/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • resoc/trunk/README.txt

    r2544879 r2544884  
    55Requires at least: 5.0
    66Tested up to: 5.7.2
    7 Stable tag: 1.0.0
     7Stable tag: 1.0.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    8181== Changelog ==
    8282
     83= 1.0.1 =
     84* Minor fix in post save
     85
    8386= 1.0.0 =
    8487* Initial version
  • resoc/trunk/admin/class-resoc-admin.php

    r2544870 r2544884  
    5858
    5959  public function save_social_image( $post_ID ) {
    60     Resoc_Utils::log("Generate social images for post " . $post_ID );
     60    Resoc_Utils::log( "Generate social images for post " . $post_ID );
     61
     62    $post = get_post( $post_ID );
     63    if ( $post->post_type == 'revision' ) {
     64      Resoc_Utils::log( "Post " . $post_ID . " is a revision, skip" );
     65      return;
     66    }
    6167
    6268    if ( wp_is_post_autosave( $post_ID ) ) {
     69      Resoc_Utils::log( "Post " . $post_ID . " is autosaving, skip" );
    6370      return;
    6471    }
  • resoc/trunk/resoc.php

    r2544872 r2544884  
    1717 * Plugin URI:        https://resoc.io/resoc-uri/
    1818 * Description:       This is a short description of what the plugin does. It's displayed in the WordPress admin area.
    19  * Version:           1.0.0
     19 * Version:           1.0.1
    2020 * Author:            Resoc
    2121 * Author URI:        https://resoc.io/
     
    3636 * Rename this for your plugin and update it as you release new versions.
    3737 */
    38 define( 'RESOC_VERSION', '1.0.0' );
     38define( 'RESOC_VERSION', '1.0.1' );
    3939
    4040/**
Note: See TracChangeset for help on using the changeset viewer.