Skip to content

Commit e5234d2

Browse files
committed
Merge branch 'develop'
2 parents b748454 + 5376d07 commit e5234d2

File tree

5 files changed

+15
-6
lines changed

5 files changed

+15
-6
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
# 1.7.1.2
4+
* Correct path to admin menu icon. Fixes [#8](https://github.com/bungeshea/code-snippets/issues/8)
5+
36
## 1.7.1.1
47
* Fixed a bug with custom capabilities and admin menus
58

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
* __Requires at least:__ [WordPress 3.3](http://wordpress.org/download/) or later
44
* __Tested up to:__ WordPress 3.6
5-
* __Stable version:__ [1.7.1.1](http://downloads.wordpress.org/plugin/code-snippets.latest-stable.zip)
5+
* __Stable version:__ [1.7.1.2](http://downloads.wordpress.org/plugin/code-snippets.latest-stable.zip)
66
* __License:__ [MIT](license.txt)
77

88
An easy, clean and simple way to add code snippets to your site.

code-snippets.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* Description: An easy, clean and simple way to add code snippets to your site. No need to edit to your theme's functions.php file again!
1717
* Author: Shea Bunge
1818
* Author URI: http://bungeshea.com
19-
* Version: 1.7.1.1
19+
* Version: 1.7.1.2
2020
* License: MIT
2121
* License URI: license.txt
2222
* Text Domain: code-snippets
@@ -53,7 +53,7 @@ final class Code_Snippets {
5353
* @access public
5454
* @var string A PHP-standardized version number string
5555
*/
56-
public $version = '1.7.1.1';
56+
public $version = '1.7.1.2';
5757

5858
/**
5959
* Variables to hold plugin paths

includes/class-admin.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ function add_admin_menus() {
173173

174174
/* Use a different screen icon for the MP6 interface */
175175
if ( get_user_option( 'admin_color' ) !== 'mp6' )
176-
$menu_icon = apply_filters( 'code_snippets_menu_icon', plugins_url( 'images/menu-icon.png', $code_snippets->file ) );
176+
$menu_icon = apply_filters( 'code_snippets_menu_icon', plugins_url( 'assets/menu-icon.png', $code_snippets->file ) );
177177
else
178178
$menu_icon = 'div';
179179

readme.txt

+8-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Donate link: http://code-snippets.bungeshea.com/donate/
44
Tags: code-snippets, snippets, code, php, network, multisite
55
Requires at least: 3.3
66
Tested up to: 3.6
7-
Stable tag: 1.7.1.1
7+
Stable tag: 1.7.1.2
88
License: MIT
99
License URI: license.txt
1010

@@ -111,12 +111,15 @@ That's fantastic! Join me on [GitHub](https://github.com/bungeshea/code-snippets
111111

112112
== Changelog ==
113113

114+
= 1.7.1.2 =
115+
* Correct path to admin menu icon ([#](http://wordpress.org/support/topic/icon-disappears-with-mp6?replies=6#post-4148319))
116+
114117
= 1.7.1.1 =
115118
* Fix a minor bug with custom capabilities and admin menus
116119

117120
= 1.7.1 =
118121
* Fix a bug with snippet being set as deactivated when saved
119-
* Updated PHP Documentation completely. [[View online](http://bungeshea.github.io/code-snippets/api)]
122+
* Updated PHP Documentation completely. [View online](http://bungeshea.github.io/code-snippets/api)
120123
* Only load admin functions when viewing dashboard
121124
* Added German translation thanks to [David Decker](http://deckerweb.de)
122125
* Allow or deny site administrators access to snippet admin menus. Set your preference in the **Enable Administration Menus** setting under the *Settings > Network Settings* network admin menu.
@@ -207,6 +210,9 @@ Plugin updates will be posted on the [plugin's homepage](http://code-snippets.bu
207210

208211
== Upgrade Notice ==
209212

213+
= 1.7.1.2 =
214+
Fixes the admin menu icon not loading
215+
210216
= 1.7.1.1 =
211217
Fixes a minor bug with custom capabilities and admin menus
212218

0 commit comments

Comments
 (0)