Make WordPress Core

Ticket #28185: 28185.3.diff

File 28185.3.diff, 4.2 KB (added by kevdotbadger, 10 years ago)
  • deleted file wp-config.php

    diff --git wp-config.php wp-config.php
    deleted file mode 100644
    index d6bda2f..0000000
    + -  
    1 <?php
    2 /**
    3  * The base configurations of the WordPress.
    4  *
    5  * This file has the following configurations: MySQL settings, Table Prefix,
    6  * Secret Keys, and ABSPATH. You can find more information by visiting
    7  * {@link http://codex.wordpress.org/Editing_wp-config.php Editing wp-config.php}
    8  * Codex page. You can get the MySQL settings from your web host.
    9  *
    10  * This file is used by the wp-config.php creation script during the
    11  * installation. You don't have to use the web site, you can just copy this file
    12  * to "wp-config.php" and fill in the values.
    13  *
    14  * @package WordPress
    15  */
    16 
    17 // ** MySQL settings - You can get this info from your web host ** //
    18 /** The name of the database for WordPress */
    19 define('DB_NAME', 'wordpress');
    20 
    21 /** MySQL database username */
    22 define('DB_USER', 'wordpress');
    23 
    24 /** MySQL database password */
    25 define('DB_PASSWORD', 'wordpress');
    26 
    27 /** MySQL hostname */
    28 define('DB_HOST', 'localhost');
    29 
    30 /** Database Charset to use in creating database tables. */
    31 define('DB_CHARSET', 'utf8');
    32 
    33 /** The Database Collate type. Don't change this if in doubt. */
    34 define('DB_COLLATE', '');
    35 
    36 /**#@+
    37  * Authentication Unique Keys and Salts.
    38  *
    39  * Change these to different unique phrases!
    40  * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
    41  * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
    42  *
    43  * @since 2.6.0
    44  */
    45 define('AUTH_KEY',         'D0e0`Gb$OkLx3Ox9ql+whRJ|sywP-_C|,t,QG!/TGIDi3L+O4qxxNp+0]W==zZ+z');
    46 define('SECURE_AUTH_KEY',  'W r{,IS9:O+naU1!)<E9Sxuc `^y?&2eB3t@!_zn$;kGCZj Eb~s3N:uK`2mVk$+');
    47 define('LOGGED_IN_KEY',    '1oG9@T!s-NH3YGI}a!w<ZyC@+V;z<nZ]g5K#S|7yAyFHM~!XPToNf*S-chH1}l=4');
    48 define('NONCE_KEY',        '{NzYjlilrg9uB+$xYG~`:i*^r~5c0f_d+Nu0#c;okpy|F4/RqiG)}0O/EsH8}l]J');
    49 define('AUTH_SALT',        'bEG[I31}*N9!c>)[h,~|+ZVah/QHL7fg0+<]GS)^HG(O)YEQ Ll(&({y(!-_yUxf');
    50 define('SECURE_AUTH_SALT', 'o?byJeN^5dCh<lq?D>b11DIt%HT:1|oPHsn#QdX]6]&puhogYd6y/*@r2iZG$k$<');
    51 define('LOGGED_IN_SALT',   'k;uR:UQ;9Q#bx<yq+4-Z_-Q],htw(-w*>G1}h}?!0^&+KpY).cs/-WaAKe[|_xYj');
    52 define('NONCE_SALT',       'D)U@;@!0]6^K5kCE>pB+NcNAih)T6ZTgJD~CuTb-y|0NMc|rv+d^=1` s6tMsLEx');
    53 
    54 /**#@-*/
    55 
    56 /**
    57  * WordPress Database Table prefix.
    58  *
    59  * You can have multiple installations in one database if you give each a unique
    60  * prefix. Only numbers, letters, and underscores please!
    61  */
    62 $table_prefix  = 'wp_';
    63 
    64 /**
    65  * For developers: WordPress debugging mode.
    66  *
    67  * Change this to true to enable the display of notices during development.
    68  * It is strongly recommended that plugin and theme developers use WP_DEBUG
    69  * in their development environments.
    70  */
    71 define('WP_DEBUG', false);
    72 
    73 /* That's all, stop editing! Happy blogging. */
    74 
    75 /** Absolute path to the WordPress directory. */
    76 if ( !defined('ABSPATH') )
    77         define('ABSPATH', dirname(__FILE__) . '/');
    78 
    79 /** Sets up WordPress vars and included files. */
    80 require_once(ABSPATH . 'wp-settings.php');
  • wp-includes/media-template.php

    diff --git wp-includes/media-template.php wp-includes/media-template.php
    index 86500ff..3099282 100644
    function wp_print_media_templates() { 
    891891                                        </div>
    892892                                </div>
    893893                                <div class="column-settings">
     894
     895                                        <# if ( data.attachment ) { #>                 
     896
     897                                                <label class="setting title">
     898                                                        <span><?php _e('Title'); ?></span>
     899                                                        <input type="text" value="{{ data.attachment.title }}" readonly />
     900                                                </label> 
     901
     902                                                <label class="setting attachment-path">
     903                                                        <span><?php _e('Attachment URL'); ?></span>
     904                                                        <input type="text" value="{{ data.model.url }}" readonly />
     905                                                </label> 
     906
     907                                        <# }else{ #>
     908
     909                                                <label class="setting attachment-path">
     910                                                        <span><?php _e('Attachment URL'); ?></span>
     911                                                        <input type="text" data-setting="url" value="{{ data.model.url }}" />
     912                                                </label>   
     913
     914                                        <# } #>
     915                               
    894916                                        <?php
    895917                                        /** This filter is documented in wp-admin/includes/media.php */
    896918                                        if ( ! apply_filters( 'disable_captions', '' ) ) : ?>