Changeset 3047500
- Timestamp:
- 03/07/2024 10:10:39 PM (12 months ago)
- Location:
- patron-button-and-widgets-by-codebard/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
patron-button-and-widgets-by-codebard/trunk/index.php
r3000943 r3047500 4 4 Plugin URI: https://wordpress.org/plugins/patron-button-and-widgets-by-codebard/ 5 5 Description: Patreon Patron Buttons, Widgets and Patreon Functions 6 Version: 2.2. 06 Version: 2.2.1 7 7 Author: CodeBard 8 Author URI: http ://codebard.com8 Author URI: https://codebard.com 9 9 Text Domain: cb_p6 10 10 Domain Path: /lang … … 53 53 require_once($this->internal['plugin_path'].'plugin/includes/hardcoded_vars.php'); 54 54 55 if(isset($_REQUEST[$this->internal['prefix'].'action'] ))56 { 57 $this->internal['requested_action'] = $_REQUEST[$this->internal['prefix'].'action'];55 if(isset($_REQUEST[$this->internal['prefix'].'action'] )) 56 { 57 $this->internal['requested_action'] = filter_var( $_REQUEST[$this->internal['prefix'].'action'], FILTER_SANITIZE_STRING); 58 58 } 59 59 else … … 686 686 if(isset($_REQUEST[$this->internal['prefix'].'tab'])) 687 687 { 688 $tab =$_REQUEST[$this->internal['prefix'].'tab'];688 $tab = filter_var( $_REQUEST[$this->internal['prefix'].'tab'], FILTER_SANITIZE_STRING ) ; 689 689 } 690 690 … … 806 806 if(isset($_REQUEST[$this->internal['prefix'] . 'tab'])) 807 807 { 808 $tab = sanitize_text_field($_REQUEST[$this->internal['prefix'].'tab']);808 $tab = filter_var( $_REQUEST[$this->internal['prefix'].'tab'], FILTER_SANITIZE_STRING ); 809 809 } 810 810 else … … 855 855 if(isset($_REQUEST[$this->internal['prefix'] . 'tab'])) 856 856 { 857 $tab = sanitize_text_field( $_REQUEST[$this->internal['prefix'] . 'tab']);857 $tab = filter_var( $_REQUEST[$this->internal['prefix'] . 'tab'], FILTER_SANITIZE_STRING ); 858 858 859 859 } … … 884 884 if(isset($_REQUEST['tab'])) 885 885 { 886 $tab =$_REQUEST['tab'];886 $tab = filter_var( $_REQUEST['tab'], FILTER_SANITIZE_STRING ); 887 887 888 888 } -
patron-button-and-widgets-by-codebard/trunk/plugin/includes/default_internal_vars.php
r3000943 r3047500 11 11 'plugin_id' => 'patron-button-and-widgets-by-codebard', 12 12 'prefix' => 'cb_p6_', 13 'version' => '2.2. 0',13 'version' => '2.2.1', 14 14 'plugin_name' => 'CodeBard\'s Patron Button and Widgets for Patreon', 15 15 -
patron-button-and-widgets-by-codebard/trunk/plugin/plugin.php
r3000943 r3047500 209 209 $current_screen=get_current_screen(); 210 210 211 if($current_screen->base=='toplevel_page_settings_'.$this->internal['id'] OR ( isset( $_REQUEST['page']) AND $_REQUEST['page'] == 'cb_p6_install_pw' ) )211 if($current_screen->base=='toplevel_page_settings_'.$this->internal['id'] OR ( isset( $_REQUEST['page']) AND $_REQUEST['page'] == 'cb_p6_install_pw' ) ) 212 212 { 213 213 wp_enqueue_style( $this->internal['id'].'-css-admin', $this->internal['plugin_url'].'plugin/includes/css/admin.css' ); … … 1342 1342 1343 1343 if ( isset( $_REQUEST['cb_p6_admin_message_title'] ) ) { 1344 $heading = $this->lang[ $_REQUEST['cb_p6_admin_message_title']];1344 $heading = $this->lang[ filter_var( $_REQUEST['cb_p6_admin_message_title'], FILTER_SANITIZE_STRING) ]; 1345 1345 } 1346 1346 if ( isset( $_REQUEST['cb_p6_admin_message_content'] ) ) { 1347 $content = $this->lang[ $_REQUEST['cb_p6_admin_message_content']];1347 $content = $this->lang[ filter_var( $_REQUEST['cb_p6_admin_message_content'], FILTER_SANITIZE_STRING) ]; 1348 1348 } 1349 1349 -
patron-button-and-widgets-by-codebard/trunk/readme.txt
r3000943 r3047500 7 7 License: GPL 8 8 Requires at least: 4.0 9 Tested up to: 6.4. 110 Stable Tag: 2.2. 09 Tested up to: 6.4.3 10 Stable Tag: 2.2.1 11 11 12 12 Patron Button and Plugin allows you to add Patreon Buttons to your content and sidebars, along with offering other Patreon functions. Upgradable to Patron Plugin Pro with patron-only posts and powerful features. … … 61 61 == Upgrade Notice == 62 62 63 = 2.2.1 = 64 65 * Sanitized various inputs against xss attacks 66 63 67 = 2.2.0 = 64 68 … … 203 207 == Changelog == 204 208 209 = 2.2.1 = 210 211 * Sanitized various inputs against xss attacks 212 205 213 = 2.2.0 = 206 214
Note: See TracChangeset
for help on using the changeset viewer.