From 92cb5bc5183d34aa1c1644f58ae1610fe127e451 Mon Sep 17 00:00:00 2001 From: Ben Word Date: Sun, 30 Mar 2014 21:23:00 -0500 Subject: [PATCH] Use 'roots/' for filters --- lib/config.php | 2 +- lib/nav.php | 2 +- lib/wrapper.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/config.php b/lib/config.php index 5554c3f..cca0d56 100644 --- a/lib/config.php +++ b/lib/config.php @@ -68,7 +68,7 @@ function roots_display_sidebar() { ) ); - return apply_filters('roots_display_sidebar', $sidebar_config->display); + return apply_filters('roots/display_sidebar', $sidebar_config->display); } /** diff --git a/lib/nav.php b/lib/nav.php index 361329c..dc9a4bd 100644 --- a/lib/nav.php +++ b/lib/nav.php @@ -34,7 +34,7 @@ class Roots_Nav_Walker extends Walker_Nav_Menu { $item_html = preg_replace('/]*>(.*)<\/a>/iU', '$1', $item_html); } - $item_html = apply_filters('roots_wp_nav_menu_item', $item_html); + $item_html = apply_filters('roots/wp_nav_menu_item', $item_html); $output .= $item_html; } diff --git a/lib/wrapper.php b/lib/wrapper.php index 7b6a29f..c5bd4b1 100644 --- a/lib/wrapper.php +++ b/lib/wrapper.php @@ -31,7 +31,7 @@ class Roots_Wrapping { } public function __toString() { - $this->templates = apply_filters('roots_wrap_' . $this->slug, $this->templates); + $this->templates = apply_filters('roots/wrap_' . $this->slug, $this->templates); return locate_template($this->templates); }