Title: yahyahaled's Replies | WordPress.org

---

# yahyahaled

  [  ](https://wordpress.org/support/users/yahyahaled/)

 *   [Profile](https://wordpress.org/support/users/yahyahaled/)
 *   [Topics Started](https://wordpress.org/support/users/yahyahaled/topics/)
 *   [Replies Created](https://wordpress.org/support/users/yahyahaled/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/yahyahaled/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/yahyahaled/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/yahyahaled/engagements/)
 *   [Favorites](https://wordpress.org/support/users/yahyahaled/favorites/)

 Search replies:

## Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[One Click Demo Import] Menu doesn’t activate](https://wordpress.org/support/topic/menu-doesnt-activate/)
 *  [yahyahaled](https://wordpress.org/support/users/yahyahaled/)
 * (@yahyahaled)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/menu-doesnt-activate/#post-16870604)
 * Hi Gregor, 
   Is there any update regarding import issues in navigation blocks 
   for block themes. Still waiting for your update.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[One Click Demo Import] Navigation Blocks](https://wordpress.org/support/topic/navigation-blocks/)
 *  Thread Starter [yahyahaled](https://wordpress.org/support/users/yahyahaled/)
 * (@yahyahaled)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/navigation-blocks/#post-16847507)
 * Hi Gregor,
 * Is there any update regarding the issue I mentioned. Please resolve the issue
   with navigation blocks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[One Click Demo Import] Menu doesn’t activate](https://wordpress.org/support/topic/menu-doesnt-activate/)
 *  [yahyahaled](https://wordpress.org/support/users/yahyahaled/)
 * (@yahyahaled)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/menu-doesnt-activate/#post-16829283)
 * Hi, Gregor
 * The code you referring does not work with block themes since it uses navigation
   blocks not classic theme menu locations. What to do for navigation blocks by 
   default it assign to the same menu for all pages
 * `set_theme_mod( ``'nav_menu_locations'``, [`
 * `            ``'main-menu'``=> ``$main_menu``->term_id, ``// replace 'main-menu'
   here with the menu location identifier from register_nav_menu() function in your
   theme.`
 * `        ``]`
 * `    );`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[One Click Demo Import] Navigation Blocks](https://wordpress.org/support/topic/navigation-blocks/)
 *  Thread Starter [yahyahaled](https://wordpress.org/support/users/yahyahaled/)
 * (@yahyahaled)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/navigation-blocks/#post-16829261)
 * I am not asking about navigation menu in classical theme and I am asking about
   the wp navigation blocks in theme editor for block themes. The selected navigation
   block is not assigned when importing xml using OCDI
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [php warning – wp_list_pluck, wp-list-util](https://wordpress.org/support/topic/php-warning-wp_list_pluck-wp-list-util/)
 *  [yahyahaled](https://wordpress.org/support/users/yahyahaled/)
 * (@yahyahaled)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/php-warning-wp_list_pluck-wp-list-util/#post-16185609)
 * Yes, This is the solution for this issue [@mi-ca](https://wordpress.org/support/users/mi-ca/).
   Just figured it out now. ‘the_posts’ method in WP_Query class has this below 
   function. when `$args('fields' => 'ids')` is passed in WP_Query as argument, 
   this function argument $posts becomes postIds array i.e(array of integers) instead
   of object array where ‘wp_list_pluck’ function can’t pluck the post author ids
   from array of integers. So, `unset( $args['fields'] );` when ‘field’ already 
   exists.
 *     ```
       function update_post_author_caches( $posts ) {
       	$author_ids = wp_list_pluck( $posts, 'post_author' );
       	$author_ids = array_map( 'absint', $author_ids );
       	$author_ids = array_unique( array_filter( $author_ids ) );
   
       	cache_users( $author_ids );
       }
       ```
   
    -  This reply was modified 3 years, 7 months ago by [yahyahaled](https://wordpress.org/support/users/yahyahaled/).
    -  This reply was modified 3 years, 7 months ago by [yahyahaled](https://wordpress.org/support/users/yahyahaled/).
    -  This reply was modified 3 years, 7 months ago by [yahyahaled](https://wordpress.org/support/users/yahyahaled/).
    -  This reply was modified 3 years, 7 months ago by [yahyahaled](https://wordpress.org/support/users/yahyahaled/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[MAS Videos] Maximum release date 2022 ?](https://wordpress.org/support/topic/maximum-release-date-2022/)
 *  [yahyahaled](https://wordpress.org/support/users/yahyahaled/)
 * (@yahyahaled)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/maximum-release-date-2022/#post-15899926)
 * Hello there,
 * Thank you for trying out our plugin. Apologies for the delay in response. I’ve
   tested the scenario on our demo servers and could not reproduce the error. Please
   find the screenshot attached for reference.
 * [https://drive.google.com/file/d/1f6pA_e2xwfzIF2MIwvzdM-YKeb6HyU-D/view?usp=sharing](https://drive.google.com/file/d/1f6pA_e2xwfzIF2MIwvzdM-YKeb6HyU-D/view?usp=sharing)
 * Can you please make sure that you are not overriding the masvideos released year
   code?

Viewing 6 replies - 1 through 6 (of 6 total)