[ Index ]

PHP Cross Reference of Wordpress 2.7.1

title

Body

[close]

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

Misc WordPress Administration API.

File Size: 241 lines (6 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 9 functions

  got_mod_rewrite()
  extract_from_markers()
  insert_with_markers()
  save_mod_rewrite_rules()
  update_recently_edited()
  update_home_siteurl()
  url_shorten()
  wp_reset_vars()
  show_message()

Functions
Functions that are not part of a class:

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

return: unknown

extract_from_markers( $filename, $marker )   X-Ref
{@internal Missing Short Description}}

param: unknown_type $filename
param: unknown_type $marker
return: array An array of strings from a file (.htaccess ) from between BEGIN and END markers.

insert_with_markers( $filename, $marker, $insertion )   X-Ref
{@internal Missing Short Description}}

Inserts an array of strings into a file (.htaccess ), placing it between
BEGIN and END markers. Replaces existing marked info. Retains surrounding
data. Creates file if none exists.

param: unknown_type $filename
param: unknown_type $marker
param: unknown_type $insertion
return: bool True on write success, false on failure.

save_mod_rewrite_rules()   X-Ref
Updates the htaccess file with the current rules if it is writable.

Always writes to the file if it exists and is writable to ensure that we
blank out old rules.


update_recently_edited( $file )   X-Ref
{@internal Missing Short Description}}

param: unknown_type $file

update_home_siteurl( $old_value, $value )   X-Ref
If siteurl or home changed, flush rewrite rules.

param: unknown_type $old_value
param: unknown_type $value

url_shorten( $url )   X-Ref
{@internal Missing Short Description}}

param: unknown_type $url
return: unknown

wp_reset_vars( $vars )   X-Ref
{@internal Missing Short Description}}

param: unknown_type $vars

show_message($message)   X-Ref
{@internal Missing Short Description}}

param: unknown_type $message



Generated: Mon Mar 23 16:23:02 2009 Cross-referenced by PHPXref 0.7