Changeset 2154268
- Timestamp:
- 09/10/2019 02:22:31 PM (6 years ago)
- Location:
- team-118group-agent/trunk
- Files:
-
- 4 edited
-
modules/hooks.php (modified) (2 diffs)
-
modules/settings.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
wp-tga-filter.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
team-118group-agent/trunk/modules/hooks.php
r2148498 r2154268 1 1 <?php 2 3 2 4 3 5 // gravity form entries listing … … 222 224 223 225 } 226 227 228 229 // redirect 230 231 $redirect_url = $wpdb->get_var( $wpdb->prepare("SELECT redirect_url FROM {$wpdb->prefix}wtf_404_log WHERE request_url = %s", $current_url)); 232 233 if( $redirect_url && $redirect_url != '' ){ 234 wp_redirect( $redirect_url, 301 ); 235 die(); 236 } 237 224 238 } 225 239 } -
team-118group-agent/trunk/modules/settings.php
r2148498 r2154268 41 41 } 42 42 echo '<div class="wrap tw-bs4 table_container">'; 43 echo ' 43 44 // add custom url2redirect 45 if( $_POST['url2redirect'] ){ 46 $res = $wpdb->insert( 47 $table_name, 48 array( 49 'request_url' => sanitize_text_field( $_POST['url2redirect'] ), 50 'refferal_url' => '', 51 'timestamp' => time() , 52 53 ), 54 array( 55 '%s', 56 '%s', 57 '%d' 58 ) 59 ); 60 61 $msg = '<div class="alert alert-info">URL Added</div>'; 62 } 63 64 65 echo $msg.' 44 66 <form action="'.admin_url('admin.php?page=wtf_118_404').'" method="POST" > 45 67 <table class="table" > 46 68 <tbody> 47 <tr> 69 70 <tr> 71 72 <th scope="col"><input placeholder="Add custom URL to redirect" id="custom_redirect_url" name="url2redirect" class="col-12 form-control" value="" /></th> 73 <th scope="col"><button class="btn btn-success" >Add</button> 74 75 76 </tr> 77 78 79 80 </tbody> 81 82 </table> 83 </form> 84 <form action="'.admin_url('admin.php?page=wtf_118_404').'" method="POST" > 85 <table class="table" > 86 <tbody> 87 88 89 90 <tr> 48 91 49 92 <th scope="col"><input placeholder="Enter part of URL to filter" id="table_filter" name="url_search" class="col-12 form-control" value="'.( $_POST['url_search'] ? sanitize_text_field( $_POST['url_search'] ) : '' ).'" /></th> -
team-118group-agent/trunk/readme.txt
r2148498 r2154268 7 7 License: GPLv2 or later 8 8 License URI: https://www.gnu.org/licenses/gpl-2.0.html 9 Stable tag: 1.5 10 Version: 1.5 9 Stable tag: 1.5.1 10 Version: 1.5.1 11 11 12 12 Performs a variety of functions to assist your web designer with wordpress data and system care -
team-118group-agent/trunk/wp-tga-filter.php
r2148498 r2154268 3 3 Plugin Name: Team 118GROUP Agent 4 4 Description: Team 118GROUP Web Design Plugin to assist with monitoring your WordPress installation and assisting with system care 5 Version: 1.5 5 Version: 1.5.1 6 6 Author: Team118GROUP 7 7 Author URI: http://www.118group.com 8 Stable tag: 1.5 8 Stable tag: 1.5.1 9 9 */ 10 10
Note: See TracChangeset
for help on using the changeset viewer.