WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #37699, comment 73


Ignore:
Timestamp:
09/15/2016 08:00:54 AM (3 years ago)
Author:
ChriCo
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #37699, comment 73

    v1 v2  
    6464// and set the database configuration as "protected" to disallow overwriting the values.
    6565$service_container->protected(
    66         'wp.config.db',
     66        'wp.db.config',
    6767        array(
    6868                'user' => 'db-user',
     
    7474
    7575// later on in code when setting up the wpdb
    76 $conf = $service_container->get( 'wp.config.db' );
     76$conf = $service_container->get( 'wp.db.config' );
    7777$service_container->protected(
    7878        'wp.db',