Hi,
I’ve inherited an older site that uses X theme with a custom child theme. While reading through the changelog from my older version to the latest version of X, I noted this change:
UPDATED: x_setup_theme, x_get_stack, x_get_option, x_get_site_layout are no longer pluggable.
Can you fill me in on what this means in practice? I ask because the child theme references x_get_stack and x_get_option and I want to make sure I won’t break anything by updating.
For x_get_stack, most of the references are in .php layout/template files, such as:
<?php x_get_view( x_get_stack(), 'wp', 'sidebar' ); ?>But there are also one reference in functions.php and one in the global view:
functions.php:
$stack = x_get_stack();
framework\views\global_index.php:
$stack = x_get_stack();
Will this code still work after the update? Sorry if this is a dumb question but I’m not 100% clear on what it means for x_get_stack to be no longer pluggable.