Version Description
- Released: 18 April 2014
- Bump WordPress support to 3.9
- Fixed: Strip HTML tags from post titles for sitemap_posts so those items do not appear under a < heading. Thanks to Rose for reporting it.
- Fictitious: This release was powered by three blind mice.
Download this release
Release Info
Developer | conjur3r |
Plugin | Table of Contents Plus |
Version | 1404 |
Comparing to | |
See all releases |
Code changes from version 1402 to 1404
- readme.txt +8 -2
- toc.php +4 -4
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: conjur3r
|
|
3 |
Donate link:
|
4 |
Tags: table of contents, indexes, toc, sitemap, cms, options, list, page listing, category listing
|
5 |
Requires at least: 3.2
|
6 |
-
Tested up to: 3.
|
7 |
-
Stable tag:
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -110,6 +110,12 @@ I will never ask for any form of reward or compensation. Helping others achieve
|
|
110 |
|
111 |
== Changelog ==
|
112 |
|
|
|
|
|
|
|
|
|
|
|
|
|
113 |
= 1402 =
|
114 |
* Released: 19 February 2014
|
115 |
* Added German translation courtesy [Cord Peter](http://drv-gemeinschaft.de/)
|
3 |
Donate link:
|
4 |
Tags: table of contents, indexes, toc, sitemap, cms, options, list, page listing, category listing
|
5 |
Requires at least: 3.2
|
6 |
+
Tested up to: 3.9
|
7 |
+
Stable tag: 1404
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
110 |
|
111 |
== Changelog ==
|
112 |
|
113 |
+
= 1404 =
|
114 |
+
* Released: 18 April 2014
|
115 |
+
* Bump WordPress support to 3.9
|
116 |
+
* Fixed: Strip HTML tags from post titles for sitemap_posts so those items do not appear under a < heading. Thanks to [Rose](http://dublue.com/plugins/toc/comment-page-6/#comment-2311) for reporting it.
|
117 |
+
* Fictitious: This release was powered by three blind mice.
|
118 |
+
|
119 |
= 1402 =
|
120 |
* Released: 19 February 2014
|
121 |
* Added German translation courtesy [Cord Peter](http://drv-gemeinschaft.de/)
|
toc.php
CHANGED
@@ -5,11 +5,11 @@ Plugin URI: http://dublue.com/plugins/toc/
|
|
5 |
Description: A powerful yet user friendly plugin that automatically creates a table of contents. Can also output a sitemap listing all pages and categories.
|
6 |
Author: Michael Tran
|
7 |
Author URI: http://dublue.com/
|
8 |
-
Version:
|
9 |
License: GPL2
|
10 |
*/
|
11 |
|
12 |
-
/* Copyright
|
13 |
|
14 |
This program is free software; you can redistribute it and/or modify
|
15 |
it under the terms of the GNU General Public License, version 2, as
|
@@ -39,7 +39,7 @@ FOR CONSIDERATION:
|
|
39 |
- highlight target css
|
40 |
*/
|
41 |
|
42 |
-
define( 'TOC_VERSION', '
|
43 |
define( 'TOC_POSITION_BEFORE_FIRST_HEADING', 1 );
|
44 |
define( 'TOC_POSITION_TOP', 2 );
|
45 |
define( 'TOC_POSITION_BOTTOM', 3 );
|
@@ -379,7 +379,7 @@ if ( !class_exists( 'toc' ) ) :
|
|
379 |
|
380 |
while ( $articles->have_posts() ) {
|
381 |
$articles->the_post();
|
382 |
-
$title = get_the_title();
|
383 |
|
384 |
if ( $separate ) {
|
385 |
if ( $letter != strtolower($title[0]) ) {
|
5 |
Description: A powerful yet user friendly plugin that automatically creates a table of contents. Can also output a sitemap listing all pages and categories.
|
6 |
Author: Michael Tran
|
7 |
Author URI: http://dublue.com/
|
8 |
+
Version: 1404
|
9 |
License: GPL2
|
10 |
*/
|
11 |
|
12 |
+
/* Copyright 2014 Michael Tran (michael@dublue.com)
|
13 |
|
14 |
This program is free software; you can redistribute it and/or modify
|
15 |
it under the terms of the GNU General Public License, version 2, as
|
39 |
- highlight target css
|
40 |
*/
|
41 |
|
42 |
+
define( 'TOC_VERSION', '1404' );
|
43 |
define( 'TOC_POSITION_BEFORE_FIRST_HEADING', 1 );
|
44 |
define( 'TOC_POSITION_TOP', 2 );
|
45 |
define( 'TOC_POSITION_BOTTOM', 3 );
|
379 |
|
380 |
while ( $articles->have_posts() ) {
|
381 |
$articles->the_post();
|
382 |
+
$title = strip_tags(get_the_title());
|
383 |
|
384 |
if ( $separate ) {
|
385 |
if ( $letter != strtolower($title[0]) ) {
|