file_create_url is deprecated in Drupal core 9.3 and will be removed in 10.0

Issue fork colorbox-3265549

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

hmdnawaz created an issue. See original summary.

hmdnawaz’s picture

StatusFileSize
new660 bytes
victoria-marina’s picture

Assigned: Unassigned » victoria-marina
Status: Active » Needs review

I'll review this.

victoria-marina’s picture

Assigned: victoria-marina » Unassigned
StatusFileSize
new660 bytes
new0 bytes

The patch applies fine, its a RTBC for me.

victoria-marina’s picture

victoria-marina’s picture

Status: Needs review » Reviewed & tested by the community

paulmckibben’s picture

Status: Reviewed & tested by the community » Fixed

@hmdnawaz, @victoria-marina, thank you both for creating and reviewing this patch.

paulmckibben’s picture

Status: Fixed » Reviewed & tested by the community

Unfortunately, file_url_generator is only available in Drupal 9.3+. Since Drupal 9.2 is still supported, I must reverse this patch until Drupal 9.2 is no longer supported. See #3274802: file_url_generator is in Drupal 9.3+.

  • paulmckibben committed 7371a57 on 8.x-1.x
    Revert "Issue #3265549 by victoria-marina, hmdnawaz: Remove deprecated...
paulmckibben’s picture

Version: 8.x-1.x-dev » 2.0.x-dev

Moving this to the new 2.0.x branch for Drupal 10 compatibility fixes. Supports ^9.3 || ^10.

  • paulmckibben committed 7371a57 on 3265549-remove-deprecated-code
    Revert "Issue #3265549 by victoria-marina, hmdnawaz: Remove deprecated...
  • paulmckibben committed 95165fe on 3265549-remove-deprecated-code authored by victoria-marina
    Issue #3265549 by victoria-marina, paulmckibben, hmdnawaz: Remove...
  • paulmckibben committed ee1428f on 3265549-remove-deprecated-code authored by hmdnawaz
    Issue #3265549 by victoria-marina, hmdnawaz: Remove deprecated code
    
paulmckibben’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.