Jon Cave
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Theme Unit Test FailingLance, sorry wasn’t clear enough. The two problems were:
1. Malformed, so falls back to regex parser
2. Authors, categories, tags, terms are all formatted prettily on multiple lines, e.g.
<wp:tag>
<wp:term_id>124338</wp:term_id>
<wp:tag_slug>crushing</wp:tag_slug>
<wp:tag_name><![CDATA[crushing]]></wp:tag_name>
</wp:tag>So the regex parser failed to import them since it expects single lines for these nodes and their children.
Forum: Themes and Templates
In reply to: Theme Unit Test FailingThere are two problems occurring. Firstly there are parse errors in the XML:
640:32 Namespace prefix atom on link is not defined
641:21 Namespace prefix atom on link is not defined
3513:8 Opening and ending tag mismatch: postmeta line 3508 and item
5646:13 Opening and ending tag mismatch: item line 3487 and channel
5647:7 Opening and ending tag mismatch: channel line 22 and rss
5648:1 Premature end of data in tag rss line 21
This causes the proper XML parsers to fail and fallback to the regex parser.
This fails to import tags because the export has more nicely formatted tags, categories, authors, etc. which the regex parser cannot handle since they’re not just one line.
This appears to all be WP.com specific behaviour so they might have to fix some stuff on their end. (There is a bug in the importer which means that tags only fail to report as failed and not authors + categories).
Forum: Plugins
In reply to: [WordPress Importer] [Patch included] Importing nav_menu items failsThanks for the report! This was actually caused by a change in core which I fixed in http://core.trac.wordpress.org/changeset/22399.
Forum: Plugins
In reply to: [Exploit Scanner] [Plugin: Exploit Scanner] hashes-3.4.1.php missingI just pushed an update to include the new stuff. Sorry for the delay.
The compatible thing is probably WordPress.org just assuming that plugins are compatible with all minor versions (3.4.x) for any major version that they support. In general this is true.
Forum: Plugins
In reply to: [WordPress Importer] [Plugin: WordPress Importer] Omitted BackslashesYou can create a ticket on the core WordPress Trac under the “Import” component.
Forum: Alpha/Beta/RC
In reply to: Comments not showing on Edit Post pageI have created a ticket for this bug at http://core.trac.wordpress.org/ticket/20937.
Thanks for the report.
Forum: Alpha/Beta/RC
In reply to: Theme Customizer not able to add a new field to current settingsIt doesn’t work because twentyeleven_theme_options_validate() is run on sanitize_option(), so your custom key is stripped out. If you want to work with the twentyeleven_themem_options option then you’ll have to filter twentyeleven_theme_options_validate as well to allow the text_color key through.
Forum: Alpha/Beta/RC
In reply to: List whole subpages failing in RC3My guess is that it’s related to $post->ancestors.
Looks like it. Try RC4 and hopefully that’ll fix it.
Forum: Alpha/Beta/RC
In reply to: Admin sidebar buggish on 3.4-RC2-21036Thanks for the report. A patch to resolve this has been submitted on http://core.trac.wordpress.org/ticket/20857 by another contributor.
Forum: Fixing WordPress
In reply to: Help Me Understand 'Exploit Scanner' WarningThat looks like a false positive. To double check you could download a fresh copy of tablesorter and compare it to that file to ensure no modifications have been made.
Don’t you think it should though? Any plans on that?
Yes, ideally it should. I couldn’t say when though. It requires someone to write a patch and think about any edge cases where it wouldn’t work or break something.
BTW, how does it work with mapped domains? […] would we have to deal with any known issues you probably are aware of?
It should work fine. So there are no issues that I am aware of.
I am afraid that the importer currently doesn’t attempt to translate URLs in post content (except for attachment URLs).
Are you using the “or assign posts to an existing user” dropdown on the “Assign Authors” page for the 2nd, 3rd, … import(s) to map the users to those imported by the first file?
Would it require dropping a few tables from my database and importing again from scratch?
If you just do it again the process should skip any posts, pages, etc. that already exist. If that doesn’t work properly then you should start from scratch instead.
Yes.