<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>WordPress &#8250; Support Topic: "Fatal error: Call to undefined function: _x() in /wp-admin/menu.php on line 35"</title>
<link>http://wordpress.org/support/</link>
<description>WordPress &#8250; Support Topic: "Fatal error: Call to undefined function: _x() in /wp-admin/menu.php on line 35"</description>
<language>en</language>
<pubDate>Tue, 24 Nov 2009 10:07:28 +0000</pubDate>

<item>
<title>maisondouf on ""Fatal error: Call to undefined function: _x() in /wp-admin/menu.php on line 35""</title>
<link>http://wordpress.org/support/topic/278777#post-1120294</link>
<pubDate>Mon, 29 Jun 2009 14:43:28 +0000</pubDate>
<dc:creator>maisondouf</dc:creator>
<guid isPermaLink="false">1120294@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;For me it's not the same problem, but this function don't run correctly.&#60;/p&#62;
&#60;p&#62;With the same call _x( 'Add New', 'post' ), the function have to return somthing like &#34;Add New Post&#34; and for me it return only &#34;Add New&#34;.&#60;/p&#62;
&#60;p&#62;In English version, this is not really a major problem, but in other languages for example in French, the function would return &#34;Ajouter un article&#34; and always return &#34;Add New&#34; in english.&#60;/p&#62;
&#60;p&#62;Someones says that the format of the .MO file is bad, but I see the bug in English original version.&#60;/p&#62;
&#60;p&#62;I don't unterstand the comment above the function in l10n.php, I try to add a '&#124;' in the message like for _c function, but no result.&#60;/p&#62;
&#60;p&#62;Bye, Alain
&#60;/p&#62;</description>
</item>
<item>
<title>esmi on ""Fatal error: Call to undefined function: _x() in /wp-admin/menu.php on line 35""</title>
<link>http://wordpress.org/support/topic/278777#post-1099634</link>
<pubDate>Thu, 11 Jun 2009 22:34:40 +0000</pubDate>
<dc:creator>esmi</dc:creator>
<guid isPermaLink="false">1099634@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Try manually re-uploading the wp-admin and wp-includes folders for WP2.8.
&#60;/p&#62;</description>
</item>
<item>
<title>bydorian on ""Fatal error: Call to undefined function: _x() in /wp-admin/menu.php on line 35""</title>
<link>http://wordpress.org/support/topic/278777#post-1098954</link>
<pubDate>Thu, 11 Jun 2009 17:11:49 +0000</pubDate>
<dc:creator>bydorian</dc:creator>
<guid isPermaLink="false">1098954@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Hello (i'm french),&#60;/p&#62;
&#60;p&#62;I have just upgrade my wordpress 2.7 to 2.8, but after this installation, only the public interface works.&#60;br /&#62;
When i connect myselft to /wp-admin/, i have this message :&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;Fatal error: Call to undefined function: _x() in (...)/wp-admin/menu.php on line 35
&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;I have learned PHP, so i can modify files, but i don't want to crash my website.&#60;/p&#62;
&#60;p&#62;Thanks.&#60;/p&#62;
&#60;p&#62;&#60;em&#62;Edit :&#60;/em&#62; this is the menu.php code :&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
/**
 * Build Administration Menu.
 *
 * @package WordPress
 * @subpackage Administration
 */

/**
 * Constructs the admin menu bar.
 *
 * The elements in the array are :
 *     0: Menu item name
 *     1: Minimum level or capability required.
 *     2: The URL of the item&#38;#39;s file
 *     3: Class
 *     4: ID
 *     5: Icon for top level menu
 *
 * @global array $menu
 * @name $menu
 * @var array
 */

$awaiting_mod = wp_count_comments();
$awaiting_mod = $awaiting_mod-&#38;gt;moderated;

$menu[0] = array( __(&#38;#39;Dashboard&#38;#39;), &#38;#39;read&#38;#39;, &#38;#39;index.php&#38;#39;, &#38;#39;&#38;#39;, &#38;#39;menu-top&#38;#39;, &#38;#39;menu-dashboard&#38;#39;, &#38;#39;div&#38;#39; );

$menu[4] = array( &#38;#39;&#38;#39;, &#38;#39;read&#38;#39;, &#38;#39;separator1&#38;#39;, &#38;#39;&#38;#39;, &#38;#39;wp-menu-separator&#38;#39; );

$menu[5] = array( __(&#38;#39;Posts&#38;#39;), &#38;#39;edit_posts&#38;#39;, &#38;#39;edit.php&#38;#39;, &#38;#39;&#38;#39;, &#38;#39;open-if-no-js menu-top&#38;#39;, &#38;#39;menu-posts&#38;#39;, &#38;#39;div&#38;#39; );
	$submenu[&#38;#39;edit.php&#38;#39;][5]  = array( __(&#38;#39;Edit&#38;#39;), &#38;#39;edit_posts&#38;#39;, &#38;#39;edit.php&#38;#39; );
	/* translators: add new post */
	$submenu[&#38;#39;edit.php&#38;#39;][10]  = array( _x(&#38;#39;Add New&#38;#39;, &#38;#39;post&#38;#39;), &#38;#39;edit_posts&#38;#39;, &#38;#39;post-new.php&#38;#39; );

	$i = 15;
	foreach ( $wp_taxonomies as $tax ) {
		if ( $tax-&#38;gt;hierarchical &#124;&#124; ! in_array(&#38;#39;post&#38;#39;, (array) $tax-&#38;gt;object_type, true) )
			continue;

		$submenu[&#38;#39;edit.php&#38;#39;][$i] = array( esc_attr($tax-&#38;gt;label), &#38;#39;manage_categories&#38;#39;, &#38;#39;edit-tags.php?taxonomy=&#38;#39; . $tax-&#38;gt;name );
		++$i;
	}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;&#60;em&#62;(...)&#60;/em&#62;&#60;/p&#62;
&#60;p&#62;If i comment the line 35, the next error is the line 42 with esc_attr() witch is not declared.&#60;/p&#62;
&#60;p&#62;I don't know the structure of Wordpress but it's may be a core file that missed.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
