Version Description
- Fixed theme framework integration per this suggestion.
- Upgraded Backend class to 0.1.1.
Download this release
Release Info
| Developer | joostdevalk |
| Plugin | |
| Version | 0.8.1 |
| Comparing to | |
| See all releases | |
Code changes from version 0.8 to 0.8.1
- readme.txt +5 -1
- yoast-breadcrumbs.php +2 -1
- yst_plugin_tools.php +6 -1
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ Donate link: http://yoast.com/donate/
|
|
| 4 |
Tags: rss, footer
|
| 5 |
Requires at least: 2.2
|
| 6 |
Tested up to: 2.8.2
|
| 7 |
-
stable tag: 0.8
|
| 8 |
|
| 9 |
Easily add breadcrumbs to your template!
|
| 10 |
|
|
@@ -20,6 +20,10 @@ More info:
|
|
| 20 |
|
| 21 |
== Changelog ==
|
| 22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
= 0.8 =
|
| 24 |
* Switched to new Yoast Plugin Backend.
|
| 25 |
* Prevented issues with double declaration of breadcrumbs.
|
| 4 |
Tags: rss, footer
|
| 5 |
Requires at least: 2.2
|
| 6 |
Tested up to: 2.8.2
|
| 7 |
+
stable tag: 0.8.1
|
| 8 |
|
| 9 |
Easily add breadcrumbs to your template!
|
| 10 |
|
| 20 |
|
| 21 |
== Changelog ==
|
| 22 |
|
| 23 |
+
= 0.8.1 =
|
| 24 |
+
* Fixed theme framework integration per [this suggestion](http://wordpress.org/support/topic/292107).
|
| 25 |
+
* Upgraded Backend class to 0.1.1.
|
| 26 |
+
|
| 27 |
= 0.8 =
|
| 28 |
* Switched to new Yoast Plugin Backend.
|
| 29 |
* Prevented issues with double declaration of breadcrumbs.
|
yoast-breadcrumbs.php
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
Plugin Name: Yoast Breadcrumbs
|
| 3 |
Plugin URI: http://yoast.com/wordpress/breadcrumbs/
|
| 4 |
Description: Outputs a fully customizable breadcrumb path.
|
| 5 |
-
Version: 0.8
|
| 6 |
Author: Joost de Valk
|
| 7 |
Author URI: http://yoast.com/
|
| 8 |
|
|
@@ -309,6 +309,7 @@ function yoast_breadcrumb($prefix = '', $suffix = '', $display = true) {
|
|
| 309 |
}
|
| 310 |
|
| 311 |
function yoast_breadcrumb_output() {
|
|
|
|
| 312 |
if ($opt['trytheme'])
|
| 313 |
yoast_breadcrumb('<div id="yoastbreadcrumb">','</div>');
|
| 314 |
return;
|
| 2 |
Plugin Name: Yoast Breadcrumbs
|
| 3 |
Plugin URI: http://yoast.com/wordpress/breadcrumbs/
|
| 4 |
Description: Outputs a fully customizable breadcrumb path.
|
| 5 |
+
Version: 0.8.1
|
| 6 |
Author: Joost de Valk
|
| 7 |
Author URI: http://yoast.com/
|
| 8 |
|
| 309 |
}
|
| 310 |
|
| 311 |
function yoast_breadcrumb_output() {
|
| 312 |
+
$opt = get_option('yoast_breadcrumbs');
|
| 313 |
if ($opt['trytheme'])
|
| 314 |
yoast_breadcrumb('<div id="yoastbreadcrumb">','</div>');
|
| 315 |
return;
|
yst_plugin_tools.php
CHANGED
|
@@ -1,5 +1,10 @@
|
|
| 1 |
<?php
|
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
if (!class_exists('Yoast_Plugin_Admin')) {
|
| 4 |
class Yoast_Plugin_Admin {
|
| 5 |
|
|
@@ -94,7 +99,7 @@ if (!class_exists('Yoast_Plugin_Admin')) {
|
|
| 94 |
$content = '<table class="form-table">';
|
| 95 |
foreach ($rows as $row) {
|
| 96 |
$content .= '<tr valign="top"><th scrope="row">';
|
| 97 |
-
if ($row['id'] != '')
|
| 98 |
$content .= '<label for="'.$row['id'].'">'.$row['label'].':</label>';
|
| 99 |
else
|
| 100 |
$content .= $row['label'];
|
| 1 |
<?php
|
| 2 |
|
| 3 |
+
/**
|
| 4 |
+
* Backend Class for use in all Yoast plugins
|
| 5 |
+
* Version 0.1.1
|
| 6 |
+
*/
|
| 7 |
+
|
| 8 |
if (!class_exists('Yoast_Plugin_Admin')) {
|
| 9 |
class Yoast_Plugin_Admin {
|
| 10 |
|
| 99 |
$content = '<table class="form-table">';
|
| 100 |
foreach ($rows as $row) {
|
| 101 |
$content .= '<tr valign="top"><th scrope="row">';
|
| 102 |
+
if (isset($row['id']) && $row['id'] != '')
|
| 103 |
$content .= '<label for="'.$row['id'].'">'.$row['label'].':</label>';
|
| 104 |
else
|
| 105 |
$content .= $row['label'];
|
