Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #30594, comment 10


Ignore:
Timestamp:
01/21/2016 12:41:12 AM (11 years ago)
Author:
jeremyfelt

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30594, comment 10

    initial v1  
    44* I think we can follow how `WP_Theme` is setup in general and use `WP_Theme::network_enable_theme()` and `WP_Theme::network_disable_theme()` directly without providing the `wp_network_*` wrapper functions.
    55* The additions to `class-wp-theme.php` need to be formatted per core code style. It looks like spacing is a bit off in the methods and the `if` statements need braces.
    6 * Let's split the tests up into 4 parts: network enable a single theme, network enable an array of themes, network disable a single theme, and network disable an array of themes. No need to
     6* Let's split the tests up into 4 parts: network enable a single theme, network enable an array of themes, network disable a single theme, and network disable an array of themes.