WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #41498


Ignore:
Timestamp:
07/31/2017 11:30:38 PM (3 years ago)
Author:
SergeyBiryukov
Comment:

Related: #17268

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #41498 – Description

    initial v1  
    11Some time ago I've written a guide about integrating Laravel into WordPress, https://nehalist.io/integrating-laravel-into-wordpress/. Since Laravel now uses it's own `__` function this integration has become impossible, because WordPress does not wrap global functions within `function_exists`.
    22
    3 
    4 
     3{{{
    54Cannot redeclare __() (previously declared in /var/www/test.dev/public_html/wp-laravel-integration/app/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php:821)
     5}}}