Skip to content

Commit 16baa17

Browse files
authored
Remove class exists check, as it'll be true regardless
1 parent 43bdf87 commit 16baa17

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

wp-permastructure.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Plugin Name: WP Permastructure
44
Plugin URI: https://github.com/interconnectit/wp-permastructure
55
Description: Adds the ability to define permalink structures for any custom post type using rewrite tags.
6-
Version: 1.5.0
6+
Version: 1.5.1
77
Author: Robert O'Rourke
88
Author URI: http://interconnectit.com
99
License: GPLv2 or later
@@ -38,10 +38,6 @@
3838
* 1.0: Initial import
3939
*/
4040

41-
if ( class_exists( 'wp_permastructure' ) ) {
42-
return;
43-
}
44-
4541
add_action( 'init', array( 'wp_permastructure', 'instance' ), 0 );
4642

4743
class wp_permastructure {

0 commit comments

Comments
 (0)