Version Description
- Fix a redirection bug in 2.9
Download this release
Release Info
Developer | markjaquith |
Plugin | Page Links To |
Version | 2.9.1 |
Comparing to | |
See all releases |
Code changes from version 2.9 to 2.9.1
- page-links-to.php +3 -3
- readme.txt +4 -1
page-links-to.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Page Links To
|
4 |
Plugin URI: http://txfx.net/wordpress-plugins/page-links-to/
|
5 |
Description: Allows you to point WordPress pages or posts to a URL of your choosing. Good for setting up navigational links to non-WP sections of your site or to off-site resources.
|
6 |
-
Version: 2.9
|
7 |
Author: Mark Jaquith
|
8 |
Author URI: http://coveredwebservices.com/
|
9 |
Text Domain: page-links-to
|
@@ -410,10 +410,10 @@ class CWS_PageLinksTo extends WP_Stack_Plugin {
|
|
410 |
if ( ! is_singular() )
|
411 |
return;
|
412 |
|
413 |
-
if ( !
|
414 |
return;
|
415 |
|
416 |
-
$link = $this->get_link(
|
417 |
|
418 |
if ( ! $link )
|
419 |
return;
|
3 |
Plugin Name: Page Links To
|
4 |
Plugin URI: http://txfx.net/wordpress-plugins/page-links-to/
|
5 |
Description: Allows you to point WordPress pages or posts to a URL of your choosing. Good for setting up navigational links to non-WP sections of your site or to off-site resources.
|
6 |
+
Version: 2.9.1
|
7 |
Author: Mark Jaquith
|
8 |
Author URI: http://coveredwebservices.com/
|
9 |
Text Domain: page-links-to
|
410 |
if ( ! is_singular() )
|
411 |
return;
|
412 |
|
413 |
+
if ( ! get_queried_object_id() )
|
414 |
return;
|
415 |
|
416 |
+
$link = $this->get_link( get_queried_object_id() );
|
417 |
|
418 |
if ( ! $link )
|
419 |
return;
|
readme.txt
CHANGED
@@ -7,7 +7,7 @@ Donate link: http://txfx.net/wordpress-plugins/donate
|
|
7 |
Tags: page, redirect, link, external link, repoint
|
8 |
Requires at least: 3.4
|
9 |
Tested up to: 3.6
|
10 |
-
Stable tag: 2.
|
11 |
|
12 |
Lets you make a WordPress page (or other content type) link to an external URL of your choosing, instead of its WordPress URL.
|
13 |
|
@@ -59,6 +59,9 @@ Yes. Linking to `/my-photos.php` is a good idea, as it'll still work if you move
|
|
59 |
|
60 |
== Changelog ==
|
61 |
|
|
|
|
|
|
|
62 |
= 2.9 =
|
63 |
* Respect "open in new tab" setting in more custom situations, like custom loops and widgets.
|
64 |
* Add unit tests
|
7 |
Tags: page, redirect, link, external link, repoint
|
8 |
Requires at least: 3.4
|
9 |
Tested up to: 3.6
|
10 |
+
Stable tag: 2.9
|
11 |
|
12 |
Lets you make a WordPress page (or other content type) link to an external URL of your choosing, instead of its WordPress URL.
|
13 |
|
59 |
|
60 |
== Changelog ==
|
61 |
|
62 |
+
= 2.9.1 =
|
63 |
+
* Fix a redirection bug in 2.9
|
64 |
+
|
65 |
= 2.9 =
|
66 |
* Respect "open in new tab" setting in more custom situations, like custom loops and widgets.
|
67 |
* Add unit tests
|