<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Tag: remove_submenu_page - Recent Topics</title>
		<link>https://legacy.forums.gravityhelp.com/tags/remove_submenu_page</link>
		<description>Gravity Support Forums Tag: remove_submenu_page - Recent Topics</description>
		<language>en-US</language>
		<pubDate>Wed, 08 Apr 2026 16:10:39 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/tags/remove_submenu_page/topics" rel="self" type="application/rss+xml" />

		<item>
			<title>zitrus-blau on "Problem when adding fields and using WP core remove_submenu_page() function"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/problem-when-adding-fields-and-using-wp-core-remove_submenu_page-function#post-87522</link>
			<pubDate>Mon, 05 Nov 2012 08:35:19 +0000</pubDate>
			<dc:creator>zitrus-blau</dc:creator>
			<guid isPermaLink="false">87522@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi there,&#60;/p&#62;
&#60;p&#62;just noticed there's an issue when adding new fields to an existing form and using the remove_submenu_page() function on special plugins, ie. like this:&#60;br /&#62;
remove_submenu_page('index.php', 'relevanssi/relevanssi.php');&#60;/p&#62;
&#60;p&#62;the error log then throws a&#60;br /&#62;
PHP Warning:  Invalid argument supplied for foreach() in /.../wp-admin/includes/plugin.php on line 1286&#60;br /&#62;
which is odd because the code there is the remove_menu_page function, actually not responsible for submenus items.&#60;br /&#62;
The Fields are added though, so no critical issue so far.&#60;/p&#62;
&#60;p&#62;Don't know if it's really an GF-issue but afaik this warning is only thrown with GF on adding fields yet.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
