Skip to content

Commit ee555ce

Browse files
committed
Bump to 1.0.0.
1 parent 193dc4c commit ee555ce

File tree

5 files changed

+40
-32
lines changed

5 files changed

+40
-32
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ WP Term Images allows users to assign images to any visible category, tag, or ta
1616

1717
Not since WordPress 4.4.
1818

19-
Install the [WP Term Meta](https://wordpress.org/plugins/wp-term-meta/ "Metadata, for taxonomy terms.") plugin if you're on an earlier version.
20-
2119
### Does this create new database tables?
2220

2321
No. There are no new database tables with this plugin.
@@ -47,7 +45,8 @@ if ( ! empty( $image ) ) {
4745

4846
### Where can I get support?
4947

50-
The WordPress support forums: https://wordpress.org/support/plugin/wp-term-images/
48+
* Basic: https://wordpress.org/support/plugin/wp-term-images/
49+
* Priority: https://chat.flox.io/support/channels/wp-term-images/
5150

5251
### Can I contribute?
5352

assets/js/term-image.js

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,25 @@ jQuery( document ).ready( function( $ ) {
55
/* Globals */
66
var wp_term_images_modal;
77

8-
/**
9-
* Invoke the media modal
10-
*
11-
* @param {object} event The event
12-
*/
13-
$( '#addtag, #edittag, #the-list' ).on( 'click', '.wp-term-images-media', function ( event ) {
14-
wp_term_images_show_media_modal( this, event );
15-
} );
8+
$( '#addtag, #edittag, #the-list' )
169

17-
/**
18-
* Remove image
19-
*
20-
* @param {object} event The event
21-
*/
22-
$( '#addtag, #edittag, #the-list' ).on( 'click', '.wp-term-images-remove', function ( event ) {
23-
wp_term_images_reset( this, event );
24-
} );
10+
/**
11+
* Invoke the media modal
12+
*
13+
* @param {object} event The event
14+
*/
15+
.on( 'click', '.wp-term-images-media', function ( event ) {
16+
wp_term_images_show_media_modal( this, event );
17+
} )
18+
19+
/**
20+
* Remove image
21+
*
22+
* @param {object} event The event
23+
*/
24+
.on( 'click', '.wp-term-images-remove', function ( event ) {
25+
wp_term_images_reset( this, event );
26+
} );
2527

2628
/**
2729
* Reset the form on submit.

includes/class-wp-term-images.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ final class WP_Term_Images extends WP_Term_Meta_UI {
2222
/**
2323
* @var string Plugin version
2424
*/
25-
public $version = '0.3.1';
25+
public $version = '1.0.0';
2626

2727
/**
2828
* @var string Database version
2929
*/
30-
public $db_version = 201607130002;
30+
public $db_version = 201701160001;
3131

3232
/**
3333
* @var string Metadata key

readme.txt

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
=== WP Term Images ===
2-
Contributors: johnjamesjacoby, stuttter
3-
Tags: taxonomy, term, meta, metadata, image, images
2+
Contributors: johnjamesjacoby, stuttter
3+
Tags: taxonomy, term, meta, metadata, image, images
44
Requires at least: 4.4
5-
Tested up to: 4.6
6-
Stable tag: 0.3.1
7-
License: GPLv2 or later
8-
License URI: https://www.gnu.org/licenses/gpl-2.0.html
9-
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9Q4F4EL5YJ62J
5+
Tested up to: 4.8
6+
Stable tag: 1.0.0
7+
License: GPLv2 or later
8+
License URI: https://www.gnu.org/licenses/gpl-2.0.html
9+
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9Q4F4EL5YJ62J
1010

1111
== Description ==
1212

@@ -83,14 +83,21 @@ if ( ! empty( $image ) ) {
8383

8484
= Where can I get support? =
8585

86-
The WordPress support forums: https://wordpress.org/support/plugin/wp-term-images/
86+
* Basic: https://wordpress.org/support/plugin/wp-term-images/
87+
* Priority: https://chat.flox.io/support/channels/wp-term-images/
8788

8889
= Where can I find documentation? =
8990

9091
http://github.com/stuttter/wp-term-images/
9192

9293
== Changelog ==
9394

95+
= [1.0.0] - 2017-01-16 =
96+
* Stability!
97+
* Fix text domains
98+
* Simplify some JavaScript
99+
* Handle more JavaScript edge-cases
100+
94101
= [0.3.1] - 2016-07-13 =
95102
* Fix regular edits
96103

wp-term-images.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* License: GPLv2 or later
99
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
1010
* Description: Pretty images for categories, tags, and other taxonomy terms
11-
* Version: 0.3.1
11+
* Version: 1.0.0
1212
* Text Domain: wp-term-images
1313
* Domain Path: /assets/lang/
1414
*/
@@ -27,8 +27,8 @@ function _wp_term_images() {
2727
$plugin_path = plugin_dir_path( __FILE__ );
2828

2929
// Classes
30-
require_once $plugin_path . '/includes/class-wp-term-meta-ui.php';
31-
require_once $plugin_path . '/includes/class-wp-term-images.php';
30+
require_once $plugin_path . 'includes/class-wp-term-meta-ui.php';
31+
require_once $plugin_path . 'includes/class-wp-term-images.php';
3232
}
3333
add_action( 'plugins_loaded', '_wp_term_images' );
3434

0 commit comments

Comments
 (0)