Plugin Directory

Changeset 2819949


Ignore:
Timestamp:
11/17/2022 05:17:47 PM (3 years ago)
Author:
seomantis
Message:

awesome updates, all bugs fixed! peace and stay free!

Location:
seo-quick-images
Files:
42 added
4 edited

Legend:

Unmodified
Added
Removed
  • seo-quick-images/trunk/admin/admin-general-setting.php

    r2769630 r2819949  
    1616        add_action("add_meta_boxes", array($this, "SEO_IMAGES_adding_custom_meta_boxes"), 10, 2 );
    1717        add_action('admin_menu', array( $this, 'settings' ), 100, 2 );
     18        add_action('admin_init', array( $this, 'start_session' ), 1);
    1819    }
    1920
    20 
     21    public function start_session(){
     22        if (!session_id())
     23            session_start();
     24    }
    2125
    2226    public function settings() {
  • seo-quick-images/trunk/readme.txt

    r2769630 r2819949  
    22Contributors: WP Seo Plugins
    33Donate link:
    4 Tags: seo, images
     4Tags: seo, images, quick images insertion, automatic images, seo images, artificial intelligence, automatic images
    55Requires at least: 4.7
    6 Tested up to: 6.0
    7 Stable tag: 1.2.1
     6Tested up to: 6.1.1
     7Stable tag: 1.3
    88Requires PHP: 7.1
    99License: GPLv2 or later
  • seo-quick-images/trunk/seo_images.php

    r2769630 r2819949  
    11<?php
    2 define( 'SEO_IMAGES_VERSION', '1.2.1' );
     2define( 'SEO_IMAGES_VERSION', '1.2.2' );
    33/**
    44 * Plugin Name: Seo Quick Images
     
    66 * Author: WP SEO Plugins
    77 * 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.1
     8 * Version: 1.2.2
    99 */
    1010
  • seo-quick-images/trunk/view/settings.php

    r2769630 r2819949  
    1111<?php endif; ?>
    1212
    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) ) ) : ?>
    1414    <div class="notice notice-success is-dismissible">
    1515        <p><?php echo esc_html( $_SESSION['wp_seo_plugins_message'] ); ?></p>
    1616    </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>
    1724<?php endif; ?>
    1825<?php $wp_seo_plugins_user_display_name = get_option( 'wp_seo_plugins_user_display_name' ); ?>
     
    8390                        <th colspan="2"><h3>Login and get an Api Key</h3></th>
    8491                    </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; ?>
    9992                    <tr>
    10093                        <th scope="row">
     
    133126                        <th colspan="2"><h3>Register as new user and get an Api Key</h3></th>
    134127                    </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; ?>
    149128                    <tr>
    150129                        <th scope="row">
Note: See TracChangeset for help on using the changeset viewer.