conner_bw
Forum Replies Created
-
Forum: Plugins
In reply to: [Parsedown Party] Editor SizeThis is not currently possible. CodeMirror inherits the defaults of the textarea.
You could modify the code from:
wp_add_inline_script( 'code-editor', sprintf( 'jQuery( function() { wp.codeEditor.initialize( "content", %s ); } );', wp_json_encode( $settings ) ) );To
wp_add_inline_script( 'code-editor', sprintf( 'jQuery( function() { var x = wp.codeEditor.initialize( "content", %s ); x.codemirror.setSize(null, 500); } );', wp_json_encode( $settings ) ) );And replace 500 with the numbers of pixels you want as the height?
Patches welcome.
Forum: Plugins
In reply to: [Pressbooks] Cache plugin for PressbooksPressbooks benefits from a WP Object Cache drop-in. See:
https://codex.ww.wp.xz.cn/Class_Reference/WP_Object_CacheAny of them should be fine. (Memcache, Redis, APC …) We use Memcached Object Cache with good results:
https://ww.wp.xz.cn/plugins/memcached/Important! Use the version in TRUNK:
http://plugins.svn.ww.wp.xz.cn/memcached/trunk/More info on why the TRUNK version:
http://kizu514.com/blog/wp-memcached-object-cache-leaks-memory/Forum: Plugins
In reply to: [Memcached Object Cache] Please Update Plugin To Version In TRUNKMore info on the memory leak if anyone else ever stumbles into this issue:
http://kizu514.com/blog/wp-memcached-object-cache-leaks-memory/Forum: Plugins
In reply to: [Memcached Object Cache] wp_cache_get() not supporting 4th parameter $foundWhat is this $found variable exactly?
I see it was introduced 4 years ago by @ryan the maintainer of the Memcached Object Cache plugin
https://core.trac.ww.wp.xz.cn/changeset/20089
What is breaking exactly?
Forum: Localhost Installs
In reply to: bloginfo returning wrong path (XAMPP on Windows)Hi,
It’s probably coming from the database. How it got there in the first place? No idea.
Navigate to: My Catalog -> Network Admin -> Sites
Click on the root site URL (Ie. the only site that isn’t a book)
Click the Settings tab.
Anything weird in there? Specifically Siteurl, Home, …
Best regards,
Forum: Plugins
In reply to: [Pressbooks] WordPress 3.6 Currently Unsupported – For Now, Use WP 3.5.2PressBooks v2.2.1 has been released.
Now compatible with WordPress 3.6 (and only 3.6)
Cheers.
Forum: Plugins
In reply to: [Pressbooks] ThemesThe themes are included inside the plugin.
As a super user, navigate to “Network Admin”
Here, click “Themes”
Click “Network Enable” on all the book themes you want to see in the PB Export menu, etc.
Regards,
Forum: Plugins
In reply to: [Pressbooks] Important *Must-Read* Notes About PressBooks!That name again is Mr. Plow.
Err, I mean PressBooks.Com