Changeset 3935
- Timestamp:
- 06/27/2006 09:32:42 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/functions.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r3934 r3935 1028 1028 1029 1029 $trans = array(); 1030 $trans['update']['attachment'] = array(__('Are you sure you want to edit this attachment: "%s"?'), 'get_the_title'); 1031 1030 1032 $trans['add']['category'] = array(__('Are you sure you want to add this category?'), false); 1031 1033 $trans['delete']['category'] = array(__('Are you sure you want to delete this category: "%s"?'), 'get_catname'); … … 1044 1046 $trans['bulk']['bookmarks'] = array(__('Are you sure you want to bulk modify bookmarks?'), false); 1045 1047 1048 $trans['add']['page'] = array(__('Are you sure you want to add this page?'), false); 1049 $trans['delete']['page'] = array(__('Are you sure you want to delete this page: "%s"?'), 'get_the_title'); 1050 $trans['update']['page'] = array(__('Are you sure you want to edit this page: "%s"?'), 'get_the_title'); 1051 1052 $trans['edit']['plugin'] = array(__('Are you sure you want to edit this plugin file: "%s"?'), 'use_id'); 1053 $trans['activate']['plugin'] = array(__('Are you sure you want to activate this plugin: "%s"?'), 'use_id'); 1054 $trans['deactivate']['plugin'] = array(__('Are you sure you want to deactivate this plugin: "%s"?'), 'use_id'); 1055 1046 1056 $trans['add']['post'] = array(__('Are you sure you want to add this post?'), false); 1047 1057 $trans['delete']['post'] = array(__('Are you sure you want to delete this post: "%s"?'), 'get_the_title'); 1048 1058 $trans['update']['post'] = array(__('Are you sure you want to edit this post: "%s"?'), 'get_the_title'); 1049 1050 $trans['add']['page'] = array(__('Are you sure you want to add this page?'), false);1051 $trans['delete']['page'] = array(__('Are you sure you want to delete this page: "%s"?'), 'get_the_title');1052 $trans['update']['page'] = array(__('Are you sure you want to edit this page: "%s"?'), 'get_the_title');1053 1059 1054 1060 $trans['add']['user'] = array(__('Are you sure you want to add this user?'), false); … … 1056 1062 $trans['bulk']['users'] = array(__('Are you sure you want to bulk modify users?'), false); 1057 1063 $trans['update']['user'] = array(__('Are you sure you want to edit this user: "%s"?'), 'get_author_name'); 1064 $trans['update']['profile'] = array(__('Are you sure you want to modify the profile for: "%s"?'), 'get_author_name'); 1065 1066 $trans['update']['options'] = array(__('Are you sure you want to edit your settings?'), false); 1067 $trans['update']['permalink'] = array(__('Are you sure you want to change your permalink structure to: %s?'), 'use_id'); 1068 $trans['edit']['file'] = array(__('Are you sure you want to edit this file: "%s"?'), 'use_id'); 1069 $trans['edit']['theme'] = array(__('Are you sure you want to edit this theme file: "%s"?'), 'use_id'); 1070 $trans['switch']['theme'] = array(__('Are you sure you want to switch to this theme: "%s"?'), 'use_id'); 1058 1071 1059 1072 if ( isset($trans[$verb][$noun]) ) { … … 1076 1089 global $pagenow, $menu, $submenu, $parent_file, $submenu_file; 1077 1090 1078 $admin _url = get_settings('siteurl') . '/wp-admin';1091 $adminurl = get_settings('siteurl') . '/wp-admin'; 1079 1092 if ( wp_get_referer() ) 1080 $admin _url = wp_get_referer();1093 $adminurl = wp_get_referer(); 1081 1094 1082 1095 $title = __('WordPress Confirmation');
Note: See TracChangeset
for help on using the changeset viewer.