Plugin Directory

Changeset 1199718

Timestamp:
07/16/2015 01:08:28 AM (9 years ago)
Author:
pbaylies
Message:

Minor release; added sitemap cron schedule, bumped version, bugfixes.

Location:
all-in-one-seo-pack/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • all-in-one-seo-pack/trunk/aioseop_class.php

    r1174808 r1199718  
    23492349          "target": "{$home_url}/?s={search_term}",
    23502350          "query-input": "required name=search_term"
    2351         }
     2351        }
    23522352EOF;
    23532353        }
     
    23582358          "@context": "http://schema.org",
    23592359          "@type": "WebSite",
    2360           "url": "{$home_url}/",
    23612360EOF;
    23622361        if ( !empty( $name_block ) )   $search_box .= $name_block;
    23632362        if ( !empty( $search_block ) ) $search_box .= $search_block;
    23642363        $search_box.=<<<EOF
     2364
    23652365        }
    23662366</script>
  • all-in-one-seo-pack/trunk/aioseop_module_class.php

    r1174808 r1199718  
    572572        function is_bad_referer() {
    573573            $referlist = $this->default_bad_referers();
    574             $referlist = apply_filters( $this->prefix . "badreferlist", $botlist );
    575             if ( !empty( $referlist ) ) {
     574            $referlist = apply_filters( $this->prefix . "badreferlist", $referlist );
     575
     576            if ( !empty( $referlist ) && !empty( $_SERVER ) && !empty( $_SERVER['HTTP_REFERER'] ) ) {
    576577                $ref = $_SERVER['HTTP_REFERER'];
    577578                $regex = $this->quote_list_for_regex( $referlist );
  • all-in-one-seo-pack/trunk/aioseop_opengraph.php

    r1174808 r1199718  
    787787                    }
    788788                }
     789
    789790            if ( !empty( $social_links ) ) {
    790791                $home_url = esc_url( get_home_url() );
  • all-in-one-seo-pack/trunk/aioseop_sitemap.php

    r1174808 r1199718  
    8181                    'google'    => Array( 'name'      => __( 'Notify Google', 'all_in_one_seo_pack') ),
    8282                    'bing'      => Array( 'name'      => __( 'Notify Bing',  'all_in_one_seo_pack') ),
    83                     'daily_cron'=> Array( 'name'      => __( 'Schedule Daily Updates', 'all_in_one_seo_pack' ) ),
     83                    'daily_cron'=> Array( 'name'      => __( 'Schedule Updates', 'all_in_one_seo_pack' ), 'type' => 'select',
     84                                           'initial_options' => Array(  0        => __( 'No Schedule', 'all_in_one_seo_pack' ),
     85                                                                        'daily'  => __( 'Daily', 'all_in_one_seo_pack' ),
     86                                                                        'weekly' => __( 'Weekly', 'all_in_one_seo_pack' ),
     87                                                                        'monthly'=> __( 'Monthly', 'all_in_one_seo_pack' ) ),
     88                                            'default' => 0 ),
    8489                    'indexes'   => Array( 'name'      => __( 'Enable Sitemap Indexes', 'all_in_one_seo_pack' ) ),
    8590                    'paginate'  => Array( 'name'      => __( 'Paginate Sitemap Indexes', 'all_in_one_seo_pack' ),
     
    206211        }
    207212       
     213
     214
     215
     216
     217
     218
     219
     220
     221
     222
     223
     224
     225
     226
    208227        function cron_update() {
     228
    209229            if ( !wp_next_scheduled( $this->prefix . 'daily_update_cron' ) )
    210                 wp_schedule_event( time(), 'daily', $this->prefix . 'daily_update_cron' );
     230                wp_schedule_event( time(), , $this->prefix . 'daily_update_cron' );
    211231        }
    212232       
  • all-in-one-seo-pack/trunk/all_in_one_seo_pack.php

    r1174808 r1199718  
    44Plugin URI: http://semperfiwebdesign.com
    55Description: Out-of-the-box SEO for your WordPress blog. <a href="admin.php?page=all-in-one-seo-pack/aioseop_class.php">Options configuration panel</a> | <a href="http://semperplugins.com/plugins/all-in-one-seo-pack-pro-version/?loc=plugins" target="_blank">Upgrade to Pro Version</a> | <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mrtorbert%40gmail%2ecom&item_name=All%20In%20One%20SEO%20Pack&item_number=Support%20Open%20Source&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8">Donate</a> | <a href="http://semperplugins.com/support/" >Support</a> |  <a href="https://www.amazon.com/wishlist/1NFQ133FNCOOA/ref=wl_web" target="_blank" title="Amazon Wish List">Amazon Wishlist</a>
    6 Version: 2.2.7
     6Version: 2.2.7
    77Author: Michael Torbert
    88Author URI: http://michaeltorbert.com
     
    3131/**
    3232 * @package All-in-One-SEO-Pack
    33  * @version 2.2.7
     33 * @version 2.2.7
    3434 */
    3535
     
    4242
    4343if ( ! defined( 'AIOSEOP_VERSION' ) )
    44     define( 'AIOSEOP_VERSION', '2.2.7' );
     44    define( 'AIOSEOP_VERSION', '2.2.7' );
    4545
    4646if ( ! defined( 'AIOSEOP_PLUGIN_DIR' ) ) {
Note: See TracChangeset for help on using the changeset viewer.