From 2f6214d51fb3ef543a251c021837950de56ccdc6 Mon Sep 17 00:00:00 2001
From: Erick Hitter <services@ethitter.com>
Date: Mon, 15 Feb 2016 22:34:13 -0800
Subject: [PATCH] Bit of inline doc

---
 eth-escape-headspace.php | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/eth-escape-headspace.php b/eth-escape-headspace.php
index c003d47..7ca539b 100644
--- a/eth-escape-headspace.php
+++ b/eth-escape-headspace.php
@@ -80,7 +80,8 @@ class ETH_Escape_HeadSpace2 {
 	}
 
 	/**
-	 *
+	 * Filter page titles in WP 4.1+ themes
+	 * add_theme_support( 'title-tag' )
 	 */
 	public function filter_pre_get_document_title( $title ) {
 		$_title = get_post_meta( get_the_ID(), '_headspace_page_title', true );
@@ -95,7 +96,8 @@ class ETH_Escape_HeadSpace2 {
 	}
 
 	/**
-	 *
+	 * Filter page titles in themes designed for < WP 4.1
+	 * wp_title()
 	 */
 	public function filter_wp_title( $title, $sep, $loc ) {
 		$_title = get_post_meta( get_the_ID(), '_headspace_page_title', true );
@@ -116,7 +118,7 @@ class ETH_Escape_HeadSpace2 {
 	}
 
 	/**
-	 *
+	 * Add <head> meta tags
 	 */
 	public function action_wp_head() {
 		// Applies only to individual post objects
@@ -215,7 +217,7 @@ class ETH_Escape_HeadSpace2 {
 	}
 
 	/**
-	 *
+	 * Add custom footer content
 	 */
 	public function action_wp_footer() {
 		$output = get_post_meta( get_the_ID(), '_headspace_raw_footer', true );
-- 
GitLab