Skip to content

Commit

Permalink
v0.4-beta: changed dependency for admin stylesheet
Browse files Browse the repository at this point in the history
Unless WordPress is in debug mode, admin stylesheets are concatenated
into 1 `wp-admin` stylesheet, so our stylesheet dependency of
`edit`(.css) broke. Fixed dependency to `wp-admin`.
  • Loading branch information
glueckpress committed Feb 3, 2016
1 parent 2ab1d57 commit 1dbd399
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# DEWP Planet Feed #
* Contributors: Florian Brinkmann, Caspar Hübinger, Dominik Schilling
* Requires at least: 3.8
* Tested up to: 4.4.1
* Tested up to: 4.4.2
* License: GPLv3
* License URI: http://www.gnu.org/licenses/gpl-3.0.html

Expand All @@ -14,6 +14,9 @@ Generates a custom feed `dewp-planet` for posts. Adds a checkbox to the _Publish

## Changelog

### 0.4
* Fix: changed dependency for admin stylesheet from `edit` to `wp-admin`.

### 0.3
* Enhancement: added help link to Post screen option.
* Enhancement: added About document.
Expand Down
2 changes: 1 addition & 1 deletion assets/css/post.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
padding: 10px;
position: relative;
text-decoration: none;
/*vertical-align: middle;*/
}
/* Invisible states */
.dewp-planet__label-notice {
display: block;
max-height: 1px;
overflow: hidden;
padding: 0;
-webkit-transition: padding 200ms linear;
-moz-transition: padding 200ms linear;
-ms-transition: padding 200ms linear;
Expand Down
4 changes: 2 additions & 2 deletions dewp-planet-feed.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Plugin Name: DEWP Planet Feed (Beta)
* Description: Generates a custom feed “dewp-planet” for posts. Adds a checkbox to the Publish meta box in order to explicitly add a post to that custom feed.
* Version: 0.3-beta
* Version: 0.4-beta
* Author: dewp#planet team
* Author URI: https://dewp.slack.com/messages/planet/
* Plugin URI: https://github.com/deworg/dewp-planet-feed
Expand Down Expand Up @@ -192,7 +192,7 @@ public static function admin_enqueue_scripts( $hook ) {
// CSS
wp_register_style(
'dewp-planet-post', $assets_url . 'css/post.css',
array( 'edit' ),
array( 'wp-admin' ),
$file_data['v']
);
wp_enqueue_style( 'dewp-planet-post' );
Expand Down

0 comments on commit 1dbd399

Please sign in to comment.