Version Description
- Fix WP_PLUGIN_URL and replace with plugins_url() to help with redirects on SSL. (01/01/2012)
Download this release
Release Info
Developer | prophecy2040 |
Plugin | Quick Page/Post Redirect Plugin |
Version | 4.2.3 |
Comparing to | |
See all releases |
Code changes from version 4.2.2 to 4.2.3
- page_post_redirect_plugin.php +5 -5
- readme.txt +7 -7
page_post_redirect_plugin.php
CHANGED
@@ -6,7 +6,7 @@ Description: Redirect Pages, Posts or Custom Post Types to another location quic
|
|
6 |
Author: Don Fischer
|
7 |
Author URI: http://www.fischercreativemedia.com/
|
8 |
Donate link: http://www.fischercreativemedia.com/wordpress-plugins/donate/
|
9 |
-
Version: 4.2.
|
10 |
|
11 |
Version info:
|
12 |
See change log in readme.txt file.
|
@@ -114,7 +114,7 @@ class quick_page_post_reds {
|
|
114 |
}
|
115 |
|
116 |
function ppr_add_menu(){
|
117 |
-
add_menu_page('Redirect Menu', 'Redirect Menu', 'administrator', 'redirect-options', array($this,'ppr_settings_page'),
|
118 |
add_submenu_page( 'redirect-options', 'Quick Redirects', 'Quick Redirects', 'manage_options', 'redirect-updates', array($this,'ppr_options_page') );
|
119 |
add_submenu_page( 'redirect-options', 'Redirect Summary', 'Redirect Summary', 'manage_options', 'redirect-summary', array($this,'ppr_summary_page') );
|
120 |
add_action( 'admin_init', array($this,'register_pprsettings') );
|
@@ -135,7 +135,7 @@ class quick_page_post_reds {
|
|
135 |
function ppr_summary_page() {?>
|
136 |
<div class="wrap">
|
137 |
<style type="text/css">.pprdonate{padding:5px;border:1px solid #dadada;font-family:tahoma, arial, helvetica, sans-serif;font-size:12px;float:right;position:absolute;top:25px;right:5px;width:250px;text-align:center;}.qform-table td{padding:2px !important;border:1px solid #cccccc;}.qform-table .headrow td{font-weight:bold;}.qform-table .onrow td{background-color:#eaeaea;}.qform-table .offrow td{background-color:#ffffff;}</style>
|
138 |
-
<div class="icon32" style="<?php echo 'background: url('.
|
139 |
<h2>Quick Page Post Redirect Summary</h2>
|
140 |
<p>This is a summary of Individual redirects only. Quick 301 Redirects can be found <a href="admin.php?page=redirect-updates">here</a>.</p><br/>
|
141 |
<?php if($this->updatemsg!=''){?><div class="updated settings-error" id="setting-error-settings_updated"><p><strong><?php echo $this->updatemsg;?></strong></p></div><?php } ?>
|
@@ -217,7 +217,7 @@ class quick_page_post_reds {
|
|
217 |
?>
|
218 |
<div class="wrap" style="position:relative;">
|
219 |
<style type="text/css">.pprdonate{padding:5px;border:1px solid #dadada;font-family:tahoma, arial, helvetica, sans-serif;font-size:12px;float:right;position:absolute;top:25px;right:5px;width:250px;text-align:center;}.qpprform label {float:left;display:block;width:290px;margin-left:30px;}.qpprform .submit{clear:both;}.qpprform span{font-size:9px;}</style>
|
220 |
-
<div class="icon32" style="<?php echo 'background: url('.
|
221 |
<div class="pprdonate">
|
222 |
<p>If you enjoy or find any of our plugins useful, please donate a few dollars to help with future development and updates.</p>
|
223 |
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
@@ -288,7 +288,7 @@ class quick_page_post_reds {
|
|
288 |
$tohash = $this->homelink.'/';
|
289 |
?>
|
290 |
<div class="wrap">
|
291 |
-
<div class="icon32" style="<?php echo 'background: url('.
|
292 |
<script type="text/javascript">jQuery(document).ready(function() {jQuery(".delete-qppr").click(function(){var mainurl = '<?php echo get_bloginfo('url');?>/'; var thepprdel = jQuery(this).attr('id');if(confirm('Are you sure you want to delete this redirect?')){jQuery.ajax({url: mainurl+"/",data : "pprd="+thepprdel+"&scid=<?php echo md5($tohash);?>",success: function(data){jQuery('#row'+thepprdel).remove();},complete: function(){}});return false;}else{return false;}});});</script>
|
293 |
<h2>Quick 301 Redirects</h2>
|
294 |
<?php if($this->updatemsg!=''){?><div class="updated settings-error" id="setting-error-settings_updated"><p><strong><?php echo $this->updatemsg;?></strong></p></div><?php } ?>
|
6 |
Author: Don Fischer
|
7 |
Author URI: http://www.fischercreativemedia.com/
|
8 |
Donate link: http://www.fischercreativemedia.com/wordpress-plugins/donate/
|
9 |
+
Version: 4.2.3
|
10 |
|
11 |
Version info:
|
12 |
See change log in readme.txt file.
|
114 |
}
|
115 |
|
116 |
function ppr_add_menu(){
|
117 |
+
add_menu_page('Redirect Menu', 'Redirect Menu', 'administrator', 'redirect-options', array($this,'ppr_settings_page'),plugins_url().'/quick-pagepost-redirect-plugin/settings-16-icon.png');
|
118 |
add_submenu_page( 'redirect-options', 'Quick Redirects', 'Quick Redirects', 'manage_options', 'redirect-updates', array($this,'ppr_options_page') );
|
119 |
add_submenu_page( 'redirect-options', 'Redirect Summary', 'Redirect Summary', 'manage_options', 'redirect-summary', array($this,'ppr_summary_page') );
|
120 |
add_action( 'admin_init', array($this,'register_pprsettings') );
|
135 |
function ppr_summary_page() {?>
|
136 |
<div class="wrap">
|
137 |
<style type="text/css">.pprdonate{padding:5px;border:1px solid #dadada;font-family:tahoma, arial, helvetica, sans-serif;font-size:12px;float:right;position:absolute;top:25px;right:5px;width:250px;text-align:center;}.qform-table td{padding:2px !important;border:1px solid #cccccc;}.qform-table .headrow td{font-weight:bold;}.qform-table .onrow td{background-color:#eaeaea;}.qform-table .offrow td{background-color:#ffffff;}</style>
|
138 |
+
<div class="icon32" style="<?php echo 'background: url('.plugins_url().'/quick-pagepost-redirect-plugin/settings-icon.png) no-repeat transparent;';?>"><br></div>
|
139 |
<h2>Quick Page Post Redirect Summary</h2>
|
140 |
<p>This is a summary of Individual redirects only. Quick 301 Redirects can be found <a href="admin.php?page=redirect-updates">here</a>.</p><br/>
|
141 |
<?php if($this->updatemsg!=''){?><div class="updated settings-error" id="setting-error-settings_updated"><p><strong><?php echo $this->updatemsg;?></strong></p></div><?php } ?>
|
217 |
?>
|
218 |
<div class="wrap" style="position:relative;">
|
219 |
<style type="text/css">.pprdonate{padding:5px;border:1px solid #dadada;font-family:tahoma, arial, helvetica, sans-serif;font-size:12px;float:right;position:absolute;top:25px;right:5px;width:250px;text-align:center;}.qpprform label {float:left;display:block;width:290px;margin-left:30px;}.qpprform .submit{clear:both;}.qpprform span{font-size:9px;}</style>
|
220 |
+
<div class="icon32" style="<?php echo 'background: url('.plugins_url().'/quick-pagepost-redirect-plugin/settings-icon.png) no-repeat transparent;';?>"><br></div>
|
221 |
<div class="pprdonate">
|
222 |
<p>If you enjoy or find any of our plugins useful, please donate a few dollars to help with future development and updates.</p>
|
223 |
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
288 |
$tohash = $this->homelink.'/';
|
289 |
?>
|
290 |
<div class="wrap">
|
291 |
+
<div class="icon32" style="<?php echo 'background: url('.plugins_url().'/quick-pagepost-redirect-plugin/settings-icon.png) no-repeat transparent;';?>"><br></div>
|
292 |
<script type="text/javascript">jQuery(document).ready(function() {jQuery(".delete-qppr").click(function(){var mainurl = '<?php echo get_bloginfo('url');?>/'; var thepprdel = jQuery(this).attr('id');if(confirm('Are you sure you want to delete this redirect?')){jQuery.ajax({url: mainurl+"/",data : "pprd="+thepprdel+"&scid=<?php echo md5($tohash);?>",success: function(data){jQuery('#row'+thepprdel).remove();},complete: function(){}});return false;}else{return false;}});});</script>
|
293 |
<h2>Quick 301 Redirects</h2>
|
294 |
<?php if($this->updatemsg!=''){?><div class="updated settings-error" id="setting-error-settings_updated"><p><strong><?php echo $this->updatemsg;?></strong></p></div><?php } ?>
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: Don Fischer
|
|
3 |
Donate link: http://www.fischercreativemedia.com/wordpress-plugins/donate/
|
4 |
Tags: redirect, 301, 302, meta, post, plugin, page, forward, re-direct, nofollow, menu links, posts, pages, admin, 404, custom post types, nav menu
|
5 |
Requires at least: 3.1
|
6 |
-
Tested up to: 3.2
|
7 |
-
Stable tag:
|
8 |
|
9 |
Redirect Pages/Posts to another page/post or external URL. Has edit box as well as global options. Specify the redirect Location and type. For PHP5+
|
10 |
|
@@ -117,6 +117,9 @@ Yes, you can, but you do not always need to. If you are redirecting to an extern
|
|
117 |
4. Summary of redirects page (new in version 4.0)
|
118 |
|
119 |
== Changelog ==
|
|
|
|
|
|
|
120 |
= 4.2.2 =
|
121 |
* Fix some embarrasing spelling errors.(07/14/2011)
|
122 |
* Fix Quick Redirects links from inside the redirect edit box and plugin page - they would give a "not authorized" warning because the page location changed in version 4.0 (07/14/11)
|
@@ -200,8 +203,5 @@ Yes, you can, but you do not always need to. If you are redirecting to an extern
|
|
200 |
|
201 |
== Upgrade Notice ==
|
202 |
|
203 |
-
= 4.2 =
|
204 |
-
|
205 |
-
|
206 |
-
= 4.1 =
|
207 |
-
This upgrade contains new features and drastically reduces the plugin overhead on your site. It is strongly recommended that you updgrade.
|
3 |
Donate link: http://www.fischercreativemedia.com/wordpress-plugins/donate/
|
4 |
Tags: redirect, 301, 302, meta, post, plugin, page, forward, re-direct, nofollow, menu links, posts, pages, admin, 404, custom post types, nav menu
|
5 |
Requires at least: 3.1
|
6 |
+
Tested up to: 3.3.2
|
7 |
+
Stable tag: 4.2.3
|
8 |
|
9 |
Redirect Pages/Posts to another page/post or external URL. Has edit box as well as global options. Specify the redirect Location and type. For PHP5+
|
10 |
|
117 |
4. Summary of redirects page (new in version 4.0)
|
118 |
|
119 |
== Changelog ==
|
120 |
+
= 4.2.3 =
|
121 |
+
* Fix WP_PLUGIN_URL and replace with plugins_url() to help with redirects on SSL. (01/01/2012)
|
122 |
+
|
123 |
= 4.2.2 =
|
124 |
* Fix some embarrasing spelling errors.(07/14/2011)
|
125 |
* Fix Quick Redirects links from inside the redirect edit box and plugin page - they would give a "not authorized" warning because the page location changed in version 4.0 (07/14/11)
|
203 |
|
204 |
== Upgrade Notice ==
|
205 |
|
206 |
+
= 4.2.3 =
|
207 |
+
Fix for SSL sites - replaces WP_PLUGIN_URL constant with plugins_url() funsction for proper URL Protocol return.
|
|
|
|
|
|