When editing an existing Metaweblog API configuration (including the Default one), the updated configuration can’t be saved. It results in an error, “A Field was Left Blank”.
It seems to stem from around line 511ff. The validation looks for the following fields:
$fields = array('metaweblog_pref_name', 'metaweblog_parse_type', 'entry_status', 'field_group_id','excerpt_field_id','content_field_id', 'more_field_id','keywords_field_id','upload_dir');
However
field_group_id
is not found in the HTML source for the Edit page in the CP. Nor it is found in the database field names in the exp_metaweblog_api table. Is it no longer required?
As a temporary workaround, and since it’s not in the database table anyway, I removed
'field_group_id'
from the
$fields
array and all worked.
ExpressionEngine implements Markdown Extra and BBCode. Please see the Markdown Extra docs and the BBCode Wikipedia article for a full reference.
**bold**
, __bold__
, *italics*
, _italics_
, ~strike/del~
, `code()`
bold, italics, strike/del, code()
Link: [link title](https://example.com)
Image: ![alt text](https://example.com/image.jpg)
[blockquote]...[/blockquote]
, [quote]...[/quote]
, and Markdown style:
> Some quoted text. > > This is all one quote.
[code]...[/code]
, and you can also specify the language for syntax highlighting, [code=php]...[/code]
GitHub flavored Markdown code fences are also supported:
``` public function decoderRing($str) { return str_rot13($str); } ```