Skip to content

Commit 5f40b9d

Browse files
committed
Remove reference to plugins.css.
1 parent a8799f8 commit 5f40b9d

File tree

3 files changed

+11
-22
lines changed

3 files changed

+11
-22
lines changed

CHANGELOG.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
# Changelog
22

3-
## [3.6.8] (2025-02-13)
3+
## [3.6.8] (2025-02-14)
44

55
### Added
66
* `code_snippets/hide_welcome_banner` filter hook for hiding welcome banner in dashboard.
77

8+
### Changed
9+
* Updated Freemius SDK to the latest version. (PRO)
10+
811
### Removed
912
* Functionality allowing `[code_snippet]` shortcodes to be embedded recursively – it will be re-added in a future version.
1013

@@ -13,6 +16,7 @@
1316
* Translation functions being called too early in some instances when loading plugin settings.
1417
* 'Generate' button not appearing on some sites. (PRO)
1518
* Incorrect arrow entity used in cloud list table (props to [brandonjp]).
19+
* Removed reference to missing plugins.css file in core plugin version.
1620

1721
## [3.6.7] (2025-01-24)
1822

src/php/class-admin.php

-19
Original file line numberDiff line numberDiff line change
@@ -67,25 +67,6 @@ public function run() {
6767
add_filter( 'plugin_row_meta', array( $this, 'plugin_row_meta' ), 10, 2 );
6868
add_filter( 'debug_information', array( $this, 'debug_information' ) );
6969
add_action( 'code_snippets/admin/manage', array( $this, 'print_notices' ) );
70-
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_admin_assets' ) );
71-
}
72-
73-
/**
74-
* Enqueue general admin assets.
75-
*
76-
* @param string|null $hook_name Current plugin page hook name.
77-
*
78-
* @return void
79-
*/
80-
public function enqueue_admin_assets( ?string $hook_name ) {
81-
if ( 'plugins.php' === $hook_name ) {
82-
wp_enqueue_style(
83-
'code-snippets-plugins-css',
84-
plugins_url( 'dist/plugins.css', PLUGIN_FILE ),
85-
[],
86-
PLUGIN_VERSION
87-
);
88-
}
8970
}
9071

9172
/**

src/readme.txt

+6-2
Original file line numberDiff line numberDiff line change
@@ -103,19 +103,23 @@ You can report security bugs found in the source code of this plugin through the
103103

104104
== Changelog ==
105105

106-
= 3.6.8 (2025-02-13) =
106+
= 3.6.8 (2025-02-14) =
107107

108108
__Added__
109109
* `code_snippets/hide_welcome_banner` filter hook for hiding welcome banner in dashboard.
110110

111+
__Changed__
112+
* Updated Freemius SDK to the latest version. (PRO)
113+
111114
__Removed__
112115
* Functionality allowing `[code_snippet]` shortcodes to be embedded recursively – it will be re-added in a future version.
113116

114117
__Fixed__
115118
* Shortcodes embedded within `[code_snippet]` shortcodes not evaluating correctly.
116119
* Translation functions being called too early in some instances when loading plugin settings.
117120
* 'Generate' button not appearing on some sites. (PRO)
118-
* Incorrect arrow entity used in cloud list table (props to brandonjp).
121+
* Incorrect arrow entity used in cloud list table (props to [brandonjp]).
122+
* Removed reference to missing plugins.css file in core plugin version.
119123

120124
= 3.6.7 (2025-01-24) =
121125

0 commit comments

Comments
 (0)