Dac Chartrand
Dac Chartrand
When you composer install `jenssegers/blade` it comes with Laravel Container. [You can get the `@inject` directive working](https://laravel.com/docs/5.4/blade#service-injection) if you create this function (or something similar) in your code: ```php if...
`wp_editor()` accepts an an `editor_height` setting. It could be set with the `wp_editor_settings` filter. + `\_WP_Editors::editor` + `\_WP_Editors::parse_settings` + `$settings = apply_filters( 'wp_editor_settings', $settings, $editor_id );`
Related bug report in WordPress TRAC: https://core.trac.wordpress.org/ticket/42716
Follow-up on the (now closed) WordPress TRAC ticket in a previous comment. I originally thought by just doing this: ``` add_filter( 'wp_editor_settings', function ( $settings ) { $settings['tinymce'] = false;...
Related: https://github.com/codemirror/CodeMirror/issues/1017
The complaint is from a file in Pressbooks, not this plugin. https://github.com/pressbooks/pressbooks/blob/dev/symbionts/custom-metadata/custom_metadata.php#L772 It doesn't like the order of params ```php function is_registered_field( $field_slug, $group_slug = '', $object_type ) { ```...
The fix is probably removing the `= ''` part. Cursory glance I don't see how `is_registered_field` can work with less than all 3 params.
I upgraded a legacy projet with Rector recently. (because my wife's blog still runs on one of my old projects): This was the config I used: ```php return static function...
Thanks. `reviewedBy` was recommended for academic books. Technically it is of type WebPage, not Book, so yes it's invalid. However, what you reported is a warning, not an error. Are...
It's a warning, not an error. You can suppress it using the `@` character. Example: `$markdown = @preg_replace('/(={4,}|-{4,})\n(.*?)(={4,}|-{4,})\n/se', "header_transform('$1', '$2')", $markdown);` For your fix: `header_transform` is a function in global...