Changeset 2872577
- Timestamp:
- 02/28/2023 06:53:22 PM (3 years ago)
- Location:
- aiwriter
- Files:
-
- 4 edited
- 1 copied
-
tags/0.7.2 (copied) (copied from aiwriter/trunk)
-
tags/0.7.2/aiwriter.php (modified) (4 diffs)
-
tags/0.7.2/readme.txt (modified) (1 diff)
-
trunk/aiwriter.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
aiwriter/tags/0.7.2/aiwriter.php
r2871648 r2872577 5 5 * Requires at least: 6.0.0 6 6 * Requires PHP: 8.0.0 7 * Version: 0.7. 17 * Version: 0.7.2 8 8 * Author: floriansimeth 9 9 * License: GPL-2.0-or-later … … 542 542 } 543 543 544 if ( ! isset( $screen->is_block_editor ) ) {545 return;546 }547 548 549 544 if ( ! function_exists( 'get_plugin_data' ) ) { 550 545 $file = ABSPATH . 'wp-admin/includes/plugin.php'; … … 558 553 559 554 $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 }567 555 568 556 $data = (object) [ … … 826 814 */ 827 815 function 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 828 830 ?> 829 831 <script> -
aiwriter/tags/0.7.2/readme.txt
r2871648 r2872577 3 3 Tags: gpt3, chat-gpt, ai, gpt, gpt-3 content creation, content generation, content automation, openai 4 4 Tested up to: 6.1.1 5 Stable tag: 0.7. 15 Stable tag: 0.7.2 6 6 Requires PHP: 8.0 7 7 Requires at least: 6.0 -
aiwriter/trunk/aiwriter.php
r2871648 r2872577 5 5 * Requires at least: 6.0.0 6 6 * Requires PHP: 8.0.0 7 * Version: 0.7. 17 * Version: 0.7.2 8 8 * Author: floriansimeth 9 9 * License: GPL-2.0-or-later … … 542 542 } 543 543 544 if ( ! isset( $screen->is_block_editor ) ) {545 return;546 }547 548 549 544 if ( ! function_exists( 'get_plugin_data' ) ) { 550 545 $file = ABSPATH . 'wp-admin/includes/plugin.php'; … … 558 553 559 554 $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 }567 555 568 556 $data = (object) [ … … 826 814 */ 827 815 function 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 828 830 ?> 829 831 <script> -
aiwriter/trunk/readme.txt
r2871648 r2872577 3 3 Tags: gpt3, chat-gpt, ai, gpt, gpt-3 content creation, content generation, content automation, openai 4 4 Tested up to: 6.1.1 5 Stable tag: 0.7. 15 Stable tag: 0.7.2 6 6 Requires PHP: 8.0 7 7 Requires at least: 6.0
Note: See TracChangeset
for help on using the changeset viewer.