Version Description
Download this release
Release Info
Developer | redwallhp |
Plugin | WP125 |
Version | 1.5.0 |
Comparing to | |
See all releases |
Code changes from version 1.4.9 to 1.5.0
- adminmenus.php +2 -1
- readme.txt +3 -2
- wp125.php +1 -1
adminmenus.php
CHANGED
@@ -119,7 +119,7 @@ $editingad = $wpdb->get_row($wpdb->prepare(
|
|
119 |
?><div class="wrap">
|
120 |
|
121 |
<?php
|
122 |
-
if ($_POST['Submit']) {
|
123 |
$post_editedad = $wpdb->escape($_POST['editedad']);
|
124 |
$post_adname = $wpdb->escape($_POST['adname']);
|
125 |
$post_adslot = $wpdb->escape($_POST['adslot']);
|
@@ -164,6 +164,7 @@ echo '<div id="message" class="updated fade"><p>'.__('Ad deleted.', 'wp125').'</
|
|
164 |
<h2><?php _e('Add/Edit Ads', 'wp125'); ?></h2>
|
165 |
|
166 |
<form method="post" action="admin.php?page=wp125_addedit">
|
|
|
167 |
<table class="form-table">
|
168 |
|
169 |
<?php if ($_GET['editad']!='') { echo '<input name="editedad" type="hidden" value="'.intval($_GET['editad']).'" />'; } ?>
|
119 |
?><div class="wrap">
|
120 |
|
121 |
<?php
|
122 |
+
if ( $_POST['Submit'] && wp_verify_nonce($_POST['nonce_wp125_addedit'],'wp125_addedit') ) {
|
123 |
$post_editedad = $wpdb->escape($_POST['editedad']);
|
124 |
$post_adname = $wpdb->escape($_POST['adname']);
|
125 |
$post_adslot = $wpdb->escape($_POST['adslot']);
|
164 |
<h2><?php _e('Add/Edit Ads', 'wp125'); ?></h2>
|
165 |
|
166 |
<form method="post" action="admin.php?page=wp125_addedit">
|
167 |
+
<?php wp_nonce_field('wp125_addedit', 'nonce_wp125_addedit'); ?>
|
168 |
<table class="form-table">
|
169 |
|
170 |
<?php if ($_GET['editad']!='') { echo '<input name="editedad" type="hidden" value="'.intval($_GET['editad']).'" />'; } ?>
|
readme.txt
CHANGED
@@ -6,7 +6,7 @@ Donate link: http://www.webmaster-source.com/donate/?plugin=wp125
|
|
6 |
Tags: ads, 125x125, management, advertisement
|
7 |
Requires at least: 2.8
|
8 |
Tested up to: 3.5.1
|
9 |
-
Stable tag: 1.
|
10 |
|
11 |
Easy management of 125x125 ads on your blog. Ads can be run for a specified number of days, and will automatically be taken down. Track clicks too.
|
12 |
|
@@ -128,4 +128,5 @@ If you're having a problem with the plugin, try posting on the official WordPres
|
|
128 |
* 1.4.6 - Fix for duplicate ad expiration emails, part II: The Bug Strikes Back.
|
129 |
* 1.4.7 - Added uninstaller to properly remove WP125's database tables when removing the plugin.
|
130 |
* 1.4.8 - Translation update.
|
131 |
-
* 1.4.9 - Some changes to the default CSS. Added a clearfix to the ads in two-column mode (finally!). Also, updated some buttons to match changes in WordPress.
|
|
6 |
Tags: ads, 125x125, management, advertisement
|
7 |
Requires at least: 2.8
|
8 |
Tested up to: 3.5.1
|
9 |
+
Stable tag: 1.5.0
|
10 |
|
11 |
Easy management of 125x125 ads on your blog. Ads can be run for a specified number of days, and will automatically be taken down. Track clicks too.
|
12 |
|
128 |
* 1.4.6 - Fix for duplicate ad expiration emails, part II: The Bug Strikes Back.
|
129 |
* 1.4.7 - Added uninstaller to properly remove WP125's database tables when removing the plugin.
|
130 |
* 1.4.8 - Translation update.
|
131 |
+
* 1.4.9 - Some changes to the default CSS. Added a clearfix to the ads in two-column mode (finally!). Also, updated some buttons to match changes in WordPress.
|
132 |
+
* 1.5.0 - Fixed a potential CSRF vulnerability. (Minor security fix.)
|
wp125.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://www.webmaster-source.com/wp125-ad-plugin-wordpress/
|
|
5 |
Description: Easily manage 125x125 ads within your WordPress Dashboard.
|
6 |
Author: Matt Harzewski (redwall_hp)
|
7 |
Author URI: http://www.webmaster-source.com
|
8 |
-
Version: 1.
|
9 |
*/
|
10 |
|
11 |
|
5 |
Description: Easily manage 125x125 ads within your WordPress Dashboard.
|
6 |
Author: Matt Harzewski (redwall_hp)
|
7 |
Author URI: http://www.webmaster-source.com
|
8 |
+
Version: 1.5.0
|
9 |
*/
|
10 |
|
11 |
|