Changeset 19528
- Timestamp:
- 12/01/2011 04:51:35 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 26 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/about.php
r19524 r19528 36 36 <div class="changelog"> 37 37 <h3><?php _e( 'Easier Uploading' ); ?></h3> 38 38 39 39 <div class="feature-section images-stagger-right"> 40 40 <div class="feature-images"> … … 57 57 <div class="changelog"> 58 58 <h3><?php _e( 'Dashboard Design' ); ?></h3> 59 59 60 60 <div class="feature-section text-features"> 61 61 <h4><?php _e( 'Flyout Menus' ); ?></h4> 62 62 <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> 63 63 64 64 <div> 65 65 <h4><?php _e( 'Header + Admin Bar = Toolbar' ); ?></h4> … … 67 67 </div> 68 68 </div> 69 69 70 70 <div class="feature-section screenshot-features"> 71 71 <div class="angled-left"> … … 97 97 <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> 98 98 99 <h4><?php _e( 'Dashboard Welcome' ); ?></h4> 99 <h4><?php _e( 'Dashboard Welcome' ); ?></h4> 100 100 <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> 101 101 </div> 102 102 </div> 103 103 104 104 </div> 105 105 … … 122 122 </div> 123 123 </div> 124 124 125 125 </div> 126 126 … … 157 157 </div> 158 158 </div> 159 159 160 160 </div> 161 161 -
trunk/wp-admin/css/install.dev.css
r19331 r19528 9 9 margin: 2em auto; 10 10 padding: 1em 2em; 11 -webkit-border-radius: 3px; 11 -webkit-border-radius: 3px; 12 12 border-radius: 3px; 13 13 border: 1px solid #dfdfdf; -
trunk/wp-admin/css/wp-admin.dev.css
r19495 r19528 4832 4832 min-width: 770px; 4833 4833 max-width: 1050px; /* readability */ 4834 4834 4835 4835 font-size: 15px; 4836 4836 } … … 4960 4960 .about-wrap .feature-section.text-features { 4961 4961 width: 31%; 4962 4962 4963 4963 float: left; 4964 4964 overflow: visible; … … 4970 4970 width: 67%; 4971 4971 margin-top: 1.33em; 4972 4972 4973 4973 float: right; 4974 4974 clear: none; … … 5010 5010 margin: 0.5em 0 0.5em 5px; 5011 5011 max-width: 100%; 5012 5012 5013 5013 float: none; 5014 5014 } -
trunk/wp-admin/edit-comments.php
r19511 r19528 115 115 'id' => 'overview', 116 116 'title' => __('Overview'), 117 'content' => 117 'content' => 118 118 '<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>' 119 119 ) ); … … 121 121 'id' => 'moderating-comments', 122 122 'title' => __('Moderating Comments'), 123 'content' => 123 'content' => 124 124 '<ul>' . 125 125 '<li>' . __( 'A yellow row means the comment is waiting for you to moderate it.' ) . '</li>' . … … 129 129 '<li>' . __( 'Many people take advantage of keyboard shortcuts to moderate their comments more quickly. Use the link to the side to learn more.' ) . '</li>' . 130 130 '</ul>' 131 ) ); 131 ) ); 132 132 133 133 get_current_screen()->set_help_sidebar( -
trunk/wp-admin/edit-tags.php
r19514 r19528 224 224 '</ul>' . 225 225 '<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>'; 226 226 227 227 get_current_screen()->add_help_tab( array( 228 228 'id' => 'adding-terms', -
trunk/wp-admin/edit.php
r19511 r19528 153 153 'id' => 'overview', 154 154 'title' => __('Overview'), 155 'content' => 155 'content' => 156 156 '<p>' . __('This screen provides access to all of your posts. You can customize the display of this screen to suit your workflow.') . '</p>' 157 157 ) ); … … 159 159 'id' => 'screen-content', 160 160 'title' => __('Screen Content'), 161 'content' => 161 'content' => 162 162 '<p>' . __('You can customize the display of this screen’s contents in a number of ways:') . '</p>' . 163 163 '<ul>' . … … 171 171 'id' => 'action-links', 172 172 'title' => __('Available Actions'), 173 'content' => 173 'content' => 174 174 '<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>' . 175 175 '<ul>' . … … 178 178 '<li>' . __('<strong>Trash</strong> removes your post from this list and places it in the trash, from which you can permanently delete it.') . '</li>' . 179 179 '<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>' . 180 '</ul>' 180 '</ul>' 181 181 ) ); 182 182 get_current_screen()->add_help_tab( array( 183 183 'id' => 'bulk-actions', 184 184 'title' => __('Bulk Actions'), 185 'content' => 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 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>' … … 193 193 '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>' 194 194 ); 195 195 196 196 } elseif ( 'page' == $post_type ) { 197 197 get_current_screen()->add_help_tab( array( 198 198 'id' => 'overview', 199 199 'title' => __('Overview'), 200 'content' => 200 'content' => 201 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 ) ); … … 204 204 'id' => 'managing-pages', 205 205 'title' => __('Managing Pages'), 206 'content' => 206 'content' => 207 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>' -
trunk/wp-admin/includes/class-wp-media-list-table.php
r19385 r19528 304 304 <a href="<?php echo get_edit_post_link( $post->post_parent ); ?>"> 305 305 <?php echo $title ?></a> 306 <?php } else { 307 echo $title; 306 <?php } else { 307 echo $title; 308 308 } ?></strong>, 309 309 <?php echo get_the_time( __( 'Y/m/d' ) ); ?> -
trunk/wp-admin/includes/dashboard.php
r19418 r19528 1343 1343 <?php 1344 1344 endif; 1345 1345 1346 1346 if ( current_theme_supports( 'widgets' ) ) : ?> 1347 1347 <li><?php echo sprintf( __( '<a href="%s">Add some widgets</a>' ), esc_url( admin_url( 'widgets.php' ) ) ); ?></li> -
trunk/wp-admin/includes/media.php
r19494 r19528 1612 1612 $form_action_url = apply_filters('media_upload_form_url', $form_action_url, $type); 1613 1613 $form_class = 'media-upload-form validate'; 1614 1614 1615 1615 if ( get_user_setting('uploader') ) 1616 1616 $form_class .= ' html-uploader'; -
trunk/wp-admin/js/common.dev.js
r19505 r19528 169 169 node.attr('tabindex', '0').attr('tabindex', tab); 170 170 }; 171 171 172 172 $('#collapse-menu', menu).click(function(){ 173 173 var body = $(document.body); -
trunk/wp-admin/js/editor.dev.js
r19319 r19528 4 4 switchto: function(el) { 5 5 var aid = el.id, l = aid.length, id = aid.substr(0, l - 5), mode = aid.substr(l - 4); 6 6 7 7 this.go(id, mode); 8 8 }, 9 9 10 10 go: function(id, mode) { // mode can be 'html', 'tmce', or 'toggle' 11 11 id = id || 'content'; 12 12 mode = mode || 'toggle'; 13 13 14 14 var t = this, ed = tinyMCE.get(id), wrap_id, txtarea_el, dom = tinymce.DOM; 15 15 … … 22 22 else 23 23 mode = 'tmce'; 24 } 24 } 25 25 26 26 if ( 'tmce' == mode || 'tinymce' == mode ) { -
trunk/wp-admin/link-manager.php
r19445 r19528 44 44 'id' => 'overview', 45 45 'title' => __('Overview'), 46 'content' => 46 'content' => 47 47 '<p>' . sprintf(__('You can add links here to be displayed on your site, usually using <a href="%s">Widgets</a>. By default, links to several sites in the WordPress community are included as examples.'), 'widgets.php') . '</p>' . 48 48 '<p>' . __('Links may be separated into Link Categories; these are different than the categories used on your posts.') . '</p>' . … … 52 52 'id' => 'deleting-links', 53 53 'title' => __('Deleting Links'), 54 'content' => 54 'content' => 55 55 '<p>' . __('If you delete a link, it will be removed permanently, as Links do not have a Trash function yet.') . '</p>' 56 56 ) ); -
trunk/wp-admin/media-upload.php
r19511 r19528 71 71 '<li>' . __('Clicking <strong>Select Files</strong> opens a navigation window showing you files in your operating system. Selecting <strong>Open</strong> after clicking on the file you want activates a progress bar on the uploader screen.') . '</li>' . 72 72 '</ul>' . 73 '<p>' . __('Basic image editing is available after upload is complete. Make sure you click Save before leaving this screen.') . '</p>' 73 '<p>' . __('Basic image editing is available after upload is complete. Make sure you click Save before leaving this screen.') . '</p>' 74 74 ) ); 75 75 get_current_screen()->set_help_sidebar( … … 80 80 81 81 require_once('./admin-header.php'); 82 82 83 83 $form_class = 'media-upload-form type-form validate'; 84 84 -
trunk/wp-admin/menu-header.php
r19486 r19528 60 60 $class[] = 'wp-not-current-submenu'; 61 61 if ( ! empty( $submenu_items ) ) 62 $aria_attributes .= ' aria-haspopup="true"'; 62 $aria_attributes .= ' aria-haspopup="true"'; 63 63 } 64 64 -
trunk/wp-admin/nav-menus.php
r19510 r19528 457 457 'id' => 'create-menus', 458 458 'title' => __('Create Menus'), 459 'content' => 459 'content' => 460 460 '<p>' . __('To create a new custom menu, click on the + tab, give the menu a name, and click Create Menu. Next, add menu items from the appropriate boxes. You’ll be able to edit the information for each menu item, and can drag and drop to put them in order. You can also drag a menu item a little to the right to make it a submenu, to create menus with hierarchy. Drop the item into its new nested placement when the dotted rectangle target shifts over, also a little to the right. Don’t forget to click Save when you’re finished.') . '</p>' 461 461 ) ); -
trunk/wp-admin/plugin-editor.php
r19445 r19528 114 114 'id' => 'overview', 115 115 'title' => __('Overview'), 116 'content' => 116 'content' => 117 117 '<p>' . __('You can use the editor to make changes to any of your plugins’ individual PHP files. Be aware that if you make changes, plugins updates will overwrite your customizations.') . '</p>' . 118 118 '<p>' . __('Choose a plugin to edit from the menu in the upper right and click the Select button. Click once on any file name to load it in the editor, and make your changes. Don’t forget to save your changes (Update File) when you’re finished.') . '</p>' . -
trunk/wp-admin/plugin-install.php
r19510 r19528 39 39 'id' => 'overview', 40 40 'title' => __('Overview'), 41 'content' => 41 'content' => 42 42 '<p>' . sprintf(__('Plugins hook into WordPress to extend its functionality with custom features. Plugins are developed independently from the core WordPress application by thousands of developers all over the world. All plugins in the official <a href="%s" target="_blank">WordPress.org Plugin Directory</a> are compatible with the license WordPress uses. You can find new plugins to install by searching or browsing the Directory right here in your own Plugins section.'), 'http://wordpress.org/extend/plugins/') . '</p>' 43 43 ) ); … … 45 45 'id' => 'adding-plugins', 46 46 'title' => __('Adding Plugins'), 47 'content' => 47 'content' => 48 48 '<p>' . __('If you know what you’re looking for, Search is your best bet. The Search screen has options to search the WordPress.org Plugin Directory for a particular Term, Author, or Tag. You can also search the directory by selecting a popular tags. Tags in larger type mean more plugins have been labeled with that tag.') . '</p>' . 49 49 '<p>' . __('If you just want to get an idea of what’s available, you can browse Featured, Popular, Newest, and Recently Updated plugins by using the links in the upper left of the screen. These sections rotate regularly.') . '</p>' . -
trunk/wp-admin/plugins.php
r19510 r19528 322 322 'id' => 'overview', 323 323 'title' => __('Overview'), 324 'content' => 324 'content' => 325 325 '<p>' . __('Plugins extend and expand the functionality of WordPress. Once a plugin is installed, you may activate it or deactivate it here.') . '</p>' . 326 326 '<p>' . sprintf(__('You can find additional plugins for your site by using the <a href="%1$s">Plugin Browser/Installer</a> functionality or by browsing the <a href="%2$s" target="_blank">WordPress Plugin Directory</a> directly and installing new plugins manually. To manually install a plugin you generally just need to upload the plugin file into your <code>/wp-content/plugins</code> directory. Once a plugin has been installed, you can activate it here.'), 'plugin-install.php', 'http://wordpress.org/extend/plugins/') . '</p>' … … 329 329 'id' => 'compatibility-problems', 330 330 'title' => __('Troubleshooting'), 331 'content' => 331 'content' => 332 332 '<p>' . __('Most of the time, plugins play nicely with the core of WordPress and with other plugins. Sometimes, though, a plugin’s code will get in the way of another plugin, causing compatibility issues. If your site starts doing strange things, this may be the problem. Try deactivating all your plugins and re-activating them in various combinations until you isolate which one(s) caused the issue.') . '</p>' . 333 333 '<p>' . sprintf( __('If something goes wrong with a plugin and you can’t use WordPress, delete or rename that file in the <code>%s</code> directory and it will be automatically deactivated.'), WP_PLUGIN_DIR) . '</p>' -
trunk/wp-admin/theme-editor.php
r19445 r19528 24 24 'id' => 'overview', 25 25 'title' => __('Overview'), 26 'content' => 26 'content' => 27 27 '<p>' . __('You can use the Theme Editor to edit the individual CSS and PHP files which make up your theme.') . '</p> 28 28 <p>' . __('Begin by choosing a theme to edit from the dropdown menu and clicking Select. A list then appears of all the template files. Clicking once on any file name causes the file to appear in the large Editor box.') . '</p> -
trunk/wp-admin/update-core.php
r19524 r19528 45 45 $form_action = 'update-core.php?action=do-core-reinstall'; 46 46 } else { 47 $php_compat = version_compare( $php_version, $update->php_version, '>=' ); 47 $php_compat = version_compare( $php_version, $update->php_version, '>=' ); 48 48 if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) ) 49 49 $mysql_compat = true; … … 436 436 'id' => 'overview', 437 437 'title' => __('Overview'), 438 'content' => 438 'content' => 439 439 '<p>' . __('This screen lets you update to the latest version of WordPress as well as update your themes and plugins from the WordPress.org repository. When updates are available, the number of available updates will appear in a bubble on the left hand menu as a notification.') . '</p>' . 440 440 '<p>' . __('It is very important to keep your WordPress installation up to date for security reasons, so when you see a number appear, make sure you take the time to update, which is an easy process.') . '</p>' … … 444 444 'id' => 'how-to-update', 445 445 'title' => __('How to Update'), 446 'content' => 446 'content' => 447 447 '<p>' . __('Updating your WordPress installation is a simple one-click procedure; just click on the Update button when it says a new version is available.') . '</p>' . 448 448 '<p>' . __('To update themes or plugins from this screen, use the checkboxes to make your selection and click on the appropriate Update button. Check the box at the top of the Themes or Plugins section to select all and update them all at once.') . '</p>' -
trunk/wp-admin/upload.php
r19511 r19528 149 149 'id' => 'overview', 150 150 'title' => __('Overview'), 151 'content' => 151 'content' => 152 152 '<p>' . __( 'All the files you’ve uploaded are listed in the Media Library, with the most recent uploads listed first. You can use the Screen Options tab to customize the display of this screen.' ) . '</p>' . 153 153 '<p>' . __( 'You can narrow the list by file type/status using the text link filters at the top of the screen. You also can refine the list by date using the dropdown menu above the media table.' ) . '</p>' -
trunk/wp-admin/user-new.php
r19509 r19528 152 152 $help .= '<p>' . __('Remember to click the Add New User button at the bottom of this screen when you are finished.') . '</p>'; 153 153 154 get_current_screen()->add_help_tab( array( 155 'id' => 'overview', 156 'title' => __('Overview'), 154 get_current_screen()->add_help_tab( array( 155 'id' => 'overview', 156 'title' => __('Overview'), 157 157 'content' => $help, 158 158 ) ); 159 159 160 get_current_screen()->add_help_tab( array( 161 'id' => 'user-roles', 162 'title' => __('User Roles'), 160 get_current_screen()->add_help_tab( array( 161 'id' => 'user-roles', 162 'title' => __('User Roles'), 163 163 'content' => '<p>' . __('Here is a basic overview of the different user roles and the permissions associated with each one:') . '</p>' . 164 164 '<ul>' . -
trunk/wp-admin/users.php
r19509 r19528 21 21 22 22 // contextual help - choose Help on the top right of admin panel to preview this. 23 get_current_screen()->add_help_tab( array( 23 get_current_screen()->add_help_tab( array( 24 24 'id' => 'overview', 25 'title' => __('Overview'), 25 'title' => __('Overview'), 26 26 'content' => '<p>' . __('This screen lists all the existing users for your site. Each user has one of five defined roles as set by the site admin: Site Administrator, Editor, Author, Contributor, or Subscriber. Users with roles other than Administrator will see fewer options in the dashboard navigation when they are logged in, based on their role.') . '</p>' . 27 27 '<p>' . __('To add a new user for your site, click the Add New button at the top of the screen or Add New in the Users menu section.') . '</p>' 28 28 ) ) ; 29 29 30 get_current_screen()->add_help_tab( array( 30 get_current_screen()->add_help_tab( array( 31 31 'id' => 'screen-display', 32 'title' => __('Screen Display'), 33 'content' => '<p>' . __('You can customize the display of this screen in a number of ways:') . '</p>' . 34 '<ul>' . 35 '<li>' . __('You can hide/display columns based on your needs and decide how many users to list per screen using the Screen Options tab.') . '</li>' . 36 '<li>' . __('You can filter the list of users by User Role using the text links in the upper left to show All, Administrator, Editor, Author, Contributor, or Subscriber. The default view is to show all users. Unused User Roles are not listed.') . '</li>' . 37 '<li>' . __('You can view all posts made by a user by clicking on the number under the Posts column.') . '</li>' . 38 '</ul>' 39 ) ); 40 41 $help = '<p>' . __('Hovering over a row in the users list will display action links that allow you to manage users. You can perform the following actions:') . '</p>' . 32 'title' => __('Screen Display'), 33 'content' => '<p>' . __('You can customize the display of this screen in a number of ways:') . '</p>' . 34 '<ul>' . 35 '<li>' . __('You can hide/display columns based on your needs and decide how many users to list per screen using the Screen Options tab.') . '</li>' . 36 '<li>' . __('You can filter the list of users by User Role using the text links in the upper left to show All, Administrator, Editor, Author, Contributor, or Subscriber. The default view is to show all users. Unused User Roles are not listed.') . '</li>' . 37 '<li>' . __('You can view all posts made by a user by clicking on the number under the Posts column.') . '</li>' . 38 '</ul>' 39 ) ); 40 41 $help = '<p>' . __('Hovering over a row in the users list will display action links that allow you to manage users. You can perform the following actions:') . '</p>' . 42 42 '<ul>' . 43 43 '<li>' . __('Edit takes you to the editable profile screen for that user. You can also reach that screen by clicking on the username.') . '</li>'; … … 50 50 $help .= '</ul>'; 51 51 52 get_current_screen()->add_help_tab( array( 53 'id' => 'actions', 54 'title' => __('Actions'), 52 get_current_screen()->add_help_tab( array( 53 'id' => 'actions', 54 'title' => __('Actions'), 55 55 'content' => $help, 56 56 ) ); -
trunk/wp-admin/widgets.php
r19510 r19528 39 39 'id' => 'overview', 40 40 'title' => __('Overview'), 41 'content' => 41 'content' => 42 42 '<p>' . __('Widgets are independent sections of content that can be placed into any widgetized area provided by your theme (commonly called sidebars). To populate your sidebars/widget areas with individual widgets, drag and drop the title bars into the desired area. By default, only the first widget area is expanded. To populate additional widget areas, click on their title bars to expand them.') . '</p> 43 43 <p>' . __('The Available Widgets section contains all the widgets you can choose from. Once you drag a widget into a sidebar, it will open to allow you to configure its settings. When you are happy with the widget settings, click the Save button and the widget will go live on your site. If you click Delete, it will remove the widget.') . '</p>' … … 46 46 'id' => 'removing-reusing', 47 47 'title' => __('Removing and Reusing'), 48 'content' => 48 'content' => 49 49 '<p>' . __('If you want to remove the widget but save its setting for possible future use, just drag it into the Inactive Widgets area. You can add them back anytime from there. This is especially helpful when you switch to a theme with fewer or different widget areas.') . '</p> 50 50 <p>' . __('Widgets may be used multiple times. You can give each widget a title, to display on your site, but it’s not required.') . '</p> … … 54 54 'id' => 'missing-widgets', 55 55 'title' => __('Missing Widgets'), 56 'content' => 56 'content' => 57 57 '<p>' . __('Many themes show some sidebar widgets by default until you edit your sidebars, but they are not automatically displayed in your sidebar management tool. After you make your first widget change, you can re-add the default widgets by adding them from the Available Widgets area.') . '</p>' . 58 58 '<p>' . __('When changing themes, there is often some variation in the number and setup of widget areas/sidebars and sometimes these conflicts make the transition a bit less smooth. If you changed themes and seem to be missing widgets, scroll down on this screen to the Inactive area, where all your widgets and their settings will have been saved.') . '</p>' -
trunk/wp-includes/functions.wp-scripts.php
r19218 r19528 81 81 * @param string $handle The script handle that was registered or used in script-loader 82 82 * @param string $object_name Name for the created JS object. This is passed directly so it should be qualified JS variable /[a-zA-Z0-9_]+/ 83 * @param array $l10n Associative PHP array containing the translated strings. HTML entities will be converted and the array will be JSON encoded. 83 * @param array $l10n Associative PHP array containing the translated strings. HTML entities will be converted and the array will be JSON encoded. 84 84 * @return bool Whether the localization was added successfully. 85 85 */ 86 function wp_localize_script( $handle, $object_name, $l10n ) { 86 function wp_localize_script( $handle, $object_name, $l10n ) { 87 87 global $wp_scripts; 88 88 if ( ! is_a( $wp_scripts, 'WP_Scripts' ) ) { … … 94 94 } 95 95 96 return $wp_scripts->localize( $handle, $object_name, $l10n ); 97 } 96 return $wp_scripts->localize( $handle, $object_name, $l10n ); 97 } 98 98 99 99 /** -
trunk/wp-includes/general-template.php
r19432 r19528 1790 1790 * Using this function is the proper way to output all needed components for both TinyMCE and Quicktags. 1791 1791 * _WP_Editors should not be used directly. See http://core.trac.wordpress.org/ticket/17144. 1792 * 1792 * 1793 1793 * NOTE: Once initialized the TinyMCE editor cannot be safely moved in the DOM. For that reason 1794 1794 * running wp_editor() inside of a metabox is not a good idea unless only Quicktags is used. … … 1796 1796 * containing TinyMCE: 'edit_page_form', 'edit_form_advanced' and 'dbx_post_sidebar'. 1797 1797 * See http://core.trac.wordpress.org/ticket/19173 for more information. 1798 * 1798 * 1799 1799 * @see wp-includes/class-wp-editor.php 1800 1800 * @since 3.3
Note: See TracChangeset
for help on using the changeset viewer.