Plugin Directory

Changeset 2872577


Ignore:
Timestamp:
02/28/2023 06:53:22 PM (3 years ago)
Author:
floriansimeth
Message:

Update to version 0.7.2 from GitHub

Location:
aiwriter
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • aiwriter/tags/0.7.2/aiwriter.php

    r2871648 r2872577  
    55 * Requires at least: 6.0.0
    66 * Requires PHP:      8.0.0
    7  * Version:           0.7.1
     7 * Version:           0.7.2
    88 * Author:            floriansimeth
    99 * License:           GPL-2.0-or-later
     
    542542    }
    543543
    544     if ( ! isset( $screen->is_block_editor ) ) {
    545         return;
    546     }
    547 
    548 
    549544    if ( ! function_exists( 'get_plugin_data' ) ) {
    550545        $file = ABSPATH . 'wp-admin/includes/plugin.php';
     
    558553
    559554    $pluginData = get_plugin_data( __FILE__, false, false );
    560 
    561     $activationCodeEncrypted = get_option( 'aiwriter/activation_code', '' );
    562     try {
    563         $activationCode = cryptoHelper( $activationCodeEncrypted, 'decrypt' );
    564     } catch ( Exception $e ) {
    565         $activationCode = '';
    566     }
    567555
    568556    $data = (object) [
     
    826814 */
    827815function classicEditorTinyMceScripts(): void {
     816    $screen = get_current_screen();
     817
     818    if ( ! $screen instanceof \WP_Screen ) {
     819        return;
     820    }
     821
     822    if ( ! isset( $screen->is_block_editor ) ) {
     823        return;
     824    }
     825
     826    if ( $screen->is_block_editor ) {
     827        return;
     828    }
     829
    828830    ?>
    829831    <script>
  • aiwriter/tags/0.7.2/readme.txt

    r2871648 r2872577  
    33Tags:              gpt3, chat-gpt, ai, gpt, gpt-3 content creation, content generation, content automation, openai
    44Tested up to:      6.1.1
    5 Stable tag:        0.7.1
     5Stable tag:        0.7.2
    66Requires PHP:      8.0
    77Requires at least: 6.0
  • aiwriter/trunk/aiwriter.php

    r2871648 r2872577  
    55 * Requires at least: 6.0.0
    66 * Requires PHP:      8.0.0
    7  * Version:           0.7.1
     7 * Version:           0.7.2
    88 * Author:            floriansimeth
    99 * License:           GPL-2.0-or-later
     
    542542    }
    543543
    544     if ( ! isset( $screen->is_block_editor ) ) {
    545         return;
    546     }
    547 
    548 
    549544    if ( ! function_exists( 'get_plugin_data' ) ) {
    550545        $file = ABSPATH . 'wp-admin/includes/plugin.php';
     
    558553
    559554    $pluginData = get_plugin_data( __FILE__, false, false );
    560 
    561     $activationCodeEncrypted = get_option( 'aiwriter/activation_code', '' );
    562     try {
    563         $activationCode = cryptoHelper( $activationCodeEncrypted, 'decrypt' );
    564     } catch ( Exception $e ) {
    565         $activationCode = '';
    566     }
    567555
    568556    $data = (object) [
     
    826814 */
    827815function classicEditorTinyMceScripts(): void {
     816    $screen = get_current_screen();
     817
     818    if ( ! $screen instanceof \WP_Screen ) {
     819        return;
     820    }
     821
     822    if ( ! isset( $screen->is_block_editor ) ) {
     823        return;
     824    }
     825
     826    if ( $screen->is_block_editor ) {
     827        return;
     828    }
     829
    828830    ?>
    829831    <script>
  • aiwriter/trunk/readme.txt

    r2871648 r2872577  
    33Tags:              gpt3, chat-gpt, ai, gpt, gpt-3 content creation, content generation, content automation, openai
    44Tested up to:      6.1.1
    5 Stable tag:        0.7.1
     5Stable tag:        0.7.2
    66Requires PHP:      8.0
    77Requires at least: 6.0
Note: See TracChangeset for help on using the changeset viewer.