Plugin Directory

Changeset 2657263


Ignore:
Timestamp:
01/13/2022 03:51:38 PM (4 years ago)
Author:
proofratings
Message:

version 1.0.7

Location:
proofratings
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • proofratings/tags/1.0.7/inc/class-proofratings.php

    r2650552 r2657263  
    154154            PRIMARY KEY (`id`)
    155155        );");
     156
     157        $this->registration('activate');
    156158    }
    157159
     
    160162     * @since 1.0.6
    161163     */
    162     function registration() {
     164    function registration($source = 'registration') {
    163165        $request_url = add_query_arg(array(
    164166            'name' => get_bloginfo( 'name' ),
    165167            'email' => get_bloginfo( 'admin_email' ),
    166             'url' => get_site_url()
     168            'url' => get_site_url(),
     169            'source' => $source
    167170        ), PROOFRATINGS_API_URL . '/register');
    168171
  • proofratings/trunk/inc/class-proofratings.php

    r2650552 r2657263  
    154154            PRIMARY KEY (`id`)
    155155        );");
     156
     157        $this->registration('activate');
    156158    }
    157159
     
    160162     * @since 1.0.6
    161163     */
    162     function registration() {
     164    function registration($source = 'registration') {
    163165        $request_url = add_query_arg(array(
    164166            'name' => get_bloginfo( 'name' ),
    165167            'email' => get_bloginfo( 'admin_email' ),
    166             'url' => get_site_url()
     168            'url' => get_site_url(),
     169            'source' => $source
    167170        ), PROOFRATINGS_API_URL . '/register');
    168171
Note: See TracChangeset for help on using the changeset viewer.