The theme functions do extra processing before they check if a URL value is present, they should first check if the URL is present and only then do extra processing.

Comments

DamienMcKenna created an issue. See original summary.

damienmckenna’s picture

Status: Active » Needs review
StatusFileSize
new4.41 KB

This seems better. Hopefully the tests pass.

Status: Needs review » Needs work

The last submitted patch, 2: link-n3178419-2.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

damienmckenna’s picture

Status: Needs work » Needs review
StatusFileSize
new408 bytes
new4.41 KB

I borked an if() statement. Doh!

Status: Needs review » Needs work

The last submitted patch, 4: link-n3178419-4.patch, failed testing. View results

damienmckenna’s picture

Status: Needs work » Needs review
StatusFileSize
new406 bytes
new4.41 KB

Another borked if() statement.

damienmckenna’s picture

Status: Needs review » Fixed

Committed.

  • DamienMcKenna committed e16b28e on 7.x-1.x
    Issue #3178419 by DamienMcKenna: Simplify the theme functions.
    
damienmckenna’s picture

Assigned: damienmckenna » Unassigned

Status: Fixed » Closed (fixed)

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