File: /wordpress/wp-content/plugins/ycwp-qr-me/ycwp-qr-me-plugin.php
Line: about 366
Before:
$qr->set_size( $size, $size );
$qr->set_error_level( get_option( 'ycwp_qr_me_error' ) );
--->
switch( get_option( 'ycwp_qr_me_content' ) ) {
case 'permalink':
$qr_content = urlencode( $this->_the_permalink );
break;
…
After:
$qr->set_size( $size, $size );
$qr->set_error_level( get_option( 'ycwp_qr_me_error' ) );
--->
global $post;
$this->_the_permalink = get_permalink($post->ID);
--->
switch( get_option( 'ycwp_qr_me_content' ) ) {
————————-
When I set a content in YCWP QR Me Configuration, for example, Content:Post Permalink, the resulting QR is from “chl=(blank)”…
You set a permalink of post by filtering, but in my case(or every case) that filtering happened after generating QR code. So when getting url, $this->_the_permalink is blank…
I added small code using global $post variable temporarily.
You(Original developer) may adapt it more elaboratively.
File: wordpress/wp-content/plugin/ycwp-qr-me/ycwp-qr-me.widget.php
Line: about 77.
I modified
$qr->set_content( ‘simple’, $instance[‘content’] );
to
$qr->set_content( $instance[‘content’] );
This sidebar widget works well afterwards.
Thanks for making this very good plugin.
]]>I run a plugin that gives me 404 error codes. This one continues to show up. It seems there is a missing / in plugins and ycwp-qr-me.
wp-content/pluginsycwp-qr-me/js/jquery-easing1.3.js?ver=1.3
I am not sure where the error is coming from.
]]>