Download & Extend

Release Drupal 7 version of Pirate

Project:Pirate
Version:7.x-1.x-dev
Component:Code
Category:task
Priority:critical
Assigned:sillygwailo
Status:closed (fixed)

Issue Summary

A developmental branch is available as of today. If you find any Drupal 7 compatibility issues, post them here.

Comments

#1

Priority:normal» critical
Status:active» needs review

See #310812: Pirates in Drupal

AttachmentSize
pirate-DRUPAL-7--1.render.1.patch 5.25 KB

#2

piratized.png

AttachmentSize
piratized.png 5.13 KB

#3

piratized.modules.png

AttachmentSize
piratized.modules.png 16.81 KB

#4

Status:needs review» active

Committed. Keepin' th' issue open until D7 be released officially. Yarr!

#5

Usin' the /e modifier is greatly grandly discouraged, Scurvy dog!

<?php
-    '/(\.\s)/e' => 'avast("$0",3)',
-    /([!
?>
\s)/e' => 'avast("$0",2)', // Greater chance after exclamation
+ '/(\.\s)/e' => 'pirate_avast("$0",3)',
+ '/([!\?]\s)/e' => 'pirate_avast("$0",2)', // Greater chance after exclamation
?>

It ain't because you be a pirate that you shouldn't be security conscious.

#6

Dang. I knew there was something, when I starred at that code, and resorted to only fix the function namespace...

#7

Status:active» closed (fixed)

Made a separate issue for that at #917254: Remove /e modifier in preg_replace. Now that the 7.x-dev release is a little more stable, let's file separate issues for that branch.