Plugin Directory

Changeset 3833293


Ignore:
Timestamp:
11/29/2026 03:54:45 PM (7 hours ago)
Author:
loyaltyoverroyalty
Message:

Release 0.1.1: WordPress 7.2 and PHP 8.6 compatibility, REST read access for drafts restricted to editors, fixes for copy/export entities, duplicate drafts, failed AI responses and uninstall cleanup

Location:
blurbwing/trunk
Files:
1 added
15 edited

Legend:

Unmodified
Added
Removed
  • blurbwing/trunk/assets/js/editor-sidebar.js

    r3707991 r3833293  
    2424                        .replace( /<!--[\s\S]*?-->/g, '' )
    2525                        .replace( /<[^>]+>/g, '' )
    26                         .replace( /&[a-z]+;/gi, ' ' )
     26                        .replace( /&(?:#\d+|#x[0-9a-f]+|[a-z][a-z0-9]*);/gi, '_' )
    2727                        .replace( /\s+/g, ' ' )
    2828                        .trim();
  • blurbwing/trunk/assets/js/settings.js

    r3707991 r3833293  
    2222                                var s = response.summary || {};
    2323                                status.textContent = ( s.drafts_created || 0 ) + ' drafts created, ' + ( s.items_seen || 0 ) + ' items seen.';
     24
     25                                window.setTimeout( function () {
     26                                        window.location.reload();
     27                                }, 1200 );
    2428                        } else {
    2529                                status.textContent = ( response && response.message ) || config.failed || 'Run failed.';
     30                                button.disabled = false;
    2631                        }
    27 
    28                         window.setTimeout( function () {
    29                                 window.location.reload();
    30                         }, 1200 );
    3132                } ).catch( function () {
    3233                        status.textContent = config.failed || 'Run failed.';
  • blurbwing/trunk/blurbwing.php

    r3707991 r3833293  
    33 * Plugin Name:       Blurbwing
    44 * Description:       Pulls news on topics you pick and drafts platform-tailored social posts with WordPress AI on a daily schedule, ready to review and copy from wp-admin.
    5  * Version:           0.1.0
     5 * Version:           0.1.1
    66 * Requires at least: 7.0
    77 * Requires PHP:      8.1
    … …  
    1818defined( 'ABSPATH' ) || exit;
    1919
    20 define( 'BLURBWING_VERSION', '0.1.0' );
     20define( 'BLURBWING_VERSION', '0.1.1' );
    2121define( 'BLURBWING_FILE', __FILE__ );
    2222define( 'BLURBWING_DIR', plugin_dir_path( __FILE__ ) );
  • blurbwing/trunk/includes/class-admin.php

    r3707991 r3833293  
    229229                        'blurbwingAdmin',
    230230                        array(
    231                                 'base'   => '/' . Rest::NAMESPACE . '/draft/',
     231                                'base'   => '/' . Rest::ROUTE_NAMESPACE . '/draft/',
    232232                                'nonce'  => wp_create_nonce( 'wp_rest' ),
    233233                                'copied' => __( 'Copied to clipboard', 'blurbwing' ),
    … …  
    251251                }
    252252
    253                 $text   = trim( wp_strip_all_tags( $post->post_content ) );
     253                $text   = trim( html_entity_decode( wp_strip_all_tags( $post->post_content ), ENT_QUOTES | ENT_HTML5, 'UTF-8' ) );
    254254                $source = (string) get_post_meta( $post_id, Post_Type::META_SOURCE_URL, true );
    255255
  • blurbwing/trunk/includes/class-ai.php

    r3707991 r3833293  
    204204                }
    205205
    206                 $data = json_decode( $result->toText(), true );
     206                try {
     207                        $data = json_decode( $result->toText(), true );
     208                } catch ( \Throwable $e ) {
     209                        return new WP_Error( 'blurbwing_ai_exception', $e->getMessage() );
     210                }
    207211
    208212                if ( ! is_array( $data ) ) {
  • blurbwing/trunk/includes/class-data.php

    r3707991 r3833293  
    1212
    1313/**
    14  * Removes every draft, term, option and scheduled event the plugin created.
     14 * Removes every draft, term, option, user meta and scheduled event the plugin
     15 * created.
    1516 */
    1617final class Data {
    … …  
    5152                }
    5253
     54                delete_metadata( 'user', 0, Provider_Notice::DISMISSED_META, '', true );
    5355                delete_option( Settings::OPTION );
    5456                delete_option( Pipeline::LOG_OPTION );
  • blurbwing/trunk/includes/class-export.php

    r3707991 r3833293  
    8787                return array(
    8888                        'id'               => $post->ID,
    89                         'title'            => get_the_title( $post ),
     89                        'title'            => html_entity_decode( $post->post_title, ENT_QUOTES | ENT_HTML5, 'UTF-8' ),
    9090                        'platform'         => is_array( $platform ) && $platform ? $platform[0] : '',
    9191                        'topic'            => is_array( $topic ) && $topic ? $topic[0] : '',
    … …  
    9393                        'source_url'       => (string) get_post_meta( $post->ID, Post_Type::META_SOURCE_URL, true ),
    9494                        'source_publisher' => (string) get_post_meta( $post->ID, Post_Type::META_SOURCE_PUBLISHER, true ),
    95                         'content'          => trim( wp_strip_all_tags( $post->post_content ) ),
     95                        'content'          => trim( html_entity_decode( wp_strip_all_tags( $post->post_content ), ENT_QUOTES | ENT_HTML5, 'UTF-8' ) ),
    9696                        'card_text'        => (string) get_post_meta( $post->ID, Post_Type::META_CARD_TEXT, true ),
    9797                        'first_comment'    => (string) get_post_meta( $post->ID, Post_Type::META_FIRST_COMMENT, true ),
  • blurbwing/trunk/includes/class-feeds.php

    r3707991 r3833293  
    109109         */
    110110        public static function normalise( string $title, string $url, string $publisher, string $summary, ?int $timestamp ): ?array {
    111                 $url   = esc_url_raw( trim( $url ), array( 'http', 'https' ) );
    112                 $title = sanitize_text_field( $title );
     111                $url   = esc_url_raw( trim( self::decode( $url ) ), array( 'http', 'https' ) );
     112                $title = self::plain_text( $title );
    113113
    114114                if ( '' === $url || '' === $title ) {
    … …  
    119119                        'title'     => $title,
    120120                        'url'       => $url,
    121                         'publisher' => sanitize_text_field( $publisher ),
     121                        'publisher' => self::plain_text( $publisher ),
    122122                        'summary'   => self::summary_excerpt( $summary ),
    123123                        'timestamp' => $timestamp,
    … …  
    127127
    128128        /**
     129         * SimplePie returns titles and links HTML-escaped; this is the plain value.
     130         *
     131         * @param string $value Escaped feed field.
     132         */
     133        private static function decode( string $value ): string {
     134                return html_entity_decode( $value, ENT_QUOTES | ENT_HTML5, 'UTF-8' );
     135        }
     136
     137        /**
     138         * Feed text with real markup removed and entities decoded. Angle brackets
     139         * that were text in the feed stay escaped, so a headline such as
     140         * "The <dialog> element" is not stripped as a tag later.
     141         *
     142         * @param string $value Escaped feed field.
     143         */
     144        private static function plain_text( string $value ): string {
     145                $value = self::decode( sanitize_text_field( $value ) );
     146
     147                return sanitize_text_field( str_replace( array( '<', '>' ), array( '&lt;', '&gt;' ), $value ) );
     148        }
     149
     150        /**
    129151         * A plain-text, length-capped excerpt of an item's description. Never the
    130152         * full content: the AI writes original commentary from a short summary.
    … …  
    209231                        array(
    210232                                'post_type'              => Post_Type::POST_TYPE,
    211                                 'post_status'            => 'any',
    212                                 'posts_per_page'         => count( $hashes ),
     233                                'post_status'            => array( 'any', 'trash' ),
     234                                'posts_per_page'         => -1,
    213235                                'fields'                 => 'ids',
    214236                                'no_found_rows'          => true,
  • blurbwing/trunk/includes/class-pipeline.php

    r3707991 r3833293  
    9292                                }
    9393
    94                                 $generated = Ai::generate( $item, (array) $settings['platforms'] );
    95 
    96                                 if ( is_wp_error( $generated ) ) {
    97                                         $summary['errors'][] = $generated->get_error_message();
    98                                         continue;
     94                                try {
     95                                        $generated = Ai::generate( $item, (array) $settings['platforms'] );
     96
     97                                        if ( is_wp_error( $generated ) ) {
     98                                                $summary['errors'][] = $generated->get_error_message();
     99                                                continue;
     100                                        }
     101
     102                                        $meta                   = $generated['meta'];
     103                                        $spent                 += (int) $meta['tokens_in'] + (int) $meta['tokens_out'];
     104                                        $summary['tokens_in']  += (int) $meta['tokens_in'];
     105                                        $summary['tokens_out'] += (int) $meta['tokens_out'];
     106                                        $summary['model']       = '' !== $meta['model'] ? $meta['model'] : $summary['model'];
     107                                        $summary['provider']    = '' !== $meta['provider'] ? $meta['provider'] : $summary['provider'];
     108
     109                                        $created                    = self::store_item_drafts( $item, (array) $generated['data'], $meta );
     110                                        $summary['drafts_created'] += count( $created );
     111                                } catch ( \Throwable $e ) {
     112                                        $summary['errors'][] = $e->getMessage();
    99113                                }
    100 
    101                                 $meta                   = $generated['meta'];
    102                                 $spent                 += (int) $meta['tokens_in'] + (int) $meta['tokens_out'];
    103                                 $summary['tokens_in']  += (int) $meta['tokens_in'];
    104                                 $summary['tokens_out'] += (int) $meta['tokens_out'];
    105                                 $summary['model']       = '' !== $meta['model'] ? $meta['model'] : $summary['model'];
    106                                 $summary['provider']    = '' !== $meta['provider'] ? $meta['provider'] : $summary['provider'];
    107 
    108                                 $created                    = self::store_item_drafts( $item, (array) $generated['data'], $meta );
    109                                 $summary['drafts_created'] += count( $created );
    110114                        }
    111115
    … …  
    299303         *
    300304         * No outbound request is made until an administrator has saved the
    301          * settings and WordPress has an AI provider to write with.
     305         * settings, WordPress has an AI provider to write with and at least one
     306         * platform is selected.
    302307         */
    303308        public static function outbound_block(): ?WP_Error {
    … …  
    308313                if ( ! Ai::is_available() ) {
    309314                        return new WP_Error( 'blurbwing_no_provider', __( 'Connect an AI provider under Settings → Connectors first.', 'blurbwing' ) );
     315                }
     316
     317                if ( ! Settings::platforms() ) {
     318                        return new WP_Error( 'blurbwing_no_platforms', __( 'No platforms selected.', 'blurbwing' ) );
    310319                }
    311320
  • blurbwing/trunk/includes/class-post-type.php

    r3707991 r3833293  
    7575                        self::POST_TYPE,
    7676                        array(
    77                                 'labels'          => array(
     77                                'labels'                => array(
    7878                                        'name'               => __( 'Drafts', 'blurbwing' ),
    7979                                        'singular_name'      => __( 'Draft', 'blurbwing' ),
    … …  
    8888                                        'all_items'          => __( 'Drafts', 'blurbwing' ),
    8989                                ),
    90                                 'public'          => false,
    91                                 'show_ui'         => true,
    92                                 'show_in_menu'    => true,
    93                                 'show_in_rest'    => true,
    94                                 'menu_icon'       => 'dashicons-megaphone',
    95                                 'menu_position'   => 26,
    96                                 'supports'        => array( 'title', 'editor', 'author', 'revisions', 'custom-fields' ),
    97                                 'capability_type' => 'post',
    98                                 'map_meta_cap'    => true,
    99                                 'has_archive'     => false,
    100                                 'rewrite'         => false,
    101                                 'query_var'       => false,
     90                                'public'                => false,
     91                                'show_ui'               => true,
     92                                'show_in_menu'          => true,
     93                                'show_in_rest'          => true,
     94                                'rest_controller_class' => Rest_Drafts_Controller::class,
     95                                'menu_icon'             => 'dashicons-megaphone',
     96                                'menu_position'         => 26,
     97                                'supports'              => array( 'title', 'editor', 'author', 'revisions', 'custom-fields' ),
     98                                'capability_type'       => 'post',
     99                                'map_meta_cap'          => true,
     100                                'has_archive'           => false,
     101                                'rewrite'               => false,
     102                                'query_var'             => false,
    102103                        )
    103104                );
  • blurbwing/trunk/includes/class-rest.php

    r3707991 r3833293  
    1717final class Rest {
    1818
    19         public const NAMESPACE = 'blurbwing/v1';
     19        public const ROUTE_NAMESPACE = 'blurbwing/v1';
    2020
    2121        /**
    … …  
    2424        public static function register_routes(): void {
    2525                register_rest_route(
    26                         self::NAMESPACE,
     26                        self::ROUTE_NAMESPACE,
    2727                        '/run',
    2828                        array(
    … …  
    3434
    3535                register_rest_route(
    36                         self::NAMESPACE,
     36                        self::ROUTE_NAMESPACE,
    3737                        '/draft/(?P<id>\d+)/state',
    3838                        array(
    … …  
    5555
    5656                register_rest_route(
    57                         self::NAMESPACE,
     57                        self::ROUTE_NAMESPACE,
    5858                        '/erase',
    5959                        array(
    … …  
    6565
    6666                register_rest_route(
    67                         self::NAMESPACE,
     67                        self::ROUTE_NAMESPACE,
    6868                        '/draft/(?P<id>\d+)/copy',
    6969                        array(
  • blurbwing/trunk/includes/class-settings.php

    r3707991 r3833293  
    208208                        'blurbwingRun',
    209209                        array(
    210                                 'path'         => '/' . Rest::NAMESPACE . '/run',
    211                                 'erasePath'    => '/' . Rest::NAMESPACE . '/erase',
     210                                'path'         => '/' . Rest::ROUTE_NAMESPACE . '/run',
     211                                'erasePath'    => '/' . Rest::ROUTE_NAMESPACE . '/erase',
    212212                                'nonce'        => wp_create_nonce( 'wp_rest' ),
    213213                                'running'      => __( 'Running…', 'blurbwing' ),
    … …  
    256256                $per_run = max( 1, min( self::MAX_PER_RUN, (int) ( $input['drafts_per_run'] ?? $defaults['drafts_per_run'] ) ) );
    257257
    258                 $budget = max( 0, min( 10000000, (int) ( $input['budget_tokens'] ?? $defaults['budget_tokens'] ) ) );
     258                $budget = $input['budget_tokens'] ?? '';
     259                $budget = is_scalar( $budget ) && '' !== trim( (string) $budget ) ? (int) $budget : $defaults['budget_tokens'];
     260                $budget = max( 0, min( 10000000, $budget ) );
    259261
    260262                return array(
  • blurbwing/trunk/languages/blurbwing.pot

    r3707991 r3833293  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Blurbwing 0.1.0\n"
     5"Project-Id-Version: Blurbwing 0.1.1\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/blurbwing\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    … …  
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2026-09-21T17:21:21+00:00\n"
     12"POT-Creation-Date: 2026-11-29T15:32:22+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.12.0\n"
    … …  
    8282
    8383#: includes/class-ai.php:146
     84#: includes/class-pipeline.php:318
    8485msgid "No platforms selected."
    8586msgstr ""
    … …  
    9394msgstr ""
    9495
    95 #: includes/class-ai.php:209
     96#: includes/class-ai.php:213
    9697msgid "The AI response was not valid JSON."
    9798msgstr ""
    … …  
    113114msgstr ""
    114115
    115 #: includes/class-pipeline.php:305
     116#: includes/class-pipeline.php:310
    116117msgid "Choose your topics and save the settings before the first run."
    117118msgstr ""
    118119
    119 #: includes/class-pipeline.php:309
     120#: includes/class-pipeline.php:314
    120121msgid "Connect an AI provider under Settings → Connectors first."
    121122msgstr ""
    … …  
    166167msgstr ""
    167168
    168 #: includes/class-post-type.php:115
    169 #: includes/class-settings.php:326
     169#: includes/class-post-type.php:116
     170#: includes/class-settings.php:328
    170171msgid "Platforms"
    171172msgstr ""
    172173
    173 #: includes/class-post-type.php:116
     174#: includes/class-post-type.php:117
    174175msgid "Platform"
    175176msgstr ""
    176177
    177 #: includes/class-post-type.php:131
    178 #: includes/class-settings.php:312
     178#: includes/class-post-type.php:132
     179#: includes/class-settings.php:314
    179180msgid "Topics"
    180181msgstr ""
    181182
    182 #: includes/class-post-type.php:132
     183#: includes/class-post-type.php:133
    183184msgid "Topic"
    184185msgstr ""
    … …  
    235236
    236237#: includes/class-settings.php:180
    237 #: includes/class-settings.php:307
     238#: includes/class-settings.php:309
    238239msgid "Blurbwing Settings"
    239240msgstr ""
    … …  
    263264msgstr ""
    264265
    265 #: includes/class-settings.php:321
     266#: includes/class-settings.php:323
    266267msgid "Each topic bundles a set of curated feeds."
    267268msgstr ""
    268269
    269 #: includes/class-settings.php:335
     270#: includes/class-settings.php:337
    270271msgid "A draft is generated for each selected platform."
    271272msgstr ""
    272273
    273 #: includes/class-settings.php:340
     274#: includes/class-settings.php:342
    274275msgid "Custom feeds"
    275276msgstr ""
    276277
    277 #: includes/class-settings.php:343
     278#: includes/class-settings.php:345
    278279msgid "One RSS or Atom feed URL per line. These are polled in addition to your topics."
    279280msgstr ""
    280281
    281 #: includes/class-settings.php:347
     282#: includes/class-settings.php:349
    282283msgid "Run time"
    283284msgstr ""
    284285
    285286#. translators: %s: site timezone
    286 #: includes/class-settings.php:355
     287#: includes/class-settings.php:357
    287288#, php-format
    288289msgid "Daily, in the site timezone (%s)."
    289290msgstr ""
    290291
    291 #: includes/class-settings.php:364
     292#: includes/class-settings.php:366
    292293msgid "Drafts per run"
    293294msgstr ""
    294295
    295 #: includes/class-settings.php:367
     296#: includes/class-settings.php:369
    296297msgid "How many source items become drafts each run."
    297298msgstr ""
    298299
    299 #: includes/class-settings.php:371
     300#: includes/class-settings.php:373
    300301msgid "Daily token budget"
    301302msgstr ""
    302303
    303 #: includes/class-settings.php:374
     304#: includes/class-settings.php:376
    304305msgid "A run stops once this many tokens have been spent today. 0 removes the cap, which is not recommended."
    305306msgstr ""
    306307
    307 #: includes/class-settings.php:382
     308#: includes/class-settings.php:384
    308309msgid "Schedule"
    309310msgstr ""
    310311
    311 #: includes/class-settings.php:385
     312#: includes/class-settings.php:387
     313#: includes/class-settings.php:390
     314msgid "Run now"
     315msgstr ""
     316
    312317#: includes/class-settings.php:388
    313 msgid "Run now"
    314 msgstr ""
    315 
    316 #: includes/class-settings.php:386
    317318msgid "Generate drafts immediately instead of waiting for the daily run."
    318319msgstr ""
    319320
    320 #: includes/class-settings.php:395
     321#: includes/class-settings.php:397
    321322msgid "Export"
    322323msgstr ""
    323324
    324 #: includes/class-settings.php:396
     325#: includes/class-settings.php:398
    325326msgid "Download every draft as a file."
    326327msgstr ""
    327328
    328 #: includes/class-settings.php:398
     329#: includes/class-settings.php:400
    329330msgid "Export CSV"
    330331msgstr ""
    331332
    332 #: includes/class-settings.php:399
     333#: includes/class-settings.php:401
    333334msgid "Export JSON"
    334335msgstr ""
    335336
    336 #: includes/class-settings.php:403
     337#: includes/class-settings.php:405
     338#: includes/class-settings.php:408
     339msgid "Delete all data"
     340msgstr ""
     341
    337342#: includes/class-settings.php:406
    338 msgid "Delete all data"
    339 msgstr ""
    340 
    341 #: includes/class-settings.php:404
    342343msgid "Permanently deletes every draft, its terms, the run log and all settings. This cannot be undone. The plugin stays active."
    343344msgstr ""
    344345
    345346#. translators: %s: date and time of the next run
    346 #: includes/class-settings.php:423
     347#: includes/class-settings.php:425
    347348#, php-format
    348349msgid "Next run: %s (site timezone)."
    349350msgstr ""
    350351
    351 #: includes/class-settings.php:428
     352#: includes/class-settings.php:430
    352353msgid "No run is scheduled yet. Save the settings to schedule one."
    353354msgstr ""
    354355
    355 #: includes/class-settings.php:433
     356#: includes/class-settings.php:435
    356357msgid "WP-Cron is disabled on this site (DISABLE_WP_CRON). Scheduled runs will not fire on their own. Add a system cron entry like this:"
    357358msgstr ""
    358359
    359 #: includes/class-settings.php:436
     360#: includes/class-settings.php:438
    360361msgid "WP-Cron fires on site traffic, so a very quiet site may run late. A system cron entry makes it reliable."
    361362msgstr ""
    362363
    363 #: includes/class-settings.php:450
     364#: includes/class-settings.php:452
    364365msgid "Recent runs"
    365366msgstr ""
    366367
    367 #: includes/class-settings.php:452
     368#: includes/class-settings.php:454
    368369msgid "When"
    369370msgstr ""
    370371
    371 #: includes/class-settings.php:452
     372#: includes/class-settings.php:454
    372373msgid "Seen"
    373374msgstr ""
    374375
    375 #: includes/class-settings.php:452
     376#: includes/class-settings.php:454
    376377msgid "Created"
    377378msgstr ""
    378379
    379 #: includes/class-settings.php:452
     380#: includes/class-settings.php:454
    380381msgid "Tokens"
    381382msgstr ""
    382383
    383 #: includes/class-settings.php:452
     384#: includes/class-settings.php:454
    384385msgid "Model"
    385386msgstr ""
    386387
    387 #: includes/class-settings.php:452
     388#: includes/class-settings.php:454
    388389msgid "Notes"
    389390msgstr ""
  • blurbwing/trunk/readme.txt

    r3707991 r3833293  
    33Tags: social media, drafts, ai, rss, content
    44Requires at least: 7.0
    5 Tested up to: 7.1
     5Tested up to: 7.2
    66Requires PHP: 8.1
    7 Stable tag: 0.1.0
     7Stable tag: 0.1.1
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    116116== Changelog ==
    117117
     118= 0.1.1 =
     119* Tested with WordPress 7.2 and PHP 8.6; removes a PHP 8.6 deprecation notice.
     120* Security: a draft that had been published was readable through the REST API by anyone. Reading a draft now takes the same permission as editing it.
     121* Fixed: Copy and Export returned HTML entities (`&#039;`, `&amp;`) instead of the characters themselves; the editor's character count is accurate again.
     122* Fixed: stories that were already drafted, or whose draft was trashed, could be drafted again on a later run.
     123* Fixed: one unusable AI response stopped the whole run without a log entry. The run now records the error and carries on.
     124* Fixed: feed links and titles containing `&` were stored HTML-encoded, which broke links with more than one query parameter.
     125* Fixed: a run no longer fetches feeds when no platform is selected, an empty token budget falls back to the default instead of unlimited, and "Run now" keeps its message on screen when a run is blocked.
     126* Fixed: uninstall and "Delete all data" now also remove platform and topic terms and notice dismissals.
     127
    118128= 0.1.0 =
    119129* First release: scheduled AI drafting from RSS topics, per-platform drafts, ranking pass, token budget, run log, editor sidebar, copy button, and developer hooks.
  • blurbwing/trunk/uninstall.php

    r3707991 r3833293  
    99
    1010require_once __DIR__ . '/includes/class-post-type.php';
     11require_once __DIR__ . '/includes/class-provider-notice.php';
    1112require_once __DIR__ . '/includes/class-settings.php';
    1213require_once __DIR__ . '/includes/class-pipeline.php';
    … …  
    1415require_once __DIR__ . '/includes/class-data.php';
    1516
     17// The plugin is not loaded here: core cannot find or detach terms of an unregistered taxonomy.
     18Blurbwing\Post_Type::register_post_type();
     19Blurbwing\Post_Type::register_taxonomies();
     20
    1621Blurbwing\Data::erase();
Note: See TracChangeset for help on using the changeset viewer.