Version Description
- Upgraded Backend class to 0.1.2.
Download this release
Release Info
| Developer | joostdevalk |
| Plugin | |
| Version | 0.8.3 |
| Comparing to | |
| See all releases | |
Code changes from version 0.8.2 to 0.8.3
- readme.txt +3 -0
- yoast-breadcrumbs.php +1 -1
- yst_plugin_tools.php +19 -2
readme.txt
CHANGED
|
@@ -28,6 +28,9 @@ More info:
|
|
| 28 |
|
| 29 |
== Changelog ==
|
| 30 |
|
|
|
|
|
|
|
|
|
|
| 31 |
= 0.8.2 =
|
| 32 |
* Fixed minor issue in post preview when post has no categories yet as per [this thread](http://wordpress.org/support/topic/292512).
|
| 33 |
* Added support for [WP Framework](http://wpframework.com/).
|
| 28 |
|
| 29 |
== Changelog ==
|
| 30 |
|
| 31 |
+
= 0.8.3 =
|
| 32 |
+
* Upgraded Backend class to 0.1.2.
|
| 33 |
+
|
| 34 |
= 0.8.2 =
|
| 35 |
* Fixed minor issue in post preview when post has no categories yet as per [this thread](http://wordpress.org/support/topic/292512).
|
| 36 |
* Added support for [WP Framework](http://wpframework.com/).
|
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 |
|
| 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.3
|
| 6 |
Author: Joost de Valk
|
| 7 |
Author URI: http://yoast.com/
|
| 8 |
|
yst_plugin_tools.php
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
|
| 3 |
/**
|
| 4 |
* Backend Class for use in all Yoast plugins
|
| 5 |
-
* Version 0.1.
|
| 6 |
*/
|
| 7 |
|
| 8 |
if (!class_exists('Yoast_Plugin_Admin')) {
|
|
@@ -13,6 +13,7 @@ if (!class_exists('Yoast_Plugin_Admin')) {
|
|
| 13 |
var $longname = '';
|
| 14 |
var $shortname = '';
|
| 15 |
var $ozhicon = '';
|
|
|
|
| 16 |
var $accesslvl = 'manage_options';
|
| 17 |
|
| 18 |
function Yoast_Plugin_Admin() {
|
|
@@ -76,6 +77,22 @@ if (!class_exists('Yoast_Plugin_Admin')) {
|
|
| 76 |
}
|
| 77 |
}
|
| 78 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 79 |
/**
|
| 80 |
* Create a potbox widget
|
| 81 |
*/
|
|
@@ -189,7 +206,7 @@ if (!class_exists('Yoast_Plugin_Admin')) {
|
|
| 189 |
}
|
| 190 |
|
| 191 |
function widget_setup() {
|
| 192 |
-
wp_add_dashboard_widget( 'yoast_db_widget' , 'The Latest news from Yoast
|
| 193 |
}
|
| 194 |
}
|
| 195 |
}
|
| 2 |
|
| 3 |
/**
|
| 4 |
* Backend Class for use in all Yoast plugins
|
| 5 |
+
* Version 0.1.2
|
| 6 |
*/
|
| 7 |
|
| 8 |
if (!class_exists('Yoast_Plugin_Admin')) {
|
| 13 |
var $longname = '';
|
| 14 |
var $shortname = '';
|
| 15 |
var $ozhicon = '';
|
| 16 |
+
var $optionname = '';
|
| 17 |
var $accesslvl = 'manage_options';
|
| 18 |
|
| 19 |
function Yoast_Plugin_Admin() {
|
| 77 |
}
|
| 78 |
}
|
| 79 |
|
| 80 |
+
/**
|
| 81 |
+
* Create a Checkbox input field
|
| 82 |
+
*/
|
| 83 |
+
function checkbox($id, $label) {
|
| 84 |
+
$options = get_option($this->optionname);
|
| 85 |
+
return '<input type="checkbox" id="'.$id.'" name="'.$id.'"'. checked($options[$id],true,false).'/> <label for="'.$id.'">'.$label.'</label><br/>';
|
| 86 |
+
}
|
| 87 |
+
|
| 88 |
+
/**
|
| 89 |
+
* Create a Text input field
|
| 90 |
+
*/
|
| 91 |
+
function textinput($id, $label) {
|
| 92 |
+
$options = get_option($this->optionname);
|
| 93 |
+
return '<label for="'.$id.'">'.$label.':</label><br/><input size="45" type="text" id="'.$id.'" name="'.$id.'" value="'.$options[$id].'"/><br/><br/>';
|
| 94 |
+
}
|
| 95 |
+
|
| 96 |
/**
|
| 97 |
* Create a potbox widget
|
| 98 |
*/
|
| 206 |
}
|
| 207 |
|
| 208 |
function widget_setup() {
|
| 209 |
+
wp_add_dashboard_widget( 'yoast_db_widget' , 'The Latest news from Yoast' , array(&$this, 'db_widget'));
|
| 210 |
}
|
| 211 |
}
|
| 212 |
}
|
