mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-06 23:58:03 +00:00
Docs: Use markdown instead of HTML for code formatting.
Fixes phpdoc usage in [36622], [36608], [35724], [35307]. See #35898. See #35869. See #34738. See #33552. git-svn-id: https://develop.svn.wordpress.org/trunk@36645 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -196,7 +196,7 @@ function is_nav_menu_item( $menu_item_id = 0 ) {
|
||||
/**
|
||||
* Creates a navigation menu.
|
||||
*
|
||||
* Note that <code>$menu_name</code> is expected to be pre-slashed.
|
||||
* Note that `$menu_name` is expected to be pre-slashed.
|
||||
*
|
||||
* @since 3.0.0
|
||||
*
|
||||
@@ -255,7 +255,7 @@ function wp_delete_nav_menu( $menu ) {
|
||||
/**
|
||||
* Save the properties of a menu or create a new menu with those properties.
|
||||
*
|
||||
* Note that <code>$menu_data</code> is expected to be pre-slashed.
|
||||
* Note that `$menu_data` is expected to be pre-slashed.
|
||||
*
|
||||
* @since 3.0.0
|
||||
*
|
||||
@@ -351,7 +351,7 @@ function wp_update_nav_menu_object( $menu_id = 0, $menu_data = array() ) {
|
||||
* Save the properties of a menu item or create a new one.
|
||||
*
|
||||
* The menu-item-title, menu-item-description, and menu-item-attr-title are expected
|
||||
* to be pre-slashed since they are passed directly into <code>wp_insert_post()</code>.
|
||||
* to be pre-slashed since they are passed directly into `wp_insert_post()`.
|
||||
*
|
||||
* @since 3.0.0
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user