Changeset 2750803
- Timestamp:
- 07/01/2022 01:54:20 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
linkworth-wp-plugin/trunk/lw_includes/LinkWorth_admin.php
r561990 r2750803 21 21 22 22 //UPDATE DEALS 23 if( isset( $_POST['lw_update_deal_list'] ) )23 if( isset( $_POST['lw_update_deal_list'] ) && wp_verify_nonce($_POST['update_general_settings_field'], 'update_general_settings_action') ) 24 24 { 25 25 update_option( 'lw_cache_time', 0 ); … … 32 32 33 33 //DELETE SETTINGS 34 if( isset( $_POST['lw_delete_settings'] ) )34 if( isset( $_POST['lw_delete_settings'] ) && wp_verify_nonce($_POST['update_advanced_options_field'], 'update_advanced_options_action') ) 35 35 { 36 36 delete_option('lw_linkintxts'); … … 46 46 $billboard_base = 'pages'; 47 47 } 48 elseif( isset( $_POST['lw_update_settings'] ) )48 elseif( isset( $_POST['lw_update_settings'] ) && wp_verify_nonce($_POST['update_advanced_options_field'], 'update_advanced_options_action') ) 49 49 { 50 50 //PROCESS POST BEFOR UPDATING … … 426 426 <p style="display:inline-block; margin-top:0;"><small><em>(Overview of published adverts.)</em></small></p> 427 427 <p>Information listed here has been generated based on the lists of approved ads in your LinkWorth account on our servers.</p> 428 428 429 429 <table cellspacing="0" cellpadding="0" class="widefat"> 430 430 <thead> … … 618 618 </tr> 619 619 </table> 620 <?php wp_nonce_field( 'update_general_settings_action', 'update_general_settings_field' ); ?> 620 621 </form> 621 622 </fieldset> … … 663 664 <div id="message" class="updated fade"> 664 665 <p style="font-weight:bold;"> 665 Your theme has <?php echo $loop_count ?> loop. 666 Your theme has <?php echo $loop_count ?> loop. 666 667 If you do not have a static page as your home page, your theme could be using more then one instance of 'The Loop.' 667 668 The number of loops could be higher then <?php echo $loop_count ?>. … … 770 771 771 772 <input type="hidden" name="updating_advanced_options" value="1" /> 773 <?php wp_nonce_field( 'update_advanced_options_action', 'update_advanced_options_field' ); ?> 772 774 </form> 773 775 </fieldset>
Note: See TracChangeset
for help on using the changeset viewer.