Changeset 2819949
- Timestamp:
- 11/17/2022 05:17:47 PM (3 years ago)
- Location:
- seo-quick-images
- Files:
-
- 42 added
- 4 edited
-
assets/1.3 (added)
-
assets/1.3/admin (added)
-
assets/1.3/admin/admin-general-setting.php (added)
-
assets/1.3/assets (added)
-
assets/1.3/assets/css (added)
-
assets/1.3/assets/css/seo_images_style.css (added)
-
assets/1.3/assets/images (added)
-
assets/1.3/assets/images/spinner-2x.gif (added)
-
assets/1.3/assets/js (added)
-
assets/1.3/assets/js/seo_images_ajax_script.js (added)
-
assets/1.3/assets/js/seo_images_script.js (added)
-
assets/1.3/lib (added)
-
assets/1.3/lib/draw-db-tables.php (added)
-
assets/1.3/loader.php (added)
-
assets/1.3/readme.txt (added)
-
assets/1.3/seo_images.php (added)
-
assets/1.3/uninstall.php (added)
-
assets/1.3/view (added)
-
assets/1.3/view/seoImagesSettings.php (added)
-
assets/1.3/view/settings.php (added)
-
assets/1.3/wp_seo_plugins.php (added)
-
tags/1.3 (added)
-
tags/1.3/admin (added)
-
tags/1.3/admin/admin-general-setting.php (added)
-
tags/1.3/assets (added)
-
tags/1.3/assets/css (added)
-
tags/1.3/assets/css/seo_images_style.css (added)
-
tags/1.3/assets/images (added)
-
tags/1.3/assets/images/spinner-2x.gif (added)
-
tags/1.3/assets/js (added)
-
tags/1.3/assets/js/seo_images_ajax_script.js (added)
-
tags/1.3/assets/js/seo_images_script.js (added)
-
tags/1.3/lib (added)
-
tags/1.3/lib/draw-db-tables.php (added)
-
tags/1.3/loader.php (added)
-
tags/1.3/readme.txt (added)
-
tags/1.3/seo_images.php (added)
-
tags/1.3/uninstall.php (added)
-
tags/1.3/view (added)
-
tags/1.3/view/seoImagesSettings.php (added)
-
tags/1.3/view/settings.php (added)
-
tags/1.3/wp_seo_plugins.php (added)
-
trunk/admin/admin-general-setting.php (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/seo_images.php (modified) (2 diffs)
-
trunk/view/settings.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
seo-quick-images/trunk/admin/admin-general-setting.php
r2769630 r2819949 16 16 add_action("add_meta_boxes", array($this, "SEO_IMAGES_adding_custom_meta_boxes"), 10, 2 ); 17 17 add_action('admin_menu', array( $this, 'settings' ), 100, 2 ); 18 add_action('admin_init', array( $this, 'start_session' ), 1); 18 19 } 19 20 20 21 public function start_session(){ 22 if (!session_id()) 23 session_start(); 24 } 21 25 22 26 public function settings() { -
seo-quick-images/trunk/readme.txt
r2769630 r2819949 2 2 Contributors: WP Seo Plugins 3 3 Donate link: 4 Tags: seo, images 4 Tags: seo, images, quick images insertion, automatic images, seo images, artificial intelligence, automatic images 5 5 Requires at least: 4.7 6 Tested up to: 6. 07 Stable tag: 1. 2.16 Tested up to: 6.1.1 7 Stable tag: 1.3 8 8 Requires PHP: 7.1 9 9 License: GPLv2 or later -
seo-quick-images/trunk/seo_images.php
r2769630 r2819949 1 1 <?php 2 define( 'SEO_IMAGES_VERSION', '1.2. 1' );2 define( 'SEO_IMAGES_VERSION', '1.2.2' ); 3 3 /** 4 4 * Plugin Name: Seo Quick Images … … 6 6 * Author: WP SEO Plugins 7 7 * Description: SEO Images is a powerful plugin that helps you add images in your wordpress posts, based on titles. Enhance your content with a lot of images! 8 * Version: 1.2. 18 * Version: 1.2.2 9 9 */ 10 10 -
seo-quick-images/trunk/view/settings.php
r2769630 r2819949 11 11 <?php endif; ?> 12 12 13 <?php if(isset($_SESSION['wp_seo_plugins_status']) && (sanitize_text_field( $_SESSION['wp_seo_plugins_status'] ) == 0 || sanitize_text_field( $_SESSION['wp_seo_plugins_status'] == 1) ) ) : ?>13 <?php if(isset($_SESSION['wp_seo_plugins_status']) && (sanitize_text_field( $_SESSION['wp_seo_plugins_status'] ) >= 0 || sanitize_text_field( $_SESSION['wp_seo_plugins_status'] == 1) ) ) : ?> 14 14 <div class="notice notice-success is-dismissible"> 15 15 <p><?php echo esc_html( $_SESSION['wp_seo_plugins_message'] ); ?></p> 16 16 </div> 17 <?php endif; ?> 18 <?php if(isset($_SESSION['wp_seo_plugins_status']) && sanitize_text_field( $_SESSION['wp_seo_plugins_status'] ) < 0) : ?> 19 <tr> 20 <td colspan="2"> 21 <div class="notice notice-error is-dismissible"><p><?php echo $_SESSION['wp_seo_plugins_message']; ?></p></div> 22 </td> 23 </tr> 17 24 <?php endif; ?> 18 25 <?php $wp_seo_plugins_user_display_name = get_option( 'wp_seo_plugins_user_display_name' ); ?> … … 83 90 <th colspan="2"><h3>Login and get an Api Key</h3></th> 84 91 </tr> 85 <?php if(isset($_SESSION['wp_seo_plugins_status']) && sanitize_text_field( $_SESSION['wp_seo_plugins_status'] ) == -1) : ?>86 <tr>87 <td colspan="2">88 <div class="notice notice-error is-dismissible"><p><?php echo esc_html( $_SESSION['wp_seo_plugins_message'] ); ?></p></div>89 </td>90 </tr>91 <?php endif; ?>92 <?php if(isset($_SESSION['wp_seo_plugins_status']) && sanitize_text_field( $_SESSION['wp_seo_plugins_status'] ) == 1) : ?>93 <tr>94 <td colspan="2">95 <div class="notice notice-success is-dismissible"><p><?php echo esc_html( $_SESSION['wp_seo_plugins_message'] ); ?></p></div>96 </td>97 </tr>98 <?php endif; ?>99 92 <tr> 100 93 <th scope="row"> … … 133 126 <th colspan="2"><h3>Register as new user and get an Api Key</h3></th> 134 127 </tr> 135 <?php if(isset($_SESSION['wp_seo_plugins_status']) && sanitize_text_field( $_SESSION['wp_seo_plugins_status'] ) == -10) : ?>136 <tr>137 <td colspan="2">138 <div class="notice notice-error is-dismissible"><p><?php echo esc_html( $_SESSION['wp_seo_plugins_message'] ); ?></p></div>139 </td>140 </tr>141 <?php endif; ?>142 <?php if(isset($_SESSION['wp_seo_plugins_status']) && sanitize_text_field( $_SESSION['wp_seo_plugins_status'] ) == 0) : ?>143 <tr>144 <td colspan="2">145 <div class="notice notice-success is-dismissible"><p><?php echo esc_html( $_SESSION['wp_seo_plugins_message'] ); ?></p></div>146 </td>147 </tr>148 <?php endif; ?>149 128 <tr> 150 129 <th scope="row">
Note: See TracChangeset
for help on using the changeset viewer.