if ( ! function_exists( 'publisher_pagin_filter_pagin_args' ) ) { /** * Filter $atts array and return only required index for ajax handler * * @param array $args Custom function args * * @return array filtered $atts values * @see Publisher_Theme_Listing_Pagin_Manager::handle_ajax_response() * */ function publisher_pagin_filter_pagin_args( $args ) { $pagin_fields = array( 'have_pagination', 'have_slider', 'listing', ); return array_diff_key( $args, array_flip( (array) $pagin_fields ) ); } } if ( ! function_exists( 'publisher_pagin_create_wp_query_args' ) ) { /** * Handy function to create master listing wp query args * * @param array $atts * @param int $paged * @param array $tab * * @return bool */ function publisher_pagin_create_wp_query_args( &$atts, $paged = 1, $tab = array() ) { $args = array(); // order_by if ( ! empty( $atts['order_by'] ) ) { $args = publisher_get_order_filter_query( $atts['order_by'] ); } // order if ( ! empty( $atts['order'] ) ) { $args['order'] = $atts['order']; } // post type if ( ! empty( $atts['post_type'] ) ) { $args['post_type'] = $atts['post_type']; } // posts per page if ( ! empty( $atts['count'] ) && intval( $atts['count'] ) > 0 ) { $args['posts_per_page'] = $atts['count']; } else { $args['posts_per_page'] = get_option( 'posts_per_page' ); } // paged if ( isset( $atts['paginate'] ) && substr( $atts['paginate'], 0, 6 ) === 'simple' ) { $paged = $args['paged'] = bf_get_query_var_paged(); } // offset if ( ! empty( $atts['offset'] ) ) { if ( $paged > 1 ) { $args['offset'] = intval( $atts['offset'] ) + ( ( $paged - 1 ) * $args['posts_per_page'] ); } else { $args['offset'] = intval( $atts['offset'] ); } } /* if ( ! empty( $atts['taxonomy'] ) ) { $tax_query = array(); foreach ( explode( ',', $atts['taxonomy'] ) as $tax ) { $tax = explode( ':', $tax ); if ( count( $tax ) >= 2 ) { $tax_term = get_term( $tax[1], $tax[0] ); if ( ! is_wp_error( $tax_term ) ) { $tax_query[] = array( 'taxonomy' => $tax[0], 'field' => 'term_id', 'terms' => array( $tax[1] ), ); } } } if ( ! empty( $tax_query ) ) { $tax_query['relation'] = 'OR'; $args['tax_query'] = $tax_query; } } // Category if ( ! empty( $atts['category'] ) ) { $args['cat'] = $atts['category']; } // Tag if ( ! empty( $atts['tag'] ) ) { if ( ! is_array( $atts['tag'] ) ) { $tags = explode( ',', $atts['tag'] ); } else { $tags = $atts['tag']; } $args['tag__in'] = $tags; } */ // Post id filters if ( ! empty( $atts['post_ids'] ) ) { if ( is_array( $atts['post_ids'] ) ) { $post_id_array = $atts['post_ids']; } else { $post_id_array = explode( ',', $atts['post_ids'] ); } $post_in = array(); $post_not_in = array(); // Split ids into post_in and post_not_in foreach ( $post_id_array as $post_id ) { $post_id = trim( $post_id ); // TODO: Refactor this! if ( is_numeric( $post_id ) ) { if ( intval( $post_id ) < 0 ) { $post_not_in[] = str_replace( '-', '', $post_id ); } else { $post_in[] = $post_id; } } } if ( ! empty( $post_not_in ) ) { $args['post__not_in'] = $post_not_in; } if ( ! empty( $post_in ) ) { $args['post__in'] = $post_in; $args['orderby'] = 'post__in'; } } // Custom post types if ( ! empty( $atts['post_type'] ) ) { if ( is_array( $atts['post_type'] ) ) { $args['post_type'] = $atts['post_type']; } else { $args['post_type'] = explode( ',', $atts['post_type'] ); } } // Time filter if ( ! empty( $atts['time_filter'] ) ) { $args['date_query'] = publisher_get_time_filter_query( $atts['time_filter'] ); } if ( ! isset( $atts['ignore_sticky_posts'] ) ) { $args['ignore_sticky_posts'] = true; } else { $args['ignore_sticky_posts'] = $atts['ignore_sticky_posts']; } if ( isset( $atts['category__in'] ) ) { $args['category__in'] = array_map( 'absint', (array) $atts['category__in'] ); } if ( isset( $atts['post__not_in'] ) ) { $args['post__not_in'] = array_map( 'absint', (array) $atts['post__not_in'] ); } if ( isset( $atts['author'] ) ) { $args['author'] = intval( $atts['author'] ); } if ( ! empty( $atts['author_ids'] ) ) { $author__in = array(); $author__not_in = array(); foreach ( explode( ',', $atts['author_ids'] ) as $author_id ) { $author_id = intval( $author_id ); if ( $author_id === 0 ) { continue; } if ( $author_id > 0 ) { $author__in[] = $author_id; } else { $author__not_in[] = $author_id; } } if ( $author__in ) { $args['author__in'] = $author__in; } if ( $author__not_in ) { $args['author__not_in'] = $author__not_in; } } /** * Start Handle Query Conditions */ if ( empty( $args['tax_query'] ) ) { $args['tax_query'] = array(); } if ( ! empty( $atts['category'] ) ) { $terms_id_include = array(); $terms_id_exclude = array(); foreach ( explode( ',', $atts['category'] ) as $term_id ) { if ( $term_id[0] === '-' ) { $terms_id_exclude[] = substr( $term_id, 1 ); } else { $terms_id_include[] = $term_id; } } if ( $terms_id_include ) { $args['tax_query'][] = array( 'terms' => bf_get_term_childs( $terms_id_include, $terms_id_exclude ), 'taxonomy' => 'category', 'field' => 'term_id', 'operator' => isset( $atts['cats-condition'] ) ? strtoupper( $atts['cats-condition'] ) : 'IN', 'include_children' => false, ); } if ( $terms_id_exclude ) { $args['tax_query'][] = array( 'taxonomy' => 'category', 'field' => 'term_id', 'terms' => $terms_id_exclude, 'operator' => 'NOT IN', 'include_children' => false, ); } } if ( ! empty( $atts['taxonomy'] ) ) { $terms = array(); if ( preg_match_all( '/ ([^:]+) : ([^,]+) \s* \,? /isx', $atts['taxonomy'], $matches ) ) { foreach ( $matches[1] as $idx => $taxonomy ) { $taxonomy = trim( $taxonomy ); $term_id = trim( $matches[2][ $idx ] ); $section = $term_id[0] === '-' ? 'exclude' : 'include'; $terms[ $taxonomy ][ $section ][] = absint( $term_id ); } } /** * FIX: Taxonomies as tab wrong query */ if ( isset( $tab['active'] ) && $tab['active'] == false && ! empty( $tab['type'] ) ) { $_taxonomy = $tab['type']; if ( ! empty( $terms[ $_taxonomy ] ) && ! empty( $tab['term_id'] ) ) { $terms[ $_taxonomy ]['include'] = array( intval( $tab['term_id'] ) ); } } foreach ( $terms as $taxonomy => $terms ) { $terms_id_include = isset( $terms['include'] ) ? $terms['include'] : array(); $terms_id_exclude = isset( $terms['exclude'] ) ? $terms['exclude'] : array(); if ( $terms_id_include ) { $args['tax_query'][] = array( 'terms' => bf_get_term_childs( $terms_id_include, $terms_id_exclude, $taxonomy ), 'taxonomy' => $taxonomy, 'field' => 'term_id', 'operator' => isset( $atts['cats-condition'] ) ? strtoupper( $atts['cats-condition'] ) : 'IN', 'include_children' => false, ); } if ( $terms_id_exclude ) { $args['tax_query'][] = array( 'taxonomy' => $taxonomy, 'field' => 'term_id', 'terms' => $terms_id_exclude, 'operator' => 'NOT IN', 'include_children' => false, ); } } } if ( ! empty( $atts['tag'] ) ) { $args['tax_query'][] = array( 'taxonomy' => 'post_tag', 'field' => 'term_id', 'terms' => explode( ',', $atts['tag'] ), 'operator' => isset( $atts['tags-condition'] ) ? strtoupper( $atts['tags-condition'] ) : 'IN', 'include_children' => false, ); } if ( $args['tax_query'] ) { $args['tax_query']['relation'] = isset( $atts['cats-tags-condition'] ) ? $atts['cats-tags-condition'] : 'AND'; } elseif ( ! empty( $atts['tax_query'] ) ) { $args['tax_query'] = $atts['tax_query']; // Ajax request pass tax_query } /** * END Handle Query Conditions */ if ( ! empty( $atts['featured_image'] ) ) { if ( isset( $args['meta_query'] ) ) { $args['meta_query'][] = array( 'key' => '_thumbnail_id', 'compare' => 'EXISTS' ); } else { $args['meta_query'] = array( array( 'key' => '_thumbnail_id', 'compare' => 'EXISTS' ) ); } } if ( ! empty( $atts['orderby'] ) && $atts['orderby'] === 'rand' ) { $args['orderby'] = 'rand'; } $args['post_status'] = 'publish'; // Custom meta key if ( ! empty( $atts['orderby_meta_key'] ) ) { $args['meta_key'] = $atts['orderby_meta_key']; } // Custom meta value type if ( ! empty( $atts['orderby_meta_value_type'] ) ) { $args['meta_type'] = $atts['orderby_meta_value_type']; } return $args; } // publisher_pagin_create_query_args } if ( ! function_exists( 'publisher_pagin_create_user_query_args' ) ) { /** * Handy function to create master listing user query args * * @param array $atts * @param int $paged * * @return array */ function publisher_pagin_create_user_query_args( &$atts, $paged = 1 ) { $query_args = wp_array_slice_assoc( $atts, array( 'search', 'order', 'offset', 'include', 'exclude', ) ); $valid_orderby = array( 'id', 'url', 'name', 'email', 'login', 'nicename', 'user_url', 'user_name', 'user_login', 'registered', 'post_count', 'meta_value', 'user_email', 'display_name', 'user_nicename', 'user_registered', ); if ( isset( $atts['order_by'] ) && in_array( strtolower( $atts['order_by'] ), $valid_orderby ) ) { $query_args['orderby'] = $atts['order_by']; } $query_args['number'] = empty( $atts['count'] ) ? 10 : $atts['count']; if ( ! empty( $atts['filter_roles'] ) && ! empty( $atts['roles'] ) ) { $query_args['role__in'] = is_string( $atts['roles'] ) ? explode( ',', $atts['roles'] ) : $atts['roles']; } $query_args['count_total'] = ! empty( $atts['paginate'] ); // TODO: there is no option to prevent load user meta in WP_User_Query. // some times we don't need any user_meta but WP_User_Query still fetch all of them, so we need to add an option to bypass user meta loading. $query_args['fields'] = 'all_with_meta'; // Performance improvement - Fetch all users meta in single db query return $query_args; } } if ( ! function_exists( 'publisher_pagin_create_comment_query_args' ) ) { /** * Handy function to create listing comment query args * * @param array $atts * @param int $paged * * @return array */ function publisher_pagin_create_comment_query_args( &$atts, $paged = 1 ) { $query_args = wp_array_slice_assoc( $atts, array( 'author_email', 'search', 'order', 'offset', ) ); if ( ! empty( $atts['include'] ) ) { $query_args['post_author__in'] = explode( ',', $atts['include'] ); } if ( ! empty( $atts['exclude'] ) ) { $query_args['author__not_in'] = explode( ',', $atts['exclude'] ); } if ( ! empty( $atts['include_posts'] ) ) { $query_args['post__in'] = explode( ',', $atts['include_posts'] ); } if ( ! empty( $atts['exclude_posts'] ) ) { $query_args['post__not_in'] = explode( ',', $atts['exclude_posts'] ); } if ( isset( $atts['count'] ) ) { $query_args['number'] = $atts['count']; } $valid_orderby = array( 'comment_agent', 'comment_approved', 'comment_author', 'comment_author_email', 'comment_author_IP', 'comment_author_url', 'comment_content', 'comment_date', 'comment_date_gmt', 'comment_ID', 'comment_karma', 'comment_parent', 'comment_post_ID', 'comment_type', 'user_id', ); if ( isset( $atts['order_by'] ) && in_array( strtolower( $atts['order_by'] ), $valid_orderby ) ) { $query_args['orderby'] = $atts['order_by']; } if ( ! empty( $atts['paginate'] ) ) { $query_args['no_found_rows'] = false; } return $query_args; } } if ( ! function_exists( 'publisher_theme_pagin_manager' ) ) { /** * Get Publisher_Theme_Listing_Pagin_Manager Class instance * * @return Publisher_Theme_Listing_Pagin_Manager */ function publisher_theme_pagin_manager() { return Publisher_Theme_Listing_Pagin_Manager::Run(); } // publisher_theme_pagin_manager } if ( ! function_exists( 'publisher_pagin_hash_generate' ) ) { /** * Generate unique hash for input data * * @param array|object $array * * @return bool|string hash string on success or false otherwise */ function publisher_pagin_hash_generate( $array ) { if ( is_object( $array ) ) { $array = get_object_vars( $array ); } elseif ( ! is_array( $array ) ) { return false; } $keys_to_remove = array( 'paged' => '', ); //remove some indexes $array = array_diff_key( $array, $keys_to_remove ); $array = bf_map_deep( $array, 'publisher_pagin_hash_data_filter' ); $array = array_filter( $array ); ksort( $array ); $hash = substr( wp_hash( serialize( $array ), 'nonce' ), 5, 7 ); return $hash; } } if ( ! function_exists( 'publisher_pagin_hash_verify' ) ) { /** * Verify Hash * * @param string $hash * @param array|object $data * * @return bool true on success or false on failure. */ function publisher_pagin_hash_verify( $hash, $data ) { return $hash === publisher_pagin_hash_generate( $data ); } } if ( ! function_exists( 'publisher_pagin_hash_data_filter' ) ) { /** * Filters data for making correct hash from it * * @param $data * * @return mixed */ function publisher_pagin_hash_data_filter( $data ) { $new_data = filter_var( $data, FILTER_VALIDATE_INT ); return $new_data === false ? $data : $new_data; } } if ( ! function_exists( 'publisher_pagin_js_data_filter' ) ) { /** * Converts boolean values to it for JS of pagination * * @param $data * * @return string */ function publisher_pagin_js_data_filter( $data ) { return is_bool( $data ) ? (int) $data : $data; } } if ( ! function_exists( 'publisher_get_ajax_var' ) ) { /** * Get defended ajax variable * * @param string $var * * @since 1.8.0 * @return object|array|string */ function publisher_get_ajax_var( $var ) { return Publisher_Theme_Listing_Pagin_Manager::get_ajax_var( $var ); } } if ( ! function_exists( 'publisher_set_ajax_var' ) ) { /** * Define a custom variable to send in pagination ajax request * * @param string $var * @param object|array|string $value * * @since 1.8.0 * @return object|array|string */ function publisher_set_ajax_var( $var, $value ) { return Publisher_Theme_Listing_Pagin_Manager::set_ajax_var( $var, $value ); } } Côte d'Ivoire-Arrestation de Soumahoro Kando (GPS-La déclaration des partis politiques et organisation de la société civile - LePays 225

Côte d’Ivoire-Arrestation de Soumahoro Kando (GPS-La déclaration des partis politiques et organisation de la société civile

Le vendredi 9 août 2024, le Groupement des Partis Politiques dans l’Opposition et des Organisations de la Société civile (OSC) a organisé un Point de presse à la maison du PDCI RDA sur le Thème :”Enjeux de la Révision de la liste électorale et nécessité d’un dialogue politique inclusif”. L’objectif, in fine, a été de se mobiliser pour assurer que la prochaine élection présidentielle se tienne dans la paix, sans violence d’aucune sorte après toutes les crises électorales que notre pays a connues. L’essentiel de la déclaration de ce point de presse était : − d’une part de demander que l’enrôlement sur la liste électorale soit ouverte jusqu’à 03 mois de l’élection présidentielle d’octobre 2025, c’est-à-dire jusqu’à la fin du mois de juillet 2025 et − d’autre part d’appeler le Gouvernement à l’ouverture d’un vrai dialogue, c’est-à-dire un dialogue inclusif avec les partis politiques, les Organisations de la Société Civile et l’ensemble des forces vives de la Nation. Cela, en vue d’adresser d’autres sujets importants qui permettront d’aboutir à des reformes électorales nécessaires et consensuelles dans leurs aspects juridiques et constitutionnels, organisationnels, sécuritaires et de financement à même de conduire à une élection inclusive, crédible et transparente en 2025, 2 gage d’un nouveau départ de la Côte d’Ivoire dans la justice, l’équité et les droits civiques de tous les citoyens. Il est à noter que dans ce groupement, certaines Organisations politiques, parties prenantes de l’initiative n’ont pas été admises à signer le document, contrairement a GPS. Il en est ainsi parce que ce Mouvement politique partenaire de cette noble initiative, est sursis à sa dissolution par son pourvoi en cassation dont le prononcé n’a pas encore eu lieu. En outre, il convient de préciser que, quoique la diversité idéologique et méthodologique soit actée dans cette démarche commune, les parties prenantes restent solidaires pour la circonstance. A notre grand étonnement, NOUS, Présidents et Premiers Responsables de Partis et Groupements politiques et d’Organisations de la Société́ civile et alliés avons été́ informés, de la convocation pour le mardi 13 Août 2024 à 09h00 à la Préfecture de police d’Abidjan, de M. Soumahoro KANDO signataire de ladite déclaration pour le compte du mouvement GPS ; de son audition, de sa rétention administrative, suivie de sa présentation au parquet pour être inculpé et mis sous mandat de dépôt, afin d’être jugé suivant la procédure de flagrant délit. Face à cette situation, Nous, Présidents et Premiers Responsables de Partis et Groupements politiques et d’Organisations de la Société́ civile, marquons notre inquiétude de constater qu’un citoyen soit mis aux arrêts pour être jugé et éventuellement condamné pour avoir signé́ pour le 3 compte d’un mouvement politique qui n’est pas dissout, sauf avis contraire, du fait d’un recours en cassation. Pour nous, cette arrestation de M. KANDO n’est, ni plus ni moins et encore une fois, qu’une instrumentalisation de l’appareil judiciaire pour servir des fins politiques, dans le but d’intimider ou de démotiver les Leaders politiques et de la Société́ Civile dans leur élan d’unité́ d’actions en vue d’obtenir des conditions électorales démocratiques, qui soient conformes aux standards internationaux. Nous dénonçons donc cette arrestation arbitraire et demandons la libération immédiate et sans condition de M. Soumahoro KANDO ! Nous, exprimons notre solidarité́ à M. Soumahoro KANDO et nous nous tenons prêts à défendre ses droits en tant que citoyen, comme nous l’aurions fait pour tout autre ivoirien dans une telle situation. Nous demandons pour la circonstance, que la justice dise le droit et fasse toute la lumière sur ce dossier par une conférence de presse afin d’éclairer l’opinion nationale et internationale pour que nul n’en ignore. Nous recommandons vivement au Gouvernement, au nom de la Paix et de la Cohésion sociale, de faire respecter l’État de droit, les Droits de l’Homme et les Libertés publiques, conformément aux engagements internationaux pris par la Côte d’Ivoire et qui sont prescrits par la Constitution.
Fait à Abidjan le 20 août 2024
Les signataires de la déclaration du 9 août 2024 et allié

Partagez