~ubuntu-branches/debian/sid/wordpress/sid

« back to all changes in this revision

Viewing changes to wp-admin/options-general.php

  • Committer: Package Import Robot
  • Author(s): Raphaël Hertzog, Raphaël Hertzog, Martin Bagge / brother
  • Date: 2012-06-16 01:19:20 UTC
  • mfrom: (1.2.22)
  • Revision ID: package-import@ubuntu.com-20120616011920-ivqcktmjehq4gpal
Tags: 3.4+dfsg-1
* New upstream release. Closes: #677534

[ Raphaël Hertzog ]
* [a1c0409] Refresh and update all patches to correctly apply on version
  3.4.
* [3804496] Update debian/missing-sources/ to match the current versions of
  embedded javascript and flash files.
* [185b051] Drop the old "default" theme (and its French translation)
* [966ce6c] Grab latest translations
* [1983326] Update Standards-Version to 3.9.3 (no change).
* [29c48b6] Increase debhelper compat level to 9.
* [73e16d0] Replace debian/dh_linktree by the packaged version.
* [359b660] Update debian/wordpress.linktrees to match latest developments.
* [645b650] Let setup-mysql lowercase the FQDN since the configuration
  scheme expects this. Thanks to Chris Butler <chrisb@debian.org> for the
  report (Closes: #658395)
* [5433e90] Fix setup-mysql to avoid creating /srv/www with restricted
  permissions (Closes: #616400)
* [dd2ef1d] Move back wp-config.php to /usr/share/wordpress/ since it's only
  a dispatcher to the real configuration file (Closes: #592502)
* [b602372] Improve wp-config.php so that WordPress works behind an https
  reverse-proxy.
* [ba0b729] Entirely update and rewrite README.debian. (Closes: #575985,
  #639980)
* [683a908] Update wp-config.php to not redefine constants which have
  already been set.  Thanks to Richard van den Berg <richard@vdberg.org> for
  the report. (Closes: #613283)
* [315eb68] Let wordpress-l10n depend on the same version than wordpress.
  (Closes: #623557)
* [a6d0b9f] Default configuration now sets WP_CONTENT_DIR to
  /var/lib/wordpress/wp-content. And the package provides this new directory
  appropriately setup with write rights to www-data on blogs.dir and
  uploads. themes and plugins are root-owned directories with symlinks
  pointing back to the default themes and plugins. (Closes: #675469)
* [4db98c6] Update setup-mysql to use WP_CONTENT_DIR (and no longer use
  $upload_dir). (Closes: #658508)
* [a1970da] Extend debian/wordpress.linktrees to cover swfobject.js.
* [8d46dab] Use dpkg-maintscript-helper to drop obsolete
  /etc/wordpress/wp-config.php

[ Martin Bagge / brother ]
* [56d0a34] Improve the setup script to be able to use a remote MySQL
  server.

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
</tr>
99
99
<tr valign="top">
100
100
<th scope="row"><label for="blogdescription"><?php _e('Tagline') ?></label></th>
101
 
<td><input name="blogdescription" type="text" id="blogdescription"  value="<?php form_option('blogdescription'); ?>" class="regular-text" />
102
 
<span class="description"><?php _e('In a few words, explain what this site is about.') ?></span></td>
 
101
<td><input name="blogdescription" type="text" id="blogdescription" value="<?php form_option('blogdescription'); ?>" class="regular-text" />
 
102
<p class="description"><?php _e('In a few words, explain what this site is about.') ?></p></td>
103
103
</tr>
104
104
<?php if ( !is_multisite() ) { ?>
105
105
<tr valign="top">
109
109
<tr valign="top">
110
110
<th scope="row"><label for="home"><?php _e('Site Address (URL)') ?></label></th>
111
111
<td><input name="home" type="text" id="home" value="<?php form_option('home'); ?>"<?php disabled( defined( 'WP_HOME' ) ); ?> class="regular-text code<?php if ( defined( 'WP_HOME' ) ) echo ' disabled' ?>" />
112
 
<span class="description"><?php _e('Enter the address here if you want your site homepage <a href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory">to be different from the directory</a> you installed WordPress.'); ?></span></td>
 
112
<p class="description"><?php _e('Enter the address here if you want your site homepage <a href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory">to be different from the directory</a> you installed WordPress.'); ?></p></td>
113
113
</tr>
114
114
<tr valign="top">
115
115
<th scope="row"><label for="admin_email"><?php _e('E-mail Address') ?> </label></th>
116
 
<td><input name="admin_email" type="text" id="admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text" />
117
 
<span class="description"><?php _e('This address is used for admin purposes, like new user notification.') ?></span></td>
 
116
<td><input name="admin_email" type="text" id="admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text ltr" />
 
117
<p class="description"><?php _e('This address is used for admin purposes, like new user notification.') ?></p></td>
118
118
</tr>
119
119
<tr valign="top">
120
120
<th scope="row"><?php _e('Membership') ?></th>
132
132
<?php } else { ?>
133
133
<tr valign="top">
134
134
<th scope="row"><label for="new_admin_email"><?php _e('E-mail Address') ?> </label></th>
135
 
<td><input name="new_admin_email" type="text" id="new_admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text code" />
136
 
<span class="description"><?php _e('This address is used for admin purposes. If you change this we will send you an e-mail at your new address to confirm it. <strong>The new address will not become active until confirmed.</strong>') ?></span>
 
135
<td><input name="new_admin_email" type="text" id="new_admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text ltr" />
 
136
<p class="description"><?php _e('This address is used for admin purposes. If you change this we will send you an e-mail at your new address to confirm it. <strong>The new address will not become active until confirmed.</strong>') ?></p>
137
137
<?php
138
138
$new_admin_email = get_option( 'new_admin_email' );
139
139
if ( $new_admin_email && $new_admin_email != get_option('admin_email') ) : ?>
151
151
 
152
152
$check_zone_info = true;
153
153
 
154
 
// Remove old Etc mappings.  Fallback to gmt_offset.
 
154
// Remove old Etc mappings. Fallback to gmt_offset.
155
155
if ( false !== strpos($tzstring,'Etc/GMT') )
156
156
        $tzstring = '';
157
157
 
177
177
<?php if ( get_option('timezone_string') || !empty($current_offset) ) : ?>
178
178
        <span id="local-time"><?php printf(__('Local time is <code>%1$s</code>'), date_i18n($timezone_format)); ?></span>
179
179
<?php endif; ?>
180
 
<br />
181
 
<span class="description"><?php _e('Choose a city in the same timezone as you.'); ?></span>
 
180
<p class="description"><?php _e('Choose a city in the same timezone as you.'); ?></p>
182
181
<?php if ($check_zone_info && $tzstring) : ?>
183
182
<br />
184
183
<span>
211
210
                        echo ' ';
212
211
                        $message = $tr['isdst'] ?
213
212
                                __('Daylight saving time begins on: <code>%s</code>.') :
214
 
                                __('Standard time begins  on: <code>%s</code>.');
 
213
                                __('Standard time begins on: <code>%s</code>.');
215
214
                        // Add the difference between the current offset and the new offset to ts to get the correct transition time from date_i18n().
216
215
                        printf( $message, date_i18n(get_option('date_format') . ' ' . get_option('time_format'), $tr['ts'] + ($tz_offset - $tr['offset']) ) );
217
216
                } else {