Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Current 2.x-dev has a bug where custom blocks created by any other module that uses a delete URL matching...
admin/structure/block/administer/%/%/delete
... may not be able to be deleted because Twitter Block intercepts the call and presents the confirmation page to delete the Twitter block rather than the desired block.
Comment | File | Size | Author |
---|---|---|---|
#3 | twitter_block-intercepts-delete-other-blocks-1996978-3.patch | 1.78 KB | Devin Carlson |
#1 | twitter_block-intercepts-delete-other-blocks-1996978-1.patch | 494 bytes | matthewandrews |
Comments
Comment #1
matthewandrews CreditAttribution: matthewandrews commentedHere's a patch.
Comment #2
Devin Carlson CreditAttribution: Devin Carlson commentedComment #3
Devin Carlson CreditAttribution: Devin Carlson commentedGood catch and thanks for the patch!
I think that, since the $module page argument is being hardcoded, we might as well hardcode it in
twitter_block_delete()
as well and get rid of the $module argument altogether.Comment #4
Devin Carlson CreditAttribution: Devin Carlson commentedCommitted #3 to Twitter Block 7.x-2.x.