Make WordPress Core

Changeset 3935


Ignore:
Timestamp:
06/27/2006 09:32:42 AM (20 years ago)
Author:
ryan
Message:

More nonce strings. #2734

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r3934 r3935  
    10281028
    10291029                $trans = array();
     1030                $trans['update']['attachment'] = array(__('Are you sure you want to edit this attachment: "%s"?'), 'get_the_title');
     1031
    10301032                $trans['add']['category'] = array(__('Are you sure you want to add this category?'), false);
    10311033                $trans['delete']['category'] = array(__('Are you sure you want to delete this category: "%s"?'), 'get_catname');
     
    10441046                $trans['bulk']['bookmarks'] = array(__('Are you sure you want to bulk modify bookmarks?'), false);
    10451047
     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
    10461056                $trans['add']['post'] = array(__('Are you sure you want to add this post?'), false);
    10471057                $trans['delete']['post'] = array(__('Are you sure you want to delete this post: "%s"?'), 'get_the_title');
    10481058                $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');
    10531059
    10541060                $trans['add']['user'] = array(__('Are you sure you want to add this user?'), false);
     
    10561062                $trans['bulk']['users'] = array(__('Are you sure you want to bulk modify users?'), false);
    10571063                $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');
    10581071
    10591072                if ( isset($trans[$verb][$noun]) ) {
     
    10761089        global $pagenow, $menu, $submenu, $parent_file, $submenu_file;
    10771090
    1078         $admin_url = get_settings('siteurl') . '/wp-admin';
     1091        $adminurl = get_settings('siteurl') . '/wp-admin';
    10791092        if ( wp_get_referer() )
    1080                 $admin_url = wp_get_referer();
     1093                $adminurl = wp_get_referer();
    10811094
    10821095        $title = __('WordPress Confirmation');
Note: See TracChangeset for help on using the changeset viewer.