Making WordPress.org


Ignore:
Timestamp:
12/17/2018 07:35:34 AM (6 years ago)
Author:
vedjain
Message:

WCPT: Applied coding standards.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-event/tracker.php

    r7984 r7986  
    5555            FROM {$wpdb->prefix}postmeta
    5656            WHERE
    57                 meta_key like '_status_change_log_$post_type%'
     57                meta_key like %s
    5858            AND
    5959                meta_value >= %d
    6060            GROUP BY post_id
    6161            ",
     62            '_status_change_log_' . $post_type . '%',
    6263            $inactive_timestamp
    6364        )
     
    137138 * Based on the event type passed, we will localize different data for Meetup and WordCamp events.
    138139 *
    139  * @param string application_type Application type for the tracker table. Could be either `wordcamp` or `meetup`.
     140 * @param string $application_type Application type for the tracker table. Could be either `wordcamp` or `meetup`.
    140141 */
    141142function enqueue_scripts( $application_type ) {
    142     global $post;
    143 
    144143    wp_register_script(
    145144        'wpc-application-tracker',
Note: See TracChangeset for help on using the changeset viewer.