PluginProbe
WPIDE – File Manager & Code Editor / 1.0.2
WPIDE – File Manager & Code Editor v1.0.2
3.5.8 3.5.7 2.0.14 2.0.15 2.0.16 2.0.2 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 2.1 2.2 2.3 2.3.1 2.3.2 2.4.0 2.5 2.6 3.0 3.1 3.2 3.3 3.4 All 54 releases
wpide / WPide.php

WPide.php in WPIDE – File Manager & Code Editor 1.0.2, at WPide.php

1,860 lines 89.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3
4 Plugin Name: WPide
5 Plugin URI: https://github.com/WPsites/WPide
6 Description: Replace the default WordPress code editor for plugins and themes. Adding syntax highlighting, autocomplete of WordPress functions + PHP, line numbers, auto backup of files before editing.
7 Version: 1.0.2
8 Author: Simon Dunton
9 Author URI: http://www.wpsites.co.uk
10
11 */
12
13
14
15 class WPide
16
17 {
18
19
20 function __construct() {
21
22 // Uncomment any of these calls to add the functionality that you need.
23 add_action('admin_head', 'WPide::add_admin_head');
24 add_action('admin_head', 'WPide::load_editor');
25 add_action('admin_init', 'WPide::add_admin_js');
26
27 //setup ajax function to save a backup
28 add_action('wp_ajax_ace_backup_call', 'WPide::ace_backup_call');
29
30 }
31
32
33 public static function add_admin_head()
34 {
35
36 ?>
37
38 <style type="text/css">
39 #quicktags, #post-status-info, #editor-toolbar, #newcontent, .ace_print_margin { display: none; }
40 #fancyeditordiv {
41 position: relative;
42 width: 500px;
43 height: 400px;
44 }
45 #template div{margin-right:0 !important;}
46 </style>
47
48 <?php
49
50 }
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66 public static function load_editor()
67 {
68 ?>
69
70
71
72
73
74
75
76 <script>
77 var autocompleting = false;
78 var autocompletelength = 2;
79 var editor = '';
80
81 var html_tags = ("_() __() __checked_selected_helper() __construct() __destruct() __get_option() " +
82
83 "__ngettext() __ngettext_noop() __set() __tostring() _add_themes_utility_last() _added() " +
84
85 "_admin_notice_multisite_activate_plugins_page() _admin_notice_post_locked() _admin_search_query() _block() _blockheader() _c() " +
86
87 "_changed() _check() _check_timeout() _checkcode() _close_comments_for_old_post() _close_comments_for_old_posts() " +
88
89 "_compareseq() _connect() _context() _createresponder() _crop_image_resource() _css_href() " +
90
91 "_custom_background_cb() _data_close() _data_prepare() _data_read() _data_write() _data_write_block() " +
92
93 "_deep_replace() _default() _default_wp_die_handler() _delete_attachment_theme_mod() _deleted() _descendants() " +
94
95 "_destroycache() _diag() _disconnect() _draft_or_post_title() _e() _each() " +
96
97 "_encode() _encodearray() _endblock() _enddiff() _escape() _ex() " +
98
99 "_exec() _expandlinks() _fetch_remote_file() _fetch_with_format() _fill_empty_link_category() _fill_many_users() " +
100
101 "_fill_single_user() _fill_user() _fix_attachment_links() _fix_attachment_links_replace_cb() _flip_image_resource() _future_post_hook() " +
102
103 "_get_cron_array() _get_current_taxonomy() _get_custom_object_labels() _get_display_callback() _get_dropins() _get_form_callback() " +
104
105 "_get_meta_table() _get_page_link() _get_plugin_data_markup_translate() _get_post_ancestors() _get_template_edit_filename() _get_term_children() " +
106
107 "_get_term_hierarchy() _get_update_callback() _get_widget_id_base() _getcmd() _getlines() _getmatches() " +
108
109 "_getoptions() _getplink() _gettempdir() _gettransport() _hash_hmac() _http_build_query() " +
110
111 "_httprequest() _httpsrequest() _image_get_preview_ratio() _init() _init_caps() _insert_into_post_button() " +
112
113 "_insert_replace_helper() _intutf() _json_decode_object_helper() _lcspos() _lines() _links_add_base() " +
114
115 "_links_add_target() _list() _list_meta_row() _logmsg() _make_cat_compat() _make_email_clickable_cb() " +
116
117 "_make_url_clickable_cb() _make_web_ftp_clickable_cb() _map() _maybe_update_core() _maybe_update_plugins() _maybe_update_themes() " +
118
119 "_mb_substr() _media_button() _mime_types() _multisite_getusersblogs() _n() _n_noop() " +
120
121 "_nav_menu_item_id_use_once() _nc() _nx() _nx_noop() _p() _pad_term_counts() " +
122
123 "_page_rows() _page_traverse_name() _parse_json() _parse_xml() _post_row() _post_states() " +
124
125 "_posttransport() _prepare_post_body() _preview_theme_stylesheet_filter() _preview_theme_template_filter() _print_scripts() _publish_post_hook() " +
126
127 "_quit() _readbool() _readmsg() _readnull() _readnumber() _readstring() " +
128
129 "_real_escape() _register() _register_one() _register_widget_form_callback() _register_widget_update_callback() _register_widgets() " +
130
131 "_relatedtarget() _relocate_children() _response_to_rss() _rotate_image_resource() _save_post_hook() _search_plugins_filter_callback() " +
132
133 "_set() _set_cron_array() _set_preview() _settimeout() _settype() _shiftboundaries() " +
134
135 "_show_post_preview() _sort_nav_menu_items() _splitonwords() _startblock() _startdiff() _strip_newlines() " +
136
137 "_stripform() _striplinks() _striptext() _tag_row() _term_rows() _transition_post_status() " +
138
139 "_unhtmlentities() _unzip_file_pclzip() _unzip_file_ziparchive() _update_post_term_count() _upgrade_cron_array() _usort_terms_by_id() " +
140
141 "_usort_terms_by_name() _utfutf() _walk_bookmarks() _weak_escape() _wp_ajax_add_hierarchical_term() _wp_ajax_delete_comment_response() " +
142
143 "_wp_ajax_menu_quick_search() _wp_auto_add_pages_to_menu() _wp_call_all_hook() _wp_comment_row() _wp_dashboard_control_callback() _wp_dashboard_recent_comments_row() " +
144
145 "_wp_delete_orphaned_draft_menu_items() _wp_delete_post_menu_item() _wp_delete_tax_menu_item() _wp_dependency() _wp_filter_build_unique_id() _wp_filter_taxonomy_base() " +
146
147 "_wp_get_comment_list() _wp_get_post_autosave_hack() _wp_get_user_contactmethods() _wp_http_get_object() _wp_kses_decode_entities_chr() _wp_kses_decode_entities_chr_hexdec() " +
148
149 "_wp_menu_item_classes_by_context() _wp_menu_output() _wp_nav_menu_meta_box_object() _wp_oembed_get_object() _wp_post_revision_fields() _wp_post_thumbnail_class_filter() " +
150
151 "_wp_post_thumbnail_class_filter_add() _wp_post_thumbnail_class_filter_remove() _wp_post_thumbnail_html() _wp_put_post_revision() _wp_relative_upload_path() _wp_specialchars() " +
152
153 "_wp_translate_postdata() _wptexturize_pushpop_element() _x() abort() absolutize() absolutize_url() " +
154
155 "abspath() accept_encoding() activate_plugin() activate_plugins() activate_sitewide_plugin() activatehandlers() " +
156
157 "add() add_action() add_blog_option() add_callback() add_cap() add_clean_index() " +
158
159 "add_comment_meta() add_comment_to_entry() add_comments_page() add_contextual_help() add_cssclass() add_custom_background() " +
160
161 "add_custom_image_header() add_dashboard_page() add_data() add_editor_style() add_enclosure_if_new() add_endpoint() " +
162
163 "add_entry() add_existing_user_to_blog() add_external_rule() add_feed() add_filter() add_global_groups() " +
164
165 "add_image_size() add_js() add_link() add_links_page() add_magic_quotes() add_management_page() " +
166
167 "add_media_page() add_menu_classes() add_menu_page() add_meta() add_meta_box() add_metadata() " +
168
169 "add_new_user_to_blog() add_object_page() add_option() add_option_update_handler() add_option_whitelist() add_options_page() " +
170
171 "add_pages_page() add_permastruct() add_ping() add_plugins_page() add_post_meta() add_post_type_support() " +
172
173 "add_posts_page() add_query_arg() add_query_var() add_rewrite_endpoint() add_rewrite_rule() add_rewrite_tag() " +
174
175 "add_role() add_rule() add_settings_error() add_settings_field() add_settings_section() add_shortcode() " +
176
177 "add_strings() add_submenu_page() add_theme_page() add_theme_support() add_thickbox() add_to_blinklist() " +
178
179 "add_to_blogmarks() add_to_delicious() add_to_digg() add_to_furl() add_to_magnolia() add_to_myweb() " +
180
181 "add_to_newsvine() add_to_reddit() add_to_segnalo() add_to_service() add_to_simpy() add_to_spurl() " +
182
183 "add_to_wists() add_user() add_user_meta() add_user_to_blog() add_users_page() add_utility_page() " +
184
185 "addaddress() addarray() addattachment() addbcc() addcall() addcallback() " +
186
187 "addcc() addclassestolist() addcustomheader() addedline() addembeddedimage() addmethods() " +
188
189 "addrappend() addreplyto() addrformat() addselectvalue() addslashes_gpc() addstringattachment() " +
190
191 "addtext() addtocache() addtwonumbers() adjacent_image_link() adjacent_post_link() adjacent_posts_rel_link() " +
192
193 "adjacent_posts_rel_link_wp_head() adjust() admin_color_scheme_picker() admin_created_user_email() admin_created_user_subject() admin_load() " +
194
195 "admin_notice_feed() admin_page() admin_url() after() akismet_admin_init() akismet_admin_warnings() " +
196
197 "akismet_auto_check_comment() akismet_caught() akismet_check_db_comment() akismet_check_for_spam_button() akismet_check_server_connectivity() akismet_conf() " +
198
199 "akismet_config_page() akismet_counter() akismet_delete_old() akismet_get_host() akismet_get_key() akismet_get_server_connectivity() " +
200
201 "akismet_get_user_roles() akismet_http_post() akismet_init() akismet_kill_proxy_check() akismet_manage_page() akismet_nonce_field() " +
202
203 "akismet_recheck_button() akismet_recheck_queue() akismet_result_spam() akismet_rightnow() akismet_server_connectivity_ok() akismet_set_comment_status() " +
204
205 "akismet_spam_comments() akismet_spam_count() akismet_spam_totals() akismet_spamtoham() akismet_stats() akismet_stats_display() " +
206
207 "akismet_stats_page() akismet_stats_script() akismet_submit_nonspam_comment() akismet_submit_spam_comment() akismet_transition_comment_status() akismet_verify_key() " +
208
209 "akismet_warning() all() all_deps() allow_subdirectory_install() allow_subdomain_install() allowed_tags() " +
210
211 "anchorposition_getpageoffsetleft() anchorposition_getpageoffsettop() anchorposition_getwindowoffsetleft() anchorposition_getwindowoffsettop() animatestart() animateto() " +
212
213 "animmode() antispambot() any() apop() append() append_content() " +
214
215 "append_editor() apply() apply_filters() apply_filters_ref_array() areamousedown() areamousemove() " +
216
217 "argumentnames() array_unique_noempty() aspectratioxy() aspectratioyx() atime() atom__construct_type() " +
218
219 "atom__construct_type() atom__content_construct_type() atom_enclosure() atomparser() atomserver() attach_uploads() " +
220
221 "attachall() attachwhendone() attribute_escape() auth_redirect() auth_required() authenticate() " +
222
223 "authentication() authentication_header() author_can() autodiscovery() autoembed() autoembed_callback() " +
224
225 "automatic_feed_links() autosave_disable_buttons() autosave_enable_buttons() autosave_loading() autosave_parse_response() autosave_saved() " +
226
227 "autosave_saved_new() autosave_update_slug() avoid_blog_page_permalink_collision() background_color() background_image() backslashit() " +
228
229 "bad_request() bail() balancetags() baseencodewrapmb() before() before_last_bar() " +
230
231 "before_version_name() bind() bindaseventlistener() blank() block_request() blogger_deletepost() " +
232
233 "blogger_editpost() blogger_getpost() blogger_getrecentposts() blogger_gettemplate() blogger_getuserinfo() blogger_getusersblogs() " +
234
235 "blogger_newpost() blogger_settemplate() bloginfo() bloginfo_rss() blurry() body() " +
236
237 "body_class() bool_from_yn() build_query() build_query_string() buildcookieheader() bulk_edit_posts() " +
238
239 "bulk_footer() bulk_header() bulk_upgrade() bulk_upgrader_skin() bump_request_timeout() cache_javascript_headers() " +
240
241 "cache_oembed() cache_users() calculatetype() calendar_week_mod() call() callback() " +
242
243 "camelize() cancel_comment_reply_link() cancelcrop() cancelselection() cancelupload() capital_p_dangit() " +
244
245 "capitalize() cat_is_ancestor_of() category_description() category_exists() cb() cdata() " +
246
247 "cdup() change_encoding() changedtype() changefinalcolor() check_admin_referer() check_ajax_referer() " +
248
249 "check_and_publish_future_post() check_cache() check_column() check_comment() check_comment_flood_db() check_database_version() " +
250
251 "check_import_new_users() check_pass_strength() check_server_timer() check_upload_mimes() check_upload_size() checkcache() " +
252
253 "checkdeficiency() checked() checkipv() checkpassword() checkreadystate() checkwords() " +
254
255 "choose_primary_blog() chunktransferdecode() clean_attachment_cache() clean_bookmark_cache() clean_category_cache() clean_comment_cache() " +
256
257 "clean_object_term_cache() clean_page_cache() clean_post_cache() clean_pre() clean_term_cache() clean_url() " +
258
259 "clean_user_cache() clear() clear_global_post_cache() clearaddresses() clearallrecipients() clearattachments() " +
260
261 "clearbccs() clearccs() clearcustomheaders() clearreplytos() clickhandler() client_error() " +
262
263 "clone() close() closefullscreen() cmpr_strlen() codepoint_to_utf() codepress_footer_js() " +
264
265 "codepress_get_lang() collect() colname() colorpicker() colorpicker_highlightcolor() colorpicker_pickcolor() " +
266
267 "colorpicker_select() colorpicker_show() colorpicker_writediv() comment_author() comment_author_email() comment_author_email_link() " +
268
269 "comment_author_ip() comment_author_link() comment_author_rss() comment_author_url() comment_author_url_link() comment_block() " +
270
271 "comment_class() comment_date() comment_excerpt() comment_exists() comment_footer_die() comment_form() " +
272
273 "comment_form_title() comment_guid() comment_id() comment_id_fields() comment_link() comment_reply_link() " +
274
275 "comment_text() comment_text_rss() comment_time() comment_type() comments_link() comments_link_feed() " +
276
277 "comments_number() comments_open() comments_popup_link() comments_popup_script() comments_rss() comments_rss_link() " +
278
279 "comments_template() compatible_gzinflate() compress() compress_parse_url() compression_test() compute_string_distance() " +
280
281 "computecolor() concat() confirm_another_blog_signup() confirm_blog_signup() confirm_delete_users() confirm_user_signup() " +
282
283 "connect() connected() consume() consume_range() content_encoding() content_url() " +
284
285 "contextline() convert_chars() convert_smilies() convert_to_screen() convertentities() converthextorgb() " +
286
287 "convertrgbtohex() convertversionstring() copy_dir() core_update_footer() core_upgrade_preamble() count_imported_posts() " +
288
289 "count_many_users_posts() count_user_posts() count_users() countaddedlines() countdeletedlines() create() " +
290
291 "create_attachment() create_empty_blog() create_initial_post_types() create_initial_taxonomies() create_post() create_user() " +
292
293 "createbody() created() createdragger() createhandles() createheader() createmover() " +
294
295 "crypt_private() css_includes() cssclass() current_after() current_before() current_filter() " +
296
297 "current_theme_info() current_theme_supports() current_time() current_user_can() current_user_can_for_blog() curry() " +
298
299 "custom_background() custom_image_header() cwd() d() dashboard_quota() dashboardtotals() " +
300
301 "dasherize() data() datahtml() date_asctime() date_in() date_rfc() " +
302
303 "date_rfc() date_strtotime() date_wcdtf() db_connect() db_version() dbdelta() " +
304
305 "deactivate_plugin_before_upgrade() deactivate_plugins() deactivate_sitewide_plugin() debug() debug_fclose() debug_fopen() " +
306
307 "debug_fwrite() decode() decompress() default_password_nag() default_password_nag_edit_user() default_password_nag_handler() " +
308
309 "default_topic_count_scale() default_topic_count_text() defer() delay() delayed_autosave() delete() " +
310
311 "delete_all_user_settings() delete_attachment() delete_blog_option() delete_comment_meta() delete_get_calendar_cache() delete_meta() " +
312
313 "delete_metadata() delete_oembed_caches() delete_old_plugin() delete_old_theme() delete_option() delete_plugins() " +
314
315 "delete_post() delete_post_meta() delete_post_meta_by_key() delete_theme() delete_transient() delete_user_meta() " +
316
317 "delete_user_option() delete_user_setting() delete_usermeta() deletebyindex() deletedline() deleteerror() " +
318
319 "deletesuccess() deleteusersetting() dequeue() deslash() destroy() detect() " +
320
321 "did_action() diff() difference() dirlist() disablecrop() disabled() " +
322
323 "disablehandles() discover() discover_pingback_server_uri() dismiss_core_update() dismissed_updates() dispatch() " +
324
325 "display_cached_file() display_callback() display_element() display_header() display_page_row() display_plugins_table() " +
326
327 "display_setup_form() display_space_usage() display_theme() display_themes() displayitems() div() " +
328
329 "do_action() do_action_ref_array() do_activate_header() do_all_pings() do_core_upgrade() do_dismiss_core_update() " +
330
331 "do_enclose() do_feed() do_feed_atom() do_feed_rdf() do_feed_rss() do_feed_rss() " +
332
333 "do_footer_items() do_head_items() do_item() do_items() do_meta_boxes() do_paging() " +
334
335 "do_robots() do_settings_fields() do_settings_sections() do_shortcode() do_shortcode_tag() do_signup_header() " +
336
337 "do_strip_htmltags() do_trackbacks() do_undismiss_core_update() docmouseup() documentation_link() dolly_css() " +
338
339 "domain_exists() domove() done() doneselect() donudge() doparentsubmit() " +
340
341 "doresize() doupdate() download_package() download_url() drag_drop_help() dragdiv() " +
342
343 "dragmodehandler() drop_index() dropdown_categories() dropdown_cats() dropdown_link_categories() duplicate() " +
344
345 "dvortr() dynamic_sidebar() eachslice() echo_entry() edaddtag() edbutton() " +
346
347 "edcheckopentags() edclosealltags() edinsertcontent() edinsertimage() edinsertlink() edinserttag() " +
348
349 "edit_bookmark_link() edit_comment() edit_comment_link() edit_link() edit_post() edit_post_link() " +
350
351 "edit_tag_link() edit_user() edlink() edquicklink() edremovetag() edshowbutton() " +
352
353 "edshowlinks() edspell() edtoolbar() element() element_implode() email_exists() " +
354
355 "embed() embed_flash() embed_flv() embed_odeo() embed_quicktime() embed_wmedia() " +
356
357 "empty() emptyline() enable_cache() enable_order_by_date() enable_xml_dump() enablecrop() " +
358
359 "enablehandles() encode() encode() encode_instead_of_strip() encodefile() encodeheader() " +
360
361 "encodeq() encodeq_callback() encodeqp() encodestring() encodeunsafe() encoding() " +
362
363 "encoding_equals() encoding_name() encoding_value() end_el() end_element() end_lvl() " +
364
365 "end_ns() endboundary() endelement() endswith() enqueue() enqueue_comment_hotkeys_js() " +
366
367 "entncr() entities_decode() entity() error() error_handler() errorcode() " +
368
369 "errorinfo() errorname() esc_attr() esc_attr__() esc_attr_e() esc_attr_x() " +
370
371 "esc_html() esc_html__() esc_html_e() esc_html_x() esc_js() esc_sql() " +
372
373 "esc_url() esc_url_raw() escape() escape_by_ref() escapehtml() evaljson() " +
374
375 "evalscripts() evx() evy() exists() expand() export() " +
376
377 "export_entries() export_entry() export_headers() export_original() export_to_file() export_translations() " +
378
379 "export_wp() extend() extendelementwith() extension() extract_from_markers() extractbyindex() " +
380
381 "extractscripts() f() fallback() fatal() favorite_actions() features() " +
382
383 "feed_cdata() feed_content_type() feed_end_element() feed_links() feed_links_extra() feed_or_html() " +
384
385 "feed_start_element() feedback() fetch() fetch_feed() fetch_rss() fetchform() " +
386
387 "fetchlinks() fetchtext() fget() file_is_displayable_image() file_is_valid_image() file_name() " +
388
389 "file_upload_upgrader() filedialogcomplete() filedialogstart() filequeued() filequeueerror() fileupload() " +
390
391 "fill_query_vars() filter_ssl() find() find_base_dir() find_core_update() find_folder() " +
392
393 "find_posts_div() findall() finddomclass() findelement() finished() fire() " +
394
395 "firecontentloadedevent() first() fix_import_form_size() fix_phpmailer_messageid() fix_protocol() fixeol() " +
396
397 "flatten() flipcoords() fliptab() floated_admin_avatar() flush_output() flush_rewrite_rules() " +
398
399 "flush_rules() flush_widget_cache() footer() for_blog() forbidden() force_balance_tags() " +
400
401 "force_feed() force_fsockopen() force_ssl_content() form() form_callback() form_option() " +
402
403 "format_code_lang() format_to_edit() format_to_post() fput() fs_connect() ftp() " +
404
405 "ftp_base() funky_javascript_callback() funky_javascript_fix() g() gallery_shortcode() gd_edit_image_support() " +
406
407 "generate_random_password() generate_rewrite_rule() generate_rewrite_rules() generatenamedcolors() generatepicker() generatepreview() " +
408
409 "generatewebcolors() generic_ping() generic_strings() gensalt_blowfish() gensalt_extended() gensalt_private() " +
410
411 "get() get__template() get_accepted_content_type() get_active_blog_for_user() get_adjacent_post() get_adjacent_post_rel_link() " +
412
413 "get_admin_page_parent() get_admin_page_title() get_admin_url() get_admin_users_for_domain() get_all_category_ids() get_all_discovered_feeds() " +
414
415 "get_all_page_ids() get_all_user_settings() get_alloptions() get_alloptions_() get_allowed_mime_types() get_allowed_themes() " +
416
417 "get_approved_comments() get_archive_template() get_archives() get_archives_link() get_attached_file() get_attachment() " +
418
419 "get_attachment_fields_to_edit() get_attachment_icon() get_attachment_icon_src() get_attachment_innerhtml() get_attachment_link() get_attachment_taxonomies() " +
420
421 "get_attachment_template() get_attachments() get_attachments_url() get_attribution() get_author() get_author_feed_link() " +
422
423 "get_author_link() get_author_name() get_author_permastruct() get_author_posts_url() get_author_rss_link() get_author_template() " +
424
425 "get_author_user_ids() get_authority() get_authors() get_autotoggle() get_available_languages() get_available_post_mime_types() " +
426
427 "get_available_post_statuses() get_avatar() get_background_color() get_background_image() get_base() get_base_dir() " +
428
429 "get_bitrate() get_blog_count() get_blog_details() get_blog_id_from_url() get_blog_list() get_blog_option() " +
430
431 "get_blog_permalink() get_blog_post() get_blog_prefix() get_blog_status() get_blogaddress_by_domain() get_blogaddress_by_id() " +
432
433 "get_blogaddress_by_name() get_bloginfo() get_bloginfo_rss() get_blogs_of_user() get_body_class() get_bookmark() " +
434
435 "get_bookmark_field() get_bookmarks() get_boundary_post() get_boundary_post_rel_link() get_broken_themes() get_byteorder() " +
436
437 "get_calendar() get_caller() get_cancel_comment_reply_link() get_caption() get_captions() get_cat_id() " +
438
439 "get_cat_name() get_categories() get_categories_url() get_categories_xml() get_category() get_category_by_path() " +
440
441 "get_category_by_slug() get_category_children() get_category_feed_link() get_category_link() get_category_parents() get_category_permastruct() " +
442
443 "get_category_rss_link() get_category_template() get_category_to_edit() get_catname() get_channel_tags() get_channels() " +
444
445 "get_children() get_clean_basedomain() get_cli_args() get_col() get_col_info() get_column_headers() " +
446
447 "get_comment() get_comment_author() get_comment_author_email() get_comment_author_email_link() get_comment_author_ip() get_comment_author_link() " +
448
449 "get_comment_author_rss() get_comment_author_url() get_comment_author_url_link() get_comment_class() get_comment_count() get_comment_date() " +
450
451 "get_comment_excerpt() get_comment_feed_permastruct() get_comment_guid() get_comment_id() get_comment_id_fields() get_comment_link() " +
452
453 "get_comment_meta() get_comment_pages_count() get_comment_reply_link() get_comment_statuses() get_comment_text() get_comment_time() " +
454
455 "get_comment_to_edit() get_comment_type() get_commentdata() get_comments() get_comments_link() get_comments_number() " +
456
457 "get_comments_pagenum_link() get_comments_popup_template() get_content() get_contents() get_contents_array() get_contributor() " +
458
459 "get_contributors() get_copyright() get_core_updates() get_credit() get_credits() get_curl_version() " +
460
461 "get_current_byte() get_current_column() get_current_line() get_current_site() get_current_site_name() get_current_theme() " +
462
463 "get_current_user_id() get_currentuserinfo() get_custom_fields() get_dashboard_blog() get_data() get_date() " +
464
465 "get_date_from_gmt() get_date_permastruct() get_date_template() get_day_link() get_day_permastruct() get_default_feed() " +
466
467 "get_default_link_to_edit() get_default_page_to_edit() get_default_post_to_edit() get_delete_post_link() get_description() get_dirsize() " +
468
469 "get_dropins() get_duration() get_edit_bookmark_link() get_edit_comment_link() get_edit_post_link() get_edit_tag_link() " +
470
471 "get_editable_authors() get_editable_roles() get_editable_user_ids() get_element() get_email() get_enclosed() " +
472
473 "get_enclosure() get_enclosures() get_encoding() get_endtime() get_entries_url() get_entry() " +
474
475 "get_entry_url() get_error_code() get_error_codes() get_error_data() get_error_message() get_error_messages() " +
476
477 "get_error_string() get_expression() get_extended() get_extension() get_extra_permastruct() get_favicon() " +
478
479 "get_feed() get_feed_link() get_feed_permastruct() get_feed_tags() get_field_id() get_field_name() " +
480
481 "get_file() get_file_description() get_filesystem_method() get_footer() get_fragment() get_framerate() " +
482
483 "get_front_page_template() get_gmt_from_date() get_handler() get_hash() get_hashes() get_header() " +
484
485 "get_header_image() get_header_textcolor() get_height() get_hidden_columns() get_hidden_meta_boxes() get_home_path() " +
486
487 "get_home_template() get_home_url() get_host() get_html() get_id() get_id_from_blogname() " +
488
489 "get_image_height() get_image_link() get_image_send_to_editor() get_image_tag() get_image_tags() get_image_title() " +
490
491 "get_image_url() get_image_width() get_images_from_uri() get_imported_comments() get_imported_posts() get_importers() " +
492
493 "get_index_rel_link() get_index_template() get_inline_data() get_intermediate_image_sizes() get_iri() get_item() " +
494
495 "get_item_quantity() get_item_tags() get_items() get_keyword() get_keywords() get_label() " +
496
497 "get_language() get_last_updated() get_lastcommentmodified() get_lastpostdate() get_lastpostmodified() get_latitude() " +
498
499 "get_length() get_lines() get_link() get_link_to_edit() get_linkcatname() get_linkobjects() " +
500
501 "get_linkobjectsbyname() get_linkrating() get_links() get_links_list() get_links_withrating() get_linksbyname() " +
502
503 "get_linksbyname_withrating() get_local_date() get_locale() get_locale_stylesheet_uri() get_longitude() get_manifest() " +
504
505 "get_media_item() get_media_items() get_media_url() get_medium() get_meridiem() get_meta_keys() " +
506
507 "get_metadata() get_month() get_month_abbrev() get_month_link() get_month_permastruct() get_most_active_blogs() " +
508
509 "get_most_recent_post_of_user() get_mu_plugins() get_name() get_names() get_nav_menu_locations() get_next_comments_link() " +
510
511 "get_next_post() get_next_posts_link() get_next_posts_page_link() get_nonauthor_user_ids() get_num_queries() get_number_of_root_elements() " +
512
513 "get_object_taxonomies() get_object_term_cache() get_objects_in_term() get_option() get_others_drafts() get_others_pending() " +
514
515 "get_others_unpublished_posts() get_page() get_page_by_path() get_page_by_title() get_page_children() get_page_hierarchy() " +
516
517 "get_page_link() get_page_of_comment() get_page_permastruct() get_page_statuses() get_page_template() get_page_templates() " +
518
519 "get_page_uri() get_paged_template() get_pagenum_link() get_pages() get_parent_post_rel_link() get_path() " +
520
521 "get_pending_comments_num() get_permalink() get_player() get_plugin_data() get_plugin_files() get_plugin_page_hook() " +
522
523 "get_plugin_page_hookname() get_plugin_updates() get_plugins() get_plural_forms_count() get_port() get_post() " +
524
525 "get_post_ancestors() get_post_class() get_post_comments_feed_link() get_post_custom() get_post_custom_keys() get_post_custom_values() " +
526
527 "get_post_field() get_post_meta() get_post_meta_by_id() get_post_mime_type() get_post_mime_types() get_post_modified_time() " +
528
529 "get_post_permalink() get_post_reply_link() get_post_stati() get_post_status() get_post_status_object() get_post_statuses() " +
530
531 "get_post_taxonomies() get_post_thumbnail_id() get_post_time() get_post_to_edit() get_post_type() get_post_type_capabilities() " +
532
533 "get_post_type_labels() get_post_type_object() get_post_types() get_postdata() get_posts() get_posts_by_author_sql() " +
534
535 "get_posts_nav_link() get_preferred_from_update_core() get_previous_comments_link() get_previous_post() get_previous_posts_link() get_previous_posts_page_link() " +
536
537 "get_private_posts_cap_sql() get_profile() get_publish_time() get_pung() get_queried_object() get_queried_object_id() " +
538
539 "get_query() get_query_template() get_query_var() get_random_bytes() get_rating() get_ratings() " +
540
541 "get_real_file_to_edit() get_real_type() get_registered_nav_menus() get_relationship() get_restriction() get_restrictions() " +
542
543 "get_results() get_role() get_role_caps() get_row() get_rss() get_sample_permalink() " +
544
545 "get_sample_permalink_html() get_sampling_rate() get_scheme() get_search_comments_feed_link() get_search_feed_link() get_search_form() " +
546
547 "get_search_link() get_search_permastruct() get_search_query() get_search_template() get_service() get_service_url() " +
548
549 "get_settings() get_settings_errors() get_shortcode_regex() get_shortcut_link() get_sidebar() get_single_template() " +
550
551 "get_site_allowed_themes() get_site_url() get_sitestats() get_size() get_source() get_source_tags() " +
552
553 "get_space_allowed() get_starttime() get_status_header_desc() get_stylesheet() get_stylesheet_directory() get_stylesheet_directory_uri() " +
554
555 "get_stylesheet_uri() get_super_admins() get_tag() get_tag_feed_link() get_tag_link() get_tag_permastruct() " +
556
557 "get_tag_template() get_tags() get_tags_to_edit() get_taxonomies() get_taxonomy() get_taxonomy_labels() " +
558
559 "get_taxonomy_template() get_temp_dir() get_template() get_template_directory() get_template_directory_uri() get_template_part() " +
560
561 "get_term() get_term_by() get_term_children() get_term_feed_link() get_term_field() get_term_link() " +
562
563 "get_term_to_edit() get_terms() get_terms_to_edit() get_text() get_the_attachment_link() get_the_author() " +
564
565 "get_the_author_aim() get_the_author_description() get_the_author_email() get_the_author_firstname() get_the_author_icq() get_the_author_id() " +
566
567 "get_the_author_lastname() get_the_author_link() get_the_author_login() get_the_author_meta() get_the_author_msn() get_the_author_nickname() " +
568
569 "get_the_author_posts() get_the_author_url() get_the_author_yim() get_the_category() get_the_category_by_id() get_the_category_list() " +
570
571 "get_the_category_rss() get_the_content() get_the_content_feed() get_the_date() get_the_excerpt() get_the_generator() " +
572
573 "get_the_guid() get_the_id() get_the_modified_author() get_the_modified_date() get_the_modified_time() get_the_password_form() " +
574
575 "get_the_post_thumbnail() get_the_tag_list() get_the_tags() get_the_taxonomies() get_the_term_list() get_the_terms() " +
576
577 "get_the_time() get_the_title() get_the_title_rss() get_theme() get_theme_data() get_theme_mod() " +
578
579 "get_theme_root() get_theme_root_uri() get_theme_roots() get_theme_updates() get_themes() get_thumbnail() " +
580
581 "get_thumbnails() get_title() get_to_ping() get_trackback_url() get_transient() get_translations_for_domain() " +
582
583 "get_type() get_udims() get_upload_iframe_src() get_upload_space_available() get_url() get_user_by() " +
584
585 "get_user_by_email() get_user_count() get_user_details() get_user_id_from_string() get_user_meta() get_user_metavalues() " +
586
587 "get_user_option() get_user_setting() get_user_to_edit() get_userdata() get_userdatabylogin() get_userinfo() " +
588
589 "get_usermeta() get_usernumposts() get_users_drafts() get_users_of_blog() get_value() get_var() " +
590
591 "get_weekday() get_weekday_abbrev() get_weekday_initial() get_weekstartend() get_width() get_wp_title_rss() " +
592
593 "get_year_link() get_year_permastruct() getallusersettings() getanchorposition() getanchorwindowposition() getattr() " +
594
595 "getbool() getboundary() getbrowserhtml() getcapabilities() getchmod() getcolor() " +
596
597 "getcolorpickerhtml() getcorner() getcount() getcsssize() getcurrentresult() getdelim() " +
598
599 "getdiff() getelementswithclassname() geterrorcode() geterrormessage() getfile() getfilename() " +
600
601 "getfinal() getfixed() getformat() getfullheader() gethchmod() getheadervalue() " +
602
603 "getint() getiso() getlength() getlevel() getlocation() getlogger() " +
604
605 "getmailmime() getmaxfiles() getmaxsize() getmedialisthtml() getnumchmodfromh() getoffset() " +
606
607 "getoriginal() getparams() getpath() getpos() getrect() getrequestparam() " +
608
609 "getresponse() getrgb() getrootelement() getselection() getselectvalue() getstr() " +
610
611 "getstyle() getsuggestions() gettext_select_plural_form() gettimestamp() gettoken() gettokenname() " +
612
613 "getupdate() getusersetting() getvalue() getxml() glob_pattern_match() glob_regexp() " +
614
615 "global_terms() gonext() goprev() got_mod_rewrite() graceful_fail() grant_super_admin() " +
616
617 "grep() group() gsub() gzip_compression() handle_() handle_content_type() " +
618
619 "handle_request() handle_upload() has_action() has_cap() has_data() has_excerpt() " +
620
621 "has_filter() has_meta() has_nav_menu() has_post_thumbnail() has_tag() hash_hmac() " +
622
623 "hashpassword() hasmethod() hasmultibytes() have_comments() have_posts() head() " +
624
625 "header_image() header_text() header_textcolor() headerline() hello() hello_dolly() " +
626
627 "hello_dolly_get_lyric() help() hide() hide_errors() home_url() host() " +
628
629 "html_type_rss() htmlentities() htmlspecialchars_decode() http_version() human_time_diff() iframe_footer() " +
630
631 "iframe_header() iis_add_rewrite_rule() iis_delete_rewrite_rule() iis_rewrite_rule_exists() iis_save_url_rewrite_rules() iis_supports_permalinks() " +
632
633 "iis_url_rewrite_rules() image() image_add_caption() image_align_input_fields() image_attachment_fields_to_edit() image_attachment_fields_to_save() " +
634
635 "image_constrain_size_for_editor() image_downsize() image_edit_apply_changes() image_get_intermediate_size() image_hwstring() image_link_input_fields() " +
636
637 "image_make_intermediate_size() image_media_send_to_editor() image_resize() image_resize_dimensions() image_selector() image_size_input_fields() " +
638
639 "img_caption_shortcode() imgload() imgmousedown() import_from_file() import_from_reader() in_category() " +
640
641 "in_default_dir() in_the_loop() include() includes_url() index() index_rel_link() " +
642
643 "indexof() info() ingroupsof() init() init_query_flags() initialise_blog_option_info() " +
644
645 "initialize() initialmenumaxdepth() inject() inline_edit_row() inline_edit_term_row() inlineimageexists() " +
646
647 "insert() insert_blog() insert_editor() insert_plain_editor() insert_with_markers() insertaction() " +
648
649 "insertborder() insertchar() insertdragbar() inserthandle() inserthelpiframe() insertmedia() " +
650
651 "inspect() install() install_blog() install_blog_defaults() install_dashboard() install_featured() " +
652
653 "install_global_terms() install_network() install_new() install_package() install_plugin_information() install_plugin_install_status() " +
654
655 "install_plugins_upload() install_popular() install_popular_tags() install_search() install_search_form() install_strings() " +
656
657 "install_theme_information() install_theme_search() install_theme_search_form() install_themes_dashboard() install_themes_feature_list() install_themes_featured() " +
658
659 "install_themes_new() install_themes_updated() install_themes_upload() install_updated() interfaceupdate() interleave_changed_lines() " +
660
661 "internal_error() interpolate() intersect() invalid_media() invoke() is_() " +
662
663 "is_active_sidebar() is_active_widget() is_admin() is_archive() is_archived() is_atom() " +
664
665 "is_attachment() is_author() is_available() is_binary() is_blog_installed() is_blog_user() " +
666
667 "is_category() is_child_theme() is_client_error() is_comment_feed() is_comments_popup() is_date() " +
668
669 "is_day() is_declared_content_ns() is_dynamic_sidebar() is_email() is_email_address_unsafe() is_enabled() " +
670
671 "is_error() is_exists() is_feed() is_front_page() is_home() is_info() " +
672
673 "is_isegment_nz_nc() is_lighttpd_before_() is_linear_whitespace() is_local_attachment() is_main_blog() is_month() " +
674
675 "is_multisite() is_nav_menu() is_nav_menu_item() is_network_only_plugin() is_new_day() is_object_in_taxonomy() " +
676
677 "is_object_in_term() is_ok() is_page() is_page_template() is_paged() is_plugin_active() " +
678
679 "is_plugin_active_for_network() is_plugin_page() is_post_type_hierarchical() is_preview() is_redirect() is_robots() " +
680
681 "is_role() is_rss() is_rtl() is_search() is_serialized() is_serialized_string() " +
682
683 "is_server_error() is_single() is_singular() is_site_admin() is_sticky() is_subdomain_install() " +
684
685 "is_success() is_super_admin() is_tag() is_tax() is_taxonomy() is_taxonomy_hierarchical() " +
686
687 "is_term() is_textdomain_loaded() is_time() is_trackback() is_uninstallable_plugin() is_upload_space_available() " +
688
689 "is_user_logged_in() is_user_member_of_blog() is_user_option_local() is_user_over_quota() is_user_spammy() is_valid() " +
690
691 "is_wp_error() is_wpmu_sitewide_plugin() is_year() isarray() isdebugenabled() iselement() " +
692
693 "isempty() iserror() iserrorenabled() isfatalenabled() isfunction() ishash() " +
694
695 "ishtml() isinfoenabled() isjson() isleftclick() ismail() ismiddleclick() " +
696
697 "isnumber() iso_timezone_to_offset() iso_to_datetime() isqmail() isrightclick() issendmail() " +
698
699 "issmtp() isstring() isstruct() isundefined() isvisible() iswarnenabled() " +
700
701 "itemajaxerror() iter() ixr_base() ixr_client() ixr_clientmulticall() ixr_date() " +
702
703 "ixr_error() ixr_introspectionserver() ixr_message() ixr_request() ixr_server() ixr_value() " +
704
705 "js() js_() js_() js_escape() js_includes() jsencode() " +
706
707 "json_decode() json_encode() keys() klass() kses_init() kses_init_filters() " +
708
709 "kses_remove_filters() lang() language_attributes() last() lastindexof() lcs() " +
710
711 "length() length_required() level_reduction() like_escape() linear_whitespace() link_advanced_meta_box() " +
712
713 "link_cat_row() link_categories_meta_box() link_pages() link_submit_meta_box() link_target_meta_box() link_xfn_meta_box() " +
714
715 "links_add_base_url() links_add_target() links_popup_script() list_authors() list_cats() list_core_update() " +
716
717 "list_files() list_meta() list_plugin_updates() list_theme_updates() listcontent() listmethods() " +
718
719 "load() load_child_theme_textdomain() load_default_textdomain() load_image_to_edit() load_muplugin_textdomain() load_plugin_textdomain() " +
720
721 "load_template() load_textdomain() load_theme_textdomain() locale_stylesheet() localize() locate_template() " +
722
723 "log_app() login() login_header() login_pass_ok() logio() loopback() " +
724
725 "lowercase_octets() magpierss() mailsend() main() maintenance_mode() maintenance_nag() " +
726
727 "make_clickable() make_db_current() make_db_current_silent() make_entry() make_headers() make_plural_form_function() " +
728
729 "make_site_theme() make_site_theme_from_default() make_site_theme_from_oldschool() make_url_footnote() makeobj() manage_columns_prefs() " +
730
731 "map_attrs() map_meta_cap() maybe_add_column() maybe_add_existing_user_to_blog() maybe_create_table() maybe_disable_automattic_widgets() " +
732
733 "maybe_drop_column() maybe_make_link() maybe_redirect_() maybe_run_ajax_cache() maybe_serialize() maybe_unserialize() " +
734
735 "mce_escape() mce_put_file() mctabs() mdel() mdtm() media_buttons() " +
736
737 "media_handle_sideload() media_handle_upload() media_post_single_attachment_fields_to_edit() media_send_to_editor() media_sideload_image() media_single_attachment_fields_to_edit() " +
738
739 "media_upload_audio() media_upload_bypass_url() media_upload_file() media_upload_flash_bypass() media_upload_form() media_upload_form_handler() " +
740
741 "media_upload_gallery() media_upload_gallery_form() media_upload_header() media_upload_html_bypass() media_upload_image() media_upload_library() " +
742
743 "media_upload_library_form() media_upload_tabs() media_upload_type_form() media_upload_type_url_form() media_upload_use_flash() media_upload_video() " +
744
745 "menu_page_url() merge() merge_items() merge_with() meta_box_prefs() meta_form() " +
746
747 "methodhelp() methodize() methodsignature() mget() min_whitespace() mmkdir() " +
748
749 "mod_rewrite_rules() mouseabs() move() movecontent() movehandles() moveoffset() " +
750
751 "moveto() movingmousemove() moxiecode_json() moxiecode_jsonreader() moxiecode_logger() mput() " +
752
753 "ms_cookie_constants() ms_deprecated_blogs_file() ms_file_constants() ms_not_installed() ms_site_check() ms_subdomain_constants() " +
754
755 "ms_upload_constants() msghtml() mt_getcategorylist() mt_getpostcategories() mt_getrecentposttitles() mt_gettrackbackpings() " +
756
757 "mt_publishpost() mt_setpostcategories() mt_supportedmethods() mt_supportedtextfilters() mtime() mu_dropdown_languages() " +
758
759 "mu_options() multicall() mw_editpost() mw_getcategories() mw_getpost() mw_getrecentposts() " +
760
761 "mw_newmediaobject() mw_newpost() mycursor() mysqldate() name_value() native_embed() " +
762
763 "network_admin_url() network_domain_check() network_home_url() network_site_url() network_step() network_step() " +
764
765 "new_line() new_user_email_admin_notice() newblog_notify_siteadmin() newselection() newtracker() newuser_notify_siteadmin() " +
766
767 "next_comment() next_comments_link() next_image_link() next_post() next_post_link() next_post_rel_link() " +
768
769 "next_posts() next_posts_link() next_widget_id_number() nextpage() nextresult() nfinal() " +
770
771 "nlist() no_content() no_update_actions() nocache_headers() noindex() noop() " +
772
773 "norig() normalize() normalize_url() normalize_whitespace() not_allowed() not_found() " +
774
775 "nplurals_and_expression_from_header() ns_to_prefix() number_format_in() observe() ok() onblur() " +
776
777 "oncatchange() onendcrop() onloadinit() openbrowser() opplockcorner() option_update_filter() " +
778
779 "output() output_javascript() owner() page_attributes_meta_box() page_links() page_rewrite_rules() " +
780
781 "page_rows() page_template_dropdown() page_uri_index() paged_walk() paginate_comments_links() paginate_links() " +
782
783 "parent_dropdown() parent_post_rel_link() parenthesize_plural_exression() parentscroll() parse() parse_banner() " +
784
785 "parse_date() parse_iri() parse_mime() parse_query() parse_query_vars() parse_request() " +
786
787 "parse_wcdtf() parsecolor() parsecontextdiff() parseiso() parsekey() parselisting() " +
788
789 "parsetimestamp() parsetxt() parseunifieddiff() partition() pass() pass_cache_data() " +
790
791 "pass_file_data() passive() password() passwordhash() passwordstrength() patchcallback() " +
792
793 "path_is_absolute() path_join() pathinfo() pclzip() pclziputilcopyblock() pclziputiloptiontext() " +
794
795 "pclziputilpathinclusion() pclziputilpathreduction() pclziputilrename() pclziputiltranslatewinpath() pct() peek() " +
796
797 "percent_encoding_normalization() permalink_anchor() permalink_link() permalink_single_rss() pick() pickcolor() " +
798
799 "pingback() pingback_extensions_getpingbacks() pingback_ping() pings_open() pluck() plugin_basename() " +
800
801 "plugin_dir_path() plugin_dir_url() plugin_info() plugin_installer_skin() plugin_sandbox_scrape() plugin_upgrader_skin() " +
802
803 "plugins_api() plugins_search_help() plugins_url() poify() pointer() pointerx() " +
804
805 "pointery() polldoscroll() pomo_cachedfilereader() pomo_cachedintfilereader() pomo_filereader() pomo_reader() " +
806
807 "pomo_stringreader() pop() pop_list() poperror() popstat() populate_network() " +
808
809 "populate_options() populate_roles() populate_roles_() populate_roles_() populate_roles_() populate_roles_() " +
810
811 "populate_roles_() populate_roles_() populate_roles_() populate_roles_() popuplinks() popupwindow() " +
812
813 "popupwindow_attachlistener() popupwindow_autohide() popupwindow_getxyposition() popupwindow_hideifnotclicked() popupwindow_hidepopup() popupwindow_hidepopupwindows() " +
814
815 "popupwindow_isclicked() popupwindow_populate() popupwindow_refresh() popupwindow_setsize() popupwindow_seturl() popupwindow_setwindowproperties() " +
816
817 "popupwindow_showpopup() port() pos() post() post_author_meta_box() post_categories_meta_box() " +
818
819 "post_class() post_comment_meta_box() post_comment_meta_box_thead() post_comment_status_meta_box() post_comments_feed_link() post_custom() " +
820
821 "post_custom_meta_box() post_excerpt_meta_box() post_exists() post_password_required() post_permalink() post_preview() " +
822
823 "post_reply_link() post_revisions_meta_box() post_rows() post_slug_meta_box() post_submit_meta_box() post_tags_meta_box() " +
824
825 "post_thumbnail_meta_box() post_trackback_meta_box() post_type_exists() post_type_supports() postbox_classes() posts_nav_link() " +
826
827 "pre_schema_upgrade() preg_index() prep_atom_text_construct() prepare() prepare_query() prepare_simplepie_object_for_cache() " +
828
829 "prepare_vars_for_template_usage() preparemediaitem() preparemediaiteminit() preparereplacement() prepend_attachment() prepend_each_line() " +
830
831 "presize() press_it() prev_post_rel_link() preview_theme() preview_theme_ob_filter() preview_theme_ob_filter_callback() " +
832
833 "previewchar() previous_comments_link() previous_image_link() previous_post() previous_post_link() previous_posts() " +
834
835 "previous_posts_link() prevresult() print_admin_styles() print_column_headers() print_error() print_footer_scripts() " +
836
837 "print_head_scripts() print_plugin_actions() print_plugins_table() print_scripts() print_scripts_ln() privacy_ping_filter() " +
838
839 "privadd() privaddfile() privaddfilelist() privaddfileusingtempfile() privaddlist() privcalculatestoredfilename() " +
840
841 "privcheckfileheaders() privcheckformat() privclosefd() privconvertheaderfileinfo() privcreate() privdeletebyrule() " +
842
843 "privdircheck() privdisablemagicquotes() privduplicate() priverrorlog() priverrorreset() privextractbyrule() " +
844
845 "privextractfile() privextractfileasstring() privextractfileinoutput() privextractfileusingtempfile() privfiledescrexpand() privfiledescrparseatt() " +
846
847 "privlist() privmerge() privopenfd() privoptiondefaultthreshold() privparseoptions() privreadcentralfileheader() " +
848
849 "privreadendcentraldir() privreadfileheader() privswapbackmagicquotes() privwritecentralfileheader() privwritecentralheader() privwritefileheader() " +
850
851 "process_conditionals() process_default_headers() processheaders() processkey() processresponse() properties() " +
852
853 "pusherror() put() put_attachment() put_contents() put_file() put_post() " +
854
855 "pwd() px() query() query_posts() quit() quote() " +
856
857 "quote_char() quote_escaped() rawlist() read() read_all() read_entry() " +
858
859 "read_line() readaway() readint() readintarray() readtoken() readvalue() " +
860
861 "reason() rebound() recent_comments_style() recipient() recurse_dirsize() redirect() " +
862
863 "redirect_canonical() redirect_guess__permalink() redirect_mu_dashboard() redirect_post() redirect_this_site() redirect_user_to_blog() " +
864
865 "reduce_string() refresh() refresh_blog_details() refresh_user_details() register() register_activation_hook() " +
866
867 "register_admin_color_schemes() register_column_headers() register_deactivation_hook() register_default_headers() register_globals() register_handler() " +
868
869 "register_importer() register_nav_menu() register_nav_menus() register_new_user() register_post_status() register_post_type() " +
870
871 "register_setting() register_sidebar() register_sidebar_widget() register_sidebars() register_taxonomy() register_taxonomy_for_object_type() " +
872
873 "register_theme_directory() register_uninstall_hook() register_widget() register_widget_control() reject() rel_canonical() " +
874
875 "release() remove() remove_accents() remove_action() remove_all_actions() remove_all_caps() " +
876
877 "remove_all_filters() remove_all_shortcodes() remove_cap() remove_div() remove_dot_segments() remove_filter() " +
878
879 "remove_meta_box() remove_option_update_handler() remove_option_whitelist() remove_post_type_support() remove_query_arg() remove_rfc_comments() " +
880
881 "remove_role() remove_shortcode() remove_theme_mod() remove_theme_mods() remove_theme_support() remove_user_from_blog() " +
882
883 "removenetmaskspec() render() rendercharmaphtml() replace() replace_invalid_with_pct_encoding() replace_urls() " +
884
885 "request() request_filesystem_credentials() require_if_theme_supports() reset_password() resetposition() resize() " +
886
887 "resizeiframe() resizeiframeinit() resizeinputs() restore() restore_current_blog() results_are_paged() " +
888
889 "retrieve_password() retrieve_widgets() reverse() revoke_super_admin() rewind_comments() rewind_posts() " +
890
891 "rewrite_rules() rfc_strtime() rfcdate() rich_edit_exists() rsd_link() rss_enclosure() " +
892
893 "rsscache() run() run_command() run_shortcode() s() sack() " +
894
895 "safecss_filter_attr() sanitize() sanitize_bookmark() sanitize_bookmark_field() sanitize_category() sanitize_category_field() " +
896
897 "sanitize_comment_cookies() sanitize_email() sanitize_file_name() sanitize_html_class() sanitize_key() sanitize_option() " +
898
899 "sanitize_post() sanitize_post_field() sanitize_sql_orderby() sanitize_term() sanitize_term_field() sanitize_text_field() " +
900
901 "sanitize_title() sanitize_title_with_dashes() sanitize_url() sanitize_user() sanitize_user_field() sanitize_user_object() " +
902
903 "save() save_mod_rewrite_rules() save_settings() savecontent() savedomdocument() sayhello() " +
904
905 "scan() screen_icon() screen_layout() screen_meta() screen_options() script_concat_settings() " +
906
907 "search_for_folder() search_technorati() search_theme_directories() secret_salt_warning() secureheader() seekto() " +
908
909 "seems_utf() select() select_plural_form() selectbyvalue() selectcurrentresult() selectdrag() " +
910
911 "selected() selectingmousemove() self_link() selx() sely() send() " +
912
913 "send_cmd() send_confirmation_on_profile_email() send_headers() send_through_proxy() send_to_editor() sendandmail() " +
914
915 "sendhello() sendmailsend() sendmsg() sendormail() separate_comments() serializeparameters() " +
916
917 "serve() serve_request() serverhostname() servervar() services_json() services_json_error() " +
918
919 "set() set_() set_author_class() set_authority() set_autodiscovery_cache_duration() set_autodiscovery_level() " +
920
921 "set_blog() set_blog_id() set_cache_class() set_cache_duration() set_cache_location() set_cache_name_function() " +
922
923 "set_caption_class() set_category_base() set_category_class() set_content_type_sniffer_class() set_copyright_class() set_credit_class() " +
924
925 "set_current_entry() set_current_screen() set_current_user() set_custom_fields() set_editor() set_enclosure_class() " +
926
927 "set_favicon_handler() set_feed_url() set_file() set_file_class() set_fragment() set_group() " +
928
929 "set_header() set_headers() set_host() set_image_handler() set_input_encoding() set_item_class() " +
930
931 "set_item_limit() set_javascript() set_locator_class() set_max_checked_feeds() set_output_encoding() set_parser_class() " +
932
933 "set_path() set_permalink_structure() set_port() set_post_thumbnail_size() set_post_type() set_prefix() " +
934
935 "set_query() set_query_var() set_rating_class() set_raw_data() set_restriction_class() set_result() " +
936
937 "set_role() set_sanitize_class() set_scheme() set_screen_options() set_source_class() set_stupidly_fast() " +
938
939 "set_submit_multipart() set_submit_normal() set_tag_base() set_theme_mod() set_timeout() set_transient() " +
940
941 "set_upgrader() set_url_replacements() set_user() set_user_setting() set_useragent() set_userinfo() " +
942
943 "setbool() setbrowserdisabled() setcallbacks() setcapabilities() setcol() setcookies() " +
944
945 "setcurrent() setcursor() setendian() seterror() setfilename() setformat() " +
946
947 "setlanguage() setlevel() setmaxfiles() setmaxsize() setmessagetype() setoptions() " +
948
949 "setoptionsnew() setpath() setpressed() setselect() setselection() setselectraw() " +
950
951 "setserver() setstr() settimeout() settings_errors() settings_fields() setumask() " +
952
953 "setup_photo_actions() setup_postdata() setup_userdata() setusersetting() setwordwrap() setwrap() " +
954
955 "shake() shortcode() shortcode_atts() shortcode_parse_atts() shortcode_unautop() should_decode() " +
956
957 "show() show_blog_form() show_default_header_selector() show_errors() show_message() show_post_thumbnail_warning() " +
958
959 "show_user_form() showcolor() showhandles() shutdown_action_hook() sign() signup_another_blog() " +
960
961 "signup_blog() signup_nonce_check() signup_nonce_fields() signup_user() signuppageheaders() simplepie() " +
962
963 "simplepie_author() simplepie_cache() simplepie_cache_file() simplepie_cache_mysql() simplepie_caption() simplepie_category() " +
964
965 "simplepie_content_type_sniffer() simplepie_copyright() simplepie_credit() simplepie_decode_html_entities() simplepie_enclosure() simplepie_file() " +
966
967 "simplepie_gzdecode() simplepie_http_parser() simplepie_iri() simplepie_item() simplepie_locator() simplepie_parse_date() " +
968
969 "simplepie_rating() simplepie_restriction() simplepie_source() simplepie_xml_declaration_parser() single_cat_title() single_month_title() " +
970
971 "single_post_title() single_tag_title() site() site_admin_notice() site_url() size() " +
972
973 "size_format() skip() skip_whitespace() smtp() smtpclose() smtpconnect() " +
974
975 "smtpsend() sort_items() sort_menu() sortby() space_seperated_tokens() spawn_cron() " +
976
977 "spellchecker() split_ns() splitv() standalone_equals() standalone_name() standalone_value() " +
978
979 "start_el() start_element() start_lvl() start_ns() start_post_rel_link() start_wp() " +
980
981 "startdragmode() startelement() startselection() startswith() stats() status() " +
982
983 "status_header() step() step_() step_() step_() stick_post() " +
984
985 "sticky_class() stop() stop_the_insanity() stopobserving() str() stream_preview_image() " +
986
987 "strip() strip_attributes() strip_clf() strip_comments() strip_htmltags() strip_shortcodes() " +
988
989 "stripalpha() stripscripts() stripslashes_deep() striptags() strlen() styleoptions() " +
990
991 "sub() subclass() submit() submithandler() submitlinks() submittext() " +
992
993 "subscribe_aol() subscribe_bloglines() subscribe_eskobo() subscribe_feed() subscribe_feedfeeds() subscribe_feedster() " +
994
995 "subscribe_google() subscribe_gritwire() subscribe_itunes() subscribe_msn() subscribe_netvibes() subscribe_newsburst() " +
996
997 "subscribe_newsgator() subscribe_odeo() subscribe_outlook() subscribe_podcast() subscribe_podnova() subscribe_rojo() " +
998
999 "subscribe_service() subscribe_url() subscribe_yahoo() succ() suggest() supports_collation() " +
1000
1001 "suppress_errors() swfuploadloadfailed() swfuploadpreload() switch_theme() switch_to_blog() switchtype() " +
1002
1003 "switchuploader() sync_category_tag_slugs() systype() tables() tag_close() tag_description() " +
1004
1005 "tag_escape() tag_exists() tag_open() tag_rows() take_action() taxonomy_exists() " +
1006
1007 "tb_click() tb_close() tb_detectmacxff() tb_getpagesize() tb_init() tb_parsequery() " +
1008
1009 "tb_position() tb_remove() tb_show() tb_showiframe() tellscaled() tellselect() " +
1010
1011 "term_description() term_exists() test() text_diff() text_diff_op_add() text_diff_op_change() " +
1012
1013 "text_diff_op_copy() text_diff_op_delete() text_diff_renderer() text_diff_renderer_table() text_mappeddiff() text_or_binary() " +
1014
1015 "textline() the_attachment_link() the_attachment_links() the_attachments_url() the_author() the_author_aim() " +
1016
1017 "the_author_description() the_author_email() the_author_firstname() the_author_icq() the_author_id() the_author_lastname() " +
1018
1019 "the_author_link() the_author_login() the_author_meta() the_author_msn() the_author_nickname() the_author_posts() " +
1020
1021 "the_author_posts_link() the_author_url() the_author_yim() the_categories_url() the_category() the_category_head() " +
1022
1023 "the_category_id() the_category_rss() the_comment() the_content() the_content_feed() the_content_rss() " +
1024
1025 "the_date() the_date_xml() the_editor() the_entries_url() the_entry_url() the_excerpt() " +
1026
1027 "the_excerpt_rss() the_feed_link() the_generator() the_guid() the_id() the_media_upload_tabs() " +
1028
1029 "the_media_url() the_meta() the_modified_author() the_modified_date() the_modified_time() the_permalink() " +
1030
1031 "the_permalink_rss() the_post() the_post_password() the_post_thumbnail() the_search_query() the_shortlink() " +
1032
1033 "the_tags() the_taxonomies() the_terms() the_time() the_title() the_title_attribute() " +
1034
1035 "the_title_rss() the_weekday() the_weekday_date() the_widget() theme_info() theme_installer_skin() " +
1036
1037 "theme_update_available() theme_upgrader_skin() themes_api() throwerror() time_hms() timer_start() " +
1038
1039 "timer_stop() times() tinymce_include() toarray() toback() tocolorpart() " +
1040
1041 "tofront() toggle_text() togglewordwrap() tohtml() tojson() toobject() " +
1042
1043 "toospath() top() topaddedstring() toquerypair() toqueryparams() toquerystring() " +
1044
1045 "touch_time() toxml() trackback() trackback_rdf() trackback_response() trackback_url() " +
1046
1047 "trackback_url_list() trackmove() trackup() trailingslashit() translate() translate_entry() " +
1048
1049 "translate_level_to_cap() translate_level_to_role() translate_plural() translate_smiley() translate_user_role() translate_with_context() " +
1050
1051 "translate_with_gettext_context() translation_entry() trim_quotes() trimnewlines() trimsize() truncate() " +
1052
1053 "turn() twentyten_admin_header_style() twentyten_auto_excerpt_more() twentyten_comment() twentyten_continue_reading_link() twentyten_custom_excerpt_more() " +
1054
1055 "twentyten_excerpt_length() twentyten_page_menu_args() twentyten_posted_in() twentyten_posted_on() twentyten_remove_gallery_css() twentyten_remove_recent_comments_style() " +
1056
1057 "twentyten_setup() twentyten_widgets_init() type_url_form_audio() type_url_form_file() type_url_form_image() type_url_form_video() " +
1058
1059 "uidl() uncomment_rfc() uncompress() unconsume() underscore() undismiss_core_update() " +
1060
1061 "unescapehtml() unfilterjson() uninstall_plugin() uniq() unknown() unload_textdomain() " +
1062
1063 "unloadhandler() unpack_package() unpoify() unregister() unregister_default_headers() unregister_handler() " +
1064
1065 "unregister_nav_menu() unregister_setting() unregister_sidebar() unregister_sidebar_widget() unregister_widget() unregister_widget_control() " +
1066
1067 "unscale() unset() unset_children() unstick_post() untrailingslashit() unzip_file() " +
1068
1069 "update() update_archived() update_attached_file() update_blog_details() update_blog_option() update_blog_public() " +
1070
1071 "update_blog_status() update_callback() update_category_cache() update_comment_cache() update_comment_meta() update_core() " +
1072
1073 "update_gallery_tab() update_home_siteurl() update_meta() update_meta_cache() update_metadata() update_nag() " +
1074
1075 "update_object_term_cache() update_option() update_option_new_admin_email() update_page_cache() update_post_cache() update_post_caches() " +
1076
1077 "update_post_meta() update_postmeta_cache() update_posts_count() update_recently_edited() update_right_now_message() update_term_cache() " +
1078
1079 "update_timer() update_user_caches() update_user_level_from_caps() update_user_meta() update_user_option() update_user_status() " +
1080
1081 "update_usermeta() updatecolor() updatecount() updatecurrentdepth() updatelight() updatemediaform() " +
1082
1083 "updatemenumaxdepth() updatepreview() updatesharedvars() updatetext() updatevisibility() updatevisible() " +
1084
1085 "upgrade() upgrade_() upgrade_() upgrade_() upgrade_() upgrade_() " +
1086
1087 "upgrade_() upgrade_() upgrade__old_tables() upgrade__options_table() upgrade_() upgrade_() " +
1088
1089 "upgrade_() upgrade_() upgrade_() upgrade_() upgrade_() upgrade_all() " +
1090
1091 "upgrade_network() upgrade_old_slugs() upgrade_strings() upit() upload_is_file_too_big() upload_is_user_over_quota() " +
1092
1093 "upload_size_limit_filter() upload_space_setting() uploadcomplete() uploaderror() uploadprogress() uploadstart() " +
1094
1095 "uploadsuccess() url_shorten() url_to_postid() urlencode_deep() use_authentication() use_codepress() " +
1096
1097 "use_ssl_preference() user() user_can_access_admin_page() user_can_create_draft() user_can_create_post() user_can_delete_post() " +
1098
1099 "user_can_delete_post_comments() user_can_edit_post() user_can_edit_post_comments() user_can_edit_post_date() user_can_edit_user() user_can_richedit() " +
1100
1101 "user_can_set_post_date() user_pass_ok() user_row() user_trailingslashit() username() username_exists() " +
1102
1103 "users_can_register_signup_filter() using_index_permalinks() using_mod_rewrite_permalinks() using_permalinks() utfutf() utfutf() " +
1104
1105 "utf_bad_replace() utf_uri_encode() utfcharboundary() valid_unicode() validate_active_plugins() validate_another_blog_signup() " +
1106
1107 "validate_blog_form() validate_blog_signup() validate_current_theme() validate_email() validate_file_to_edit() validate_plugin() " +
1108
1109 "validate_user_form() validate_user_signup() validate_username() value() value_char() values() " +
1110
1111 "verify() version_equals() version_name() version_value() viewx() viewy() " +
1112
1113 "wa_posts_where_include_drafts_filter() walk() walk_category_dropdown_tree() walk_category_tree() walk_nav_menu_tree() walk_page_dropdown_tree() " +
1114
1115 "walk_page_tree() warn() watchkeys() weblog_ping() welcome_user_msg_filter() widget() " +
1116
1117 "widget_akismet() widget_akismet_control() widget_akismet_register() widget_akismet_style() win_is_writable() windows__to_utf() " +
1118
1119 "without() wlwmanifest_link() wordpressmu_wp_mail_from() wp() wp_add_dashboard_widget() wp_add_post_tags() " +
1120
1121 "wp_admin_css() wp_admin_css_color() wp_admin_css_uri() wp_ajax_response() wp_allow_comment() wp_attachment_is_image() " +
1122
1123 "wp_attempt_focus() wp_authenticate() wp_authenticate_cookie() wp_authenticate_username_password() wp_blacklist_check() wp_cache_add() " +
1124
1125 "wp_cache_add_global_groups() wp_cache_add_non_persistent_groups() wp_cache_close() wp_cache_delete() wp_cache_flush() wp_cache_get() " +
1126
1127 "wp_cache_init() wp_cache_replace() wp_cache_reset() wp_cache_set() wp_category_checklist() wp_check_filetype() " +
1128
1129 "wp_check_filetype_and_ext() wp_check_for_changed_slugs() wp_check_invalid_utf() wp_check_mysql_version() wp_check_password() wp_check_php_mysql_versions() " +
1130
1131 "wp_check_post_lock() wp_clear_auth_cookie() wp_clear_scheduled_hook() wp_clearcookie() wp_clone() wp_comment_form_unfiltered_html_nonce() " +
1132
1133 "wp_comment_reply() wp_comment_trashnotice() wp_constrain_dimensions() wp_content_dir() wp_convert_bytes_to_hr() wp_convert_hr_to_bytes() " +
1134
1135 "wp_convert_widget_settings() wp_cookie_constants() wp_count_attachments() wp_count_comments() wp_count_posts() wp_count_terms() " +
1136
1137 "wp_create_categories() wp_create_category() wp_create_nav_menu() wp_create_nonce() wp_create_post_autosave() wp_create_tag() " +
1138
1139 "wp_create_term() wp_create_thumbnail() wp_create_user() wp_cron() wp_crop_image() wp_dashboard() " +
1140
1141 "wp_dashboard_cached_rss_widget() wp_dashboard_empty() wp_dashboard_incoming_links() wp_dashboard_incoming_links_control() wp_dashboard_incoming_links_output() wp_dashboard_plugins() " +
1142
1143 "wp_dashboard_plugins_output() wp_dashboard_primary() wp_dashboard_primary_control() wp_dashboard_quick_press() wp_dashboard_quick_press_output() wp_dashboard_recent_comments() " +
1144
1145 "wp_dashboard_recent_comments_control() wp_dashboard_recent_drafts() wp_dashboard_right_now() wp_dashboard_rss_control() wp_dashboard_rss_output() wp_dashboard_secondary() " +
1146
1147 "wp_dashboard_secondary_control() wp_dashboard_secondary_output() wp_dashboard_setup() wp_dashboard_trigger_widget_control() wp_debug_mode() wp_default_editor() " +
1148
1149 "wp_default_scripts() wp_default_styles() wp_defer_comment_counting() wp_defer_term_counting() wp_delete_attachment() wp_delete_category() " +
1150
1151 "wp_delete_comment() wp_delete_link() wp_delete_nav_menu() wp_delete_object_term_relationships() wp_delete_post() wp_delete_post_revision() " +
1152
1153 "wp_delete_term() wp_delete_user() wp_deletecategory() wp_deletecomment() wp_deletepage() wp_dependencies() " +
1154
1155 "wp_deregister_script() wp_deregister_style() wp_die() wp_doc_link_parse() wp_dropdown_categories() wp_dropdown_cats() " +
1156
1157 "wp_dropdown_pages() wp_dropdown_roles() wp_dropdown_users() wp_edit_attachments_query() wp_edit_posts_query() wp_editcomment() " +
1158
1159 "wp_editpage() wp_embed() wp_embed_defaults() wp_embed_handler_googlevideo() wp_embed_register_handler() wp_embed_unregister_handler() " +
1160
1161 "wp_enqueue_script() wp_enqueue_scripts() wp_enqueue_style() wp_error() wp_exif_datets() wp_exif_fracdec() " +
1162
1163 "wp_expand_dimensions() wp_explain_nonce() wp_exttype() wp_favicon_request() wp_feed_cache() wp_feed_cache_transient() " +
1164
1165 "wp_filesystem() wp_filesystem_direct() wp_filesystem_ftpext() wp_filesystem_ftpsockets() wp_filesystem_ssh() wp_filter_comment() " +
1166
1167 "wp_filter_kses() wp_filter_nohtml_kses() wp_filter_post_kses() wp_fix_server_vars() wp_footer() wp_functionality_constants() " +
1168
1169 "wp_generate_attachment_metadata() wp_generate_auth_cookie() wp_generate_password() wp_generate_tag_cloud() wp_generator() wp_get_active_and_valid_plugins() " +
1170
1171 "wp_get_archives() wp_get_associated_nav_menu_items() wp_get_attachment_image() wp_get_attachment_image_src() wp_get_attachment_link() wp_get_attachment_metadata() " +
1172
1173 "wp_get_attachment_thumb_file() wp_get_attachment_thumb_url() wp_get_attachment_url() wp_get_comment_status() wp_get_cookie_login() wp_get_current_commenter() " +
1174
1175 "wp_get_current_user() wp_get_http() wp_get_http_headers() wp_get_link_cats() wp_get_links() wp_get_linksbyname() " +
1176
1177 "wp_get_mu_plugins() wp_get_nav_menu_items() wp_get_nav_menu_object() wp_get_nav_menu_to_edit() wp_get_nav_menus() wp_get_nocache_headers() " +
1178
1179 "wp_get_object_terms() wp_get_original_referer() wp_get_post_autosave() wp_get_post_categories() wp_get_post_cats() wp_get_post_revision() " +
1180
1181 "wp_get_post_revisions() wp_get_post_tags() wp_get_post_terms() wp_get_recent_posts() wp_get_referer() wp_get_schedule() " +
1182
1183 "wp_get_schedules() wp_get_shortlink() wp_get_sidebars_widgets() wp_get_single_post() wp_get_widget_defaults() wp_getauthors() " +
1184
1185 "wp_getcomment() wp_getcommentcount() wp_getcomments() wp_getcommentstatuslist() wp_getoptions() wp_getpage() " +
1186
1187 "wp_getpagelist() wp_getpages() wp_getpagestatuslist() wp_getpagetemplates() wp_getpoststatuslist() wp_gettags() " +
1188
1189 "wp_getusersblogs() wp_guess_url() wp_handle_sideload() wp_handle_upload() wp_handle_upload_error() wp_hash() " +
1190
1191 "wp_hash_password() wp_head() wp_html_excerpt() wp_htmledit_pre() wp_http() wp_http_cookie() " +
1192
1193 "wp_iframe() wp_image_editor() wp_imagecreatetruecolor() wp_import_cleanup() wp_import_handle_upload() wp_import_upload_form() " +
1194
1195 "wp_importer() wp_initial_constants() wp_initial_nav_menu_meta_boxes() wp_insert_attachment() wp_insert_category() wp_insert_comment() " +
1196
1197 "wp_insert_link() wp_insert_post() wp_insert_term() wp_insert_user() wp_install() wp_install_defaults() " +
1198
1199 "wp_is_post_autosave() wp_is_post_revision() wp_iso_descrambler() wp_just_in_time_script_localization() wp_kses() wp_kses_array_lc() " +
1200
1201 "wp_kses_attr() wp_kses_bad_protocol() wp_kses_bad_protocol_once() wp_kses_bad_protocol_once() wp_kses_check_attr_val() wp_kses_data() " +
1202
1203 "wp_kses_decode_entities() wp_kses_hair() wp_kses_hook() wp_kses_html_error() wp_kses_js_entities() wp_kses_named_entities() " +
1204
1205 "wp_kses_no_null() wp_kses_normalize_entities() wp_kses_normalize_entities() wp_kses_normalize_entities() wp_kses_post() wp_kses_split() " +
1206
1207 "wp_kses_split() wp_kses_stripslashes() wp_kses_version() wp_link_category_checklist() wp_link_pages() wp_list_authors() " +
1208
1209 "wp_list_bookmarks() wp_list_categories() wp_list_cats() wp_list_comments() wp_list_pages() wp_list_post_revisions() " +
1210
1211 "wp_list_widget_controls() wp_list_widget_controls_dynamic_sidebar() wp_list_widgets() wp_load_alloptions() wp_load_core_site_options() wp_load_image() " +
1212
1213 "wp_locale() wp_localize_script() wp_login() wp_login_form() wp_login_url() wp_loginout() " +
1214
1215 "wp_logout() wp_logout_url() wp_lostpassword_url() wp_magic_quotes() wp_mail() wp_maintenance() " +
1216
1217 "wp_make_link_relative() wp_manage_media_columns() wp_manage_pages_columns() wp_manage_posts_columns() wp_match_mime_types() wp_matchesmapregex() " +
1218
1219 "wp_max_upload_size() wp_menu_unfold() wp_meta() wp_mime_type_icon() wp_mkdir_p() wp_nav_menu() " +
1220
1221 "wp_nav_menu_item_link_meta_box() wp_nav_menu_item_post_type_meta_box() wp_nav_menu_item_taxonomy_meta_box() wp_nav_menu_locations_meta_box() wp_nav_menu_manage_columns() wp_nav_menu_max_depth() " +
1222
1223 "wp_nav_menu_post_type_meta_boxes() wp_nav_menu_setup() wp_nav_menu_taxonomy_meta_boxes() wp_nav_menu_widget() wp_new_blog_notification() wp_new_comment() " +
1224
1225 "wp_new_user_notification() wp_newcategory() wp_newcomment() wp_newpage() wp_next_scheduled() wp_nonce_ays() " +
1226
1227 "wp_nonce_field() wp_nonce_tick() wp_nonce_url() wp_not_installed() wp_notify_moderator() wp_notify_postauthor() " +
1228
1229 "wp_object_cache() wp_oembed() wp_oembed_add_provider() wp_oembed_get() wp_old_slug_redirect() wp_original_referer_field() " +
1230
1231 "wp_page_menu() wp_parse_auth_cookie() wp_parse_str() wp_password_change_notification() wp_plugin_directory_constants() wp_plugin_update_row() " +
1232
1233 "wp_plugin_update_rows() wp_plugins_dir() wp_popular_terms_checklist() wp_post_mime_type_where() wp_post_revision_title() wp_pre_kses_less_than() " +
1234
1235 "wp_pre_kses_less_than_callback() wp_print_footer_scripts() wp_print_head_scripts() wp_print_scripts() wp_print_styles() wp_protect_special_option() " +
1236
1237 "wp_prototype_before_jquery() wp_publish_post() wp_query() wp_rand() wp_read_image_metadata() wp_redirect() " +
1238
1239 "wp_referer_field() wp_register() wp_register_script() wp_register_sidebar_widget() wp_register_style() wp_register_widget_control() " +
1240
1241 "wp_rel_nofollow() wp_rel_nofollow_callback() wp_remote_fopen() wp_remote_get() wp_remote_head() wp_remote_post() " +
1242
1243 "wp_remote_request() wp_remote_retrieve_body() wp_remote_retrieve_header() wp_remote_retrieve_headers() wp_remote_retrieve_response_code() wp_remote_retrieve_response_message() " +
1244
1245 "wp_reschedule_event() wp_reset_postdata() wp_reset_query() wp_reset_vars() wp_restore_image() wp_restore_post_revision() " +
1246
1247 "wp_revoke_user() wp_rewrite() wp_rewrite_rules() wp_richedit_pre() wp_role() wp_roles() " +
1248
1249 "wp_rss() wp_safe_redirect() wp_salt() wp_sanitize_redirect() wp_save_image() wp_save_image_file() " +
1250
1251 "wp_save_nav_menu_items() wp_save_post_revision() wp_schedule_event() wp_schedule_single_event() wp_script_is() wp_set_all_user_settings() " +
1252
1253 "wp_set_auth_cookie() wp_set_comment_status() wp_set_current_user() wp_set_internal_encoding() wp_set_lang_dir() wp_set_link_cats() " +
1254
1255 "wp_set_object_terms() wp_set_password() wp_set_post_categories() wp_set_post_cats() wp_set_post_lock() wp_set_post_tags() " +
1256
1257 "wp_set_post_terms() wp_set_sidebars_widgets() wp_set_wpdb_vars() wp_setcookie() wp_setoptions() wp_setup_nav_menu_item() " +
1258
1259 "wp_shake_js() wp_shortlink_header() wp_shortlink_wp_head() wp_shrink_dimensions() wp_sidebar_description() wp_signon() " +
1260
1261 "wp_simplepie_file() wp_spam_comment() wp_specialchars() wp_specialchars_decode() wp_sprintf() wp_sprintf_l() " +
1262
1263 "wp_ssl_constants() wp_start_object_cache() wp_stream_image() wp_strip_all_tags() wp_style_is() wp_style_loader_src() " +
1264
1265 "wp_suggestcategories() wp_tag_cloud() wp_templating_constants() wp_tempnam() wp_terms_checklist() wp_text_diff() " +
1266
1267 "wp_themes_dir() wp_throttle_comment_flood() wp_tiny_mce() wp_title() wp_title_rss() wp_transition_comment_status() " +
1268
1269 "wp_transition_post_status() wp_trash_comment() wp_trash_post() wp_trash_post_comments() wp_trim_excerpt() wp_unique_filename() " +
1270
1271 "wp_unique_post_slug() wp_unique_term_slug() wp_unregister_globals() wp_unregister_sidebar_widget() wp_unregister_widget_control() wp_unschedule_event() " +
1272
1273 "wp_unspam_comment() wp_untrash_comment() wp_untrash_post() wp_untrash_post_comments() wp_update_attachment_metadata() wp_update_category() " +
1274
1275 "wp_update_comment() wp_update_comment_count() wp_update_comment_count_now() wp_update_core() wp_update_link() wp_update_nav_menu_item() " +
1276
1277 "wp_update_nav_menu_object() wp_update_plugin() wp_update_plugins() wp_update_post() wp_update_term() wp_update_term_count() " +
1278
1279 "wp_update_term_count_now() wp_update_theme() wp_update_themes() wp_update_user() wp_upgrade() wp_upgrader() " +
1280
1281 "wp_upgrader_skin() wp_upload_bits() wp_upload_dir() wp_user() wp_user_search() wp_user_settings() " +
1282
1283 "wp_validate_auth_cookie() wp_validate_redirect() wp_verify_nonce() wp_version_check() wp_widget() wp_widget_archives() " +
1284
1285 "wp_widget_calendar() wp_widget_categories() wp_widget_control() wp_widget_description() wp_widget_factory() wp_widget_links() " +
1286
1287 "wp_widget_meta() wp_widget_pages() wp_widget_recent_comments() wp_widget_recent_posts() wp_widget_rss() wp_widget_rss_form() " +
1288
1289 "wp_widget_rss_output() wp_widget_rss_process() wp_widget_search() wp_widget_tag_cloud() wp_widget_text() wp_widgets_init() " +
1290
1291 "wp_write_post() wp_xmlrpc_server() wpautop() wpdb() wpfileerror() wpmu_activate_signup() " +
1292
1293 "wpmu_activate_stylesheet() wpmu_admin_do_redirect() wpmu_admin_redirect_add_updated_param() wpmu_checkavailablespace() wpmu_create_blog() wpmu_create_user() " +
1294
1295 "wpmu_current_site() wpmu_delete_blog() wpmu_delete_user() wpmu_get_blog_allowedthemes() wpmu_log_new_registrations() wpmu_menu() " +
1296
1297 "wpmu_signup_blog() wpmu_signup_blog_notification() wpmu_signup_stylesheet() wpmu_signup_user() wpmu_signup_user_notification() wpmu_update_blogs_date() " +
1298
1299 "wpmu_validate_blog_signup() wpmu_validate_user_signup() wpmu_welcome_notification() wpmu_welcome_user_notification() wpqueueerror() wpsetasthumbnail() " +
1300
1301 "wptexturize() wrap() wraptext() write_post() writeembed() writeflash() " +
1302
1303 "writequicktime() writerealmedia() writeshockwave() writewindowsmedia() wxr_cat_name() wxr_category_description() " +
1304
1305 "wxr_cdata() wxr_missing_parents() wxr_post_taxonomy() wxr_site_url() wxr_tag_description() wxr_tag_name() " +
1306
1307 "wxr_term_description() wxr_term_name() xfn_check() xml_encoding() xml_escape() xmlrpc_getpostcategory() " +
1308
1309 "xmlrpc_getposttitle() xmlrpc_removepostdata() zeroise() zip() " +
1310
1311 "PHPfunctionsusedonthesite abs() addcslashes() addslashes() array_change_key_case() " +
1312
1313 "array_diff() array_fill() array_filter() array_flip() array_intersect() array_key_exists() " +
1314
1315 "array_keys() array_map() array_merge() array_merge_recursive() array_pop() array_push() " +
1316
1317 "array_rand() array_reduce() array_reverse() array_search() array_shift() array_slice() " +
1318
1319 "array_splice() array_sum() array_unique() array_unshift() array_values() array_walk() " +
1320
1321 "arsort() asort() assert() atan() base_decode() base_encode() " +
1322
1323 "base_convert() basename() binhex() call_user_func() call_user_func_array() ceil() " +
1324
1325 "chdir() chgrp() chmod() chown() chr() chunk_split() " +
1326
1327 "class_exists() clearstatcache() closedir() compact() constant() copy() " +
1328
1329 "cos() count() count_chars() create_function() crypt() curl_close() " +
1330
1331 "curl_errno() curl_error() curl_exec() curl_getinfo() curl_init() curl_setopt() " +
1332
1333 "curl_version() current() date() debug_backtrace() dechex() decoct() " +
1334
1335 "define() defined() dirname() dl() each() end() " +
1336
1337 "ereg() ereg_replace() eregi() error_log() error_reporting() escapeshellarg() " +
1338
1339 "escapeshellcmd() exec() exif_read_data() exp() explode() extension_loaded() " +
1340
1341 "extract() fclose() feof() fflush() fgets() file() " +
1342
1343 "file_exists() file_get_contents() file_put_contents() fileatime() filegroup() filemtime() " +
1344
1345 "fileowner() fileperms() filesize() floatval() floor() flush() " +
1346
1347 "fread() fseek() fsockopen() ftell() ftp_chdir() ftp_chmod() " +
1348
1349 "ftp_close() ftp_connect() ftp_delete() ftp_fget() ftp_fput() ftp_get_option() " +
1350
1351 "ftp_login() ftp_mdtm() ftp_mkdir() ftp_nlist() ftp_pasv() ftp_pwd() " +
1352
1353 "ftp_rawlist() ftp_rename() ftp_rmdir() ftp_set_option() ftp_site() ftp_size() " +
1354
1355 "ftp_ssl_connect() ftp_systype() func_get_arg() func_get_args() func_num_args() function_exists() " +
1356
1357 "fwrite() get_class() get_class_methods() get_defined_constants() get_html_translation_table() get_magic_quotes_gpc() " +
1358
1359 "get_magic_quotes_runtime() get_object_vars() get_parent_class() getcwd() getdate() getenv() " +
1360
1361 "gethostbyaddr() gethostbyname() gethostbynamel() getimagesize() getmyuid() gettext() " +
1362
1363 "gettype() glob() gmdate() gmmktime() gzdeflate() gzencode() " +
1364
1365 "gzinflate() gzopen() gzuncompress() header() headers_sent() hexdec() " +
1366
1367 "html_entity_decode() htmlentities() htmlspecialchars() http_build_query() iconv_mime_decode() ignore_user_abort() " +
1368
1369 "imagealphablending() imageantialias() imagecolorstotal() imagecopy() imagecopyresampled() imagecreatefromgif() " +
1370
1371 "imagecreatefromjpeg() imagecreatefrompng() imagecreatefromstring() imagecreatetruecolor() imagedestroy() imagegif() " +
1372
1373 "imageistruecolor() imagejpeg() imagepng() imagerotate() imagesavealpha() imagesx() " +
1374
1375 "imagesy() imagetruecolortopalette() imagetypes() implode() in_array() ini_get() " +
1376
1377 "ini_set() intval() iplong() iptcparse() is_a() is_array() " +
1378
1379 "is_bool() is_callable() is_dir() is_executable() is_file() is_float() " +
1380
1381 "is_link() is_long() is_null() is_numeric() is_object() is_readable() " +
1382
1383 "is_resource() is_scalar() is_string() is_subclass_of() is_uploaded_file() is_writable() " +
1384
1385 "key() ksort() link() localtime() log() log() " +
1386
1387 "longip() ltrim() mail() max() mb_convert_encoding() mb_detect_encoding() " +
1388
1389 "mb_internal_encoding() mb_strlen() mb_strtolower() mb_substr() method_exists() microtime() " +
1390
1391 "mime_content_type() min() mkdir() mktime() move_uploaded_file() mt_rand() " +
1392
1393 "mysql_affected_rows() mysql_connect() mysql_error() mysql_fetch_field() mysql_fetch_object() mysql_fetch_row() " +
1394
1395 "mysql_free_result() mysql_get_server_info() mysql_insert_id() mysql_num_fields() mysql_num_rows() mysql_query() " +
1396
1397 "mysql_real_escape_string() mysql_select_db() mysql_unbuffered_query() name() natcasesort() next() " +
1398
1399 "nlbr() number_format() ob_end_clean() ob_end_flush() ob_get_clean() ob_get_contents() " +
1400
1401 "ob_get_flush() ob_get_length() ob_start() opendir() openssl_error_string() openssl_pkcs_sign() " +
1402
1403 "ord() pack() parse_str() parse_url() pathinfo() pclose() " +
1404
1405 "php_sapi_name() php_uname() phpversion() popen() posix_getgrgid() posix_getpwuid() " +
1406
1407 "pow() preg_match() preg_match_all() preg_quote() preg_replace() preg_replace_callback() " +
1408
1409 "preg_split() prev() print_r() pspell_check() pspell_config_create() pspell_new() " +
1410
1411 "pspell_new_config() pspell_suggest() quoted_printable_decode() rand() range() rawurldecode() " +
1412
1413 "rawurlencode() readfile() realpath() register_shutdown_function() rename() reset() " +
1414
1415 "restore_error_handler() rewind() rmdir() round() rtrim() serialize() " +
1416
1417 "set_error_handler() set_magic_quotes_runtime() set_time_limit() setcookie() settype() sha() " +
1418
1419 "shell_exec() shuffle() simplexml_load_string() sin() sleep() socket_accept() " +
1420
1421 "socket_bind() socket_close() socket_connect() socket_create() socket_getsockname() socket_last_error() " +
1422
1423 "socket_listen() socket_read() socket_set_option() socket_strerror() socket_write() sort() " +
1424
1425 "split() sqrt() srand() sscanf() str_pad() str_repeat() " +
1426
1427 "str_replace() str_split() strcasecmp() strcmp() strcspn() stream_context_create() " +
1428
1429 "stream_get_contents() stream_get_meta_data() stream_set_blocking() stream_set_timeout() strftime() strip_tags() " +
1430
1431 "stripcslashes() stripos() stripslashes() stristr() strnatcasecmp() strncmp() " +
1432
1433 "strpos() strrchr() strrev() strrpos() strspn() strstr() " +
1434
1435 "strtolower() strtotime() strtoupper() strtr() strval() substr() " +
1436
1437 "substr_count() substr_replace() tempnam() time() token_get_all() touch() " +
1438
1439 "trigger_error() trim() uasort() ucfirst() ucwords() uksort() " +
1440
1441 "umask() uniqid() unlink() unpack() unserialize() urldecode() " +
1442
1443 "urlencode() usort() utf_encode() var_export() version_compare() vsprintf() " +
1444
1445 "wordwrap() xml_error_string() xml_get_current_byte_index() xml_get_current_column_number() xml_get_current_line_number() xml_get_error_code() " +
1446
1447 "xml_parse() xml_parse_into_struct() xml_parser_create() xml_parser_create_ns() xml_parser_free() xml_parser_set_option() " +
1448
1449 "xml_set_character_data_handler() xml_set_default_handler() xml_set_element_handler() xml_set_end_namespace_decl_handler() xml_set_object() xml_set_start_namespace_decl_handler() " +
1450
1451 "zend_version() ").split(" ");
1452
1453
1454
1455
1456
1457
1458
1459 jQuery(document).ready(function($) {
1460
1461 //quit if editing this plugin since it will spaz out!!
1462 if ( $('input[name=file]').val() == 'ace/ace.php' ){
1463 $('#newcontent').css({'display': 'inline', 'width': '70%'}); //unhide the usual textarea
1464 return;
1465 }
1466
1467 //add div for ace editor to latch on to
1468 $('#template').prepend("<div style='width:80%;height:500px;margin-right:0!important;' id='fancyeditordiv'></div>");
1469 //create the editor instance
1470 editor = ace.edit("fancyeditordiv");
1471 //set the editor theme
1472 editor.setTheme("ace/theme/dawn");
1473 //get a copy of the initial file contents (the file being edited)
1474 var intialData = $('#newcontent').val()
1475 //add the file contents to our new editor instance
1476 editor.getSession().setValue( intialData );
1477
1478
1479 //are we editing a theme or plugin?
1480 <?php if($_SERVER['PHP_SELF'] === '/wp-admin/plugin-editor.php'){ ?>
1481 var aceedittype = 'plugin';
1482 <?php }elseif($_SERVER['PHP_SELF'] === '/wp-admin/theme-editor.php'){?>
1483 var aceedittype = 'theme';
1484 <?php }//end ?>
1485
1486
1487 //ajax call to generate a backup of this file we are about to edit
1488 var data = { action: 'ace_backup_call', filename: $('input[name=file]').val(), edittype: aceedittype };
1489 jQuery.post(ajaxurl, data, function(response) {
1490 if (response === 'success'){
1491 alert("A backup copy of this file has been generated.");
1492 }
1493 });
1494
1495 //use editors php mode
1496 var phpMode = require("ace/mode/php").Mode;
1497 editor.getSession().setMode(new phpMode());
1498
1499
1500 $('#submit').click(function(event){
1501 var use_val = editor.getSession().getValue();
1502 $('textarea#newcontent').text( use_val ); //.html does some dodgy things with certain php files
1503 })
1504
1505
1506 //START WP AUTOCOMPLETE
1507
1508 //create the autocomplete dropdown
1509 ac = document.createElement('select');
1510
1511 ac.id = 'ac';
1512
1513 ac.namme = 'ac';
1514
1515 ac.style.position='absolute';
1516
1517 ac.style.zIndex=100;
1518
1519 ac.style.width='auto';
1520
1521 ac.style.display='none';
1522
1523 ac.style.height='auto';
1524
1525 ac.size=10;
1526
1527 editor.container.appendChild(ac);
1528
1529
1530
1531
1532 //hook onto any change in editor contents
1533 editor.getSession().on('change', function(e) {
1534
1535 //don't continue with autocomplete if /n entered
1536 try{
1537 if ( e.data.text.charCodeAt(0) == 10 ){
1538 return;
1539 }
1540 }catch(e){}
1541
1542 //get cursor/selection
1543 var range = editor.getSelectionRange();
1544
1545 //do we need to extend the length of the autocomplete string
1546 if (autocompleting){
1547 autocompletelength = autocompletelength + 1;
1548 }else{
1549 autocompletelength = 2;
1550 }
1551
1552
1553 //modify the cursor/selection data we have to get text from the editor to check for matching function/method
1554 //set start column
1555 range.start.column = range.start.column - autocompletelength;
1556 //no column lower than 1 thanks
1557 if (range.start.column < 1) range.start.column = 0;
1558 //set end column
1559 range.end.column = range.end.column + 1;
1560 //get the editor text based on that range
1561 var text = editor.getSession().doc.getTextRange(range);
1562
1563 //dont show if no text passed
1564 $quit_onchange = false;
1565 try{
1566 if (text==="") {
1567 ac.style.display='none';
1568 }
1569 }catch(e){ }//catch end
1570 // if string length less than 3 then quit this
1571 if (text.length < 3){
1572 return;
1573 }
1574
1575
1576 //create the dropdown for autocomplete
1577 var sel = editor.getSelection();
1578 var session = editor.getSession();
1579 var lead = sel.getSelectionLead();
1580
1581 var pos = editor.renderer.textToScreenCoordinates(lead.row, lead.column);
1582 var ac;
1583
1584
1585
1586 if( document.getElementById('ac') ){
1587 ac=document.getElementById('ac');
1588
1589 //editor clicks should hide the autocomplete dropdown
1590 editor.container.addEventListener('click',function(e){
1591 ac.style.display='none';
1592 })
1593
1594 } //end - create initial autocomplete dropdown and related actions
1595
1596
1597 //calulate the editor container offset
1598 var obj=editor.container;
1599
1600 var curleft = 0;
1601 var curtop = 0;
1602
1603 if (obj.offsetParent) {
1604
1605 do {
1606 curleft += obj.offsetLeft;
1607 curtop += obj.offsetTop;
1608 } while (obj = obj.offsetParent);
1609
1610 }
1611
1612
1613 //position autocomplete
1614 ac.style.top=pos.pageY - curtop + 40 + "px";
1615 ac.style.left=pos.pageX - curleft + 20 + "px";
1616 ac.style.display='block';
1617 ac.style.background='white';
1618
1619
1620 //remove all options, starting a fresh list
1621 ac.options.length = 0
1622
1623 //loop through tags and check for a match
1624 var tag;
1625 for(i in html_tags){
1626 if(!html_tags.hasOwnProperty(i) ){
1627 continue;
1628 }
1629
1630 tag=html_tags[i];
1631 if( text ){
1632 if( text!=tag.substr(0,text.length) ){
1633 continue;
1634 }
1635 }
1636
1637 var option = document.createElement('option');
1638 option.text = tag;
1639 option.value = tag;
1640
1641 try {
1642 ac.add(option, null); // standards compliant; doesn't work in IE
1643 }
1644 catch(ex) {
1645 ac.add(option); // IE only
1646 }
1647
1648 };//end for
1649
1650
1651
1652 //if the return list contains everything then don't display it
1653 if (html_tags.length == ac.options.length){
1654 ac.options.length =0;
1655 }
1656
1657 //check for matches
1658 if( ac.length==0 ){
1659 ac.style.display='none';
1660 autocompleting=false;
1661 }else{
1662 ac.selectedIndex=0;
1663 autocompleting=true;
1664 }
1665
1666 });//end editor change event
1667
1668
1669
1670 //START COMMANDS
1671 var canon = require('pilot/canon')
1672
1673 //Key up command
1674 canon.addCommand({
1675 name: "up",
1676 bindKey: {
1677 win: "Up",
1678 mac: "Up",
1679 sender: "editor"
1680 },
1681
1682 exec: function(env, args, request) {
1683 if( document.getElementById('ac').style.display === 'block' ){
1684
1685 var select=document.getElementById('ac');
1686
1687 if( select.selectedIndex==0 ){
1688 select.selectedIndex=select.options.length-1;
1689 }else{
1690 select.selectedIndex=select.selectedIndex-1;
1691 }
1692
1693 }else{
1694 var range = editor.getSelectionRange();
1695 editor.clearSelection();
1696 editor.moveCursorTo(range.end.row -1, range.end.column);
1697 }
1698 }
1699 });
1700
1701
1702 //key down command
1703 canon.addCommand({
1704
1705 name: "down",
1706
1707 bindKey: {
1708 win: "Down",
1709 mac: "Down",
1710 sender: "editor"
1711 },
1712
1713 exec: function(env, args, request) {
1714 if( document.getElementById('ac').style.display === 'block' ){
1715
1716 var select=document.getElementById('ac');
1717
1718 if( select.selectedIndex==select.options.length-1 ){
1719 select.selectedIndex=0;
1720 }else{
1721 select.selectedIndex=select.selectedIndex+1;
1722 }
1723 }else{
1724 var range = editor.getSelectionRange();
1725 editor.clearSelection();
1726 editor.moveCursorTo(range.end.row +1, range.end.column);
1727 }
1728 }
1729 });
1730
1731
1732 //enter/return command
1733 function trythis () {
1734
1735 if( document.getElementById('ac').style.display === 'block' ){
1736
1737 var ac_dropdwn =document.getElementById('ac');
1738 var tag=ac_dropdwn.options[ac_dropdwn.selectedIndex].value;
1739 var sel=editor.selection.getRange();
1740 var line=editor.getSession().getLine(sel.start.row);
1741 sel.start.column=sel.start.column-(autocompletelength+1);
1742 editor.selection.setSelectionRange(sel);
1743 editor.insert(tag);
1744 autocompleting=false;
1745
1746 }else{
1747 editor.insert('\n');
1748 }
1749 }
1750 canon.addCommand({
1751 name: "enter",
1752 bindKey: {
1753 win: "Return",
1754 mac: "Return",
1755 sender: "editor"
1756 },
1757 exec: trythis
1758 });
1759
1760
1761 //END COMMANDS
1762
1763
1764 });//end jquery load
1765
1766
1767
1768 </script>
1769 <?php
1770 }
1771
1772
1773
1774
1775 public static function add_admin_js()
1776 {
1777 $plugin_path = get_bloginfo('url').'/wp-content/plugins/' . basename(dirname(__FILE__)) .'/';
1778 //include ace
1779 wp_enqueue_script('ace', $plugin_path . 'ace-0.2.0/src/ace.js');
1780 //include ace mode
1781 wp_enqueue_script('ace-mode', $plugin_path . 'ace-0.2.0/src/mode-php.js');
1782 //include ace theme
1783 wp_enqueue_script('ace-theme', $plugin_path . 'ace-0.2.0/src/theme-dawn.js');//monokai is nice
1784 }
1785
1786
1787 public static function ace_backup_call() {
1788
1789 $backup_path = get_bloginfo('url').'/wp-content/plugins/' . basename(dirname(__FILE__)) .'/backups/';
1790 $file_name = $_POST['filename'];
1791 $edit_type = $_POST['edittype'];
1792
1793 if ($edit_type==='theme'){
1794 $theme_root = get_theme_root();
1795 $short_path = str_replace($theme_root, '', $file_name);
1796
1797 $new_file_path_daily = WP_PLUGIN_DIR.'/wpide/backups/themes'.$short_path.'.'.date("Ymd");
1798 $new_file_path_hourly = WP_PLUGIN_DIR.'/wpide/backups/themes'.$short_path.'.'.date("YmdH");
1799
1800 $new_file_info = pathinfo($new_file_path_daily);
1801
1802 if (!is_dir($new_file_info['dirname'])) mkdir($new_file_info['dirname'], 0777, true); //make directory if not exist
1803
1804 //check for todays backup if non existant then create
1805 if (!file_exists($new_file_path_daily)){
1806 $backup_result = copy($file_name, $new_file_path_daily); //make a copy of the file
1807
1808 //check for a backup this hour if doesn't exist then create
1809 }else if(!file_exists($new_file_path_hourly)){
1810 $backup_result = copy($file_name, $new_file_path_hourly); //make a copy of the file
1811 }
1812
1813 //do no further backups since one intial backup for today and an hourly one is plenty!
1814
1815 }else if ($edit_type==='plugin'){
1816
1817 $plugin_root = WP_PLUGIN_DIR;
1818 $short_path = str_replace($plugin_root, '', $file_name);
1819
1820 $new_file_path_daily = WP_PLUGIN_DIR.'/wpide/backups/plugins/'.$short_path.'.'.date("Ymd");
1821 $new_file_path_hourly = WP_PLUGIN_DIR.'/wpide/backups/plugins/'.$short_path.'.'.date("YmdH");
1822
1823 $new_file_info = pathinfo($new_file_path_daily);
1824
1825 if (!is_dir($new_file_info['dirname'])) mkdir($new_file_info['dirname'], 0777, true); //make directory if not exist
1826
1827 //check for todays backup if non existant then create
1828 if (!file_exists($new_file_path_daily)){
1829 $backup_result = copy($plugin_root.'/'.$file_name, $new_file_path_daily); //make a copy of the file
1830
1831 //check for a backup this hour if doesn't exist then create
1832 }else if(!file_exists($new_file_path_hourly)){
1833 $backup_result = copy($plugin_root.'/'.$file_name, $new_file_path_hourly); //make a copy of the file
1834
1835 }
1836
1837 //do no further backups since one intial backup for today and an hourly one is plenty!
1838
1839 }
1840
1841 if ($backup_result){
1842 echo "success";
1843 }
1844
1845 //echo "final debug info : " . WP_PLUGIN_DIR.'/wpide/backups/'.$short_path.'.backup';
1846 die(); // this is required to return a proper result
1847
1848 }
1849
1850 }
1851
1852 //only include this plugin if on theme editor, plugin editor or an ajax call
1853 if ( $_SERVER['PHP_SELF'] === '/wp-admin/plugin-editor.php' ||
1854 $_SERVER['PHP_SELF'] === '/wp-admin/theme-editor.php' ||
1855 $_SERVER['PHP_SELF'] === '/wp-admin/admin-ajax.php' ){
1856
1857 add_action("init", create_function('', 'new WPide();'));
1858
1859 }
1860 ?>