philor
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Stop < code > tags wrapped with < p > tagsWell, what works for me is using <pre>
the code
<pre> (with the version of wpautop from cyberhobo). Since's an inline element, I don't much want to just throw it in with a bunch of paragraphs, only contained by the outer <div>, and the whitespace is either significant (for Python) or at least aesthetically significant (cf. ten million holy wars about tabs v. spaces), so <pre> makes semantic sense to me at least.
Forum: Fixing WordPress
In reply to: Stop < code > tags wrapped with < p > tagsLooks good to me, at first glance. Just have to remember to do <pre>
</pre> instead of the other way around (I forget which way I do it about every other time). Plus besides being a good idea, $split_pee is an excellent variable name ??
Forum: Fixing WordPress
In reply to: Stop < code > tags wrapped with < p > tagsIt’s in wp-includes/functions.php (functions-formatting.php in recent nightlies) – the function wpautop. Good luck, and let us know what you do to it: I know how to fix it in a different approach to autopeeing, but I can’t quite see where and how in that approach.
Forum: Fixing WordPress
In reply to: Backslashes Added to Apostrophes/Quotes Upon Impormagic_quotes rather than smart, but yes, I’d guess so. Looks to me like maybe your server has magic_quotes_runtime turned on, and WP assumes it isn’t. You can tell if it’s on with a PHP file that just does
echo get_magic_quotes_runtime();
and if that returns 1 rather than 0 it’s on, and you should be able to get around it by addingset_magic_quotes_runtime(0);
at the top of import-blogger.php and importing again (you’ll need to empty the existing tables from your first import, and start from scratch, though).Forum: Fixing WordPress
In reply to: Firefox – broke my adminYep, newest I could find in Piro’s forum. It’s only a problem if you use single-window mode, and only in tabs other than the first one opened in a window, and even then it’s intermittent. One of the easiest ways to spot it is to do a bunch of stuff in phpMyAdmin that throws up alerts (I was EMPTYing a bunch of tables, doing import after import) – when things are working you just say okay on the alert, when they aren’t the alter doesn’t return, and you get a second confirmation in the page itself.
Forum: Plugins
In reply to: WP Blacklist Comment Spam Filter UpdateSweet!
But… (yeah, I know, bloody bug reports)
Export is including admin-footer.php – how about instead ofbreak;
at the end of the export section of the switch, you justdie
? Works for me.
Don’t have a solution just yet, but: it would be nice if there was some way to force a download of a text file, but still get line-ending conversion: with a *nix server and a Windows client, the exported file looks evil. Maybe that’s unavoidable, I’ve never tried (switch whether you put \n or \r\n in the file based on the client OS?).
addomain’s leaving an open <div> – just need to sayecho $answer."<br/></div>";
But, sweet! I like it.Forum: Fixing WordPress
In reply to: nightly 2004-02-13: safe mode troublesOh, probably. I can’t quite see where he’s headed with it, so I can’t tell you how to get there first ??
You can make it possible to set options without the “already started” error by just throwing anob_start();
at the very start of admin-header.php, though that doesn’t give you the “3 setting(s) saved …” message.Forum: Fixing WordPress
In reply to: Firefox – broke my adminAre you using TBE (the Tabbrowser Extensions)? TBE is currently pretty severely breaking Javascript in Firefox.
Forum: Fixing WordPress
In reply to: WP 1.0.1 Updated Files?Even though “what’s changed in the current CVS” isn’t exactly “what’s changed in 1.0.1”, it’s probably close enough. Browse the CVS for stuff with a last-changed more than four months ago, and offhand I saw print.css and, er, nothing else completely unchanged (well, empty files and the license). Time for a nice long session with diff and patch, I’d guess.
Forum: Fixing WordPress
In reply to: nightly 2004-02-13: safe mode troublesD’oh. Might be I could read the subject, and see which nightly. And once you get past that, you’ll run into options troubles when you try to set anything, since options.php is trying to set a redirect header when admin-header.php has already started output. Oops.
Forum: Fixing WordPress
In reply to: how do i format the date?Options/Other options/date_format and change
n/j/Y
tom.d.y
Forum: Installing WordPress
In reply to: WP 1.0.1 install-config.php problem & fixNot quite. You caught the line to define
$configFile
, but you’re still missing the$handle = fopen('../wp-config.php', 'w');
so it still fails to write to an undefined handle.Forum: Fixing WordPress
In reply to: nightly 2004-02-13: safe mode troublesWhich nightly? I just installed a 2004-02-13 and Options isn’t giving me any safe mode hassles.
Is it definately safe mode, and not PHP misrepresenting a permissions problem as safe mode?Forum: Fixing WordPress
In reply to: blog to the futureProbably something that someone ought to write, since it comes up fairly often, but it wouldn’t be a weblog: one of the defining characteristics is that entries are displayed by date, newest entry first. If you have a gig in April you know about today, and enter it, and then next week add a date in March, then either you don’t display in reverse-chronological order, or you don’t display newest-item-first, and either way you’re doing something other than a blog.
Forum: Fixing WordPress
In reply to: comment count very bigNo, that would be a problem of some sort.
Though it would be a nice feature, for when you aren’t getting as many comments as you should ??