Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
jakejackson1 committed Aug 29, 2024
1 parent 7793e23 commit b362996
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Model/Model_Form_Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -620,6 +620,8 @@ public function register_custom_appearance_settings( $settings ) {
* @since 4.0
*/
public function get_template_name_from_current_page() {

/* phpcs:disable WordPress.Security.NonceVerification.Recommended */
$pid = ! empty( $_GET['pid'] ) ? sanitize_html_class( rgget( 'pid' ) ) : sanitize_html_class( rgpost( 'gform_pdf_id' ) );
$form_id = isset( $_GET['id'] ) ? (int) $_GET['id'] : 0;
/* phpcs:enable */
Expand Down

0 comments on commit b362996

Please sign in to comment.