mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-07 14:14:36 +00:00
General: First pass at replacing Codex URLs with a corresponding HelpHub or DevHub article.
Props ianbelanger, tobifjellner, SergeyBiryukov. See #47771. git-svn-id: https://develop.svn.wordpress.org/trunk@45674 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1565,7 +1565,7 @@ function _post_type_meta_capabilities( $capabilities = null ) {
|
||||
* by `$post_type_object->label`. Default is 'Posts' / 'Pages'.
|
||||
* - `singular_name` - Name for one object of this post type. Default is 'Post' / 'Page'.
|
||||
* - `add_new` - Default is 'Add New' for both hierarchical and non-hierarchical types.
|
||||
* When internationalizing this string, please use a {@link https://codex.wordpress.org/I18n_for_WordPress_Developers#Disambiguation_by_context gettext context}
|
||||
* When internationalizing this string, please use a {@link https://developer.wordpress.org/plugins/internationalization/how-to-internationalize-your-plugin/#disambiguation-by-context gettext context}
|
||||
* matching your post type. Example: `_x( 'Add New', 'product', 'textdomain' );`.
|
||||
* - `add_new_item` - Label for adding a new singular item. Default is 'Add New Post' / 'Add New Page'.
|
||||
* - `edit_item` - Label for editing a singular item. Default is 'Edit Post' / 'Edit Page'.
|
||||
|
||||
Reference in New Issue
Block a user