From 1425f786632b8fab8ea68f6e98b09fc6ffb95921 Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 1 Feb 2010 16:42:19 +0000 Subject: [PATCH] options-reading.php cleanup. Props nacin. fixes #12058 git-svn-id: http://svn.automattic.com/wordpress/trunk@12918 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/options-reading.php | 62 ++++++++++++++++++------------------ 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/wp-admin/options-reading.php b/wp-admin/options-reading.php index b89c0e9b9..1e55c49cc 100644 --- a/wp-admin/options-reading.php +++ b/wp-admin/options-reading.php @@ -7,15 +7,15 @@ */ /** WordPress Administration Bootstrap */ -require_once('admin.php'); +require_once( 'admin.php' ); -if ( ! current_user_can('manage_options') ) - wp_die(__('You do not have sufficient permissions to manage options for this blog.')); +if ( ! current_user_can( 'manage_options' ) ) + wp_die( __( 'You do not have sufficient permissions to manage options for this blog.' ) ); -$title = __('Reading Settings'); +$title = __( 'Reading Settings' ); $parent_file = 'options-general.php'; -include('admin-header.php'); +include( 'admin-header.php' ); ?>
@@ -23,31 +23,31 @@ include('admin-header.php');

- + - - + - + - - + + - - + - - + + - +
+

    -
  • " . __('Front page: %s') . "", wp_dropdown_pages( array( 'name' => 'page_on_front', 'echo' => 0, 'show_option_none' => __('— Select —'), 'selected' => get_option('page_on_front') ) ) ); ?>
  • -
  • ". __('Posts page: %s') . "", wp_dropdown_pages( array( 'name' => 'page_for_posts','echo' => 0, 'show_option_none' => __('— Select —'), 'selected' => get_option('page_for_posts') ) ) ); ?>
  • +
  • +
- +

- Warning: these pages should not be the same!'); ?> + Warning: these pages should not be the same!' ); ?>

@@ -55,36 +55,36 @@ include('admin-header.php');
- +
-


-

+
+


+

-character encoding of your blog (UTF-8 is recommended, if you are adventurous there are some other encodings)') ?> +character encoding of your blog (UTF-8 is recommended, if you are adventurous there are some other encodings)' ); ?>
- +

- +

- +