polev
Forum Replies Created
-
Forum: Plugins
In reply to: [Log Viewer] BUG: deprecated constructor call for Debug Bar PanelI came to the same conclusion. The line currently is:
parent::Debug_Bar_Panel( 'Log Viewer' );
which is a deprecated constructor. Instead, it should be:
parent::__construct( 'Log Viewer' );Forum: Plugins
In reply to: [MailPoet - Newsletters, Email Marketing, and Automation] Confusing AutosaveBy the way, thanks for the great work 🙂
- This reply was modified 9 years, 3 months ago by polev.
I confirm the LastPass incompatibility. “bolero20” is a login name for the website.
It might be an incompatibility with LastPass: Free Password Manager 4.1.41 extension in Google Chrome Version 56.0.2924.87 (64-bit)
Forum: Plugins
In reply to: [PO/MO Editor] Translations are lost on plugin l10n update.Great plugin, nicely written.
I only need to change a few entries in my theme’s texts, because I think they are confusing for my type of users. I am also concerned about maintenance: how can my ‘patches’ survive updates of the original theme text files?
I was wondering if this plugin could keep the changes in a separate file and then merge them when WP is started, overwriting existing keys in the original file with patches.
Thanks for your great work.- This reply was modified 9 years, 6 months ago by polev.
Forum: Reviews
In reply to: [WP PHP Console] A simple way to show PHP variables and stack traceNote that since 1.3.0 released feb 5 2015, we can write
PC::debug($variable)or evenPC::variable($variable)instead oftrigger_error(print_r($variable, true))Part of this support question is obsolete as this plugin includes the registration option since version 1.3.0
See https://github.com/nekojira/wp-php-console#register-pc-class
After you installed the plugin and enabled Register PC Class
you can write debug statements likePC::debug( $my_var )to print$my_varto Chrome’s Javascript ConsoleOther example code:
// PHP Console autoload require_once dirname( __FILE__ ) . '/wp-php-console/vendor/autoload.php'; // make PC object available PhpConsole\Helper::register(); // example use of PC:debug() PC::debug($_SERVER); // example use of PC:db() add_action('wp', function ($wp) { PC::db($wp, 'wp'); });Example code:
add_action('loop_start', function($query) { trigger_error(print_r($query, true)); });Forum: Plugins
In reply to: [WP PHP Console] DocumentationThe link to https://github.com/nekojira/wp-php-console
is not visible when navigating documentation through https://ww.wp.xz.cn/plugins/wp-php-console/It is visible as Plugin Homepage when visiting the same information through the WordPress Add New Plugin admin pages of a wordpress site though.