Git Product home page Git Product logo

drops-6's People

Contributors

balrajb avatar davidrothstein avatar davidstrauss avatar dbuytaert avatar drumm avatar dsnopek avatar elliotttf avatar erik-pantheon avatar fluxsauce avatar goba avatar greg-1-anderson avatar hornswoggles avatar jhodgdon-drp avatar lwalley avatar mcdruid avatar merrickclark avatar mikevanwinkle avatar mirzu avatar neclimdul avatar nnewton avatar nstielau avatar purdy avatar pwolanin avatar smerrill avatar webchick avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

drops-6's Issues

Possible Patch for deprecated preg_replace with e modifier

Found deprecated function in includes/unicode.inc and I think I have a patch. Please try it and add it to core if it works.

Contents of the patch are below:

diff --git a/includes/unicode.inc b/includes/unicode.inc
index b1ce757..a302ef7 100644
--- a/includes/unicode.inc
+++ b/includes/unicode.inc
@@ -346,7 +346,7 @@ function decode_entities($text, $exclude = array()) {
// double-escaped entities twice. The PREG_REPLACE_EVAL modifier 'e' is
// being used to allow for a callback (see
// http://php.net/manual/en/reference.pcre.pattern.modifiers).

  • return preg_replace('/&(#x?)?([A-Za-z0-9]+);/e', '_decode_entities("$1", "$2", "$0", $html_entities, $exclude)', $text);
  • return preg_replace_callback('/&(#x?)?([A-Za-z0-9]+);/', create_function('$match', 'return _decode_entities("$1", "$2", "$0", $html_entities, $exclude);'), $text);
    }

/**

Thank you,
-Landi

[ignore]

[edited] ignore please wrong repo

Drush error on verbose flag “: in (line of ).”

Hey Pantheon,

I noticed a bug on my D6 website and I found out that it's actually a bug in Pressflow. I'd hate to patch core on my own and have to re-patch it at every core update, so I'd love if you could include this patch into your updates.

The bug and the patch are documented on this thread:

Drush error on verbose flag “: in (line of ).” https://drupal.org/node/979672
See comment #37, #38, and #39 for the fix

The patch fixes the file /code/sites/includes/common.inc
line 4040
from

drupal_set_message(t(

to

drupal_set_message(strtr(

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.