From 96a95aa44348b10a10fd12563ca198118993f91d Mon Sep 17 00:00:00 2001 From: Mohammad Jangda <batmoo@gmail.com> Date: Tue, 3 Sep 2013 20:03:30 -0400 Subject: [PATCH] Fix "Create new" for sitegroups in Settings Needs to reference updated slugs for taxonomy and post_type --- includes/class-wp-push-syndication-server.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-wp-push-syndication-server.php b/includes/class-wp-push-syndication-server.php index 1da1b07..df590aa 100644 --- a/includes/class-wp-push-syndication-server.php +++ b/includes/class-wp-push-syndication-server.php @@ -489,7 +489,7 @@ class WP_Push_Syndication_Server { // if there are no sitegroups defined return if( empty( $sitegroups ) ) { echo '<p>' . esc_html__( 'No sitegroups defined yet. You must group your sites into sitegroups to syndicate content', 'push-syndication' ) . '</p>'; - echo '<p><a href="' . esc_url( get_admin_url() . 'edit-tags.php?taxonomy=sitegroups&post_type=site' ) . '" target="_blank" >' . esc_html__( 'Create new', 'push-syndication' ) . '</a></p>'; + echo '<p><a href="' . esc_url( get_admin_url() . 'edit-tags.php?taxonomy=syn_sitegroup&post_type=syn_site' ) . '" target="_blank" >' . esc_html__( 'Create new', 'push-syndication' ) . '</a></p>'; return; } -- GitLab