wp/wp-admin/includes/bookmark.php
changeset 19 3d72ae0968f4
parent 18 be944660c56a
child 21 48c4eec2b7e6
equal deleted inserted replaced
18:be944660c56a 19:3d72ae0968f4
   161  *     @type string $link_target      Optional. The target element for the anchor tag.
   161  *     @type string $link_target      Optional. The target element for the anchor tag.
   162  *     @type string $link_description Optional. A short description of the link.
   162  *     @type string $link_description Optional. A short description of the link.
   163  *     @type string $link_visible     Optional. 'Y' means visible, anything else means not.
   163  *     @type string $link_visible     Optional. 'Y' means visible, anything else means not.
   164  *     @type int    $link_owner       Optional. A user ID.
   164  *     @type int    $link_owner       Optional. A user ID.
   165  *     @type int    $link_rating      Optional. A rating for the link.
   165  *     @type int    $link_rating      Optional. A rating for the link.
   166  *     @type string $link_updated     Optional. When the link was last updated.
       
   167  *     @type string $link_rel         Optional. A relationship of the link to you.
   166  *     @type string $link_rel         Optional. A relationship of the link to you.
   168  *     @type string $link_notes       Optional. An extended description of or notes on the link.
   167  *     @type string $link_notes       Optional. An extended description of or notes on the link.
   169  *     @type string $link_rss         Optional. A URL of an associated RSS feed.
   168  *     @type string $link_rss         Optional. A URL of an associated RSS feed.
   170  *     @type int    $link_category    Optional. The term ID of the link category.
   169  *     @type int    $link_category    Optional. The term ID of the link category.
   171  *                                    If empty, uses default link category.
   170  *                                    If empty, uses default link category.
   326  * Outputs the 'disabled' message for the WordPress Link Manager.
   325  * Outputs the 'disabled' message for the WordPress Link Manager.
   327  *
   326  *
   328  * @since 3.5.0
   327  * @since 3.5.0
   329  * @access private
   328  * @access private
   330  *
   329  *
   331  * @global string $pagenow
   330  * @global string $pagenow The filename of the current screen.
   332  */
   331  */
   333 function wp_link_manager_disabled_message() {
   332 function wp_link_manager_disabled_message() {
   334 	global $pagenow;
   333 	global $pagenow;
   335 
   334 
   336 	if ( ! in_array( $pagenow, array( 'link-manager.php', 'link-add.php', 'link.php' ), true ) ) {
   335 	if ( ! in_array( $pagenow, array( 'link-manager.php', 'link-add.php', 'link.php' ), true ) ) {