Ticket #22451: 22451-posts.diff
File 22451-posts.diff, 14.7 KB (added by , 12 years ago) |
---|
-
wp-admin/edit-tags.php
188 188 if ( 'category' == $taxonomy || 'link_category' == $taxonomy || 'post_tag' == $taxonomy ) { 189 189 $help =''; 190 190 if ( 'category' == $taxonomy ) 191 $help = '<p>' . sprintf(__( 'You can use categoriesto 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>';191 $help = '<p>' . sprintf(__( 'You can use <strong>categories</strong> 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>'; 192 192 elseif ( 'link_category' == $taxonomy ) 193 $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>';193 $help = '<p>' . __( 'You can create groups of links by using <strong>Link Categories</strong>. Link Category names must be unique and Link Categories are separate from the categories you use for posts.' ) . '</p>'; 194 194 else 195 195 $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>'; 196 196 … … 201 201 202 202 get_current_screen()->add_help_tab( array( 203 203 'id' => 'overview', 204 'title' => __( 'Overview'),204 'title' => __( 'Overview' ), 205 205 'content' => $help, 206 206 ) ); 207 207 … … 218 218 $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>'; 219 219 220 220 if ( 'category' == $taxonomy ) 221 $help .= '<li>' . __( '<strong>Parent</strong> - Categories, unlike tags, can have a hierarchy. You might have a Jazz category, and under that have child rencategories for Bebop and Big Band. Totally optional. To create a subcategory, just choose another category from the Parent dropdown.' ) . '</li>';221 $help .= '<li>' . __( '<strong>Parent</strong> - Categories, unlike tags, can have a hierarchy. You might have a Jazz category, and under that have child categories for Bebop and Big Band. Totally optional. To create a subcategory, just choose another category from the Parent dropdown.' ) . '</li>'; 222 222 223 223 $help .= '<li>' . __( '<strong>Description</strong> - The description is not prominent by default; however, some themes may display it.' ) . '</li>' . 224 224 '</ul>' . -
wp-admin/edit-form-advanced.php
173 173 add_screen_option('layout_columns', array('max' => 2, 'default' => 2) ); 174 174 175 175 if ( 'post' == $post_type ) { 176 $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>';176 $customize_display = '<p>' . __( 'The Title field and the big Post Editor area are fixed in place, but you can reposition all the other boxes using drag and drop. You can also 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>'; 177 177 178 178 get_current_screen()->add_help_tab( array( 179 179 'id' => 'customize-display', … … 181 181 'content' => $customize_display, 182 182 ) ); 183 183 184 $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>'; 185 $title_and_editor .= '<p>' . __('<strong>Post editor</strong> - Enter the text for your post. There are two modes of editing: Visual and Text. 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 Text mode allows you to enter HTML along with your post text. Line breaks will be converted to paragraphs automatically. 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 Text 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>'; 184 $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>'; 185 $title_and_editor .= '<p>' . __( '<strong>Post Editor</strong> - Enter the content for your post in this area. There are two modes of editing, Visual and Text mode, chosen by clicking on the appropriate tabs. Visual mode gives you a WYSIWYG editor. Click the last icon in the row to get a second row of controls. Text mode allows you to enter HTML along with your post content. Line breaks will be converted to paragraphs automatically.' ) . '</p>'; 186 $title_and_editor .= '<p>' . __( '<strong>Distraction-Free Writing</strong> - You can visit the distraction-free writing screen via the Fullscreen icon in Visual mode (second to last in the top row) or the Fullscreen button in Text 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>'; 186 187 187 188 get_current_screen()->add_help_tab( array( 188 189 'id' => 'title-post-editor', 189 'title' => __( 'Title and Post Editor'),190 'title' => __( 'Title and Post Editor' ), 190 191 'content' => $title_and_editor, 191 192 ) ); 192 193 193 $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>'; 194 $inserting_media = '<p>' . __( '<strong>Add Media</strong> - You can upload and insert media (images, galleries, audio, etc.) by clicking the Add Media button above the Post Editor and following the directions.' ) . '</p>'; 195 $inserting_media .= '<p>' . __( '<strong>Embed Media</strong> - Since 2.9, WordPress has supported embedding media via the oEmbed protocol. oEmbed allows you quickly and easily embed media just by copying and pasting a URL from an approved provider into the Post Editor. Please refer to the Codex for <a href="http://codex.wordpress.org/Embeds#oEmbed">a full list of supported providers</a>. You can also embed media from an external URL by clicking the Add Media button and navigating to the Embed From URL tab.' ); 194 196 197 get_current_screen()->add_help_tab( array( 198 'id' => 'inserting-media', 199 'title' => __( 'Inserting Media' ), 200 'content' => $inserting_media, 201 ) ); 202 203 $publish_box = '<p>' . __( 'Several boxes on this screen contain settings for how your content will be published, including:' ) . '</p>'; 204 $publish_box .= '<ul><li>' . __( '<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.' ) . '</li>'; 205 195 206 if ( current_theme_supports( 'post-formats' ) && post_type_supports( 'post', 'post-formats' ) ) { 196 $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>';207 $publish_box .= '<li>' . __( '<strong>Format</strong> - Post Formats designate 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.' ) . '</li>'; 197 208 } 198 209 199 210 if ( current_theme_supports( 'post-thumbnails' ) && post_type_supports( 'post', 'thumbnail' ) ) { 200 $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>';211 $publish_box .= '<li>' . __('<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.') . '</li>'; 201 212 } 202 213 214 $publish_box .= '</ul>'; 215 203 216 get_current_screen()->add_help_tab( array( 204 'id' => 'publish- box',205 'title' => __( 'Publish Box'),217 'id' => 'publish-settings', 218 'title' => __( 'Publishing Settings' ), 206 219 'content' => $publish_box, 207 220 ) ); 208 221 … … 231 244 'content' => $about_pages, 232 245 ) ); 233 246 247 $adding_page_media = '<p>' . __( '<strong>Inserting Media</strong> - Just as with Posts, you can upload and insert media (images, galleries, audio, etc.) by clicking the Add Media button above the Page Editor and following the directions. You can also embed media via the oEmbed protocol. oEmbed allows you quickly and easily embed media just by copying and pasting a URL from an approved provider into the Page Editor. Please refer to the Codex for <a href="http://codex.wordpress.org/Embeds#oEmbed">a full list of supported providers</a>.' ); 248 249 get_current_screen()->add_help_tab( array( 250 'id' => 'inserting-page-media', 251 'title' => __( 'Inserting Media' ), 252 'content' => $adding_page_media, 253 ) ); 254 234 255 $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>' . 235 256 '<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>' . 236 257 '<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>'; 237 258 238 259 get_current_screen()->add_help_tab( array( 239 260 'id' => 'page-attributes', 240 'title' => __( 'Page Attributes'),261 'title' => __( 'Page Attributes' ), 241 262 'content' => $page_attributes, 242 263 ) ); 243 264 -
wp-admin/edit.php
181 181 ) ); 182 182 get_current_screen()->add_help_tab( array( 183 183 'id' => 'bulk-actions', 184 'title' => __( 'Bulk Actions'),184 'title' => __( 'Bulk Actions' ), 185 185 'content' => 186 186 '<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>' . 187 '<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 xnext to its name in the Bulk Edit area that appears.') . '</p>'187 '<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>' 188 188 ) ); 189 189 190 190 get_current_screen()->set_help_sidebar( … … 196 196 } elseif ( 'page' == $post_type ) { 197 197 get_current_screen()->add_help_tab( array( 198 198 'id' => 'overview', 199 'title' => __( 'Overview'),199 'title' => __( 'Overview' ), 200 200 'content' => 201 '<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>'201 '<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>' 202 202 ) ); 203 203 get_current_screen()->add_help_tab( array( 204 204 'id' => 'managing-pages', 205 205 'title' => __('Managing Pages'), 206 206 'content' => 207 '<p>' . __('Managing pages is very similar to managing posts, and the screens can be customized in the same way.') . '</p>' .207 '<p>' . __('Managing Pages is very similar to managing Posts, and the screens can be customized in the same way.') . '</p>' . 208 208 '<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>' 209 209 ) ); 210 210