Plugin Directory

Changeset 1584736


Ignore:
Timestamp:
01/30/2017 01:18:48 AM (9 years ago)
Author:
reblogdog
Message:

Commit v5.3.1

Location:
blogdog
Files:
3 edited
6 copied

Legend:

Unmodified
Added
Removed
  • blogdog/trunk/admin/admin.php

    r1584364 r1584736  
    11511151            blogdog :: blogdog_deactivation();
    11521152           
    1153             /** Delete option from database. */
    1154             delete_option( 'blogdog_api_active' );
     1153            /** Update option to database. */
     1154            update_option( 'blogdog_api_active', 'api_inactive' );
    11551155           
    11561156            $response['html'] = 'API Deactivated';
     
    11741174                wp_schedule_event( time(), 'daily', 'blogdog_cron' );
    11751175               
    1176                 /** Add option to database. */
     1176                /** Update option to database. */
    11771177                update_option( 'blogdog_api_active', 'api_active' );
    11781178           
  • blogdog/trunk/blogdog.php

    r1584364 r1584736  
    44Plugin URI:  https://reblogdog.com
    55Description: Add automated real estate content to your website. We publish an SEO optimized blog post for you everyday.
    6 Version:     5.3.0
     6Version:     5.3.1
    77Author:      reblogdog
    88Author URI:  https://reblogdog.com
     
    2828
    2929if ( ! defined( 'BLOGDOG_PLUGIN_VERSION' ) )
    30     define( 'BLOGDOG_PLUGIN_VERSION', '5.3.0' );
     30    define( 'BLOGDOG_PLUGIN_VERSION', '5.3.1' );
    3131
    3232/**
     
    369369         *
    370370         */
    371         if( ! get_option( 'blogdog_api_active' ) ) {
     371        if( get_option( 'blogdog_api_active' ) === 'api_inactive' ) {
    372372       
    373373            /** Clear cron schedule. */
  • blogdog/trunk/readme.txt

    r1584364 r1584736  
    6161== Changelog ==
    6262
     63= 5.3.1=
     64
     65* Replace `delete_option` with `update_option` for API activation/deactivation.
     66
    6367= 5.3.0 =
    6468
Note: See TracChangeset for help on using the changeset viewer.