solutionsphp
Forum Replies Created
-
Forum: Everything else WordPress
In reply to: pingback security patch for 2.0.7Thanks moshu, point taken!
Forum: Requests and Feedback
In reply to: 2.0.7 security vulnerability – patch soon?Sorry about the downtime… my host was doing some server maintenance and MySQL didn’t come back online properly. No rest for the wicked!
I can’t replicate the errors that jonimueller is experiencing… when you upgraded to 2.0.7 did you *delete* files from the server or overwrite them? Overwriting doesn’t always work in my experience.
Forum: Requests and Feedback
In reply to: Unwelcome changes to links/blogroll in 2.1I also wonder about the changed label and functionality!
Forum: Requests and Feedback
In reply to: 2.0.7 security vulnerability – patch soon?Thanks for your help! Patching on the command line turned out to be a snap. For those who remain less adventurous, I have posted the patched functions.php file for download here:
https://www.stevensmedia.com/blog/?p=115Forum: Requests and Feedback
In reply to: 2.0.7 security vulnerability – patch soon?Thanks Otto42! Sorry to be daft, but I’m a little less comfortable on the command line than I am with an IDE. How is this patch applied? Does the PLUS sign indicate lines of code that are added? It looks like there is no code removed, just added, correct?
function wp_remote_fopen( $uri ) {
+ $timeout = 10;
+ $parsed_url = @parse_url($uri);
+ if ( !$parsed_url || !is_array($parsed_url) )
+ {
+ return false;
+ }
+ if ( !isset($parsed_url['scheme']) ||
+ !in_array($parsed['scheme'], array('http','https')) )
+ {
+ $uri = 'https://' . $uri;
+ }
if ( ini_get('allow_url_fopen') ) {
$fp = @fopen( $uri, 'r' );
if ( !$fp )
return false;
+ stream_set_timeout($fp, $timeout);
$linea = '';
while( $remote_read = fread($fp, 4096) )
$linea .= $remote_read;
@@ -2200,8 +2212,11 @@
curl_setopt ($handle, CURLOPT_URL, $uri);
curl_setopt ($handle, CURLOPT_CONNECTTIMEOUT, 1);
curl_setopt ($handle, CURLOPT_RETURNTRANSFER, 1);
+ curl_setopt ($handle, CURLOPT_TIMEOUT, $timeout);
$buffer = curl_exec($handle);
curl_close($handle);
+ if ( !preg_match('/.*text/.*/', curl_getinfo($handle, CURLINFO_CONTENT_TYPE)) )
+ return '';
return $buffer;
} else {
return false;Forum: Plugins
In reply to: Enhanced Views and SQL errorThanks for your replies. I am running this v 0.3 of this plugin on WP 2.0.7. The only problem I have is that the User drop down doesn’t function because of the change to the WP DB. I’ll take a look at 0.4 to see if I can correct that query and get it to work!
UPDATE: These might be interesting to anyone looking for the same info:
https://www.stilglog.com/wordpress-plugins/enhanced-post-views/
https://www.stilglog.com/wordpress-plugins/manage-me/Forum: Plugins
In reply to: wp-print and “No Posts Matched Your Criteria”Thank you so much! You were of course totally right and the new plugin installs very easily. Thanks again!!!
Forum: Plugins
In reply to: wp-print and “No Posts Matched Your Criteria”I have determined that the issue is with .htaccess and permalinks. When I disable permalinks, wp-print works just fine (contrary to what I wrote above… perhaps I was experiencing a cache issue or something?)
The readme that comes bundled with the plugin says to find this line:
RewriteRule ^archives/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)/?([0-9]+)?/?$ <BLOG URL>/index.php?year=$1&monthnum=$2&day=$3&name=$4&page=$5 [QSA,L]
and replace it with:
RewriteRule ^archives/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)/print/?$ <BLOG URL>/wp-print.php?year=$1&monthnum=$2&day=$3&name=$4 [QSA,L]
Only, that line is not found in my .htaccess file! All I have is this:
Options +SymLinksIfOwnerMatch
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>Is there mod_rewrite expert here who can advise what the proper RewriteRule should be to enable wp-print?
Forum: Plugins
In reply to: Spam getting past AkismetThanks golddave! I guess it’s too much to ask for 1 do-it-all spam plugin.
Forum: Plugins
In reply to: Spam getting past AkismetI haven’t tried BB. I use SK2 on some sites, but I also have other sites on MySQL 3.2.3 and SK2 has problems with that. I really like the transparency of Akismet, and I’m sure a new version that overcomes this latest crack will come out soon enough (assuming the version bundled with WP 2.1 doesn’t deal with this problem already).
Forum: Requests and Feedback
In reply to: Release Notifications?Interesting. I end up finding out about releases soon enough through the dashboard, but I disable the RSS on the dashboard of some of my WP sites, so I signed up for the mailing list as a redundancy plan. Perhaps the WP crew should consider using the mailing list or removing the sign-up form from the downloads page.
Forum: Plugins
In reply to: mvcPress is on its wayThis looks like a very interesting project! I will certainly keep an eye on it and am excited to see what develops over the next few weeks. Thanks for sharing this info and contributing!!
Forum: Everything else WordPress
In reply to: WordPress as a Drupal substitute?Dave, I understand the pros and cons that you are having to weigh right now. I was a Mambo shop up until about 18 months ago or so when I switched to WordPress. There are still projects that demand a more featured CMS, such as Drupal, Joomla! or Mambo, but as cpill says, WP fills so many needs nowadays that it is certainly a valid replacement for any of these systems, in the right context. Your project requirements will ultimately dictate which system is best, but the short answer is that WordPress might be all you need!
Forum: Plugins
In reply to: OL Feedburner plugin doesn’t redirect FF’twas a cache issue!!
Forum: Fixing WordPress
In reply to: Password protect a category??I have a nice custom plugin that was designed to password protect categories for WP 1.5. I haven’t yet updated it for WP2, but I’ll get on that and post it for download soon!