Plugin Directory

Changeset 2845620


Ignore:
Timestamp:
01/09/2023 03:55:20 PM (3 years ago)
Author:
seomantis
Message:

fixed some bugs, improved stability

Location:
seo-keywords
Files:
76 added
3 edited

Legend:

Unmodified
Added
Removed
  • seo-keywords/trunk/README.txt

    r2819943 r2845620  
    22Contributors: seomantis
    33Donate link:
    4 Tags: google suggest, artificial intelligence, seo keyword, wordpress keywords, google keywords, keyword research, google seo, seo, search engine optimization, google search console, seo wordpress
     4Tags: seo, keywords
    55Requires at least: 4.7
    6 Tested up to: 6.1.1
    7 Stable tag: 1.1
     6Tested up to: 6.0
     7Stable tag: 1.1.1
    88Requires PHP: 7.1
    99License: GPLv2 or later
     
    2727
    2828== Upgrade Notice ==
     29
     30= 1.0.9 =
     31error message and popup when no keywords are found
     32
     33= 1.0.8 =
     34bugfixes
    2935
    3036= 1.0.7 =
  • seo-keywords/trunk/admin/js/seo-keywords-admin.js

    r2766588 r2845620  
    170170            seo_link_keywords_html += `</tbody>
    171171                </table>`;
     172
     173            if( seo_keywords.length == 0 ){
     174                // No keywords found
     175                seo_link_keywords_html += `<div class="notice notice-error is-dismissible"><p>No keywords found ranking for this article yet. try again in a few days</p></div>`;
     176                seo_link_keywords_html += `
     177                <div id="seo_keywords_no_keywords_found" class="modal" tabindex="-1" role="dialog">
     178                    <div class="modal-dialog" role="document">
     179                        <div class="modal-content">
     180                            <div class="modal-header">
     181                                <h5 class="modal-title">No keywords found</h5>
     182                            </div>
     183                            <div class="modal-body">
     184                                <p>We did not find any keyword ranking in Google for this url. try waiting a few days or try reindexing the page in Google.</p>
     185                            </div>
     186                            <div class="modal-footer">
     187                                <button type="button" class="btn btn-secondary" data-dismiss="modal" onclick="jQuery('#seo_keywords_no_keywords_found').modal('hide');">Close</button>
     188                            </div>
     189                        </div>
     190                    </div>
     191                </div>`;
     192            }
     193
    172194            document.getElementById('seo_keywords').innerHTML = seo_link_keywords_html;
     195
     196            if( seo_keywords.length == 0 ) {
     197                setTimeout(function () {
     198                    jQuery('#seo_keywords_no_keywords_found').modal('show');
     199                }, 800);
     200            }
    173201        });
    174202    }
  • seo-keywords/trunk/seo-keywords.php

    r2819943 r2845620  
    1717 * Plugin URI:        https://wpseoplugins.org/seo-keywords/
    1818 * Description:       SEO Keywords is a powerful plugin that helps you add keywords in your wordpress posts. Automate keywords building with ease!
    19  * Version:           1.0.8
     19 * Version:           1.0.9
    2020 * Author:            WP SEO Plugins
    2121 * Author URI:        https://wpseoplugins.org/
     
    4242define( 'SEO_KEYWORDS_SITE_URL', ( SEO_KEYWORDS_SERVER_PORT == 80 ? 'http://' : 'https://' ) . SEO_KEYWORDS_SERVER_NAME );
    4343define( 'SEO_KEYWORDS_SERVER_REQUEST_URI', sanitize_text_field( $_SERVER['REQUEST_URI'] ) );
    44 define( 'SEO_KEYWORDS_VERSION', '1.0.8' );
     44define( 'SEO_KEYWORDS_VERSION', '1.0.9' );
    4545
    4646/**
Note: See TracChangeset for help on using the changeset viewer.