Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Add @todo tag to comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Aljullu committed Oct 1, 2020
1 parent 5295a0e commit e07de12
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ public static function init() {
public static function register_assets() {
$asset_api = Package::container()->get( AssetApi::class );

// In the editor, we want our stylesheets to load after editor CSS (see #3068).
// This might be no longer necessary when https://github.com/WordPress/gutenberg/issues/20797
// is merged.
// @todo Remove fix to load our stylesheets after editor CSS.
// See #3068 for the rationale of this fix. It should be no longer
// necessary when the editor is loaded in an iframe (https://github.com/WordPress/gutenberg/issues/20797).
if ( is_admin() ) {
$block_style_dependencies = array( 'wp-edit-post' );
} else {
Expand Down

0 comments on commit e07de12

Please sign in to comment.