BMLTGuy
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Responsive] Theme update broke my websiteI use this one in another of my sites, and it seems to work well: https://wpastra.com/about/
Forum: Themes and Templates
In reply to: [Responsive] Theme update broke my websiteI also had to do this:
* {
outline: none !important;
}It’s a kludge.
I’m waiting to see what bubbles out of their next fix, before doing a more graceful fix.
Forum: Themes and Templates
In reply to: [Responsive] Theme update broke my websiteThey also changed some CSS markers.
For example: div.main-nav is now div#main-nav
This completely broke my site.
Forum: Themes and Templates
In reply to: [Responsive] Theme update broke my website@hutman thanks so much!
Forum: Themes and Templates
In reply to: [Responsive] Theme update broke my websiteIt’s borked my site, as well. I’m trying to figure out how to retrofit without redoing my entire account.
Forum: Fixing WordPress
In reply to: Editor Updating Fails When Entering Swift Source CodeOK. This is the last post I’m making here.
Two minutes after posting, I got spammed by a support spammer.
-PLONK-
Forum: Plugins
In reply to: [BMLT WordPress Satellite] unexpected T_FUNCTION: line 1940Um… that’s “magshare.net”, not “margshare.net”
“Sorry about that, Chief.”
— Maxwell SmartForum: Plugins
In reply to: [BMLT WordPress Satellite] unexpected T_FUNCTION: line 1940Hi, sorry for the delay in responding.
That’s a fairly classic “the whole file’s pooched” error. It *MAY* have been caused by the anonymous function issue that caused some servers to barf.
Otherwise, there has not been a case of this in a long time (I do try to test everything pretty well – https://bmlt.magshare.net/specific-topics/release-process/ , but don’t claim perfection).
That was fixed last month, and I hope that you were able to get it up and going.
You can also send email directly to bmlt -at- margshare.net
Please let me know if this is still an issue.
Forum: Plugins
In reply to: [WP Custom Post Template] Doesn’t recognize templates on child themesUnfortunately, this is a showstopper for me. It has to be in the child-theme folder.
However, thanks for a great plugin.
Forum: Fixing WordPress
In reply to: Newly-Installed Plugin Shows Its Naughty BitsNo, but I’ll add that. Maybe that’s all that it needs.
I’d forgotten about that.
Forum: Plugins
In reply to: [Link Library] Excluding Categories Not Excluding -What Am I Doing Wrong?Darn. OK. Got it. I’ll see what I can do to make it happen.
I believe that I can include many categories in one library, so assigning links to just one category (lots of smaller categories) might work.
Thanks!
Forum: Plugins
In reply to: [Subscribe2 - Form, Email Subscribers & Newsletters] Readygraph banner?This is awful. Same thing happened to me. The x only deletes it once. It comes back every time I go in.
Goodbye Subscribe 2.
VERY bad idea.
Just looked a bit further.
Actually, I wasn’t being entirely fair. The author is using it correctly in several places. It looks like these statements just don’t have any data that needs cleaning, so he just sent in pure SQL.
For the record, you’ll need to do the same for lines 150, 151 and 332.
It looks like wpdb prepare() uses an sprintf format syntax, which is nicer than the PDB one.
OK. I just took a look at this.
The fix will work, but that’s because the author is not using prepare() correctly.
I use PDB in my own work, so I’m used to prepared statements.
The way they work, is that you break out the values into a separate array, and replace them with placeholders in the SQL. You then send the SQL and the array into the prepare() statement, and the prepare() statement will take care of scrubbing the values and inserting them into the SQL before sending it to the SQL engine.
If the SQL statement has no placeholders (‘?’ in PDB. I don’t know enough about wpdb to see if it’s the same, but I’ll bet yeah), then you can just give the prepare() statement the entire SQL query in the first argument. It will run it, just like a standard SQL query.
However, that also neuters the cleaning and security goodness of a prepare() statement.
It looks like the author used standard WP DB calls, then modified them to work pretty much “as is” with wpdb. They should have broken up the queries, and fed them in two parts, like I do PDB.
Looks like older versions of wpdb were relaxed about the second parameter (the array), but now require it. If you have no data array, then null will do fine.
I’d have to spend some time examining the plugin to see if it’s a security risk. I’d say yeah. If it has been abandoned, and doesn’t use prepare() correctly, then it may be ripe for an SQL injection attack.
I won’t be using it, which is a shame, because it really seems to have what I need. However, I may give it a once-over, and see if I can tweak it for my needs.
Forum: Plugins
In reply to: [Fast Secure Contact Form] Form Style changes with 4.xx upgradeThanks Mike.
That did it.