DrLightman
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Excluding a set of words from editor word countThanks very much man it seems it works nicely. Only fix I had to do was wrap each stopword with \b regexp modifier to isolate them as words, otherwise they would get replaced even inside other longer words.
“\bof\b”, “\bthis\b”, …
- This reply was modified 8 years, 11 months ago by DrLightman.
Forum: Developing with WordPress
In reply to: Excluding a set of words from editor word countThank you I’ll give it a try as soon as I can.
Forum: Plugins
In reply to: [Instant Articles for WP] Missing commas in source textcan you post all or some of the post content?
Forum: Plugins
In reply to: [Amazon Associates Link Builder] Custom template not loadYou can fix this by applying
realpath()to$this->helper->get_template_upload_directory()too before doing the secutiry comparisons, here:$base_path = realpath($this->helper->get_template_upload_directory());in \amazon-associates-link-builder\admin\aalb_admin.php line 205.
and you’re welcome.
- This reply was modified 9 years, 1 month ago by DrLightman.
Forum: Plugins
In reply to: [Amazon Associates Link Builder] Custom template not loadThe error presents on Windows becasue realpath does a conversion between forward/backward slashes in the path.
Forum: Plugins
In reply to: [Amazon Associates Link Builder] Custom template not loadwp_opt.upload_url is not an url indeed but a filesystem path
- This reply was modified 9 years, 1 month ago by DrLightman.
Forum: Plugins
In reply to: [Amazon Associates Link Builder] Custom template not loadIn firefox the http response is:
“Not authorised to make request template content or Directory Traversal Attempted.”
I think because you pass the full path name to the .css and .mustache files.
Forum: Plugins
In reply to: [Amazon Associates Link Builder] Custom template not loadI can confirm this bug. Sometimes when you select the Custom Template from the list, nothing or another template appears below.
- This reply was modified 9 years, 1 month ago by DrLightman.
Forum: Plugins
In reply to: [Auto Featured Image (Auto Post Thumbnail)] It isn’t generated.I think because it relies on wp-image-xxx but in my case the blog was imported and for some reason all the media xxx didn’t exist.
Forum: Plugins
In reply to: [Auto Featured Image (Auto Post Thumbnail)] It isn’t generated.I can confirm this. It says has generated, the postmeta are there, but the media entries in posts table are not.
Forum: Plugins
In reply to: [SEO Redirection Plugin - 301 Redirect Manager] MyISAMMyISAM speed better than InnoDB. uh? and how did you come to that conclusion if I may ask?
Apart from that, you don’t have to make that choice for the user, let the plugin install with the default engine the hosting or the sysadmin choose to adopt.
I did change it by phpmyadmin fo course, but it resets each time you deactivate/activate the plugin so it’s an ugly solution.
I’m premium but I don’t have time for this right now. I’ve disabled 404 discovering function.
Oh yes, it’s exactly from your plugin 🙂

\seo-redirection-premium\custom\lib\cf.SR_redirect_manager.class.phpline 14A fix could be, where you do this:
$category_rewrite[ $blog_prefix . '(' . $category_nicename . ')/(?:feed/)?(feed|rdf|rss|rss2|atom)/?$' ] = 'index.php?category_name=$matches[1]&feed=$matches[2]';Do this instead:
$feeds = implode('|', $wp_rewrite->feeds); $category_rewrite[ $blog_prefix . '(' . $category_nicename . ')/(?:feed/)?(' . $feeds . ')/?$' ] = 'index.php?category_name=$matches[1]&feed=$matches[2]';