[ Index ]

WordPress Cross Reference

title

Body

[close]

/wp-admin/includes/ -> deprecated.php (summary)

Deprecated admin functions from past WordPress versions. You shouldn't use these functions and look for the alternatives instead. The functions will be removed in a later version.

File Size: 1176 lines (29 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 1 file
 wp-admin/includes/class-wp-upgrader.php

Defines 1 class

WP_User_Search:: (54 methods):
  WP_User_Search()
  prepare_query()
  query()
  prepare_vars_for_template_usage()
  do_paging()
  get_results()
  page_links()
  results_are_paged()
  is_search()
  get_others_unpublished_posts()
  get_others_drafts()
  get_others_pending()
  wp_dashboard_quick_press_output()
  wp_tiny_mce()
  wp_preload_dialogs()
  wp_print_editor_js()
  wp_quicktags()
  screen_layout()
  screen_options()
  screen_meta()
  favorite_actions()
  media_upload_image()
  media_upload_audio()
  media_upload_video()
  media_upload_file()
  type_url_form_image()
  type_url_form_audio()
  type_url_form_video()
  type_url_form_file()
  add_contextual_help()
  get_allowed_themes()
  get_broken_themes()
  current_theme_info()
  _insert_into_post_button()
  _media_button()
  get_post_to_edit()
  get_default_page_to_edit()
  wp_create_thumbnail()
  wp_nav_menu_locations_meta_box()
  wp_update_core()
  wp_update_plugin()
  wp_update_theme()
  the_attachment_links()
  screen_icon()
  get_screen_icon()
  wp_dashboard_incoming_links_output()
  wp_dashboard_secondary_output()
  wp_dashboard_incoming_links()
  wp_dashboard_incoming_links_control()
  wp_dashboard_plugins()
  wp_dashboard_primary_control()
  wp_dashboard_recent_comments_control()
  wp_dashboard_secondary()
  wp_dashboard_secondary_control()

Defines 54 functions

  tinymce_include()
  documentation_link()
  wp_shrink_dimensions()
  get_udims()
  dropdown_categories()
  dropdown_link_categories()
  get_real_file_to_edit()
  wp_dropdown_cats()
  add_option_update_handler()
  remove_option_update_handler()
  codepress_get_lang()
  codepress_footer_js()
  use_codepress()
  get_author_user_ids()
  get_editable_authors()
  get_editable_user_ids()
  get_nonauthor_user_ids()

Class: WP_User_Search  - X-Ref

WordPress User Search class.

WP_User_Search($search_term = '', $page = '', $role = '')   X-Ref
PHP4 Constructor - Sets up the object properties.

param: string $search_term Search terms string.
param: int $page Optional. Page ID.
param: string $role Role name.
return: WP_User_Search

prepare_query()   X-Ref
{@internal Missing Short Description}}

{@internal Missing Long Description}}


query()   X-Ref
{@internal Missing Short Description}}

{@internal Missing Long Description}}


prepare_vars_for_template_usage()   X-Ref
{@internal Missing Short Description}}

{@internal Missing Long Description}}


do_paging()   X-Ref
{@internal Missing Short Description}}

{@internal Missing Long Description}}


get_results()   X-Ref
{@internal Missing Short Description}}

{@internal Missing Long Description}}

return: unknown

page_links()   X-Ref
Displaying paging text.


results_are_paged()   X-Ref
Whether paging is enabled.

return: bool

is_search()   X-Ref
Whether there are search terms.

return: bool

get_others_unpublished_posts($user_id, $type='any')   X-Ref
Retrieve editable posts from other users.

param: int $user_id User ID to not retrieve posts from.
param: string $type Optional, defaults to 'any'. Post type to retrieve, can be 'draft' or 'pending'.
return: array List of posts from others.

get_others_drafts($user_id)   X-Ref
Retrieve drafts from other users.

param: int $user_id User ID.
return: array List of drafts from other users.

get_others_pending($user_id)   X-Ref
Retrieve pending review posts from other users.

param: int $user_id User ID.
return: array List of posts with pending review post type from other users.

wp_dashboard_quick_press_output()   X-Ref
Output the QuickPress dashboard widget.


wp_tiny_mce( $teeny = false, $settings = false )   X-Ref


wp_preload_dialogs()   X-Ref


wp_print_editor_js()   X-Ref


wp_quicktags()   X-Ref


screen_layout( $screen )   X-Ref
Returns the screen layout options.


screen_options( $screen )   X-Ref
Returns the screen's per-page options.


screen_meta( $screen )   X-Ref
Renders the screen's help.


favorite_actions()   X-Ref
Favorite actions were deprecated in version 3.2. Use the admin bar instead.


media_upload_image()   X-Ref
No description

media_upload_audio()   X-Ref
No description

media_upload_video()   X-Ref
No description

media_upload_file()   X-Ref
No description

type_url_form_image()   X-Ref
No description

type_url_form_audio()   X-Ref
No description

type_url_form_video()   X-Ref
No description

type_url_form_file()   X-Ref
No description

add_contextual_help( $screen, $help )   X-Ref
Add contextual help text for a page.

Creates an 'Overview' help tab.

param: string    $screen The handle for the screen to add help to. This is usually the hook name returned by the add_*_page() functions.
param: string    $help   The content of an 'Overview' help tab.

get_allowed_themes()   X-Ref
Get the allowed themes for the current blog.

return: array $themes Array of allowed themes.

get_broken_themes()   X-Ref
{@internal Missing Short Description}}

return: unknown

current_theme_info()   X-Ref
{@internal Missing Short Description}}

return: unknown

_insert_into_post_button( $type )   X-Ref
This was once used to display an 'Insert into Post' button. Now it is deprecated and stubbed.


_media_button($title, $icon, $type, $id)   X-Ref
This was once used to display a media button. Now it is deprecated and stubbed.


get_post_to_edit( $id )   X-Ref
Get an existing post and format it for editing.

param: int $id
return: object

get_default_page_to_edit()   X-Ref
Get the default page information to use.

return: WP_Post Post object containing all the default post data as attributes

wp_create_thumbnail( $file, $max_side, $deprecated = '' )   X-Ref
This was once used to create a thumbnail from an Image given a maximum side size.

param: mixed $file Filename of the original image, Or attachment id.
param: int $max_side Maximum length of a single side for the thumbnail.
param: mixed $deprecated Never used.
return: string Thumbnail path on success, Error string on failure.

wp_nav_menu_locations_meta_box()   X-Ref
This was once used to display a metabox for the nav menu theme locations.

Deprecated in favor of a 'Manage Locations' tab added to nav menus management screen.


wp_update_core($current, $feedback = '')   X-Ref
This was once used to kick-off the Core Updater.

Deprecated in favor of instantating a Core_Upgrader instance directly,
and calling the 'upgrade' method.


wp_update_plugin($plugin, $feedback = '')   X-Ref
This was once used to kick-off the Plugin Updater.

Deprecated in favor of instantating a Plugin_Upgrader instance directly,
and calling the 'upgrade' method.
Unused since 2.8.0.


wp_update_theme($theme, $feedback = '')   X-Ref
This was once used to kick-off the Theme Updater.

Deprecated in favor of instantating a Theme_Upgrader instance directly,
and calling the 'upgrade' method.
Unused since 2.8.0.


the_attachment_links( $id = false )   X-Ref
This was once used to display attachment links. Now it is deprecated and stubbed.

{@internal Missing Short Description}}

param: unknown_type $id
return: unknown

screen_icon()   X-Ref
No description

get_screen_icon()   X-Ref
No description

wp_dashboard_incoming_links_output()   X-Ref
No description

wp_dashboard_secondary_output()   X-Ref
No description

wp_dashboard_incoming_links()   X-Ref
No description

wp_dashboard_incoming_links_control()   X-Ref
No description

wp_dashboard_plugins()   X-Ref
No description

wp_dashboard_primary_control()   X-Ref
No description

wp_dashboard_recent_comments_control()   X-Ref
No description

wp_dashboard_secondary()   X-Ref
No description

wp_dashboard_secondary_control()   X-Ref
No description

Functions
Functions that are not part of a class:

tinymce_include()   X-Ref


documentation_link()   X-Ref
Unused Admin function.


wp_shrink_dimensions( $width, $height, $wmax = 128, $hmax = 96 )   X-Ref
Calculates the new dimensions for a downsampled image.

param: int $width Current width of the image
param: int $height Current height of the image
param: int $wmax Maximum wanted width
param: int $hmax Maximum wanted height
return: array Shrunk dimensions (width, height).

get_udims( $width, $height )   X-Ref
Calculated the new dimensions for a downsampled image.

param: int $width Current width of the image
param: int $height Current height of the image
return: array Shrunk dimensions (width, height).

dropdown_categories( $default = 0, $parent = 0, $popular_ids = array()   X-Ref
{@internal Missing Short Description}}

param: unknown_type $default
param: unknown_type $parent
param: unknown_type $popular_ids

dropdown_link_categories( $default = 0 )   X-Ref
{@internal Missing Short Description}}

param: unknown_type $default

get_real_file_to_edit( $file )   X-Ref
Get the real filesystem path to a file to edit within the admin.

param: string $file Filesystem path relative to the wp-content directory.
return: string Full filesystem path to edit.

wp_dropdown_cats( $currentcat = 0, $currentparent = 0, $parent = 0, $level = 0, $categories = 0 )   X-Ref
{@internal Missing Short Description}}

param: unknown_type $currentcat
param: unknown_type $currentparent
param: unknown_type $parent
param: unknown_type $level
param: unknown_type $categories
return: unknown

add_option_update_handler( $option_group, $option_name, $sanitize_callback = '' )   X-Ref
Register a setting and its sanitization callback

param: string $option_group A settings group name. Should correspond to a whitelisted option key name.
param: string $option_name The name of an option to sanitize and save.
param: unknown_type $sanitize_callback A callback function that sanitizes the option's value.
return: unknown

remove_option_update_handler( $option_group, $option_name, $sanitize_callback = '' )   X-Ref
Unregister a setting

param: unknown_type $option_group
param: unknown_type $option_name
param: unknown_type $sanitize_callback
return: unknown

codepress_get_lang( $filename )   X-Ref
Determines the language to use for CodePress syntax highlighting.

param: string $filename

codepress_footer_js()   X-Ref
Adds Javascript required to make CodePress work on the theme/plugin editors.


use_codepress()   X-Ref
Determine whether to use CodePress.


get_author_user_ids()   X-Ref

return: array List of user IDs.

get_editable_authors( $user_id )   X-Ref

param: int $user_id User ID.
return: array|bool List of editable authors. False if no editable users.

get_editable_user_ids( $user_id, $exclude_zeros = true, $post_type = 'post' )   X-Ref

param: int $user_id User ID.
param: bool $exclude_zeros Optional, default is true. Whether to exclude zeros.
return: unknown

get_nonauthor_user_ids()   X-Ref




Generated: Tue Mar 25 01:41:18 2014 WordPress honlapkészítés: online1.hu