* Introduce a get_node() method for plugins.
* Deprecate $wp_admin_bar->menu. Plugins will need to use get_node(), remove_node(), add_node() to make modifications. This finalizes a backwards incompatible change made earlier in the cycle.
* Allow add_node() to take a node object (which could come from get_node(), then be modified).
* Ensure that our underlying storage (the nodes property) is private to core. Introduce _set_node, _unset_node, _get_nodes, get_nodes as the only ways to interface with this.
* Protect and finalize _render_item, and _render_group. render() remains public and technically overridable, though I would discourage this of plugin authors.
* Deprecate recursive_render(). Use render() or _render_item().
More about the internals:
* Late-binds a node's 'children' array.
* Eliminates the root property, leverages a 'root' node.
* Splits render() into _bind() and _render(), both protected and finalized.
Fixes#19371.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
* WP_Editor will return in 3.4 as a one true API for editor instances. Stick to wp_editor() for now.
* TinyMCE can now be forced on with tinymce = true. It defaults to the value for user_can_richedit().
* Restores wp_default_editor(), wp_link_query(), wp_link_dialog(), wp_fullscreen_html().
fixes#19320.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
* Add a top border to it, but hide it under the admin bar. Helps appearance as the page is rendered (as admin bar is last).
* Bring the update nag slightly off center again (see [19130]) to ensure it lines up with help/options panels.
see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Also only run getUpdate() when necessary and remove reference to non-existent "span.total-type-count".
git-svn-id: http://svn.automattic.com/wordpress/trunk@19068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
* Lots of red.
* Removes the type_url_form_\$type filter, where \$type is audio, video, file, or image.
* Replacement filter is a generic type_url_form_media filter for the new unified form.
* Some functions have gone missing; they'll be restored and deprecated in a later pass.
see #17578.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This allows plugins to filter the list of protocols used for esc_url() too, and helps us keep the list of protocols in sync.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Attempt file_exists() last and cache an array index lookup for speed up. Whitespace and appropriate parentheses for readability.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Ensures that atom feeds show threading for top-level comments correctly.
Fixes#14908 props solarissmoke and SergeyBiryukov.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
printf( __('Your account has been activated. You may now <a href="%1$s">log in</a> to the site using your chosen username of “%2$s”. Please check your email inbox at %3$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can <a href="%4$s">reset your password</a>.'), network_site_url( 'wp-login.php', 'login' ), $signup->user_login, $signup->user_email, network_site_url( 'wp-login.php?action=lostpassword', 'login' ) );
printf( __('Your account has been activated. You may now <a href="%1$s">log in</a> to the site using your chosen username of “%2$s”. Please check your email inbox at %3$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can <a href="%4$s">reset your password</a>.'), network_site_url( 'wp-login.php', 'login' ), $signup->user_login, $signup->user_email, wp_lostpassword_url() );
} else {
printf( __('Your site at <a href="%1$s">%2$s</a> is active. You may now log in to your site using your chosen username of “%3$s”. Please check your email inbox at %4$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can <a href="%5$s">reset your password</a>.'), 'http://' . $signup->domain, $signup->domain, $signup->user_login, $signup->user_email, network_site_url( 'wp-login.php?action=lostpassword' ) );
printf( __('Your site at <a href="%1$s">%2$s</a> is active. You may now log in to your site using your chosen username of “%3$s”. Please check your email inbox at %4$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can <a href="%5$s">reset your password</a>.'), 'http://' . $signup->domain, $signup->domain, $signup->user_login, $signup->user_email, wp_lostpassword_url() );
<div class="about-text"><?php printf( __( 'Thank you for updating to the latest version! Using WordPress %s will improve your looks, personality, and web publishing experience. Okay, just the last one, but still. :)' ), $display_version ); ?></div>
<p><?php _e( 'We’ve streamlined things! Instead of needing to click on a specific upload icon based on your file type, now there’s just one. Once your file is uploaded, the appropriate fields will be displayed for entering information based on the file type.' ); ?></p>
<h4><?php _e( 'Drag-and-Drop Media Uploader' ); ?></h4>
<p><?php _e( 'Adding photos or other files to posts and pages just got easier. Drag files from your desktop and drop them into the uploader. Add one file at a time, or many at once.' ); ?></p>
<h4><?php _e( 'More File Formats' ); ?></h4>
<p><?php _e( 'We’ve added the rar and 7z file formats to the list of allowed file types in the uploader.' ); ?></p>
</div>
</div>
</div>
<div class="changelog">
<h3><?php _e( 'Dashboard Design' ); ?></h3>
<div class="feature-section text-features">
<h4><?php _e( 'Flyout Menus' ); ?></h4>
<p><?php _e( 'Speed up navigating the dashboard and reduce repetitive clicking with our new flyout submenus. As you hover over each main menu item in your dashboard navigation, the submenus will magically appear, providing single-click access to any dashboard screen.' ); ?></p>
<div>
<h4><?php _e( 'Header + Admin Bar = Toolbar' ); ?></h4>
<p><?php _e( 'To save space and increase efficiency, we’ve combined the admin bar and the old Dashboard header into one persistent toolbar. Hovering over the toolbar items will reveal submenus when available for quick access. ' ); ?></p>
<p><?php _e( 'Certain dashboard screens have been updated to look better at various sizes, including improved iPad/tablet support.' ); ?></p>
</div>
<div class="angled-right">
<img src="images/screenshots/help-screen.png" />
<h4><?php _e( 'Help Tabs' ); ?></h4>
<p><?php _e( 'The Help tabs located in the upper corner of the dashboard screens below your name have gotten a facelift. Help content is broken into smaller sections for easier access, with links to relevant documentation and the support forums always visible.' ); ?></p>
</div>
</div>
</div>
<div class="changelog">
<h3><?php _e( 'Feels Like the First Time' ); ?></h3>
<p><?php _e( 'When we add new features, move navigation, or do anything else with the dashboard that might throw you for a loop when you update your WordPress site, we’ll let you know about it with new feature pointers explaining the change.' ); ?></p>
<h4><?php _e( 'Post-update Changelog' ); ?></h4>
<p><?php _e( 'This screen! From now on when you update WordPress, you’ll be brought to this screen — also accessible any time from the W logo in the corner of the toolbar — to get an overview of what’s changed.' ); ?></p>
<h4><?php _e( 'Dashboard Welcome' ); ?></h4>
<p><?php _e( 'The dashboard home screen will have a Welcome area that displays when a new WordPress installation is accessed for the first time, prompting the site owner to complete various setup tasks. Once dismissed, this welcome can be accessed via the dashboard home screen options tab.' ); ?></p>
<p><?php _e( 'Have you ever gone to edit a post after someone else has finished with it, only to get an alert that tells you the other person is still editing the post? From now on, you’ll only get that alert if another person is still on the editing screen — no more time lag.' ); ?></p>
</div>
<div>
<h4><?php _e( 'Tumblr Importer' ); ?></h4>
<p><?php _e( 'Want to import content from Tumblr to WordPress? No problem! Go to <span class="no-break">Tools → Import</span> to get the new Tumblr Importer, which maps your Tumblog posts to the matching WordPress post formats. Tip: Choose a theme designed to display post formats to get the greatest benefit from the importer.' ); ?></p>
</div>
<div class="last-feature">
<h4><?php _e( 'Widget Improvements' ); ?></h4>
<p><?php _e( 'Changing themes often requires widget re-configuration based on the number and position of sidebars. Now if you change back to a previous theme, the widgets will automatically go back to how you had them arranged in that theme. <em>Note: if you’ve added new widgets since the switch, you’ll need to rescue them from the Inactive Widgets area.</em>' ); ?></p>
</div>
</div>
</div>
<div class="changelog">
<h3><?php _e( 'Under the Hood' ); ?></h3>
<div class="feature-section three-col">
<div>
<h4><?php _e( 'Flexible Permalinks' ); ?></h4>
<p><?php _e( 'You have more freedom when choosing a post permalink structure. Skip the date information or add a category slug without a performance penalty.' ); ?></p>
</div>
<div>
<h4><?php _e( 'Post Slugs: Less Funky' ); ?></h4>
<p><?php _e( 'Funky characters in post titles (e.g. curly quotes from a word processor) will no longer result in garbled post slugs.' ); ?></p>
</div>
<div class="last-feature">
<h4><?php _e( 'jQuery and jQuery UI' ); ?></h4>
<p><?php printf( __( 'WordPress now includes the entire jQuery UI stack and the latest version of jQuery: %s.' ), '1.7.1' ); ?></p>
</div>
</div>
<div class="feature-section three-col">
<div>
<h4 style="direction:ltr">is_main_query()</h4>
<p><?php _e( 'This handy method will tell you if a <code>WP_Query</code> object is the main WordPress query or a secondary query.' ); ?></p>
</div>
<div>
<h4><?php _e( 'WP_Screen API' ); ?></h4>
<p><?php _e( 'WordPress has a nice new API for working with admin screens. Create rich screens, add help documentation, adapt to screen contexts, and more.' ); ?></p>
</div>
<div class="last-feature">
<h4><?php _e( 'Editor API Overhaul' ); ?></h4>
<p><?php _e( 'The new editor API automatically pulls in all the JS and CSS goodness for the editor. It even supports multiple editors on the same page.' ); ?></p>
add_contextual_help($current_screen,'<p>'.__('You can edit the information left in a comment if needed. This is often useful when you notice that a commenter has made a typographical error.').'</p>'.
'<p>'.__('You can also moderate the comment from this screen using the Status box, where you can also change the timestamp of the comment.').'</p>'.
get_current_screen()->add_help_tab(array(
'id'=>'overview',
'title'=>__('Overview'),
'content'=>
'<p>'.__('You can edit the information left in a comment if needed. This is often useful when you notice that a commenter has made a typographical error.').'</p>'.
'<p>'.__('You can also moderate the comment from this screen using the Status box, where you can also change the timestamp of the comment.').'</p>'
));
get_current_screen()->set_help_sidebar(
'<p><strong>'.__('For more information:').'</strong></p>'.
'<p>'.__('<a href="http://codex.wordpress.org/Administration_Screens#Comments" target="_blank">Documentation on Comments</a>').'</p>'.
'<p>'.__('Each name or handle is a link to that person’s profile in the WordPress.org community directory.').'</p>'.
'<p>'.__('You can register your own profile at <a href="http://wordpress.org/support/register.php" target="_blank">this link</a> to start contributing.').'</p>'.
'<p>'.__('WordPress always needs more people to report bugs, patch bugs, test betas, work on UI design, translate strings, write documentation, and add questions/answers/suggestions to the Support Forums. Join in!').'</p>'.
'<p><strong>'.__('For more information:').'</strong></p>'.
'<p>'.__('<a href="http://codex.wordpress.org/Contributing_to_WordPress" target="_blank">Documentation on Contributing to WordPress</a>').'</p>'.
<div class="about-text"><?php printf( __( 'Thank you for updating to the latest version! Using WordPress %s will improve your looks, personality, and web publishing experience. Okay, just the last one, but still. :)' ), $display_version ); ?></div>
echo '<p>' . sprintf( __( 'WordPress is created by a <a href="%1$s">worldwide team</a> of passionate individuals. <a href="%2$s">Get involved in WordPress</a>.' ),
echo '<p class="about-description">' . sprintf( __( 'WordPress is created by a <a href="%1$s">worldwide team</a> of passionate individuals. <a href="%2$s">Get involved in WordPress</a>.' ),
'http://wordpress.org/about/',
/* translators: Url to the codex documentation on contributing to WordPress used on the credits page */
echo '<p>' . __( 'WordPress is created by a worldwide team of passionate individuals. We couldn’t possibly list them all, but here some of the most influential people currently involved with the project:' ) . "</p>\n";
echo '<p class="about-description">' . __( 'WordPress is created by a worldwide team of passionate individuals.' ) . "</p>\n";
html{background:#f9f9f9;}body{background:#fff;color:#333;font-family:"Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;margin:2emauto;width:700px;padding:1em2em;-moz-border-radius:11px;-khtml-border-radius:11px;-webkit-border-radius:11px;border-radius:11px;border:1pxsolid#dfdfdf;}a{color:#2583ad;text-decoration:none;}a:hover{color:#d54e21;}h1{border-bottom:1pxsolid#dadada;clear:both;color:#666;font:24pxGeorgia,"Times New Roman",Times,serif;margin:5px00-4px;padding:0;padding-bottom:7px;}h2{font-size:16px;}p,li,dd,dt{padding-bottom:2px;font-size:12px;line-height:18px;}code,.code{font-size:13px;}ul,ol,dl{padding:5px5px5px22px;}aimg{border:0;}abbr{border:0;font-variant:normal;}#logo{margin:6px014px0;border-bottom:none;text-align:center;}.step{margin:20px015px;}.step,th{text-align:left;padding:0;}.submitinput,.button,.button-secondary{font-family:"Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;text-decoration:none;font-size:14px!important;line-height:16px;padding:6px12px;cursor:pointer;border:1pxsolid#bbb;color:#464646;-moz-border-radius:15px;-khtml-border-radius:15px;-webkit-border-radius:15px;border-radius:15px;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;-khtml-box-sizing:content-box;box-sizing:content-box;}.button:hover,.button-secondary:hover,.submitinput:hover{color:#000;border-color:#666;}.button,.submitinput,.button-secondary{background:#f2f2f2url(../images/white-grad.png)repeat-xscrolllefttop;}.button:active,.submitinput:active,.button-secondary:active{background:#eeeurl(../images/white-grad-active.png)repeat-xscrolllefttop;}textarea{border:1pxsolid#bbb;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;}.form-table{border-collapse:collapse;margin-top:1em;width:100%;}.form-tabletd{margin-bottom:9px;padding:10px;border-bottom:8pxsolid#fff;font-size:12px;}.form-tableth{font-size:13px;text-align:left;padding:16px10px10px10px;border-bottom:8pxsolid#fff;width:130px;vertical-align:top;}.form-tabletr{background:#f3f3f3;}.form-tablecode{line-height:18px;font-size:18px;}.form-tablep{margin:4px000;font-size:11px;}.form-tableinput{line-height:20px;font-size:15px;padding:2px;}.form-tablethp{font-weight:normal;}#error-page{margin-top:50px;}#error-pagep{font-size:12px;line-height:18px;margin:25px020px;}#error-pagecode,.code{font-family:Consolas,Monaco,monospace;}#pass-strength-result{background-color:#eee;border-color:#ddd!important;border-style:solid;border-width:1px;margin:5px5px5px1px;padding:5px;text-align:center;width:200px;display:none;}#pass-strength-result.bad{background-color:#ffb78c;border-color:#ff853c!important;}#pass-strength-result.good{background-color:#ffec8b;border-color:#fc0!important;}#pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040!important;}#pass-strength-result.strong{background-color:#c3ff88;border-color:#8dff1c!important;}.message{border:1pxsolid#e6db55;padding:.3em.6em;margin:5px015px;background-color:#ffffe0;}
html{background:#f9f9f9;}body{background:#fff;color:#333;font-family:sans-serif;margin:2emauto;padding:1em2em;-webkit-border-radius:3px;border-radius:3px;border:1pxsolid#dfdfdf;max-width:700px;}a{color:#21759B;text-decoration:none;}a:hover{color:#D54E21;}h1{border-bottom:1pxsolid#dadada;clear:both;color:#666;font:24pxGeorgia,"Times New Roman",Times,serif;margin:30px000;padding:0;padding-bottom:7px;}h2{font-size:16px;}p,li,dd,dt{padding-bottom:2px;font-size:14px;line-height:1.5;}code,.code{font-size:14px;}ul,ol,dl{padding:5px5px5px22px;}aimg{border:0;}abbr{border:0;font-variant:normal;}#logo{margin:6px014px0;border-bottom:none;text-align:center;}.step{margin:20px015px;}.step,th{text-align:left;padding:0;}.submitinput,.button,.button-secondary{font-family:sans-serif;text-decoration:none;font-size:14px!important;line-height:16px;padding:6px12px;cursor:pointer;border:1pxsolid#bbb;color:#464646;-webkit-border-radius:15px;border-radius:15px;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;}.button:hover,.button-secondary:hover,.submitinput:hover{color:#000;border-color:#666;}.button,.submitinput,.button-secondary{background:#f2f2f2url(../images/white-grad.png)repeat-xscrolllefttop;}.button:active,.submitinput:active,.button-secondary:active{background:#eeeurl(../images/white-grad-active.png)repeat-xscrolllefttop;}textarea{border:1pxsolid#dfdfdf;-webkit-border-radius:3px;border-radius:3px;font-family:sans-serif;width:695px;}.form-table{border-collapse:collapse;margin-top:1em;width:100%;}.form-tabletd{margin-bottom:9px;padding:10px20px10px0;border-bottom:8pxsolid#fff;font-size:14px;vertical-align:top;}.form-tableth{font-size:14px;text-align:left;padding:16px20px10px0;border-bottom:8pxsolid#fff;width:140px;vertical-align:top;}.form-tablecode{line-height:18px;font-size:14px;}.form-tablep{margin:4px000;font-size:11px;}.form-tableinput{line-height:20px;font-size:15px;padding:2px;border:1px#DFDFDFsolid;-webkit-border-radius:3px;border-radius:3px;font-family:sans-serif;}.form-tableinput[type=text],.form-tableinput[type=password]{width:206px;}.form-tablethp{font-weight:normal;}.form-table.install-successtd{vertical-align:middle;padding:16px20px10px0;}.form-table.install-successtdp{margin:0;font-size:14px;}.form-table.install-successtdcode{margin:0;font-size:18px;}#error-page{margin-top:50px;}#error-pagep{font-size:14px;line-height:18px;margin:25px020px;}#error-pagecode,.code{font-family:Consolas,Monaco,monospace;}#pass-strength-result{background-color:#eee;border-color:#ddd!important;border-style:solid;border-width:1px;margin:5px5px5px0;padding:5px;text-align:center;width:200px;display:none;}#pass-strength-result.bad{background-color:#ffb78c;border-color:#ff853c!important;}#pass-strength-result.good{background-color:#ffec8b;border-color:#fc0!important;}#pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040!important;}#pass-strength-result.strong{background-color:#c3ff88;border-color:#8dff1c!important;}.message{border:1pxsolid#e6db55;padding:.3em.6em;margin:5px015px;background-color:#ffffe0;}body.rtl{font-family:Tahoma,arial;}.rtlh1{font-family:arial;margin:5px-4px00;}.rtlul,.rtlol{padding:5px22px5px5px;}.rtl.step,.rtlth,.rtl.form-tableth{text-align:right;}.rtl.submitinput,.rtl.button,.rtl.button-secondary{margin-right:0;}.rtl#user_login,.rtl#admin_email,.rtl#pass1,.rtl#pass2{direction:ltr;}
*{margin:0;padding:0;}html{background:#fbfbfb!important;}body{padding-top:30px;font-family:Arial,"Bitstream Vera Sans",Helvetica,Verdana,sans-serif;font-size:12px;}form{margin-left:8px;padding:26px24px46px;font-weight:normal;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;background:#fff;border:1pxsolid#e5e5e5;-moz-box-shadow:rgba(200,200,200,0.7)04px10px-1px;-webkit-box-shadow:rgba(200,200,200,0.7)04px10px-1px;-khtml-box-shadow:rgba(200,200,200,0.7)04px10px-1px;box-shadow:rgba(200,200,200,0.7)04px10px-1px;}form.forgetmenot{font-weight:normal;float:left;margin-bottom:0;}.button-primary{font-family:Arial,"Bitstream Vera Sans",Helvetica,Verdana,sans-serif;padding:3px10px;border:none;font-size:13px;border-width:1px;border-style:solid;-moz-border-radius:11px;-khtml-border-radius:11px;-webkit-border-radius:11px;border-radius:11px;cursor:pointer;text-decoration:none;margin-top:-3px;}#loginformp{margin-bottom:0;}label{color:#777;font-size:14px;}form.forgetmenotlabel{font-size:12px;line-height:19px;}form.submit,.alignright{float:right;}formp{margin-bottom:24px;}h1a{background:url(../images/logo-login.png)no-repeattopcenter;width:326px;height:67px;text-indent:-9999px;overflow:hidden;padding-bottom:15px;display:block;}#login{width:320px;margin:7emauto;}#login_error,.message{margin:0016px8px;border-width:1px;border-style:solid;padding:12px;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;}#nav,#backtoblog{text-shadow:rgba(255,255,255,1)01px0;margin:00016px;padding:16px16px0;}#backtoblog{padding:12px16px0;}bodyform.input{font-family:"HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:200;font-size:24px;width:97%;padding:3px;margin-top:2px;margin-right:6px;margin-bottom:16px;border:1pxsolid#e5e5e5;background:#fbfbfb;outline:none;-moz-box-shadow:inset1px1px2pxrgba(200,200,200,0.2);-webkit-box-shadow:inset1px1px2pxrgba(200,200,200,0.2);box-shadow:inset1px1px2pxrgba(200,200,200,0.2);}input{color:#555;}.clear{clear:both;}#pass-strength-result{font-weight:bold;border-style:solid;border-width:1px;margin:12px06px;padding:6px5px;text-align:center;}
div#media-upload-header{margin:0;padding:05px;font-weight:bold;position:relative;border-bottom-width:1px;border-bottom-style:solid;}body#media-uploadul#sidemenu{font-weight:normal;margin:05px;left:0;bottom:-1px;float:none;overflow:hidden;}div#media-upload-error{margin:1em;font-weight:bold;}form{margin:1em;}#search-filter{text-align:right;}th{position:relative;}.media-upload-formlabel.form-help,td.help{font-family:"Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;font-style:italic;font-weight:normal;}.media-upload-formp.help{margin:0;padding:0;}.media-upload-formfieldset{width:100%;border:none;text-align:justify;margin:001em0;padding:0;}.image-align-none-label{background:url(../images/align-none.png)no-repeatcenterleft;}.image-align-left-label{background:url(../images/align-left.png)no-repeatcenterleft;}.image-align-center-label{background:url(../images/align-center.png)no-repeatcenterleft;}.image-align-right-label{background:url(../images/align-right.png)no-repeatcenterleft;}tr.image-sizetd{width:460px;}tr.image-sizediv.image-size-item{float:left;width:25%;margin:0;}#library-form.progress,#gallery-form.progress,.insert-gallery,.describe.startopen,.describe.startclosed{display:none;}.media-item.thumbnail{max-width:128px;max-height:128px;}thead.media-item-infotr{background-color:transparent;}thead.media-item-infoth,thead.media-item-infotd{border:none;margin:0;}.form-tablethead.media-item-info{border:8pxsolid#fff;}abbr.required{text-decoration:none;border:none;}.describelabel{display:inline;}.describetd{vertical-align:middle;padding:05px8px0;}.describetd.error{padding:2px8px;}.describetd.A1{width:132px;}.describeinput[type="text"],.describetextarea{width:460px;border-width:1px;border-style:solid;}.hidden{height:0;width:0;overflow:hidden;border:none;}#media-uploadp.ml-submit{padding:1em0;}#media-uploadp.help,#media-uploadlabel.help{font-family:"Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;font-style:italic;font-weight:normal;}#media-uploadtr.image-sizetd.field{text-align:center;}#media-upload#media-items{border-width:1px;border-style:solid;border-bottom:none;width:623px;}#media-upload.media-item{border-bottom-width:1px;border-bottom-style:solid;min-height:36px;width:100%;}#media-upload.ui-sortable.media-item{cursor:move;}.filename{line-height:36px;padding:010px;overflow:hidden;}#media-upload.describe{width:100%;clear:both;cursor:default;}#media-upload.slidetoggle{border-top-width:1px;border-top-style:solid;}#media-upload.describeth.label{padding-top:.2em;text-align:left;min-width:120px;}#media-uploadtr.aligntd.field{text-align:center;}#media-uploadtr.image-size{margin-bottom:1em;height:3em;}#media-upload#filter{width:623px;}#media-upload#filter.subsubsub{margin:8px0;}#filter.tablenavselect{border-style:solid;border-width:1px;padding:2px;vertical-align:top;width:auto;}#media-upload.del-attachment{display:none;margin:5px0;}.menu_order{float:right;font-size:11px;margin:10px10px0;}.menu_order_input{border:1pxsolid#ddd;font-size:10px;padding:1px;width:23px;}.ui-sortable-helper{background-color:#fff;border:1pxsolid#aaa;opacity:.6;filter:alpha(opacity=60);}#media-uploadth.order-head{width:20%;text-align:center;}#media-uploadth.actions-head{width:25%;text-align:center;}#media-uploada.wp-post-thumbnail{margin:020px;}#media-itemsa.delete{display:block;float:right;}#media-upload.widefat{width:626px;border-style:solidsolidnone;}.sorthelper{height:37px;width:623px;display:block;}#gallery-settingsth.label{width:160px;}#gallery-settings#basicth.label{padding:5px5px5px0;}#gallery-settings.title{clear:both;padding:003px;font-size:1.6em;border-bottom:1pxsolid#DADADA;}h3.media-title{font-size:1.6em;}h4.media-sub-title{border-bottom:1pxsolid#DADADA;font-size:1.3em;margin:12px;padding:003px;}#gallery-settings.title,h3.media-title,h4.media-sub-title{font-family:Georgia,"Times New Roman",Times,serif;font-weight:normal;color:#5A5A5A;}#gallery-settings.describetd{vertical-align:middle;height:3em;}#gallery-settings.describeth.label{padding-top:.5em;text-align:left;}#gallery-settings.describe{padding:5px;width:615px;clear:both;cursor:default;}#gallery-settings.describeselect{width:15em;}#gallery-settings.describeselectoption,#gallery-settings.describetd{padding:0;}#gallery-settingslabel,#gallery-settingslegend{font-size:13px;color:#464646;margin-right:15px;}#gallery-settings.align.fieldlabel{margin:01.5em00;}#gallery-settingsp.ml-submit{border-top:1pxsolid#dfdfdf;}#gallery-settingsselect#columns{width:6em;}#sort-buttons{font-size:.8em;margin:3px25px-8px0;text-align:right;max-width:625px;}#sort-buttonsa{text-decoration:none;}#sort-buttons#asc,#sort-buttons#showall{padding-left:5px;}#sort-buttonsspan{margin-right:25px;}
div#media-upload-header{margin:0;padding:5px5px0;font-weight:bold;position:relative;border-bottom-width:1px;border-bottom-style:solid;}body#media-uploadul#sidemenu{font-weight:normal;margin:05px;left:0;bottom:-1px;float:none;overflow:hidden;}form{margin:1em;}#search-filter{text-align:right;}th{position:relative;}.media-upload-formlabel.form-help,td.help{font-family:sans-serif;font-style:italic;font-weight:normal;}.media-upload-formp.help{margin:0;padding:0;}.media-upload-formfieldset{width:100%;border:none;text-align:justify;margin:001em0;padding:0;}.image-align-none-label{background:url(../images/align-none.png)no-repeatcenterleft;}.image-align-left-label{background:url(../images/align-left.png)no-repeatcenterleft;}.image-align-center-label{background:url(../images/align-center.png)no-repeatcenterleft;}.image-align-right-label{background:url(../images/align-right.png)no-repeatcenterleft;}tr.image-sizetd{width:460px;}tr.image-sizediv.image-size-item{margin:0 05px;}#library-form.progress,#gallery-form.progress,.insert-gallery,.describe.startopen,.describe.startclosed{display:none;}.media-item.thumbnail{max-width:128px;max-height:128px;}thead.media-item-infotr{background-color:transparent;}.form-tablethead.media-item-info{border:8pxsolid#fff;}abbr.required{text-decoration:none;border:none;}.describelabel{display:inline;}.describetd.error{padding:2px8px;}.describetd.A1{width:132px;}.describeinput[type="text"],.describetextarea{width:460px;border-width:1px;border-style:solid;}#media-uploadp.ml-submit{padding:1em0;}#media-uploadp.help,#media-uploadlabel.help{font-family:sans-serif;font-style:italic;font-weight:normal;}#media-upload.ui-sortable.media-item{cursor:move;}#media-uploadtr.image-size{margin-bottom:1em;height:3em;}#media-upload#filter{width:623px;}#media-upload#filter.subsubsub{margin:8px0;}#filter.tablenavselect{border-style:solid;border-width:1px;padding:2px;vertical-align:top;width:auto;}#media-upload.del-attachment{display:none;margin:5px0;}.menu_order{float:right;font-size:11px;margin:10px10px0;}.menu_order_input{border:1pxsolid#ddd;font-size:10px;padding:1px;width:23px;}.ui-sortable-helper{background-color:#fff;border:1pxsolid#aaa;opacity:.6;filter:alpha(opacity=60);}#media-uploadth.order-head{width:20%;text-align:center;}#media-uploadth.actions-head{width:25%;text-align:center;}#media-uploada.wp-post-thumbnail{margin:020px;}#media-itemsa.delete{display:block;float:right;}#media-upload.widefat{width:626px;border-style:solidsolidnone;}.sorthelper{height:37px;width:623px;display:block;}#gallery-settingsth.label{width:160px;}#gallery-settings#basicth.label{padding:5px5px5px0;}#gallery-settings.title{clear:both;padding:003px;font-size:1.6em;border-bottom:1pxsolid#DADADA;}h3.media-title{font-size:1.6em;}h4.media-sub-title{border-bottom:1pxsolid#DADADA;font-size:1.3em;margin:12px;padding:003px;}#gallery-settings.title,h3.media-title,h4.media-sub-title{font-family:Georgia,"Times New Roman",Times,serif;font-weight:normal;color:#5A5A5A;}#gallery-settings.describetd{vertical-align:middle;height:3em;}#gallery-settings.describeth.label{padding-top:.5em;text-align:left;}#gallery-settings.describe{padding:5px;width:615px;clear:both;cursor:default;}#gallery-settings.describeselect{width:15em;}#gallery-settings.describeselectoption,#gallery-settings.describetd{padding:0;}#gallery-settingslabel,#gallery-settingslegend{font-size:13px;color:#464646;margin-right:15px;}#gallery-settings.align.fieldlabel{margin:01em03px;}#gallery-settingsp.ml-submit{border-top:1pxsolid#dfdfdf;}#gallery-settingsselect#columns{width:6em;}#sort-buttons{font-size:.8em;margin:3px25px-8px0;text-align:right;max-width:625px;}#sort-buttonsa{text-decoration:none;}#sort-buttons#asc,#sort-buttons#showall{padding-left:5px;}#sort-buttonsspan{margin-right:25px;}p.media-types{margin:1em;}tr.not-image{display:none;}table.not-imagetr.not-image{display:table-row;}table.not-imagetr.image-only{display:none;}
add_contextual_help($this->page,'<p>'.__('You can customize the look of your site without touching any of your theme’s code by using a custom background. Your background can be an image or a color.').'</p>'.
'<p>'.__('To use a background image, simply upload it, then choose your display options below. You can display a single instance of your image, or tile it to fill the screen. You can have your background fixed in place, so your site content moves on top of it, or you can have it scroll with your site.').'</p>'.
'<p>'.__('You can also choose a background color. If you know the hexadecimal code for the color you want, enter it in the Color field. If not, click on the Select a Color link, and a color picker will allow you to choose the exact shade you want.') .'</p>'.
'<p>'.__('Don’t forget to click on the Save Changes button when you are finished.').'</p>'.
'<p><strong>'.__('For more information:').'</strong></p>'.
'<p>'.__('<a href="http://codex.wordpress.org/Appearance_Background_Screen" target="_blank">Documentation on Custom Background</a>').'</p>'.
'<p>'.__('You can customize the look of your site without touching any of your theme’s code by using a custom background. Your background can be an image or a color.').'</p>'.
'<p>'.__('To use a background image, simply upload it, then choose your display options below. You can display a single instance of your image, or tile it to fill the screen. You can have your background fixed in place, so your site content moves on top of it, or you can have it scroll with your site.').'</p>'.
'<p>'.__('You can also choose a background color. If you know the hexadecimal code for the color you want, enter it in the Background Color field. If not, click on the Select a Color link, and a color picker will allow you to choose the exact shade you want.').'</p>'.
'<p>'.__('Don’t forget to click on the Save Changes button when you are finished.').'</p>'
));
get_current_screen()->set_help_sidebar(
'<p><strong>'.__('For more information:').'</strong></p>'.
'<p>'.__('<a href="http://codex.wordpress.org/Appearance_Background_Screen" target="_blank">Documentation on Custom Background</a>').'</p>'.
add_contextual_help($this->page,'<p>'.__('You can set a custom image header for your site. Simply upload the image and crop it, and the new header will go live immediately.').'</p>'.
'<p>'.__('If you want to discard your custom header and go back to the default included in your theme, click on the buttons to remove the custom image and restore the original header image.').'</p>'.
'<p>'.__('Some themes come with additional header images bundled. If you see multiple images displayed, select the one you’d like and click the Save Changes button.') .'</p>'.
'<p><strong>'.__('For more information:').'</strong></p>'.
'<p>'.__('<a href="http://codex.wordpress.org/Appearance_Header_Screen" target="_blank">Documentation on Custom Header</a>').'</p>'.
'<p>'.__('You can set a custom image header for your site. Simply upload the image and crop it, and the new header will go live immediately.').'</p>'.
'<p>'.__('If you want to discard your custom header and go back to the default included in your theme, click on the buttons to remove the custom image and restore the original header image.').'</p>'.
'<p>'.__('Some themes come with additional header images bundled. If you see multiple images displayed, select the one you’d like and click the Save Changes button.').'</p>'
));
get_current_screen()->set_help_sidebar(
'<p><strong>'.__('For more information:').'</strong></p>'.
'<p>'.__('<a href="http://codex.wordpress.org/Appearance_Header_Screen" target="_blank">Documentation on Custom Header</a>').'</p>'.
add_screen_option('per_page',array('label'=>_x('Comments','comments per page (screen options)')));
add_contextual_help($current_screen,'<p>'.__('You can manage comments made on your site similar to the way you manage Posts and other content. This screen is customizable in the same ways as other management screens, and you can act on comments using the on-hover action links or the Bulk Actions.').'</p>'.
'<p>'.__('A yellow row means the comment is waiting for you to moderate it.').'</p>'.
'<p>'.__('In the Author column, in addition to the author’s name, email address, and blog URL, the commenter’s IP address is shown. Clicking on this link will show you all the comments made from this IP address.') .'</p>'.
'<p>'.__('In the Comment column, above each comment it says “Submitted on,” followed by the date and time the comment was left on your site. Clicking on the date/time link will take you to that comment on your live site. Hovering over any comment gives you options to approve, reply (and approve), quick edit, edit, spam mark, or trash that comment.').'</p>'.
'<p>'.__('In the In Response To column, there are three elements. The text is the name of the post that inspired the comment, and links to the post editor for that entry. The “#” permalink symbol below leads to that post on your live site. The small bubble with the number in it shows how many comments that post has received. If the bubble is gray, you have moderated all comments for that post. If it is blue, there are pending comments. Clicking the bubble will filter the comments screen to show only comments on that post.').'</p>'.
'<p>'.__('Many people take advantage of keyboard shortcuts to moderate their comments more quickly. Use the link below to learn more.').'</p>'.
get_current_screen()->add_help_tab(array(
'id'=>'overview',
'title'=>__('Overview'),
'content'=>
'<p>'.__('You can manage comments made on your site similar to the way you manage posts and other content. This screen is customizable in the same ways as other management screens, and you can act on comments using the on-hover action links or the Bulk Actions.').'</p>'
));
get_current_screen()->add_help_tab(array(
'id'=>'moderating-comments',
'title'=>__('Moderating Comments'),
'content'=>
'<ul>'.
'<li>'.__('A yellow row means the comment is waiting for you to moderate it.').'</li>'.
'<li>'.__('In the <strong>Author</strong> column, in addition to the author’s name, email address, and blog URL, the commenter’s IP address is shown. Clicking on this link will show you all the comments made from this IP address.').'</li>'.
'<li>'.__('In the <strong>Comment</strong> column, above each comment it says “Submitted on,” followed by the date and time the comment was left on your site. Clicking on the date/time link will take you to that comment on your live site. Hovering over any comment gives you options to approve, reply (and approve), quick edit, edit, spam mark, or trash that comment.').'</li>'.
'<li>'.__('In the <strong>In Response To</strong> column, there are three elements. The text is the name of the post that inspired the comment, and links to the post editor for that entry. The View Post link leads to that post on your live site. The small bubble with the number in it shows how many comments that post has received. If the bubble is gray, you have moderated all comments for that post. If it is blue, there are pending comments. Clicking the bubble will filter the comments screen to show only comments on that post.').'</li>'.
'<li>'.__('Many people take advantage of keyboard shortcuts to moderate their comments more quickly. Use the link to the side to learn more.').'</li>'.
'</ul>'
));
get_current_screen()->set_help_sidebar(
'<p><strong>'.__('For more information:').'</strong></p>'.
'<p>'.__('<a href="http://codex.wordpress.org/Administration_Screens#Comments" target="_blank">Documentation on Comments</a>').'</p>'.
'<p>'.__('<a href="http://codex.wordpress.org/Comment_Spam" target="_blank">Documentation on Comment Spam</a>').'</p>'.
'<p>'.__('<a href="http://codex.wordpress.org/Keyboard_Shortcuts" target="_blank">Documentation on Keyboard Shortcuts</a>').'</p>'.
'<p>'.__('The title field and the big Post Editing Area are fixed in place, but you can reposition all the other boxes using drag and drop, and can minimize or expand them by clicking the title bar of each box. Use the Screen Options tab to unhide more boxes (Excerpt, Send Trackbacks, Custom Fields, Discussion, Slug, Author) or to choose a 1- or 2-column layout for this screen.').'</p>'.
'<p>'.__('<strong>Title</strong> - Enter a title for your post. After you enter a title, you’ll see the permalink below, which you can edit.').'</p>'.
'<p>'.__('<strong>Post editor</strong> - Enter the text for your post. There are two modes of editing: Visual and HTML. Choose the mode by clicking on the appropriate tab. Visual mode gives you a WYSIWYG editor. Click the last icon in the row to get a second row of controls. The HTML mode allows you to enter raw HTML along with your post text. You can insert media files by clicking the icons above the post editor and following the directions. You can go the distraction-free writing screen, new in 3.2, via the Fullscreen icon in Visual mode (second to last in the top row) or the Fullscreen button in HTML mode (last in the row). Once there, you can make buttons visible by hovering over the top area. Exit Fullscreen back to the regular post editor.').'</p>'.
'<p>'.__('<strong>Publish</strong> - You can set the terms of publishing your post in the Publish box. For Status, Visibility, and Publish (immediately), click on the Edit link to reveal more options. Visibility includes options for password-protecting a post or making it stay at the top of your blog indefinitely (sticky). Publish (immediately) allows you to set a future or past date and time, so you can schedule a post to be published in the future or backdate a post.').'</p>'.
((current_theme_supports('post-formats')&&post_type_supports('post','post-formats'))?'<p>'.__('<strong>Post Format</strong> - This designates how your theme will display a specific post. For example, you could have a <em>standard</em> blog post with a title and paragraphs, or a short <em>aside</em> that omits the title and contains a short text blurb. Please refer to the Codex for <a href="http://codex.wordpress.org/Post_Formats#Supported_Formats">descriptions of each post format</a>. Your theme could enable all or some of 10 possible formats.').'</p>':'').
'<p>'.__('<strong>Featured Image</strong> - This allows you to associate an image with your post without inserting it. This is usually useful only if your theme makes use of the featured image as a post thumbnail on the home page, a custom header, etc.').'</p>'.
'<p>'.__('<strong>Send Trackbacks</strong> - Trackbacks are a way to notify legacy blog systems that you’ve linked to them. Enter the URL(s) you want to send trackbacks. If you link to other WordPress sites they’ll be notified automatically using pingbacks, and this field is unnecessary.').'</p>'.
'<p>'.__('<strong>Discussion</strong> - You can turn comments and pings on or off, and if there are comments on the post, you can see them here and moderate them.').'</p>'.
'<p>'.sprintf(__('You can also create posts with the <a href="%s">Press This bookmarklet</a>.'),'options-writing.php').'</p>'.
'<p><strong>'.__('For more information:').'</strong></p>'.
'<p>'.__('<a href="http://codex.wordpress.org/Posts_Add_New_Screen" target="_blank">Documentation on Writing and Editing Posts</a>').'</p>'.
$customize_display='<p>'.__('The title field and the big Post Editing Area are fixed in place, but you can reposition all the other boxes using drag and drop, and can minimize or expand them by clicking the title bar of each box. Use the Screen Options tab to unhide more boxes (Excerpt, Send Trackbacks, Custom Fields, Discussion, Slug, Author) or to choose a 1- or 2-column layout for this screen.').'</p>';
get_current_screen()->add_help_tab(array(
'id'=>'customize-display',
'title'=>__('Customizing This Display'),
'content'=>$customize_display,
));
$title_and_editor='<p>'.__('<strong>Title</strong> - Enter a title for your post. After you enter a title, you’ll see the permalink below, which you can edit.').'</p>';
$title_and_editor.='<p>'.__('<strong>Post editor</strong> - Enter the text for your post. There are two modes of editing: Visual and HTML. Choose the mode by clicking on the appropriate tab. Visual mode gives you a WYSIWYG editor. Click the last icon in the row to get a second row of controls. The HTML mode allows you to enter raw HTML along with your post text. You can insert media files by clicking the icons above the post editor and following the directions. You can go to the distraction-free writing screen via the Fullscreen icon in Visual mode (second to last in the top row) or the Fullscreen button in HTML mode (last in the row). Once there, you can make buttons visible by hovering over the top area. Exit Fullscreen back to the regular post editor.').'</p>';
get_current_screen()->add_help_tab(array(
'id'=>'title-post-editor',
'title'=>__('Title and Post Editor'),
'content'=>$title_and_editor,
));
$publish_box='<p>'.__('<strong>Publish</strong> - You can set the terms of publishing your post in the Publish box. For Status, Visibility, and Publish (immediately), click on the Edit link to reveal more options. Visibility includes options for password-protecting a post or making it stay at the top of your blog indefinitely (sticky). Publish (immediately) allows you to set a future or past date and time, so you can schedule a post to be published in the future or backdate a post.').'</p>';
$publish_box.='<p>'.__('<strong>Post Format</strong> - This designates how your theme will display a specific post. For example, you could have a <em>standard</em> blog post with a title and paragraphs, or a short <em>aside</em> that omits the title and contains a short text blurb. Please refer to the Codex for <a href="http://codex.wordpress.org/Post_Formats#Supported_Formats">descriptions of each post format</a>. Your theme could enable all or some of 10 possible formats.').'</p>';
$publish_box.='<p>'.__('<strong>Featured Image</strong> - This allows you to associate an image with your post without inserting it. This is usually useful only if your theme makes use of the featured image as a post thumbnail on the home page, a custom header, etc.').'</p>';
}
get_current_screen()->add_help_tab(array(
'id'=>'publish-box',
'title'=>__('Publish Box'),
'content'=>$publish_box,
));
$discussion_settings='<p>'.__('<strong>Send Trackbacks</strong> - Trackbacks are a way to notify legacy blog systems that you’ve linked to them. Enter the URL(s) you want to send trackbacks. If you link to other WordPress sites they’ll be notified automatically using pingbacks, and this field is unnecessary.').'</p>';
$discussion_settings.='<p>'.__('<strong>Discussion</strong> - You can turn comments and pings on or off, and if there are comments on the post, you can see them here and moderate them.').'</p>';
get_current_screen()->add_help_tab(array(
'id'=>'discussion-settings',
'title'=>__('Discussion Settings'),
'content'=>$discussion_settings,
));
get_current_screen()->set_help_sidebar(
'<p>'.sprintf(__('You can also create posts with the <a href="%s">Press This bookmarklet</a>.'),'options-writing.php').'</p>'.
'<p><strong>'.__('For more information:').'</strong></p>'.
'<p>'.__('<a href="http://codex.wordpress.org/Posts_Add_New_Screen" target="_blank">Documentation on Writing and Editing Posts</a>').'</p>'.
add_contextual_help($current_screen,'<p>'.__('Pages are similar to Posts in that they have a title, body text, and associated metadata, but they are different in that they are not part of the chronological blog stream, kind of like permanent posts. Pages are not categorized or tagged, but can have a hierarchy. You can nest Pages under other Pages by making one the “Parent” of the other, creating a group of Pages.').'</p>'.
'<p>'.__('Creating a Page is very similar to creating a Post, and the screens can be customized in the same way using drag and drop, the Screen Options tab, and expanding/collapsing boxes as you choose. This screen also has the new in 3.2 distraction-free writing space, available in both the Visual and HTML modes via the Fullscreen buttons. The Page editor mostly works the same as the Post editor, but there are some Page-specific features in the Page Attributes box:').'</p>'.
'<p>'.__('<strong>Parent</strong> - You can arrange your pages in hierarchies. For example, you could have an “About” page that has “Life Story” and “My Dog” pages under it. There are no limits to how many levels you can nest pages.').'</p>'.
'<p>'.__('<strong>Template</strong> - Some themes have custom templates you can use for certain pages that might have additional features or custom layouts. If so, you’ll see them in this dropdown menu.').'</p>'.
'<p>'.__('<strong>Order</strong> - Pages are usually ordered alphabetically, but you can choose your own order by entering a number (1 for first, etc.) in this field.').'</p>'.
'<p><strong>'.__('For more information:').'</strong></p>'.
'<p>'.__('<a href="http://codex.wordpress.org/Pages_Add_New_Screen" target="_blank">Documentation on Adding New Pages</a>').'</p>'.
'<p>'.__('<a href="http://codex.wordpress.org/Pages_Screen#Editing_Individual_Pages" target="_blank">Documentation on Editing Pages</a>').'</p>'.
$about_pages='<p>'.__('Pages are similar to Posts in that they have a title, body text, and associated metadata, but they are different in that they are not part of the chronological blog stream, kind of like permanent posts. Pages are not categorized or tagged, but can have a hierarchy. You can nest Pages under other Pages by making one the “Parent” of the other, creating a group of Pages.').'</p>'.
'<p>'.__('Creating a Page is very similar to creating a Post, and the screens can be customized in the same way using drag and drop, the Screen Options tab, and expanding/collapsing boxes as you choose. This screen also has the distraction-free writing space, available in both the Visual and HTML modes via the Fullscreen buttons. The Page editor mostly works the same as the Post editor, but there are some Page-specific features in the Page Attributes box:').'</p>';
get_current_screen()->add_help_tab(array(
'id'=>'about-pages',
'title'=>__('About Pages'),
'content'=>$about_pages,
));
$page_attributes='<p>'.__('<strong>Parent</strong> - You can arrange your pages in hierarchies. For example, you could have an “About” page that has “Life Story” and “My Dog” pages under it. There are no limits to how many levels you can nest pages.').'</p>'.
'<p>'.__('<strong>Template</strong> - Some themes have custom templates you can use for certain pages that might have additional features or custom layouts. If so, you’ll see them in this dropdown menu.').'</p>'.
'<p>'.__('<strong>Order</strong> - Pages are usually ordered alphabetically, but you can choose your own order by entering a number (1 for first, etc.) in this field.').'</p>';
get_current_screen()->add_help_tab(array(
'id'=>'page-attributes',
'title'=>__('Page Attributes'),
'content'=>$page_attributes,
));
get_current_screen()->set_help_sidebar(
'<p><strong>'.__('For more information:').'</strong></p>'.
'<p>'.__('<a href="http://codex.wordpress.org/Pages_Add_New_Screen" target="_blank">Documentation on Adding New Pages</a>').'</p>'.
'<p>'.__('<a href="http://codex.wordpress.org/Pages_Screen#Editing_Individual_Pages" target="_blank">Documentation on Editing Pages</a>').'</p>'.
'<p>'.__('You can add or edit links on this screen by entering information in each of the boxes. Only the link’s web address and name (the text you want to display on your site as the link) are required fields.').'</p>'.
'<p>'.__('The boxes for link name, web address, and description have fixed positions, while the others may be repositioned using drag and drop. You can also hide boxes you don’t use in the Screen Options tab, or minimize boxes by clicking on the title bar of the box.').'</p>'.
'<p>'.__('XFN stands for <a href="http://gmpg.org/xfn/" target="_blank">XHTML Friends Network</a>, which is optional. WordPress allows the generation of XFN attributes to show how you are related to the authors/owners of the site to which you are linking.').'</p>'.
'<p>'.__('XFN stands for <a href="http://gmpg.org/xfn/" target="_blank">XHTML Friends Network</a>, which is optional. WordPress allows the generation of XFN attributes to show how you are related to the authors/owners of the site to which you are linking.').'</p>'
));
get_current_screen()->set_help_sidebar(
'<p><strong>'.__('For more information:').'</strong></p>'.
'<p>'.__('<a href="http://codex.wordpress.org/Links_Add_New_Screen" target="_blank">Documentation on Creating Links</a>').'</p>'.
$help='<p>'.sprintf(__('You can use categories to define sections of your site and group related posts. The default category is “Uncategorized” until you change it in your <a href="%s">writing settings</a>.'),'options-writing.php').'</p>';
elseif('link_category'==$taxonomy)
$help='<p>'.__('You can create groups of links by using link categories. Link category names must be unique and link categories are separate from the categories you use for posts.').'</p>';
$help='<p>'.__('You can create groups of links by using Link Categories. Link Category names must be unique and Link Categories are separate from the categories you use for posts.').'</p>';
else
$help='<p>'.__('You can assign keywords to your posts using Post Tags. Unlike categories, tags have no hierarchy, meaning there’s no relationship from one tag to another.').'</p>';
$help='<p>'.__('You can assign keywords to your posts using <strong>tags</strong>. Unlike categories, tags have no hierarchy, meaning there’s no relationship from one tag to another.').'</p>';
if('link_category'==$taxonomy)
$help.='<p>'.__('You can delete link categories in the Bulk Action pulldown, but that action does not delete the links within the category. Instead, it moves them to the default link category.').'</p>';
$help.='<p>'.__('You can delete Link Categories in the Bulk Action pulldown, but that action does not delete the links within the category. Instead, it moves them to the default Link Category.').'</p>';
else
$help.='<p>'.__('What’s the difference between categories and tags? Normally, tags are ad-hoc keywords that identify important information in your post (names, subjects, etc) that may or may not recur in other posts, while categories are pre-determined sections. If you think of your site like a book, the categories are like the Table of Contents and the tags are like the terms in the index.').'</p>';
if('category'==$taxonomy)
$help.='<p>'.__('When adding a new category on this screen, you’ll fill in the following fields:').'</p>';
elseif('post_tag'==$taxonomy)
$help.='<p>'.__('When adding a new tag on this screen, you’ll fill in the following fields:').'</p>';
get_current_screen()->add_help_tab(array(
'id'=>'overview',
'title'=>__('Overview'),
'content'=>$help,
));
if('category'==$taxonomy||'post_tag'==$taxonomy)
if('category'==$taxonomy||'post_tag'==$taxonomy){
if('category'==$taxonomy)
$help='<p>'.__('When adding a new category on this screen, you’ll fill in the following fields:').'</p>';
else
$help='<p>'.__('When adding a new tag on this screen, you’ll fill in the following fields:').'</p>';
$help.='<ul>'.
'<li>'.__('<strong>Name</strong> - The name is how it appears on your site.').'</li>';
if(!global_terms_enabled())
if('category'==$taxonomy||'post_tag'==$taxonomy)
$help.='<li>'.__('<strong>Slug</strong> - The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.').'</li>';
if(!global_terms_enabled())
$help.='<li>'.__('<strong>Slug</strong> - The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.').'</li>';
if('category'==$taxonomy)
$help.='<li>'.__('<strong>Parent</strong> - Categories, unlike tags, can have a hierarchy. You might have a Jazz category, and under that have children categories for Bebop and Big Band. Totally optional. To create a subcategory, just choose another category from the Parent dropdown.').'</li>';
if('category'==$taxonomy)
$help.='<li>'.__('<strong>Parent</strong> - Categories, unlike tags, can have a hierarchy. You might have a Jazz category, and under that have children categories for Bebop and Big Band. Totally optional. To create a subcategory, just choose another category from the Parent dropdown.').'</li>';
if('category'==$taxonomy||'post_tag'==$taxonomy)
$help.='<li>'.__('<strong>Description</strong> - The description is not prominent by default; however, some themes may display it.').'</li>'.
'</ul>'.
'<p>'.__('You can change the display of this screen using the Screen Options tab to set how many items are displayed per screen and to display/hide columns in the table.').'</p>'.
'<p><strong>'.__('For more information:').'</strong></p>';
'<p>'.__('You can change the display of this screen using the Screen Options tab to set how many items are displayed per screen and to display/hide columns in the table.').'</p>';
'<p>'.__('You can customize the display of this screen in a number of ways:').'</p>'.
'<ul>'.
'<li>'.__('You can hide/display columns based on your needs and decide how many posts to list per screen using the Screen Options tab.').'</li>'.
'<li>'.__('You can filter the list of posts by post status using the text links in the upper left to show All, Published, Draft, or Trashed posts. The default view is to show all posts.').'</li>'.
'<li>'.__('You can view posts in a simple title list or with an excerpt. Choose the view you prefer by clicking on the icons at the top of the list on the right.').'</li>'.
'<li>'.__('You can refine the list to show only posts in a specific category or from a specific month by using the dropdown menus above the posts list. Click the Filter button after making your selection. You also can refine the list by clicking on the post author, category or tag in the posts list.').'</li>'.
'</ul>'.
'<p>'.__('Hovering over a row in the posts list will display action links that allow you to manage your post. You can perform the following actions:').'</p>'.
'<ul>'.
'<li>'.__('Edit takes you to the editing screen for that post. You can also reach that screen by clicking on the post title.').'</li>'.
'<li>'.__('Quick Edit provides inline access to the metadata of your post, allowing you to update post details without leaving this screen.').'</li>'.
'<li>'.__('Trash removes your post from this list and places it in the trash, from which you can permanently delete it.').'</li>'.
'<li>'.__('Preview will show you what your draft post will look like if you publish it. View will take you to your live site to view the post. Which link is available depends on your post’s status.').'</li>'.
'</ul>'.
'<p>'.__('You can also edit multiple posts at once. Select the posts you want to edit using the checkboxes, select Edit from the Bulk Actions menu and click Apply. You will be able to change the metadata (categories, author, etc.) for all selected posts at once. To remove a post from the grouping, just click the x next to its name in the Bulk Edit area that appears.').'</p>'.
get_current_screen()->add_help_tab(array(
'id'=>'overview',
'title'=>__('Overview'),
'content'=>
'<p>'.__('This screen provides access to all of your posts. You can customize the display of this screen to suit your workflow.').'</p>'
));
get_current_screen()->add_help_tab(array(
'id'=>'screen-content',
'title'=>__('Screen Content'),
'content'=>
'<p>'.__('You can customize the display of this screen’s contents in a number of ways:').'</p>'.
'<ul>'.
'<li>'.__('You can hide/display columns based on your needs and decide how many posts to list per screen using the Screen Options tab.').'</li>'.
'<li>'.__('You can filter the list of posts by post status using the text links in the upper left to show All, Published, Draft, or Trashed posts. The default view is to show all posts.').'</li>'.
'<li>'.__('You can view posts in a simple title list or with an excerpt. Choose the view you prefer by clicking on the icons at the top of the list on the right.').'</li>'.
'<li>'.__('You can refine the list to show only posts in a specific category or from a specific month by using the dropdown menus above the posts list. Click the Filter button after making your selection. You also can refine the list by clicking on the post author, category or tag in the posts list.').'</li>'.
'</ul>'
));
get_current_screen()->add_help_tab(array(
'id'=>'action-links',
'title'=>__('Available Actions'),
'content'=>
'<p>'.__('Hovering over a row in the posts list will display action links that allow you to manage your post. You can perform the following actions:').'</p>'.
'<ul>'.
'<li>'.__('<strong>Edit</strong> takes you to the editing screen for that post. You can also reach that screen by clicking on the post title.').'</li>'.
'<li>'.__('<strong>Quick Edit</strong> provides inline access to the metadata of your post, allowing you to update post details without leaving this screen.').'</li>'.
'<li>'.__('<strong>Trash</strong> removes your post from this list and places it in the trash, from which you can permanently delete it.').'</li>'.
'<li>'.__('<strong>Preview</strong> will show you what your draft post will look like if you publish it. View will take you to your live site to view the post. Which link is available depends on your post’s status.').'</li>'.
'</ul>'
));
get_current_screen()->add_help_tab(array(
'id'=>'bulk-actions',
'title'=>__('Bulk Actions'),
'content'=>
'<p>'.__('You can also edit or move multiple posts to the trash at once. Select the posts you want to act on using the checkboxes, then select the action you want to take from the Bulk Actions menu and click Apply.').'</p>'.
'<p>'.__('When using Bulk Edit, you can change the metadata (categories, author, etc.) for all selected posts at once. To remove a post from the grouping, just click the x next to its name in the Bulk Edit area that appears.').'</p>'
));
get_current_screen()->set_help_sidebar(
'<p><strong>'.__('For more information:').'</strong></p>'.
'<p>'.__('<a href="http://codex.wordpress.org/Posts_Screen" target="_blank">Documentation on Managing Posts</a>').'</p>'.
'<p>'.__('Pages are similar to Posts in that they have a title, body text, and associated metadata, but they are different in that they are not part of the chronological blog stream, kind of like permanent posts. Pages are not categorized or tagged, but can have a hierarchy. You can nest Pages under other Pages by making one the “Parent” of the other, creating a group of Pages.').'</p>'.
'<p>'.__('Managing Pages is very similar to managing Posts, and the screens can be customized in the same way.').'</p>'.
'<p>'.__('You can also perform the same types of actions, including narrowing the list by using the filters, acting on a Page using the action links that appear when you hover over a row, or using the Bulk Actions menu to edit the metadata for multiple Pages at once.').'</p>'.
get_current_screen()->add_help_tab(array(
'id'=>'overview',
'title'=>__('Overview'),
'content'=>
'<p>'.__('Pages are similar to posts in that they have a title, body text, and associated metadata, but they are different in that they are not part of the chronological blog stream, kind of like permanent posts. Pages are not categorized or tagged, but can have a hierarchy. You can nest pages under other pages by making one the “Parent” of the other, creating a group of pages.').'</p>'
));
get_current_screen()->add_help_tab(array(
'id'=>'managing-pages',
'title'=>__('Managing Pages'),
'content'=>
'<p>'.__('Managing pages is very similar to managing posts, and the screens can be customized in the same way.').'</p>'.
'<p>'.__('You can also perform the same types of actions, including narrowing the list by using the filters, acting on a page using the action links that appear when you hover over a row, or using the Bulk Actions menu to edit the metadata for multiple pages at once.').'</p>'
));
get_current_screen()->set_help_sidebar(
'<p><strong>'.__('For more information:').'</strong></p>'.
'<p>'.__('<a href="http://codex.wordpress.org/Pages_Screen" target="_blank">Documentation on Managing Pages</a>').'</p>'.
if ( isset($_REQUEST['trashed']) && (int) $_REQUEST['trashed'] ) {
printf( _n( 'Item moved to the Trash.', '%s items moved to the Trash.', $_REQUEST['trashed'] ), number_format_i18n( $_REQUEST['trashed'] ) );
$messages[] = sprintf( _n( 'Item moved to the Trash.', '%s items moved to the Trash.', $_REQUEST['trashed'] ), number_format_i18n( $_REQUEST['trashed'] ) );
if ( isset($_REQUEST['untrashed']) && (int) $_REQUEST['untrashed'] ) {
printf( _n( 'Item restored from the Trash.', '%s items restored from the Trash.', $_REQUEST['untrashed'] ), number_format_i18n( $_REQUEST['untrashed'] ) );
$messages[] = sprintf( _n( 'Item restored from the Trash.', '%s items restored from the Trash.', $_REQUEST['untrashed'] ), number_format_i18n( $_REQUEST['untrashed'] ) );
'<p>' . __('You can export a file of your site’s content in order to import it into another installation or platform. The export file will be an XML file format called WXR. Posts, pages, comments, custom fields, categories, and tags can be included. You can choose for the WXR file to include only certain posts or pages by setting the dropdown filters to limit the export by category, author, date range by month, or publishing status.') . '</p>' .
'<p>' . __('Once generated, your WXR file can be imported by another WordPress site or by another blogging platform able to access this format.') . '</p>' .
get_current_screen()->add_help_tab( array(
'id' => 'overview',
'title' => __('Overview'),
'content' => '<p>' . __('You can export a file of your site’s content in order to import it into another installation or platform. The export file will be an XML file format called WXR. Posts, pages, comments, custom fields, categories, and tags can be included. You can choose for the WXR file to include only certain posts or pages by setting the dropdown filters to limit the export by category, author, date range by month, or publishing status.') . '</p>' .
'<p>' . __('Once generated, your WXR file can be imported by another WordPress site or by another blogging platform able to access this format.') . '</p>',
) );
get_current_screen()->set_help_sidebar(
'<p><strong>' . __('For more information:') . '</strong></p>' .
'<p>' . __('<a href="http://codex.wordpress.org/Tools_Export_Screen" target="_blank">Documentation on Export</a>') . '</p>' .
@@ -120,7 +125,7 @@ function export_date_options() {
<p><?php _e('When you click the button below WordPress will create an XML file for you to save to your computer.'); ?></p>
<p><?php _e('This format, which we call WordPress eXtended RSS or WXR, will contain your posts, pages, comments, custom fields, categories, and tags.'); ?></p>
<p><?php _e('Once you’ve saved the download file, you can use the Import function in another WordPress installation to import this site.'); ?></p>
<p><?php _e('Once you’ve saved the download file, you can use the Import function in another WordPress installation to import the content from this site.'); ?></p>
<p><?php printf( __( 'WordPress is Free and open source software, built by a distributed community of mostly volunteer developers from around the world. WordPress comes with some awesome, worldview-changing rights courtesy of its <a href="%s">license</a>, the GPL.' ), 'http://wordpress.org/about/license/' ); ?></p>
<div class="about-text"><?php printf( __( 'Thank you for updating to the latest version! Using WordPress %s will improve your looks, personality, and web publishing experience. Okay, just the last one, but still. :)' ), $display_version ); ?></div>
<p class="about-description"><?php printf( __( 'WordPress is Free and open source software, built by a distributed community of mostly volunteer developers from around the world. WordPress comes with some awesome, worldview-changing rights courtesy of its <a href="%s">license</a>, the GPL.' ), 'http://wordpress.org/about/license/' ); ?></p>
<ol start="0">
<li><?php _e( 'You have the freedom to run the program, for any purpose.' ); ?></li>
<li><?php _e( 'You have access to the source code, the freedom to study how the program works, and the freedom to change it to make it do what you wish.' ); ?></li>
<li><?php _e( 'You have the freedom to redistribute copies of the original program so you can help your neighbor.' ); ?></li>
<li><?php _e( 'You have the freedom to distribute copies of your modified versions to others. By doing this you can give the whole community a chance to benefit from your changes.' ); ?></li>
<li><p><?php _e( 'You have the freedom to run the program, for any purpose.' ); ?></p></li>
<li><p><?php _e( 'You have access to the source code, the freedom to study how the program works, and the freedom to change it to make it do what you wish.' ); ?></p></li>
<li><p><?php _e( 'You have the freedom to redistribute copies of the original program so you can help your neighbor.' ); ?></p></li>
<li><p><?php _e( 'You have the freedom to distribute copies of your modified versions to others. By doing this you can give the whole community a chance to benefit from your changes.' ); ?></p></li>
</ol>
<p><?php printf( __( 'WordPress grows when people like you tell their friends about it, and the thousands of businesses and services that are built on and around WordPress share that fact with their users. We’re flattered every time someone spreads the good word, just make sure to <a href="%s">check out our trademark guidelines</a> first.' ), 'http://wordpressfoundation.org/trademark-policy/' ); ?></p>
@@ -16,9 +16,15 @@ if ( !current_user_can('import') )
$title=__('Import');
add_contextual_help($current_screen,
'<p>'.__('This screen lists links to plugins to import data from blogging/content management platforms. Choose the platform you want to import from, and click Install Now when you are prompted in the popup window. If your platform is not listed, click the link to search the plugin directory for other importer plugins to see if there is one for your platform.').'</p>'.
'<p>'.__('In previous versions of WordPress, all the importers were built-in, but they have been turned into plugins as of version 3.0 since most people only use them once or infrequently.').'</p>'.
get_current_screen()->add_help_tab(array(
'id'=>'overview',
'title'=>__('Overview'),
'content'=>'<p>'.__('This screen lists links to plugins to import data from blogging/content management platforms. Choose the platform you want to import from, and click Install Now when you are prompted in the popup window. If your platform is not listed, click the link to search the plugin directory for other importer plugins to see if there is one for your platform.').'</p>'.
'<p>'.__('In previous versions of WordPress, all importers were built-in. They have been turned into plugins since most people only use them once or infrequently.').'</p>',
));
get_current_screen()->set_help_sidebar(
'<p><strong>'.__('For more information:').'</strong></p>'.
'<p>'.__('<a href="http://codex.wordpress.org/Tools_Import_Screen" target="_blank">Documentation on Import</a>').'</p>'.
@@ -33,6 +39,7 @@ if ( current_user_can('install_plugins') )
'movabletype'=>array(__('Movable Type and TypePad'),__('Install the Movable Type importer to import posts and comments from a Movable Type or TypePad blog.'),'install','mt'),
'opml'=>array(__('Blogroll'),__('Install the blogroll importer to import links in OPML format.'),'install'),
'rss'=>array(__('RSS'),__('Install the RSS importer to import posts from an RSS feed.'),'install'),
'tumblr'=>array(__('Tumblr'),__('Install the Tumblr importer to import posts & media from Tumblr using their API.'),'install'),
'wordpress'=>array('WordPress',__('Install the WordPress importer to import posts, pages, comments, custom fields, categories, and tags from a WordPress export file.'),'install')
echo '<p>' . sprintf( __('If the importer you need is not listed, <a href="%s">search the plugins directory</a> to see if an importer is available.'), esc_url( network_admin_url( 'plugin-install.php?tab=search&type=tag&s=importer' ) ) ) . '</p>';
echo '<p>' . sprintf( __('If the importer you need is not listed, <a href="%s">search the plugin directory</a> to see if an importer is available.'), esc_url( network_admin_url( 'plugin-install.php?tab=search&type=tag&s=importer' ) ) ) . '</p>';
Some files were not shown because too many files have changed in this diff
Show More
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.