Updated TODO

parent 7e39f071
......@@ -23,7 +23,7 @@ based on the ideas i planned for www.sexhack.me:
- Version 0.3.0:
* Remove dependency on Paid Member Subscription plugin, reimplement membership internally
Future developement:
- Version 1.0.0:
* Write new smartcontract for automation of instant and scheduled payout to models
* Write new NFTs login system, remove Unlock Protocol dependency
* More social features
......
......@@ -95,9 +95,9 @@ if(!class_exists('SH_PostTypes')) {
$DEFAULTSLUG = get_option('sexhack_gallery_slug', 'v');
$projects_structure = '/'.$DEFAULTSLUG.'/%wooprod%/';
$rules = $wp_rewrite->wp_rewrite_rules();
if(array_key_exists($DEFAULTSLUG.'/([^/]+)/?$', $rules)) {
sexhack_log("REWRITE: rules OK: ".$DEFAULTSLUG.'/([^/]+)/?$ => '.$rules[$DEFAULTSLUG.'/([^/]+)/?$']);
} else {
if(!array_key_exists($DEFAULTSLUG.'/([^/]+)/?$', $rules)) {
// sexhack_log("REWRITE: rules OK: ".$DEFAULTSLUG.'/([^/]+)/?$ => '.$rules[$DEFAULTSLUG.'/([^/]+)/?$']);
//} else {
sexhack_log("REWRITE: Need to add and flush our rules!");
$wp_rewrite->add_rewrite_tag("%wooprod%", '([^/]+)', "post_type=sexhack_video&wooprod=");
$wp_rewrite->add_rewrite_tag("%videoaccess%", '([^/]+)', "videoaccess=");
......
......@@ -368,7 +368,7 @@ if(!class_exists('SexHackMe_Plugin')) {
add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), array( $this, 'add_plugin_action_links' ) );
sexhack_log("SexHackMe PLUGIN Loaded!");
//sexhack_log("SexHackMe PLUGIN Loaded!");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment