Skip to:
Content

bbPress.org

Changeset 6601 for trunk/src/bbpress.php


Ignore:
Timestamp:
06/23/2017 04:21:58 AM (8 years ago)
Author:
johnjamesjacoby
Message:

Admin/Converter: Lazy load admin & converter as needed.

  • Move admin class into its own file
  • Remove admin.php
  • Introduce _setup_ functions to make loading them on the fly easier
  • Simplify converter logic for smoother starting/stopping
  • Improved UI for timer/status updates
  • Remove double-duty variables from BBP_Converter and response data
  • Switch from text-only response value to JSON object for improved flexibility

This allows the converter to return more data, and makes it easier to work with that data.

Todo:

  • Error responses
  • Check that starts are bumping correctly inside of steps
  • Better utilize JSON responses
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bbpress.php

    r6596 r6601  
    204204        /** Versions **********************************************************/
    205205
    206         $this->version    = '2.6-rc-6595';
     206        $this->version    = '2.6-rc-6601';
    207207        $this->db_version = '262';
    208208
     
    375375        // Quick admin check and load if needed
    376376        if ( is_admin() ) {
    377             require $this->includes_dir . 'admin/admin.php';
    378377            require $this->includes_dir . 'admin/actions.php';
    379378        }
Note: See TracChangeset for help on using the changeset viewer.