maxkorz
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Native Dashboard] WordPress Translation FilesYeah, I was going to use this plugin to download translations for old versions of WordPress.
Forum: Plugins
In reply to: [WP Native Dashboard] WordPress Translation Filesprint_r("\n\$this->options->enable_login_selector\n");var_dump($this->options->enable_login_selector); print_r("\n\$this->options->enable_language_switcher\n");var_dump($this->options->enable_language_switcher); print_r("\n\$this->options->enable_adminbar_switcher\n");var_dump($this->options->enable_adminbar_switcher); print_r("\nis_admin()\n");var_dump(is_admin()); print_r("\ndefined('DOING_AJAX')\n");var_dump(defined('DOING_AJAX')); print_r("\n(is_admin() || defined('DOING_AJAX'))\n");var_dump((is_admin() || defined('DOING_AJAX'))); print_r("\n(\$this->options->enable_login_selector || \$this->options->enable_language_switcher || \$this->options->enable_adminbar_switcher)\n");var_dump(($this->options->enable_login_selector || $this->options->enable_language_switcher || $this->options->enable_adminbar_switcher)); print_r("\n((\$this->options->enable_login_selector || \$this->options->enable_language_switcher || \$this->options->enable_adminbar_switcher) && (is_admin() || defined('DOING_AJAX')))\n");var_dump((($this->options->enable_login_selector || $this->options->enable_language_switcher || $this->options->enable_adminbar_switcher) && (is_admin() || defined('DOING_AJAX'))));$this->options->enable_login_selector bool(false) $this->options->enable_language_switcher bool(false) $this->options->enable_adminbar_switcher bool(false) is_admin() bool(true) defined('DOING_AJAX') bool(false) (is_admin() || defined('DOING_AJAX')) bool(true) ($this->options->enable_login_selector || $this->options->enable_language_switcher || $this->options->enable_adminbar_switcher) bool(false) (($this->options->enable_login_selector || $this->options->enable_language_switcher || $this->options->enable_adminbar_switcher) && (is_admin() || defined('DOING_AJAX'))) bool(false)So, if I check, for example, “extend Backend Admin Bar with a language quick selector.“, condition is satisfied and everything works.
Fix it please 🙂Forum: Plugins
In reply to: [WP Native Dashboard] WordPress Translation FilesFound it.
If I comment condition in wp-native-dashboard.php:
line 268//if (($this->options->enable_login_selector || $this->options->enable_language_switcher || $this->options->enable_adminbar_switcher) && (is_admin() || defined('DOING_AJAX'))) { require_once(dirname(__FILE__).'/automattic.php'); $this->automattic = new wp_native_dashboard_automattic($this->tagged_version, $this->root_tagged_version); $this->_load_translation_file(); if (is_admin()) wp_enqueue_script('jquery'); //}everything works fine, include svn checking.
Forum: Plugins
In reply to: [WP Native Dashboard] WordPress Translation FilesYes. It doesn’t work in IE9 as well.
I’ll repeat myself. I can’t even see javascript code that should be included in admin header.
So in wp-native-dashboard/automattic.php
line add_action(‘admin_head’, array(&$this, ‘on_admin_head’)); doesn’t work for some reasonJavascript functions from this file don’t exist on the page, so the link does nothing
proof:
If I add “console.log(‘1’);” right after “//<![CDATA[“, I don’t see it in my Console.Also, if I make this
if (function_exists ('add_action')) { header('Status: 403 Forbidden'); header('HTTP/1.1 403 Forbidden'); exit(); }nothing breaks, but it should send Forbidden headers. I tried to reactivate plugin, nothing changes. Any ideas? Maybe this file should be included earlier or in another way?
Forum: Plugins
In reply to: [WP Native Dashboard] WordPress Translation FilesI deleted everything in the htdocs folder. Then I unzipped the latest wordpress and installed it. So it looks like this: http://s006.radikal.ru/i213/1302/00/92f46287450a.png
and avaiable at http://localhost/ or http://127.0.0.1/
I changed nothing in xampp settings. The only thing I changed in WordPress, is Permalink Settings. You can see it in .htaccess file.
And yes, there are no errors in Console and every script is loaded (I can see it in Network Tab)
When I click on the “check repository” link it adds #svn hashtag to the url, so it looks like “http://localhost/wp-admin/options-general.php?page=wp-native-dashboard#svn” and nothing else happens after that
Forum: Plugins
In reply to: [WP Native Dashboard] WordPress Translation FilesI can’t even see javascript that should check svn repository in source code of the settings page
Forum: Plugins
In reply to: [WP Native Dashboard] WordPress Translation FilesI have the same problem. XAMPP 1.8.1 installed to C:\xampp\ dir:
Apache 2.4.3
MySQL 5.5.27 (Community Server)
PHP 5.4.7 (VC9 X86 32bit thread safe)Windows 7 x64, direct connection without router or firewall
clean installation of WordPress 3.5.1.
When I click “check repository »” nothing happens.
Although I can access repository using my browser.built-in wordpress update system works fine