fix: repair truncated class-settings-fields-extended.php
bash-mount truncation cut line 293 mid-string and corrupted the class-array closing structure. Replaced with complete 317-line canonical version from Windows filesystem (Read tool source of truth). Agent-Session: phase2-admin-m1-engineer
This commit is contained in:
@@ -290,22 +290,27 @@ class PRAutoBlogger_Settings_Fields_Extended {
|
|||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'id' => 'prautoblogger_image_compose_variants',
|
'id' => 'prautoblogger_image_compose_variants',
|
||||||
'label' => __( 'Composed Variant Set', 'prautoblogge
|
'label' => __( 'Composed Variant Set', 'prautoblogger' ),
|
||||||
array(
|
'type' => 'text',
|
||||||
'id' => 'prautoblogger_image_featured_mark_enabled',
|
'section' => 'prautoblogger_images',
|
||||||
'label' => __( 'Featured Image Corner Mark', 'prautoblogger' ),
|
'default' => 'og,square',
|
||||||
'type' => 'toggle',
|
'description' => __( 'Comma-separated variants to render for Image A. Supported: og (1200×630 social share), square (1080×1080 card). Unknown values are ignored.', 'prautoblogger' ),
|
||||||
'section' => 'prautoblogger_images',
|
),
|
||||||
'default' => '1',
|
array(
|
||||||
'description' => __( 'Overlay a small semi-transparent Peptide Repo mark in the bottom-right corner of featured images, so scraped or re-shared images carry attribution.', 'prautoblogger' ),
|
'id' => 'prautoblogger_image_featured_mark_enabled',
|
||||||
),
|
'label' => __( 'Featured Image Corner Mark', 'prautoblogger' ),
|
||||||
array(
|
'type' => 'toggle',
|
||||||
'id' => 'prautoblogger_runware_model_catalog',
|
'section' => 'prautoblogger_images',
|
||||||
'label' => __( 'Runware Model Catalog', 'prautoblogger' ),
|
'default' => '1',
|
||||||
'type' => 'runware_catalog_sync',
|
'description' => __( 'Overlay a small semi-transparent Peptide Repo mark in the bottom-right corner of featured images, so scraped or re-shared images carry attribution.', 'prautoblogger' ),
|
||||||
'section' => 'prautoblogger_images',
|
),
|
||||||
'description' => __( 'Live model catalog sync status and on-demand refresh.', 'prautoblogger' ),
|
array(
|
||||||
),
|
'id' => 'prautoblogger_runware_model_catalog',
|
||||||
);
|
'label' => __( 'Runware Model Catalog', 'prautoblogger' ),
|
||||||
}
|
'type' => 'runware_catalog_sync',
|
||||||
|
'section' => 'prautoblogger_images',
|
||||||
|
'description' => __( 'Live model catalog sync status and on-demand refresh.', 'prautoblogger' ),
|
||||||
|
),
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user