Alberto Paderno
Alberto Paderno
The code shown for callback_batch_operation() calls a function that Backdrop core does not implement
[`callback_batch_operation()`](https://docs.backdropcms.org/api/backdrop/core%21modules%21system%21form.api.php/function/callback_batch_operation/1) contains the following code. ```php while ($row = db_fetch_array($result)) { // Here we actually perform our processing on the current node. $node = node_load($row['nid'], NULL, TRUE); $node->value1 = $options1;...
This is the equivalent of [DefaultMailSystem implements MailSystemInterface::format() incorrectly](https://www.drupal.org/project/drupal/issues/1447236) for Drupal 7. [`DefaultMailSystem::format()`](https://docs.backdropcms.org/api/backdrop/core%21modules%21system%21system.mail.inc/function/DefaultMailSystem%3A%3Aformat/1) contains the following code. ```php $message['body'] = backdrop_html_to_text($message['body']); // Wrap the mail body for sending. $message['body'] =...
[The theme process layer has been removed from Backdrop](https://docs.backdropcms.org/change-records/removed-the-theme-process-layer), but the documentation for [`theme()`](https://docs.backdropcms.org/api/backdrop/core%21includes%21theme.inc/function/theme/1) still contains references to `MODULE_process()` and `MODULE_process_HOOK()`, when those theme process layer functions are not invoked...
To reproduce the error: - Enable the modules - Add Italian as new language (It could work with other languages too.) - Export the Italian translations from https://localize.backdropcms.org/translate/languages/it/export?project=backdropcms&status=0&release=all&search=&author&context=all&limit=10&sid=0&exact_term= - Import...
[`system_install()`](https://docs.backdropcms.org/api/backdrop/core%21modules%21system%21system.install/function/system_install/1) calls `backdrop_install_schema('system')`, which is usually done from Backdrop core before installing a module. Since this is an exception, a comment in the code should remember us that.
In Drupal 7, [`user_filters()`](https://api.drupal.org/api/drupal/modules%21user%21user.module/function/user_filters/7.x) is called from [`user_admin()`](https://api.drupal.org/api/drupal/modules%21user%21user.admin.inc/function/user_admin/7.x), the page callback for admin/people, via [`user_filter_form()`](https://api.drupal.org/api/drupal/modules%21user%21user.admin.inc/function/user_filter_form/7.x). In Backdrop, admin/people is a view. [`user_filters()`](https://docs.backdropcms.org/api/backdrop/core%21modules%21user%21user.module/function/user_filters/1) is not used to build options for a...
In some cases, the code that renders a table in a page checks if the table does not have rows to then show a message when the table is empty....
### Steps to reproduce - Visit /admin/structure/layouts/settings - Click on *Add flexible layout template* - Enter the required value and click on *Save and configure* - On the shown page,...
The [core/modules/dashboard/includes/block.node_types.inc](https://github.com/backdrop/backdrop/blob/1.x/core/modules/dashboard/includes/block.node_types.inc#L60-L122) file contains the following code. ```php if ($access) { foreach ($node_types as $machine => $node_type) { // If no types are specified, show all types. if (empty($this->settings['types']) ||...
[`backdrop_settings_initialize()`](https://docs.backdropcms.org/api/backdrop/core%21includes%21bootstrap.inc/function/backdrop_settings_initialize/1) contains the following comment. ```php // HTTP_HOST can be modified by a visitor, but we already sanitized it // in backdrop_settings_initialize(). ``` `$_SERVER['HTTP_HOST']` is sanitized in [`backdrop_environment_initialize()`](https://docs.backdropcms.org/api/backdrop/core%21includes%21bootstrap.inc/function/backdrop_environment_initialize/1), not `backdrop_settings_initialize()`....