@@ -278,7 +278,7 @@ |
||
| 278 | 278 | |
| 279 | 279 | add_rewrite_endpoint($endpoint, EP_ROOT); |
| 280 | 280 | |
| 281 | - $this->logging->log("Endpoint {$endpoint} added.", __METHOD__, 'debug'); |
|
| 281 | + $this->logging->log("endpoint {$endpoint} added.", __METHOD__, 'debug'); |
|
| 282 | 282 | |
| 283 | 283 | if (get_site_option(self::PERMALINK_FLUSH_OPTION_NAME)) { |
| 284 | 284 | return; |
@@ -1173,7 +1173,7 @@ |
||
| 1173 | 1173 | <button id="tl-%1$s-copy" class="tl-%1$s-auth__accesskey_copy button" aria-live="off" title="%7$s"><span class="screen-reader-text">%5$s</span></button> |
| 1174 | 1174 | </div> |
| 1175 | 1175 | </%6$s> |
| 1176 | -EOD; |
|
| 1176 | +eod; |
|
| 1177 | 1177 | |
| 1178 | 1178 | $access_key_output = sprintf( |
| 1179 | 1179 | $access_key_template, |
@@ -422,7 +422,7 @@ |
||
| 422 | 422 | </header> |
| 423 | 423 | <div class="gform-settings-panel__content" style="padding: 0 1rem 1.25rem"> |
| 424 | 424 | |
| 425 | -HTML; |
|
| 425 | +html; |
|
| 426 | 426 | } else { |
| 427 | 427 | echo '<div class="gv-uninstall-form-wrapper" style="font-size: 110%; padding: 15px 0;">'; |
| 428 | 428 | } ?> |
@@ -68,7 +68,7 @@ |
||
| 68 | 68 | $table_name = GFFormsModel::get_lead_meta_table_name(); |
| 69 | 69 | } |
| 70 | 70 | |
| 71 | - $sql = "UPDATE {$table_name} SET `meta_value` = %s WHERE `meta_key` = 'is_approved' AND `meta_value` = %s"; |
|
| 71 | + $sql = "update {$table_name} SET `meta_value` = %s WHERE `meta_key` = 'is_approved' AND `meta_value` = %s"; |
|
| 72 | 72 | |
| 73 | 73 | $approved_result = $wpdb->query($wpdb->prepare($sql, GravityView_Entry_Approval_Status::APPROVED, 'Approved')); |
| 74 | 74 | |
@@ -594,7 +594,7 @@ |
||
| 594 | 594 | $column = 'lead_id'; |
| 595 | 595 | } |
| 596 | 596 | |
| 597 | - $results = $wpdb->get_results($wpdb->prepare("SELECT $column, meta_value FROM $table WHERE form_id = (SELECT form_id FROM $table WHERE $column = %d LIMIT 1) AND meta_key = 'gravityview_unique_id'", $id_or_string)); |
|
| 597 | + $results = $wpdb->get_results($wpdb->prepare("select $column, meta_value FROM $table WHERE form_id = (SELECT form_id FROM $table WHERE $column = %d LIMIT 1) AND meta_key = 'gravityview_unique_id'", $id_or_string)); |
|
| 598 | 598 | |
| 599 | 599 | if ($results) { |
| 600 | 600 | $cache = array_replace($cache, array_combine(wp_list_pluck($results, $column), wp_list_pluck($results, 'meta_value'))); |
@@ -425,7 +425,7 @@ |
||
| 425 | 425 | {{field_settings}} |
| 426 | 426 | {{hidden_fields}} |
| 427 | 427 | </div> |
| 428 | -EOD; |
|
| 428 | +eod; |
|
| 429 | 429 | |
| 430 | 430 | $output = $template; |
| 431 | 431 | |
@@ -770,7 +770,7 @@ |
||
| 770 | 770 | <a href="#" data-approved="{$choices['approved']['value']}" aria-role="button" aria-live="polite" class="gv-approval-toggle gv-approval-approved popover" title="{$choices['approved']['action']}"><span class="screen-reader-text">{$choices['approved']['action']}</span></a> |
| 771 | 771 | <a href="#" data-approved="{$choices['disapproved']['value']}" aria-role="button" aria-live="polite" class="gv-approval-toggle gv-approval-disapproved popover" title="{$choices['disapproved']['action']}"><span class="screen-reader-text">{$choices['disapproved']['action']}</span></a> |
| 772 | 772 | <a href="#" data-approved="{$choices['unapproved']['value']}" aria-role="button" aria-live="polite" class="gv-approval-toggle gv-approval-unapproved popover" title="{$choices['unapproved']['action']}"><span class="screen-reader-text">{$choices['unapproved']['action']}</span></a> |
| 773 | -TEMPLATE; |
|
| 773 | +template; |
|
| 774 | 774 | } |
| 775 | 775 | } |
| 776 | 776 | |