X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/99a64b9fd0d5ebb21c33c3a0b5865e9c412b430c..refs/tags/wordpress-3.3:/wp-includes/general-template.php diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index be1af2a3..d855ef52 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -106,12 +106,12 @@ function get_sidebar( $name = null ) { * The template is included using require, not require_once, so you may include the * same template part multiple times. * - * For the parameter, if the file is called "{slug}-special.php" then specify + * For the $name parameter, if the file is called "{slug}-special.php" then specify * "special". * * @uses locate_template() * @since 3.0.0 - * @uses do_action() Calls 'get_template_part{$slug}' action. + * @uses do_action() Calls 'get_template_part_{$slug}' action. * * @param string $slug The slug name for the generic template. * @param string $name The name of the specialised template. @@ -157,7 +157,7 @@ function get_search_form($echo = true) { return; } - $form = '\n"); - $the_editor_content = apply_filters('the_editor_content', $content); - - printf($the_editor, $the_editor_content); - -?> - -$n_display"; $dots = true; elseif ( $dots && !$show_all ) : - $page_links[] = '...'; + $page_links[] = '' . __( '…' ) . ''; $dots = false; endif; endif; @@ -2074,9 +2034,9 @@ function wp_admin_css_color($key, $name, $url, $colors = array()) { * @since 3.0.0 */ function register_admin_color_schemes() { - wp_admin_css_color( 'classic', __( 'Blue' ), admin_url( 'css/colors-classic.css' ), + wp_admin_css_color( 'classic', _x( 'Blue', 'admin color scheme' ), admin_url( 'css/colors-classic.css' ), array( '#5589aa', '#cfdfe9', '#d1e5ee', '#eff8ff' ) ); - wp_admin_css_color( 'fresh', __( 'Gray' ), admin_url( 'css/colors-fresh.css' ), + wp_admin_css_color( 'fresh', _x( 'Gray', 'admin color scheme' ), admin_url( 'css/colors-fresh.css' ), array( '#7c7976', '#c6c6c6', '#e0e0e0', '#f1f1f1' ) ); }