Mark Jaquith
Forum Replies Created
-
Forum: Plugins
In reply to: [Page Links To] i am trying to use rtmp://WordPress doesn’t have the rtmp protocol whitelisted. There is, however, a filter that lets you add it. This plugin should do the trick:
<?php /* Plugin Name: Allow rtmp:// links */ function allow_rtmp_links( $protocols ) { $protocols[] = 'rtmp'; return $protocols; } add_filter( 'kses_allowed_protocols', 'allow_rtmp_links' );Forum: Plugins
In reply to: [Page Links To] Redirection doesn't function with newest version (2.9)Doh. Just pushed version 2.9.1 to fix this. Thanks for the report! I’ll add a unit test so this bug doesn’t happen in the future.
Forum: Plugins
In reply to: [WP Help] New to wp-helpThere aren’t currently settings for that.
manage_optionsis used as the capability for changing the settings (so, administrators). The posting is mapped to the page editing capabilities. I may include more options here in the future. For instance, I may support code-based configuration which would disable the editing UI and the settings screen and hard-code the sync source.Forum: Reviews
In reply to: [WP Help] Perfect when building client sitesPro tip: just set up a wphelp.yoursite.com WordPress install that you use as a source for all the “standard” docs you put on client sites. Then the client sites just need documentation for anything that isn’t standard.
Forum: Plugins
In reply to: [Markdown on Save] Previewing a Page seems to not render markdown…Works for me. Are you certain the page has been saved in Markdown mode? The Markdown box is dark (active), and you’ve updated/saved the page?
Forum: Plugins
In reply to: [Markdown on Save] v.1.2 ?Looks like WordPress.org had a hiccup and didn’t update that. Bumped it to trigger a rebuild. Thanks!
Forum: Fixing WordPress
In reply to: Main $wp_query returning WAY too many posts.The query looks fine — are you sure that’s the right query you’re looking at?
Forum: Fixing WordPress
In reply to: Main $wp_query returning WAY too many posts.Posted this on Twitter, but for posterity:
I would guess
mu-pluginsand apre_get_postsfilter that altersposts_per_pageAnd to elaborate: the fact that it works when you pass in author/category probably means that something is making
posts_per_pageunlimited (or very high) for the home page specifically.Intentional, apparently.
Gotta run this to catch those deprecated usage instances:
Actually, the
error_reporting()call didn’t fix it.Confirmed. Can fix it in
wp-config.phpwith an appropriateerror_reporting()call. Digging in to see what’s doing this.Forum: Plugins
In reply to: [Page Links To] Translated metabox titleHi. Could you both please register here and then send me an e-mail (first name at last name.me) letting me know (a) your username (b) the language you’d like to translate?
Forum: Reviews
In reply to: [WP Help] A must haveOnly four stars? 🙂
How could I make it better for your uses?
Here’s a simple test script:
<?php include( 'wp-load.php' ); set_transient( 'foo', 'bar' ); var_dump( get_transient( 'foo' ) );Try it once like that, then comment out the
set_transient()line and refresh.With an object cache backend, transients will be stored in that object backend <b>and will not get written to the options table</b>. So the “not writing to the wp_options table” part is expected.
Throw something like this in your WP root then hit it up:
<?php include( 'wp-load.php' ); set_transient( 'foo', 'bar' ); var_dump( get_transient( 'foo' ) );Next, comment out the
set_transient()line to test the permanence of the transient. If that doesn’t work, let me know:- What version of APC?
- What version of the backend?
- What version of WordPress?
- Single server situation?