From 5d4bb4cd7aa626c785897f6a7b2038a77b3ab1f8 Mon Sep 17 00:00:00 2001 From: nacin Date: Sat, 20 Feb 2010 21:00:19 +0000 Subject: [PATCH] Set svn eol-style native on new files git-svn-id: http://svn.automattic.com/wordpress/trunk@13255 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/css/dashboard-rtl.dev.css | 192 ++--- wp-admin/css/global-rtl.dev.css | 162 ++--- wp-admin/css/ie-rtl.dev.css | 190 ++--- wp-admin/css/ie.dev.css | 888 ++++++++++++------------ wp-admin/css/install-rtl.dev.css | 32 +- wp-admin/css/login-rtl.dev.css | 60 +- wp-admin/css/media-rtl.dev.css | 170 ++--- wp-admin/css/plugin-install-rtl.dev.css | 86 +-- wp-admin/css/press-this-rtl.dev.css | 256 +++---- wp-admin/css/theme-editor-rtl.dev.css | 6 +- wp-admin/css/widgets-rtl.dev.css | 20 +- wp-admin/includes/wp-config.ms | 232 +++---- wp-content/themes/twentyten/loop.php | 252 +++---- wp-includes/pluggable-deprecated.php | 228 +++--- 14 files changed, 1387 insertions(+), 1387 deletions(-) diff --git a/wp-admin/css/dashboard-rtl.dev.css b/wp-admin/css/dashboard-rtl.dev.css index 46ca71765..ce3729208 100644 --- a/wp-admin/css/dashboard-rtl.dev.css +++ b/wp-admin/css/dashboard-rtl.dev.css @@ -1,96 +1,96 @@ -#dashboard-widgets-wrap .has-sidebar { - margin-right: 0; - margin-left: -51%; -} -#dashboard-widgets-wrap .has-sidebar .has-sidebar-content { - margin-right: 0; - margin-left: 51%; -} -.view-all { - right: auto; - left: 0; -} -#dashboard_right_now p.sub, #dashboard-widgets h4, #dashboard_quick_press h4, a.rsswidget, #dashboard_plugins h4, #dashboard_plugins h5, #dashboard_recent_comments .comment-meta .approve { - font-family: Tahoma, Arial; -} -#dashboard_right_now td.b { - padding-right: 0; - padding-left: 6px; - text-align: left; - font-family: Tahoma, Arial; -} -#dashboard_right_now .t { - padding-right: 0; - padding-left: 12px; -} -#dashboard_right_now .versions a { - font-family: Tahoma, Arial; -} -#dashboard_right_now a.button { - float: left; - clear: left; -} -#dashboard-widgets h3 .postbox-title-action { - right: auto; - left: 30px; -} -#the-comment-list .pingback { - padding-left: 0 !important; - padding-right: 9px !important; -} -/* Recent Comments */ -#the-comment-list .comment-item { - padding: 1em 70px 1em 10px; -} -#the-comment-list .comment-item .avatar { - float: right; - margin-left: 0; - margin-right: -60px; -} -/* Feeds */ -.rss-widget cite { - text-align: left; -} -.rss-widget span.rss-date { - font-family: Tahoma, Arial; - margin-left: 0; - margin-right: 3px; -} -/* QuickPress */ -#dashboard_quick_press h4 { - float: right; - text-align: left; -} -#dashboard_quick_press h4 label { - margin-right: 0; - margin-left: 10px; -} -#dashboard_quick_press .input-text-wrap, #dashboard_quick_press .textarea-wrap { - margin: 0 5em 1em 0; -} -#dashboard_quick_press #media-buttons { - margin: 0 5em .5em 0; - padding: 0 10px 0 0; -} -#dashboard-widgets #dashboard_quick_press form p.submit { - margin-left: 0; - margin-right: 4.6em; -} -#dashboard-widgets #dashboard_quick_press form p.submit input { - float: right; -} -#dashboard-widgets #dashboard_quick_press form p.submit #save-post { - margin: 0 10px 0 1em; -} -#dashboard-widgets #dashboard_quick_press form p.submit #publish { - float: left; -} -#dashboard-widgets #dashboard_quick_press form p.submit img.waiting { - margin: 4px 0 0 6px; -} -/* Recent Drafts */ -#dashboard_recent_drafts h4 abbr { - font-family: Tahoma, Arial; - margin-left:0; - margin-right: 3px; -} +#dashboard-widgets-wrap .has-sidebar { + margin-right: 0; + margin-left: -51%; +} +#dashboard-widgets-wrap .has-sidebar .has-sidebar-content { + margin-right: 0; + margin-left: 51%; +} +.view-all { + right: auto; + left: 0; +} +#dashboard_right_now p.sub, #dashboard-widgets h4, #dashboard_quick_press h4, a.rsswidget, #dashboard_plugins h4, #dashboard_plugins h5, #dashboard_recent_comments .comment-meta .approve { + font-family: Tahoma, Arial; +} +#dashboard_right_now td.b { + padding-right: 0; + padding-left: 6px; + text-align: left; + font-family: Tahoma, Arial; +} +#dashboard_right_now .t { + padding-right: 0; + padding-left: 12px; +} +#dashboard_right_now .versions a { + font-family: Tahoma, Arial; +} +#dashboard_right_now a.button { + float: left; + clear: left; +} +#dashboard-widgets h3 .postbox-title-action { + right: auto; + left: 30px; +} +#the-comment-list .pingback { + padding-left: 0 !important; + padding-right: 9px !important; +} +/* Recent Comments */ +#the-comment-list .comment-item { + padding: 1em 70px 1em 10px; +} +#the-comment-list .comment-item .avatar { + float: right; + margin-left: 0; + margin-right: -60px; +} +/* Feeds */ +.rss-widget cite { + text-align: left; +} +.rss-widget span.rss-date { + font-family: Tahoma, Arial; + margin-left: 0; + margin-right: 3px; +} +/* QuickPress */ +#dashboard_quick_press h4 { + float: right; + text-align: left; +} +#dashboard_quick_press h4 label { + margin-right: 0; + margin-left: 10px; +} +#dashboard_quick_press .input-text-wrap, #dashboard_quick_press .textarea-wrap { + margin: 0 5em 1em 0; +} +#dashboard_quick_press #media-buttons { + margin: 0 5em .5em 0; + padding: 0 10px 0 0; +} +#dashboard-widgets #dashboard_quick_press form p.submit { + margin-left: 0; + margin-right: 4.6em; +} +#dashboard-widgets #dashboard_quick_press form p.submit input { + float: right; +} +#dashboard-widgets #dashboard_quick_press form p.submit #save-post { + margin: 0 10px 0 1em; +} +#dashboard-widgets #dashboard_quick_press form p.submit #publish { + float: left; +} +#dashboard-widgets #dashboard_quick_press form p.submit img.waiting { + margin: 4px 0 0 6px; +} +/* Recent Drafts */ +#dashboard_recent_drafts h4 abbr { + font-family: Tahoma, Arial; + margin-left:0; + margin-right: 3px; +} diff --git a/wp-admin/css/global-rtl.dev.css b/wp-admin/css/global-rtl.dev.css index d3d5a3bf0..f5f7632e5 100644 --- a/wp-admin/css/global-rtl.dev.css +++ b/wp-admin/css/global-rtl.dev.css @@ -1,82 +1,82 @@ -/* 2 column liquid layout */ -#adminmenu { - float: right; - clear: right; - margin-right:-160px; - margin-left: 5px; -} -body.folded #adminmenu { - margin-left: 0; - margin-right: -45px; -} -/* inner 2 column liquid layout */ -.inner-sidebar { - float: left; - clear: left; -} - -.has-right-sidebar #post-body { - clear:right; - float:right; - margin-right:0; - margin-left:-340px; -} - -.has-right-sidebar #post-body-content { - margin-left: 300px; - margin-right:0; -} - -#wpbody { - margin-left:0; - margin-right: 175px; -} -.folded #wpbody { - margin-left: 0; - margin-right: 60px; -} -#wpbody-content { - float: right; -} -/* 2 columns main area */ -#col-right { - float: left; - clear: left; -} -.wrap { - margin: 0 5px 0 15px; -} -/* styles for use by people extending the WordPress interface */ -body, td, textarea, input, select { - font-family: Tahoma, arial; -} -.alignleft { - float: right; -} -.alignright { - float: left; -} -.subsubsub { - float: right; -} -.widefat th { - text-align: right; -} -.widefat th input { - margin: 0 8px 0 0; -} -.wrap h2 { - font-family: arial; - padding: 14px 0 3px 15px; -} -.wrap h2.long-header { - padding-left: 0; -} -.updated, .error { - clear: both; -} - -.screen-reader-text, .screen-reader-text span { - left:auto; - text-indent:-1000em; +/* 2 column liquid layout */ +#adminmenu { + float: right; + clear: right; + margin-right:-160px; + margin-left: 5px; +} +body.folded #adminmenu { + margin-left: 0; + margin-right: -45px; +} +/* inner 2 column liquid layout */ +.inner-sidebar { + float: left; + clear: left; +} + +.has-right-sidebar #post-body { + clear:right; + float:right; + margin-right:0; + margin-left:-340px; +} + +.has-right-sidebar #post-body-content { + margin-left: 300px; + margin-right:0; +} + +#wpbody { + margin-left:0; + margin-right: 175px; +} +.folded #wpbody { + margin-left: 0; + margin-right: 60px; +} +#wpbody-content { + float: right; +} +/* 2 columns main area */ +#col-right { + float: left; + clear: left; +} +.wrap { + margin: 0 5px 0 15px; +} +/* styles for use by people extending the WordPress interface */ +body, td, textarea, input, select { + font-family: Tahoma, arial; +} +.alignleft { + float: right; +} +.alignright { + float: left; +} +.subsubsub { + float: right; +} +.widefat th { + text-align: right; +} +.widefat th input { + margin: 0 8px 0 0; +} +.wrap h2 { + font-family: arial; + padding: 14px 0 3px 15px; +} +.wrap h2.long-header { + padding-left: 0; +} +.updated, .error { + clear: both; +} + +.screen-reader-text, .screen-reader-text span { + left:auto; + text-indent:-1000em; } \ No newline at end of file diff --git a/wp-admin/css/ie-rtl.dev.css b/wp-admin/css/ie-rtl.dev.css index dfd22365a..067f59a07 100644 --- a/wp-admin/css/ie-rtl.dev.css +++ b/wp-admin/css/ie-rtl.dev.css @@ -1,95 +1,95 @@ -* html #wpcontent #adminmenu .wp-has-submenu .wp-menu-toggle { - background: url(../images/menu-bits-rtl.gif) no-repeat scroll right -109px; -} - -* html #wpcontent #adminmenu li.wp-has-current-submenu .wp-menu-toggle { - background: url(../images/menu-bits-rtl.gif) no-repeat scroll right -206px; -} -* html #adminmenu { - margin-left:0; - margin-right: -80px; -} -* html div.folded #adminmenu { - margin-left: 0; - margin-right: -22px; -} -#wpcontent #adminmenu .wp-submenu li.wp-submenu-head { - padding: 3px 10px 4px 4px; -} -.inline-edit-row fieldset label span.title { - float: right; -} -.inline-edit-row fieldset label span.input-text-wrap { - margin-right: 0; -} -p.search-box { - float: left; -} -* html #poststuff h2 { - margin-right: 0; -} -#bh { - margin: 7px 10px 0 0; - float: left; -} -#user_info + div#favorite-actions { - right: auto; - left: 15px; -} -#wphead-info { - float: left; -} -/* without this dashboard widgets appear in one column for some screen widths */ -div#dashboard-widgets { - padding-right: 0; - padding-left: 1px; -} -.tagchecklist span a { - margin: 4px -9px 0 0; -} -.widefat th input { - margin: 0 5px 0 0; -} -/* ---------- add by navid */ -#TB_window { - width: 670px; - position: absolute; - top: 50%; - left: 50%; - margin-right: 335px !important; -} -#dashboard_plugins { - direction: ltr; -} -#dashboard_plugins h3.hndle { - direction: rtl; -} -#dashboard_incoming_links ul li, -#dashboard_secondary ul li, -#dashboard_primary ul li, -p.row-actions { - width: 100%; -} -#favorite-inside { - position: absolute; - right:0; -} -#post-status-info { - height: 25px; -} -#screen-meta { - position: static; -} -p.submit { /* quick edit and reply in edit-comments.php */ - height:22px; -} -.inner-sidebar { /* fix edit single comment */ - position: static; -} -form#widgets-filter { /* fix widget page */ - position: static; -} - -* html .meta-box-sortables .postbox .handlediv { - background: transparent url(../images/menu-bits-rtl-vs.gif) no-repeat scroll right -111px; -} +* html #wpcontent #adminmenu .wp-has-submenu .wp-menu-toggle { + background: url(../images/menu-bits-rtl.gif) no-repeat scroll right -109px; +} + +* html #wpcontent #adminmenu li.wp-has-current-submenu .wp-menu-toggle { + background: url(../images/menu-bits-rtl.gif) no-repeat scroll right -206px; +} +* html #adminmenu { + margin-left:0; + margin-right: -80px; +} +* html div.folded #adminmenu { + margin-left: 0; + margin-right: -22px; +} +#wpcontent #adminmenu .wp-submenu li.wp-submenu-head { + padding: 3px 10px 4px 4px; +} +.inline-edit-row fieldset label span.title { + float: right; +} +.inline-edit-row fieldset label span.input-text-wrap { + margin-right: 0; +} +p.search-box { + float: left; +} +* html #poststuff h2 { + margin-right: 0; +} +#bh { + margin: 7px 10px 0 0; + float: left; +} +#user_info + div#favorite-actions { + right: auto; + left: 15px; +} +#wphead-info { + float: left; +} +/* without this dashboard widgets appear in one column for some screen widths */ +div#dashboard-widgets { + padding-right: 0; + padding-left: 1px; +} +.tagchecklist span a { + margin: 4px -9px 0 0; +} +.widefat th input { + margin: 0 5px 0 0; +} +/* ---------- add by navid */ +#TB_window { + width: 670px; + position: absolute; + top: 50%; + left: 50%; + margin-right: 335px !important; +} +#dashboard_plugins { + direction: ltr; +} +#dashboard_plugins h3.hndle { + direction: rtl; +} +#dashboard_incoming_links ul li, +#dashboard_secondary ul li, +#dashboard_primary ul li, +p.row-actions { + width: 100%; +} +#favorite-inside { + position: absolute; + right:0; +} +#post-status-info { + height: 25px; +} +#screen-meta { + position: static; +} +p.submit { /* quick edit and reply in edit-comments.php */ + height:22px; +} +.inner-sidebar { /* fix edit single comment */ + position: static; +} +form#widgets-filter { /* fix widget page */ + position: static; +} + +* html .meta-box-sortables .postbox .handlediv { + background: transparent url(../images/menu-bits-rtl-vs.gif) no-repeat scroll right -111px; +} diff --git a/wp-admin/css/ie.dev.css b/wp-admin/css/ie.dev.css index d0093f21a..e8eea4793 100644 --- a/wp-admin/css/ie.dev.css +++ b/wp-admin/css/ie.dev.css @@ -1,444 +1,444 @@ -/* Fixes for IE bugs */ - -#wpbody-content input.button, -#wpbody-content input.button-secondary, -#wpbody-content input.button-highlighted { - padding: 2px 3px; -} - -#minor-publishing-actions input, -#major-publishing-actions input { - min-width: auto; - padding-left: 0; - padding-right: 0; -} - -#wpbody-content .postbox { - border: 1px solid #dfdfdf; -} - -#wpbody-content .postbox h3 { - margin-bottom: -1px; -} - -* html .meta-box-sortables .postbox .handlediv { - background: transparent url(../images/menu-bits-vs.gif) no-repeat scroll left -111px; -} - -* html .edit-box { - display: inline; -} - -* html .inner-sidebar #side-sortables, -* html .postbox-container .meta-box-sortables { - height: 300px; -} - -* html #wpbody-content #screen-options-link-wrap { - display: inline-block; - width: 150px; - text-align: center; -} - -* html #wpbody-content #contextual-help-link-wrap { - display: inline-block; - width: 100px; - text-align: center; -} - -* html #adminmenu { - margin-left: -80px; -} - -* html .folded #adminmenu { - margin-left: -22px; -} - -* html #wpcontent #adminmenu li.menu-top { - display: inline; - padding: 0; - margin: 0; -} - -* html #footer { - margin: 0; -} - -.folded #adminmenu li.menu-top { - display: block; - zoom: 100%; -} - -ul#adminmenu { - z-index: 99; -} - -#adminmenu li.menu-top a.menu-top { - min-width: auto; - width: auto; -} - -#wpcontent #adminmenu li.wp-has-current-submenu a.wp-has-submenu { - font-style: normal; -} - -* html #wpcontent #adminmenu .wp-menu-open .wp-menu-toggle { - background: none; -} - -* html #wpcontent #adminmenu .wp-has-submenu .wp-menu-toggle { - background: url(../images/menu-bits.gif) no-repeat scroll left -109px; -} - -* html #wpcontent #adminmenu li.wp-has-current-submenu .wp-menu-toggle { - background: url(../images/menu-bits.gif) no-repeat scroll left -206px; -} - -* html #adminmenu div.wp-menu-image { - height: 29px; -} - -#wpcontent #adminmenu .wp-submenu li { - padding: 0; -} - -#adminmenu, -.wp-submenu, -.wp-submenu li, -.wp-menu-toggle { - zoom: 100%; -} - -.folded #adminmenu li.wp-menu-separator { - width: 28px; -} - -#wpcontent #adminmenu .wp-submenu li.wp-submenu-head { - padding: 3px 4px 4px 10px; - zoom: 100%; -} - -.folded #adminmenu .menu-top { - height: 30px; -} - -.folded #adminmenu .wp-submenu { - margin: -1px 0 0 0; -} - -#template, -#template div, -#editcat, -#addcat, -* html .stuffbox h3 { - zoom: 100%; -} - -.submitbox { - margin-top: 10px; -} - -/* Inline Editor */ -#wpbody-content .quick-edit-row-post .inline-edit-col-left { - width: 39%; -} - -#wpbody-content .inline-edit-row-post .inline-edit-col-center { - width: 19%; -} - -#wpbody-content .quick-edit-row-page .inline-edit-col-left { - width: 49%; -} - -#wpbody-content .bulk-edit-row .inline-edit-col-left { - width: 29%; -} - -.inline-edit-row p.submit { - zoom: 100%; -} - -.inline-edit-row fieldset label span.title { - display: block; - float: left; - width: 5em; -} - -.inline-edit-row fieldset label span.input-text-wrap { - margin-left: 0; - zoom: 100%; -} - -#wpbody-content .inline-edit-row fieldset label span.input-text-wrap input { - line-height: 130%; -} - -#wpbody-content .inline-edit-row .input-text-wrap input { - width: 95%; -} - -#wpbody-content .inline-edit-row .input-text-wrap input.inline-edit-password-input { - width: 8em; -} -/* end Inline Editor */ - -input { - line-height: 1; -} - -* html .row-actions { - visibility: visible; -} - -#dashboard-widgets h3 a { - height: 20px; - line-height: 20px; -} - -#wphead-info { - float: right; -} - -#titlediv #title { - width: 98%; -} - -a.button { - line-height: 1.4em; - margin: 1px; - padding: 2px 6px; -} - -* html div.widget-liquid-left, -* html div.widget-liquid-right { - display: block; - position: relative; -} - -#screen-options-wrap { - overflow: hidden; -} - -#favorite-actions { - z-index: 12; -} - -#favorite-inside, -#favorite-inside a, -.favorite-action { - zoom: 100%; -} - -#the-comment-list .comment-item, -#post-status-info, -#wpwrap, -#wpcontent, -#wrap, -#postdivrich, -#postdiv, -#poststuff, -.metabox-holder, -#titlediv, -#post-body, -#editorcontainer, -.tablenav, -.widget-liquid-left, -.widget-liquid-right, -#widgets-left, -.widgets-sortables, -#dragHelper, -.widget .widget-top, -.widget, -.widget-control-actions, -.tagchecklist, -#col-container, -#col-left, -#col-right, -.fileedit-sub { - display: block; - zoom: 100%; -} - -p.search-box { - position: static; - float: right; - margin: -3px 0 4px; -} - -* html #editorcontainer { - padding: 0; -} - -#editorcontainer #content { - overflow: auto; - margin: auto; - width: 98%; -} - -form#template div { - width: 100%; -} - -#ed_toolbar input, -#ed_reply_toolbar input { - overflow: visible; - padding: 0 4px; -} - -#poststuff h2 { - font-size: 1.6em; -} - -* html #poststuff h2 { - margin-left: 0; -} - -#bh { - margin: 7px 10px 0 0; - float: right; -} - -/* without this dashboard widgets appear in one column for some screen widths */ -div#dashboard-widgets { - padding-right: 1px; -} - -.tagchecklist span, .tagchecklist span a { - display: inline-block; - display: block; -} - -.tagchecklist span a { - margin: 4px 0 0 -9px; -} - -.tablenav .button-secondary, .nav .button-secondary { - padding: 0 1px; - vertical-align: middle; -} - -.tablenav select { - font-size: 13px; - display: inline-block; - vertical-align: top; - margin-top: 2px; -} - -.tablenav .actions select { - width: 155px; -} - -table.ie-fixed { - table-layout: fixed; -} - -.widefat tr, .widefat th { - margin-bottom: 0; - border-spacing: 0; -} - -.widefat th input { - margin: 0 0 0 5px; -} - -.widefat .check-column { - padding: 6px 0 2px; -} - -.widefat tbody th.check-column { - padding: 4px 0 22px; -} - -.widefat { - empty-cells: show; - border-collapse: collapse; -} - -.tablenav a.button-secondary { - display: inline-block; - padding: 2px 5px; -} - -* html .stuffbox, -* html .stuffbox input, -* html .stuffbox textarea { - border: 1px solid #DFDFDF; -} - -* html .feature-filter .feature-group li { - width: 145px; -} - -* html .widget-top .widget-title-action a { - background: url("../images/menu-bits.gif") no-repeat scroll 0 -110px; -} - -* html div.widget-liquid-left { - width: 99%; -} - -#wp_inactive_widgets { - padding-bottom: 8px; -} - -* html .widgets-sortables { - height: 50px; -} - -* html a#content_resize { - right: -2px; -} - -* html .widget-title h4 { - width: 205px; -} - -* html #removing-widget .in-widget-title { - display: none; -} - -#available-widgets .widget-holder { - padding-bottom: 65px; -} - -#widgets-left .inactive { - padding-bottom: 10px; -} - -.widget-liquid-right .widget, -#wp_inactive_widgets .widget { - position: relative; -} - -* html .media-item .pinkynail { - height: 32px; - width: 40px; -} - -#wpcontent .button-primary-disabled { - color: #9FD0D5; - background: #298CBA; -} - -#wpcontent #ajax-loading { - vertical-align: baseline; -} - -* html .describe .field input.text, -* html .describe .field textarea { - width: 440px; -} - -#the-comment-list .unapproved tr, -#the-comment-list .unapproved td { - background-color: #ffffe0; -} - -.imgedit-submit { - width: 300px; -} - -* html input { - border: 1px solid #dfdfdf; -} +/* Fixes for IE bugs */ + +#wpbody-content input.button, +#wpbody-content input.button-secondary, +#wpbody-content input.button-highlighted { + padding: 2px 3px; +} + +#minor-publishing-actions input, +#major-publishing-actions input { + min-width: auto; + padding-left: 0; + padding-right: 0; +} + +#wpbody-content .postbox { + border: 1px solid #dfdfdf; +} + +#wpbody-content .postbox h3 { + margin-bottom: -1px; +} + +* html .meta-box-sortables .postbox .handlediv { + background: transparent url(../images/menu-bits-vs.gif) no-repeat scroll left -111px; +} + +* html .edit-box { + display: inline; +} + +* html .inner-sidebar #side-sortables, +* html .postbox-container .meta-box-sortables { + height: 300px; +} + +* html #wpbody-content #screen-options-link-wrap { + display: inline-block; + width: 150px; + text-align: center; +} + +* html #wpbody-content #contextual-help-link-wrap { + display: inline-block; + width: 100px; + text-align: center; +} + +* html #adminmenu { + margin-left: -80px; +} + +* html .folded #adminmenu { + margin-left: -22px; +} + +* html #wpcontent #adminmenu li.menu-top { + display: inline; + padding: 0; + margin: 0; +} + +* html #footer { + margin: 0; +} + +.folded #adminmenu li.menu-top { + display: block; + zoom: 100%; +} + +ul#adminmenu { + z-index: 99; +} + +#adminmenu li.menu-top a.menu-top { + min-width: auto; + width: auto; +} + +#wpcontent #adminmenu li.wp-has-current-submenu a.wp-has-submenu { + font-style: normal; +} + +* html #wpcontent #adminmenu .wp-menu-open .wp-menu-toggle { + background: none; +} + +* html #wpcontent #adminmenu .wp-has-submenu .wp-menu-toggle { + background: url(../images/menu-bits.gif) no-repeat scroll left -109px; +} + +* html #wpcontent #adminmenu li.wp-has-current-submenu .wp-menu-toggle { + background: url(../images/menu-bits.gif) no-repeat scroll left -206px; +} + +* html #adminmenu div.wp-menu-image { + height: 29px; +} + +#wpcontent #adminmenu .wp-submenu li { + padding: 0; +} + +#adminmenu, +.wp-submenu, +.wp-submenu li, +.wp-menu-toggle { + zoom: 100%; +} + +.folded #adminmenu li.wp-menu-separator { + width: 28px; +} + +#wpcontent #adminmenu .wp-submenu li.wp-submenu-head { + padding: 3px 4px 4px 10px; + zoom: 100%; +} + +.folded #adminmenu .menu-top { + height: 30px; +} + +.folded #adminmenu .wp-submenu { + margin: -1px 0 0 0; +} + +#template, +#template div, +#editcat, +#addcat, +* html .stuffbox h3 { + zoom: 100%; +} + +.submitbox { + margin-top: 10px; +} + +/* Inline Editor */ +#wpbody-content .quick-edit-row-post .inline-edit-col-left { + width: 39%; +} + +#wpbody-content .inline-edit-row-post .inline-edit-col-center { + width: 19%; +} + +#wpbody-content .quick-edit-row-page .inline-edit-col-left { + width: 49%; +} + +#wpbody-content .bulk-edit-row .inline-edit-col-left { + width: 29%; +} + +.inline-edit-row p.submit { + zoom: 100%; +} + +.inline-edit-row fieldset label span.title { + display: block; + float: left; + width: 5em; +} + +.inline-edit-row fieldset label span.input-text-wrap { + margin-left: 0; + zoom: 100%; +} + +#wpbody-content .inline-edit-row fieldset label span.input-text-wrap input { + line-height: 130%; +} + +#wpbody-content .inline-edit-row .input-text-wrap input { + width: 95%; +} + +#wpbody-content .inline-edit-row .input-text-wrap input.inline-edit-password-input { + width: 8em; +} +/* end Inline Editor */ + +input { + line-height: 1; +} + +* html .row-actions { + visibility: visible; +} + +#dashboard-widgets h3 a { + height: 20px; + line-height: 20px; +} + +#wphead-info { + float: right; +} + +#titlediv #title { + width: 98%; +} + +a.button { + line-height: 1.4em; + margin: 1px; + padding: 2px 6px; +} + +* html div.widget-liquid-left, +* html div.widget-liquid-right { + display: block; + position: relative; +} + +#screen-options-wrap { + overflow: hidden; +} + +#favorite-actions { + z-index: 12; +} + +#favorite-inside, +#favorite-inside a, +.favorite-action { + zoom: 100%; +} + +#the-comment-list .comment-item, +#post-status-info, +#wpwrap, +#wpcontent, +#wrap, +#postdivrich, +#postdiv, +#poststuff, +.metabox-holder, +#titlediv, +#post-body, +#editorcontainer, +.tablenav, +.widget-liquid-left, +.widget-liquid-right, +#widgets-left, +.widgets-sortables, +#dragHelper, +.widget .widget-top, +.widget, +.widget-control-actions, +.tagchecklist, +#col-container, +#col-left, +#col-right, +.fileedit-sub { + display: block; + zoom: 100%; +} + +p.search-box { + position: static; + float: right; + margin: -3px 0 4px; +} + +* html #editorcontainer { + padding: 0; +} + +#editorcontainer #content { + overflow: auto; + margin: auto; + width: 98%; +} + +form#template div { + width: 100%; +} + +#ed_toolbar input, +#ed_reply_toolbar input { + overflow: visible; + padding: 0 4px; +} + +#poststuff h2 { + font-size: 1.6em; +} + +* html #poststuff h2 { + margin-left: 0; +} + +#bh { + margin: 7px 10px 0 0; + float: right; +} + +/* without this dashboard widgets appear in one column for some screen widths */ +div#dashboard-widgets { + padding-right: 1px; +} + +.tagchecklist span, .tagchecklist span a { + display: inline-block; + display: block; +} + +.tagchecklist span a { + margin: 4px 0 0 -9px; +} + +.tablenav .button-secondary, .nav .button-secondary { + padding: 0 1px; + vertical-align: middle; +} + +.tablenav select { + font-size: 13px; + display: inline-block; + vertical-align: top; + margin-top: 2px; +} + +.tablenav .actions select { + width: 155px; +} + +table.ie-fixed { + table-layout: fixed; +} + +.widefat tr, .widefat th { + margin-bottom: 0; + border-spacing: 0; +} + +.widefat th input { + margin: 0 0 0 5px; +} + +.widefat .check-column { + padding: 6px 0 2px; +} + +.widefat tbody th.check-column { + padding: 4px 0 22px; +} + +.widefat { + empty-cells: show; + border-collapse: collapse; +} + +.tablenav a.button-secondary { + display: inline-block; + padding: 2px 5px; +} + +* html .stuffbox, +* html .stuffbox input, +* html .stuffbox textarea { + border: 1px solid #DFDFDF; +} + +* html .feature-filter .feature-group li { + width: 145px; +} + +* html .widget-top .widget-title-action a { + background: url("../images/menu-bits.gif") no-repeat scroll 0 -110px; +} + +* html div.widget-liquid-left { + width: 99%; +} + +#wp_inactive_widgets { + padding-bottom: 8px; +} + +* html .widgets-sortables { + height: 50px; +} + +* html a#content_resize { + right: -2px; +} + +* html .widget-title h4 { + width: 205px; +} + +* html #removing-widget .in-widget-title { + display: none; +} + +#available-widgets .widget-holder { + padding-bottom: 65px; +} + +#widgets-left .inactive { + padding-bottom: 10px; +} + +.widget-liquid-right .widget, +#wp_inactive_widgets .widget { + position: relative; +} + +* html .media-item .pinkynail { + height: 32px; + width: 40px; +} + +#wpcontent .button-primary-disabled { + color: #9FD0D5; + background: #298CBA; +} + +#wpcontent #ajax-loading { + vertical-align: baseline; +} + +* html .describe .field input.text, +* html .describe .field textarea { + width: 440px; +} + +#the-comment-list .unapproved tr, +#the-comment-list .unapproved td { + background-color: #ffffe0; +} + +.imgedit-submit { + width: 300px; +} + +* html input { + border: 1px solid #dfdfdf; +} diff --git a/wp-admin/css/install-rtl.dev.css b/wp-admin/css/install-rtl.dev.css index 5422c630b..f44484f7e 100644 --- a/wp-admin/css/install-rtl.dev.css +++ b/wp-admin/css/install-rtl.dev.css @@ -1,16 +1,16 @@ -body { - font-family: Tahoma, arial; -} -h1 { - font-family: arial; - margin: 5px -4px 0 0; -} -ul, ol { padding: 5px 22px 5px 5px; } -.step, th { text-align: right; } -.submit input, .button, .button-secondary { - font-family: Tahoma, arial; - margin-right:0; -} -.form-table th { - text-align: right; -} +body { + font-family: Tahoma, arial; +} +h1 { + font-family: arial; + margin: 5px -4px 0 0; +} +ul, ol { padding: 5px 22px 5px 5px; } +.step, th { text-align: right; } +.submit input, .button, .button-secondary { + font-family: Tahoma, arial; + margin-right:0; +} +.form-table th { + text-align: right; +} diff --git a/wp-admin/css/login-rtl.dev.css b/wp-admin/css/login-rtl.dev.css index 4e7fb7a25..4a5c5f0a8 100644 --- a/wp-admin/css/login-rtl.dev.css +++ b/wp-admin/css/login-rtl.dev.css @@ -1,30 +1,30 @@ -body { - font-family: Tahoma, arial; -} -form { - margin-right: 8px; - margin-left: 0; -} -form .forgetmenot { - float: right; -} -#login form .submit input { - font-family: Tahoma, arial; -} -form .submit { float: left; } -#backtoblog a { - left: auto; - right: 15px; -} -#login_error, .message { - margin: 0 8px 16px 0; -} -#nav { margin: 0 8px 0 0; } -#user_pass, #user_login, #user_email { - margin-left: 6px; - margin-right: 0; - direction:ltr; -} -h1 a { - text-decoration: none; -} +body { + font-family: Tahoma, arial; +} +form { + margin-right: 8px; + margin-left: 0; +} +form .forgetmenot { + float: right; +} +#login form .submit input { + font-family: Tahoma, arial; +} +form .submit { float: left; } +#backtoblog a { + left: auto; + right: 15px; +} +#login_error, .message { + margin: 0 8px 16px 0; +} +#nav { margin: 0 8px 0 0; } +#user_pass, #user_login, #user_email { + margin-left: 6px; + margin-right: 0; + direction:ltr; +} +h1 a { + text-decoration: none; +} diff --git a/wp-admin/css/media-rtl.dev.css b/wp-admin/css/media-rtl.dev.css index 9167e8d6e..fed864442 100644 --- a/wp-admin/css/media-rtl.dev.css +++ b/wp-admin/css/media-rtl.dev.css @@ -1,85 +1,85 @@ -body#media-upload ul#sidemenu { - left: auto; - right: 0; -} -#search-filter { - text-align: left; -} -/* specific to the image upload form */ -.align .field label { - padding: 0 28px 0 0; - margin: 0 0 0 1em; -} -.image-align-none-label, .image-align-left-label, .image-align-center-label, .image-align-right-label { - background-position: center right; -} -tr.image-size div.image-size-item { - float: right; -} -tr.image-size label { - margin: 0 1em 0 0; -} -.filename.original { - float: right; -} -.crunching { - text-align: left; - margin-right: 0; - margin-left: 5px; -} -button.dismiss { - right: auto; - left: 5px; -} -.file-error { - margin: 0 50px 5px 0; -} -.progress { - left: auto; - right: 0; -} -.describe td { - padding: 0 0 0 5px; -} -.bar { - border-right-width: 0; - border-left-width: 3px; - border-right-style: none; - border-left-style: solid; -} - -/* Specific to Uploader */ -#media-upload .media-upload-form p { - margin: 0 0 1em 1em; -} -.filename { - float: right; - margin-left: 0; - margin-right: 10px; -} -#media-upload .describe th.label { - text-align: right; -} -.menu_order { - float: left; -} -.media-upload-form label.form-help, td.help, #media-upload p.help, #media-upload label.help { - font-family: Tahoma, Arial; -} -#gallery-settings #basic th.label { - padding: 5px 0 5px 5px; -} -#gallery-settings .title, h3.media-title { - font-family: Tahoma, Arial; -} -#gallery-settings .describe th.label { - text-align: right; -} -#gallery-settings label, -#gallery-settings legend { - margin-right: 0; - margin-left: 15px; -} -#gallery-settings .align .field label { - margin: 0 0 0 1.5em; -} +body#media-upload ul#sidemenu { + left: auto; + right: 0; +} +#search-filter { + text-align: left; +} +/* specific to the image upload form */ +.align .field label { + padding: 0 28px 0 0; + margin: 0 0 0 1em; +} +.image-align-none-label, .image-align-left-label, .image-align-center-label, .image-align-right-label { + background-position: center right; +} +tr.image-size div.image-size-item { + float: right; +} +tr.image-size label { + margin: 0 1em 0 0; +} +.filename.original { + float: right; +} +.crunching { + text-align: left; + margin-right: 0; + margin-left: 5px; +} +button.dismiss { + right: auto; + left: 5px; +} +.file-error { + margin: 0 50px 5px 0; +} +.progress { + left: auto; + right: 0; +} +.describe td { + padding: 0 0 0 5px; +} +.bar { + border-right-width: 0; + border-left-width: 3px; + border-right-style: none; + border-left-style: solid; +} + +/* Specific to Uploader */ +#media-upload .media-upload-form p { + margin: 0 0 1em 1em; +} +.filename { + float: right; + margin-left: 0; + margin-right: 10px; +} +#media-upload .describe th.label { + text-align: right; +} +.menu_order { + float: left; +} +.media-upload-form label.form-help, td.help, #media-upload p.help, #media-upload label.help { + font-family: Tahoma, Arial; +} +#gallery-settings #basic th.label { + padding: 5px 0 5px 5px; +} +#gallery-settings .title, h3.media-title { + font-family: Tahoma, Arial; +} +#gallery-settings .describe th.label { + text-align: right; +} +#gallery-settings label, +#gallery-settings legend { + margin-right: 0; + margin-left: 15px; +} +#gallery-settings .align .field label { + margin: 0 0 0 1.5em; +} diff --git a/wp-admin/css/plugin-install-rtl.dev.css b/wp-admin/css/plugin-install-rtl.dev.css index ec8859229..9a6dd11d5 100644 --- a/wp-admin/css/plugin-install-rtl.dev.css +++ b/wp-admin/css/plugin-install-rtl.dev.css @@ -1,43 +1,43 @@ -div.star { - left: auto; - right: 0; - letter-spacing: 0; -} -.star img, div.star a, div.star a:hover, div.star a:visited { - right: auto; - left: 0; -} -#plugin-information ul#sidemenu { - left: auto; - right: 0; -} -#plugin-information h2 { - margin-right: 0; - margin-left: 200px; -} -#plugin-information .fyi { - margin-left: 5px; - margin-right: 20px; -} -#plugin-information .fyi h2 { - margin-left: 0; -} -#plugin-information .fyi ul { - padding: 10px 7px 10px 5px; -} -#plugin-information #section-screenshots li p { - padding-left: 0; - padding-right: 20px; -} -#plugin-information .updated, -#plugin-information pre { - margin-right: 0; - margin-left: 215px; -} -#plugin-information .updated, #plugin-information .error { - clear: none; - direction: rtl; -} -#section-description { - direction: ltr; -} +div.star { + left: auto; + right: 0; + letter-spacing: 0; +} +.star img, div.star a, div.star a:hover, div.star a:visited { + right: auto; + left: 0; +} +#plugin-information ul#sidemenu { + left: auto; + right: 0; +} +#plugin-information h2 { + margin-right: 0; + margin-left: 200px; +} +#plugin-information .fyi { + margin-left: 5px; + margin-right: 20px; +} +#plugin-information .fyi h2 { + margin-left: 0; +} +#plugin-information .fyi ul { + padding: 10px 7px 10px 5px; +} +#plugin-information #section-screenshots li p { + padding-left: 0; + padding-right: 20px; +} +#plugin-information .updated, +#plugin-information pre { + margin-right: 0; + margin-left: 215px; +} +#plugin-information .updated, #plugin-information .error { + clear: none; + direction: rtl; +} +#section-description { + direction: ltr; +} diff --git a/wp-admin/css/press-this-rtl.dev.css b/wp-admin/css/press-this-rtl.dev.css index 5027971fe..9f4a37ef9 100644 --- a/wp-admin/css/press-this-rtl.dev.css +++ b/wp-admin/css/press-this-rtl.dev.css @@ -1,128 +1,128 @@ -body { - font-family: Tahoma, Arial; -} - -#poststuff #edButtonPreview, -#poststuff #edButtonHTML { - margin: 0 0 0 5px; - float: right; -} - -/* Editor/Main Column */ -div#poststuff { - padding-left: 0; - padding-right: 10px; -} - -.posting { - margin-right: 0; - margin-left: 228px; - left: auto; - right: 0; -} - -#side-info-column { - float: left; - right: auto; - left: 0; - margin-right: 0; - margin-left: 10px; -} - -#side-info-column .sleeve { - padding-left: 0; - padding-right: 10px; -} - -h3.tb { - margin-left: 0; - margin-right: 5px; -} - -#actions { - float: left; -} - -#extra_fields #actions { - right: auto; - left: 4px; -} - -#actions li { - float: right; - margin-right: 0; - margin-left: 10px; -} - -#extra_fields .button { - margin-right: 0; - margin-left: 5px; -} - -/* Photo Styles */ -#img_container a { - float: right; -} - -#category-add input, #category-add select { - font-family: Tahoma, Arial; -} - -#categorydiv ul.categorychecklist ul { - margin-left: 0; - margin-right: 18px; -} - -/* Tags */ -#tagsdiv #newtag { - margin-right: 0; - margin-left: 5px; -} - -#tagadd { - margin-left: 0; - margin-right: 3px; -} - -#tagchecklist span { - margin-left: .5em; - margin-right: 10px; - float: right; -} -#tagchecklist span a { - margin: 6px -9px 0 0; - float: right; -} - -#content { - margin-left: 0; - margin-right: 1%; -} - -.submit input, -.button, -.button-primary, -.button-secondary, -.button-highlighted, -#postcustomstuff .submit input { - font-family: Tahoma, Arial, sans-serif; -} - -.ac_results li { - text-align: right; -} - -#TB_ajaxContent #options { - right: auto; - left: 25px; -} - -#post_status { - margin-left: 0; - margin-right: 10px; -} - -/* Footer */ -#footer { - padding: 10px 60px 0 0; -} +body { + font-family: Tahoma, Arial; +} + +#poststuff #edButtonPreview, +#poststuff #edButtonHTML { + margin: 0 0 0 5px; + float: right; +} + +/* Editor/Main Column */ +div#poststuff { + padding-left: 0; + padding-right: 10px; +} + +.posting { + margin-right: 0; + margin-left: 228px; + left: auto; + right: 0; +} + +#side-info-column { + float: left; + right: auto; + left: 0; + margin-right: 0; + margin-left: 10px; +} + +#side-info-column .sleeve { + padding-left: 0; + padding-right: 10px; +} + +h3.tb { + margin-left: 0; + margin-right: 5px; +} + +#actions { + float: left; +} + +#extra_fields #actions { + right: auto; + left: 4px; +} + +#actions li { + float: right; + margin-right: 0; + margin-left: 10px; +} + +#extra_fields .button { + margin-right: 0; + margin-left: 5px; +} + +/* Photo Styles */ +#img_container a { + float: right; +} + +#category-add input, #category-add select { + font-family: Tahoma, Arial; +} + +#categorydiv ul.categorychecklist ul { + margin-left: 0; + margin-right: 18px; +} + +/* Tags */ +#tagsdiv #newtag { + margin-right: 0; + margin-left: 5px; +} + +#tagadd { + margin-left: 0; + margin-right: 3px; +} + +#tagchecklist span { + margin-left: .5em; + margin-right: 10px; + float: right; +} +#tagchecklist span a { + margin: 6px -9px 0 0; + float: right; +} + +#content { + margin-left: 0; + margin-right: 1%; +} + +.submit input, +.button, +.button-primary, +.button-secondary, +.button-highlighted, +#postcustomstuff .submit input { + font-family: Tahoma, Arial, sans-serif; +} + +.ac_results li { + text-align: right; +} + +#TB_ajaxContent #options { + right: auto; + left: 25px; +} + +#post_status { + margin-left: 0; + margin-right: 10px; +} + +/* Footer */ +#footer { + padding: 10px 60px 0 0; +} diff --git a/wp-admin/css/theme-editor-rtl.dev.css b/wp-admin/css/theme-editor-rtl.dev.css index 41541c6f6..a4dcb46eb 100644 --- a/wp-admin/css/theme-editor-rtl.dev.css +++ b/wp-admin/css/theme-editor-rtl.dev.css @@ -1,3 +1,3 @@ -#templateside { - float: left; -} +#templateside { + float: left; +} diff --git a/wp-admin/css/widgets-rtl.dev.css b/wp-admin/css/widgets-rtl.dev.css index e81bf5425..ffb266d03 100644 --- a/wp-admin/css/widgets-rtl.dev.css +++ b/wp-admin/css/widgets-rtl.dev.css @@ -1,10 +1,10 @@ -ul#widget-list li.widget-list-item div.widget-description { - margin: 0 200px 0 0; - padding: 0 4em 0 0; -} -.widget-control-save, -.widget-control-remove { - margin-right: 0; - margin-left: 8px; - float: right; -} +ul#widget-list li.widget-list-item div.widget-description { + margin: 0 200px 0 0; + padding: 0 4em 0 0; +} +.widget-control-save, +.widget-control-remove { + margin-right: 0; + margin-left: 8px; + float: right; +} diff --git a/wp-admin/includes/wp-config.ms b/wp-admin/includes/wp-config.ms index 68c69a265..dfbde8382 100644 --- a/wp-admin/includes/wp-config.ms +++ b/wp-admin/includes/wp-config.ms @@ -1,116 +1,116 @@ -max_num_pages > 1 ) { ?> - - - - -
-

-
-

- -
-
- - - - -
> -

- - - -
- -

%2$s photos.', 'twentyten'), 'href="' . get_permalink() . '" title="' . sprintf( esc_attr__('Permalink to %s', 'twentyten'), the_title_attribute('echo=0') ) . '" rel="bookmark"', $total_images ); ?>

- - -
- -
- - - - - |\n\t\t\t\t\t\t", "\n\t\t\t\t\t\n" ); ?> -
-
- - - -
> - -
- →', 'twentyten' ) ); ?> -
- -
- →', 'twentyten' ) ); ?> -
- - -
- - - - - - - |\n\t\t\t\t\t\t", "\n\t\t\t\t\t\n" ); ?> -
-
- - - -
> -

- - - - -
- →', 'twentyten' ) ); ?> -
- -
- →', 'twentyten' ) ); ?> - ' . __( 'Pages:', 'twentyten' ) . '&after=
'); ?> -
- - -
- - - - - - - - - |\n\t\t\t\t\t\t", "\n\t\t\t\t\t\n" ); ?> -
- - - - - - - -max_num_pages > 1 ) { ?> - +max_num_pages > 1 ) { ?> + + + + +
+

+
+

+ +
+
+ + + + +
> +

+ + + +
+ +

%2$s photos.', 'twentyten'), 'href="' . get_permalink() . '" title="' . sprintf( esc_attr__('Permalink to %s', 'twentyten'), the_title_attribute('echo=0') ) . '" rel="bookmark"', $total_images ); ?>

+ + +
+ +
+ + + + + |\n\t\t\t\t\t\t", "\n\t\t\t\t\t\n" ); ?> +
+
+ + + +
> + +
+ →', 'twentyten' ) ); ?> +
+ +
+ →', 'twentyten' ) ); ?> +
+ + +
+ + + + + + + |\n\t\t\t\t\t\t", "\n\t\t\t\t\t\n" ); ?> +
+
+ + + +
> +

+ + + + +
+ →', 'twentyten' ) ); ?> +
+ +
+ →', 'twentyten' ) ); ?> + ' . __( 'Pages:', 'twentyten' ) . '&after=
'); ?> +
+ + +
+ + + + + + + + + |\n\t\t\t\t\t\t", "\n\t\t\t\t\t\n" ); ?> +
+ + + + + + + +max_num_pages > 1 ) { ?> + \ No newline at end of file diff --git a/wp-includes/pluggable-deprecated.php b/wp-includes/pluggable-deprecated.php index a7028929d..0b32760a2 100644 --- a/wp-includes/pluggable-deprecated.php +++ b/wp-includes/pluggable-deprecated.php @@ -1,115 +1,115 @@ -ID, $remember); -} -else : - _deprecated_function( 'wp_setcookie', '2.5', 'wp_set_auth_cookie()' ); -endif; - -if ( !function_exists('wp_clearcookie') ) : -/** - * Clears the authentication cookie, logging the user out. This function is deprecated. - * - * @since 1.5 - * @deprecated 2.5 - * @deprecated Use wp_clear_auth_cookie() - * @see wp_clear_auth_cookie() - */ -function wp_clearcookie() { - _deprecated_function( __FUNCTION__, '2.5', 'wp_clear_auth_cookie()' ); - wp_clear_auth_cookie(); -} -else : - _deprecated_function( 'wp_clearcookie', '2.5', 'wp_clear_auth_cookie()' ); -endif; - -if ( !function_exists('wp_get_cookie_login') ): -/** - * Gets the user cookie login. This function is deprecated. - * - * This function is deprecated and should no longer be extended as it won't be - * used anywhere in WordPress. Also, plugins shouldn't use it either. - * - * @since 2.0.3 - * @deprecated 2.5 - * @deprecated No alternative - * - * @return bool Always returns false - */ -function wp_get_cookie_login() { - _deprecated_function( __FUNCTION__, '2.5' ); - return false; -} -else : - _deprecated_function( 'wp_get_cookie_login', '2.5' ); -endif; - -if ( !function_exists('wp_login') ) : -/** - * Checks a users login information and logs them in if it checks out. This function is deprecated. - * - * Use the global $error to get the reason why the login failed. If the username - * is blank, no error will be set, so assume blank username on that case. - * - * Plugins extending this function should also provide the global $error and set - * what the error is, so that those checking the global for why there was a - * failure can utilize it later. - * - * @since 1.2.2 - * @deprecated Use wp_signon() - * @global string $error Error when false is returned - * - * @param string $username User's username - * @param string $password User's password - * @param bool $deprecated Not used - * @return bool False on login failure, true on successful check - */ -function wp_login($username, $password, $deprecated = '') { - _deprecated_function( __FUNCTION__, '2.5', 'wp_signon()' ); - global $error; - - $user = wp_authenticate($username, $password); - - if ( ! is_wp_error($user) ) - return true; - - $error = $user->get_error_message(); - return false; -} -else : - _deprecated_function( 'wp_login', '2.5', 'wp_signon()' ); +ID, $remember); +} +else : + _deprecated_function( 'wp_setcookie', '2.5', 'wp_set_auth_cookie()' ); +endif; + +if ( !function_exists('wp_clearcookie') ) : +/** + * Clears the authentication cookie, logging the user out. This function is deprecated. + * + * @since 1.5 + * @deprecated 2.5 + * @deprecated Use wp_clear_auth_cookie() + * @see wp_clear_auth_cookie() + */ +function wp_clearcookie() { + _deprecated_function( __FUNCTION__, '2.5', 'wp_clear_auth_cookie()' ); + wp_clear_auth_cookie(); +} +else : + _deprecated_function( 'wp_clearcookie', '2.5', 'wp_clear_auth_cookie()' ); +endif; + +if ( !function_exists('wp_get_cookie_login') ): +/** + * Gets the user cookie login. This function is deprecated. + * + * This function is deprecated and should no longer be extended as it won't be + * used anywhere in WordPress. Also, plugins shouldn't use it either. + * + * @since 2.0.3 + * @deprecated 2.5 + * @deprecated No alternative + * + * @return bool Always returns false + */ +function wp_get_cookie_login() { + _deprecated_function( __FUNCTION__, '2.5' ); + return false; +} +else : + _deprecated_function( 'wp_get_cookie_login', '2.5' ); +endif; + +if ( !function_exists('wp_login') ) : +/** + * Checks a users login information and logs them in if it checks out. This function is deprecated. + * + * Use the global $error to get the reason why the login failed. If the username + * is blank, no error will be set, so assume blank username on that case. + * + * Plugins extending this function should also provide the global $error and set + * what the error is, so that those checking the global for why there was a + * failure can utilize it later. + * + * @since 1.2.2 + * @deprecated Use wp_signon() + * @global string $error Error when false is returned + * + * @param string $username User's username + * @param string $password User's password + * @param bool $deprecated Not used + * @return bool False on login failure, true on successful check + */ +function wp_login($username, $password, $deprecated = '') { + _deprecated_function( __FUNCTION__, '2.5', 'wp_signon()' ); + global $error; + + $user = wp_authenticate($username, $password); + + if ( ! is_wp_error($user) ) + return true; + + $error = $user->get_error_message(); + return false; +} +else : + _deprecated_function( 'wp_login', '2.5', 'wp_signon()' ); endif; \ No newline at end of file