@@ -120,21 +120,21 @@ function ddw_mstba_plugin_links( $mstba_links, $mstba_file ) {
120120 $ mstba_links [] = ddw_mstba_get_info_link (
121121 'url_snippets ' ,
122122 '🔧 ' . esc_html_x ( 'Code Snippets ' , 'Plugins page listing ' , 'multisite-toolbar-additions ' ),
123- 'code dddashicons-before dddashicons-editor-code '
123+ 'code '
124124 );
125125
126126 /* translators: Plugins page listing */
127127 $ mstba_links [] = ddw_mstba_get_info_link (
128128 'url_donate ' ,
129129 '❤ ' . esc_html_x ( 'Donate ' , 'Plugins page listing ' , 'multisite-toolbar-additions ' ),
130- 'button button-inline dddashicons-before dddashicons-thumbs-up '
130+ 'button button-inline '
131131 );
132132
133133 /* translators: Plugins page listing */
134134 $ mstba_links [] = ddw_mstba_get_info_link (
135135 'url_newsletter ' ,
136136 '⚡ ' . esc_html_x ( 'Join our Newsletter ' , 'Plugins page listing ' , 'multisite-toolbar-additions ' ),
137- 'button-primary dddashicons-before dddashicons-awards '
137+ 'button-primary '
138138 );
139139
140140 } // end if plugin links
@@ -148,46 +148,6 @@ function ddw_mstba_plugin_links( $mstba_links, $mstba_file ) {
148148} // end function
149149
150150
151- add_action ( 'admin_enqueue_scripts ' , 'ddw_mstba_inline_styles_plugins_page ' , 20 );
152- /**
153- * Add additional inline styles on the admin Plugins page.
154- *
155- * @since 1.9.1
156- * @since 2.0.1 Splitted into function; using wp_add_inline_style() from Core.
157- * @since 3.1.0 Removed update styles.
158- *
159- * @global string $GLOBALS[ 'pagenow' ]
160- */
161- function ddw_mstba_inline_styles_plugins_page () {
162-
163- /** Bail early if not on plugins.php admin page */
164- if ( 'plugins.php ' !== $ GLOBALS [ 'pagenow ' ] ) {
165- return ;
166- }
167-
168- $ mstba_file = MSTBA_PLUGIN_BASEDIR . 'multisite-toolbar-additions.php ' ;
169-
170- /**
171- * For WordPress Admin Area
172- * Style handle: 'wp-admin' (WordPress Core)
173- */
174- $ inline_css = sprintf (
175- '
176- tr[data-plugin="%s"] .plugin-version-author-uri a.dashicons-before:before {
177- font-size: 17px;
178- margin-right: 2px;
179- opacity: .85;
180- vertical-align: sub;
181- }
182- ' ,
183- $ mstba_file
184- );
185-
186- //wp_add_inline_style( 'wp-admin', $inline_css );
187-
188- } // end function
189-
190-
191151add_action ( 'admin_head-nav-menus.php ' , 'ddw_mstba_widgets_help_content ' , 15 );
192152/**
193153 * Create and display plugin help tab content.
0 commit comments