Permalink
Browse files

removing some deprecated functions

1 parent 1f780c2 commit 60881f88a40562e09688d60bf74c9e418b3532c0 @oriSomething oriSomething committed Nov 28, 2014
Showing with 4 additions and 5 deletions.
  1. +4 −0 CHANGELOG.md
  2. +0 −5 src/functions.php
View
@@ -1,5 +1,9 @@
### [HTML5 Blank](http://html5blank.com) Changelog
+## MASTER
+
+* Remove deprecated actions: (index_rel_link, parent_post_rel_link, start_post_rel_link, adjacent_posts_rel_link, adjacent_posts_rel_link_wp_head)
+
## 1.5.0 (10 September, 2014)
* Dates are configure from admin and more semantic
View
@@ -396,12 +396,7 @@ function html5blankcomments($comment, $args, $depth)
remove_action('wp_head', 'feed_links', 2); // Display the links to the general feeds: Post and Comment Feed
remove_action('wp_head', 'rsd_link'); // Display the link to the Really Simple Discovery service endpoint, EditURI link
remove_action('wp_head', 'wlwmanifest_link'); // Display the link to the Windows Live Writer manifest file.
-remove_action('wp_head', 'index_rel_link'); // Index link
-remove_action('wp_head', 'parent_post_rel_link', 10, 0); // Prev link
-remove_action('wp_head', 'start_post_rel_link', 10, 0); // Start link
-remove_action('wp_head', 'adjacent_posts_rel_link', 10, 0); // Display relational links for the posts adjacent to the current post.
remove_action('wp_head', 'wp_generator'); // Display the XHTML generator that is generated on the wp_head hook, WP version
-remove_action('wp_head', 'adjacent_posts_rel_link_wp_head', 10, 0);
remove_action('wp_head', 'rel_canonical');
remove_action('wp_head', 'wp_shortlink_wp_head', 10, 0);

0 comments on commit 60881f8

Please sign in to comment.