Changeset 11109 for trunk/wp-admin/includes/class-wp-upgrader.php
- Timestamp:
- 04/28/2009 05:58:45 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-upgrader.php
r11089 r11109 821 821 } 822 822 $update_actions = array( 823 'activate_plugin' => '<a href="' . wp_nonce_url('plugins.php?action=activate&plugin=' . $this->plugin, 'activate-plugin_' . $this->plugin) . '" title="' . attr ibute_escape(__('Activate this plugin')) . '" target="_parent">' . __('Activate Plugin') . '</a>',824 'plugins_page' => '<a href="' . admin_url('plugins.php') . '" title="' . attr ibute_escape(__('Goto plugins page')) . '" target="_parent">' . __('Return to Plugins page') . '</a>'823 'activate_plugin' => '<a href="' . wp_nonce_url('plugins.php?action=activate&plugin=' . $this->plugin, 'activate-plugin_' . $this->plugin) . '" title="' . attr(__('Activate this plugin')) . '" target="_parent">' . __('Activate Plugin') . '</a>', 824 'plugins_page' => '<a href="' . admin_url('plugins.php') . '" title="' . attr(__('Goto plugins page')) . '" target="_parent">' . __('Return to Plugins page') . '</a>' 825 825 ); 826 826 if ( $this->plugin_active ) … … 872 872 873 873 $install_actions = array( 874 'activate_plugin' => '<a href="' . wp_nonce_url('plugins.php?action=activate&plugin=' . $plugin_file, 'activate-plugin_' . $plugin_file) . '" title="' . attr ibute_escape(__('Activate this plugin')) . '" target="_parent">' . __('Activate Plugin') . '</a>',874 'activate_plugin' => '<a href="' . wp_nonce_url('plugins.php?action=activate&plugin=' . $plugin_file, 'activate-plugin_' . $plugin_file) . '" title="' . attr(__('Activate this plugin')) . '" target="_parent">' . __('Activate Plugin') . '</a>', 875 875 ); 876 876 877 877 if ( $this->type == 'web' ) 878 $install_actions['plugins_page'] = '<a href="' . admin_url('plugin-install.php') . '" title="' . attr ibute_escape(__('Return to Plugin Installer')) . '" target="_parent">' . __('Return to Plugin Installer') . '</a>';878 $install_actions['plugins_page'] = '<a href="' . admin_url('plugin-install.php') . '" title="' . attr(__('Return to Plugin Installer')) . '" target="_parent">' . __('Return to Plugin Installer') . '</a>'; 879 879 else 880 $install_actions['plugins_page'] = '<a href="' . admin_url('plugins.php') . '" title="' . attr ibute_escape(__('Return to Plugins page')) . '" target="_parent">' . __('Return to Plugins page') . '</a>';880 $install_actions['plugins_page'] = '<a href="' . admin_url('plugins.php') . '" title="' . attr(__('Return to Plugins page')) . '" target="_parent">' . __('Return to Plugins page') . '</a>'; 881 881 882 882 … … 937 937 938 938 $install_actions = array( 939 'preview' => '<a href="' . $preview_link . '" class="thickbox thickbox-preview" title="' . attr ibute_escape(sprintf(__('Preview "%s"'), $name)) . '">' . __('Preview') . '</a>',940 'activate' => '<a href="' . $activate_link . '" class="activatelink" title="' . attr ibute_escape( sprintf( __('Activate "%s"'), $name ) ) . '">' . __('Activate') . '</a>'939 'preview' => '<a href="' . $preview_link . '" class="thickbox thickbox-preview" title="' . attr(sprintf(__('Preview "%s"'), $name)) . '">' . __('Preview') . '</a>', 940 'activate' => '<a href="' . $activate_link . '" class="activatelink" title="' . attr( sprintf( __('Activate "%s"'), $name ) ) . '">' . __('Activate') . '</a>' 941 941 ); 942 942 943 943 if ( $this->type == 'web' ) 944 $install_actions['themes_page'] = '<a href="' . admin_url('theme-install.php') . '" title="' . attr ibute_escape(__('Back to Theme Installer')) . '" target="_parent">' . __('Return to Theme Installer.') . '</a>';944 $install_actions['themes_page'] = '<a href="' . admin_url('theme-install.php') . '" title="' . attr(__('Back to Theme Installer')) . '" target="_parent">' . __('Return to Theme Installer.') . '</a>'; 945 945 else 946 $install_actions['themes_page'] = '<a href="' . admin_url('themes.php') . '" title="' . attr ibute_escape(__('Themes page')) . '" target="_parent">' . __('Return to Themes page') . '</a>';946 $install_actions['themes_page'] = '<a href="' . admin_url('themes.php') . '" title="' . attr(__('Themes page')) . '" target="_parent">' . __('Return to Themes page') . '</a>'; 947 947 948 948 if ( ! $this->result || is_wp_error($this->result) ) … … 996 996 997 997 $update_actions = array( 998 'preview' => '<a href="' . $preview_link . '" class="thickbox thickbox-preview" title="' . attr ibute_escape(sprintf(__('Preview "%s"'), $name)) . '">' . __('Preview') . '</a>',999 'activate' => '<a href="' . $activate_link . '" class="activatelink" title="' . attr ibute_escape( sprintf( __('Activate "%s"'), $name ) ) . '">' . __('Activate') . '</a>',1000 'themes_page' => '<a href="' . admin_url('themes.php') . '" title="' . attr ibute_escape(__('Return to Themes page')) . '" target="_parent">' . __('Return to Themes page') . '</a>',998 'preview' => '<a href="' . $preview_link . '" class="thickbox thickbox-preview" title="' . attr(sprintf(__('Preview "%s"'), $name)) . '">' . __('Preview') . '</a>', 999 'activate' => '<a href="' . $activate_link . '" class="activatelink" title="' . attr( sprintf( __('Activate "%s"'), $name ) ) . '">' . __('Activate') . '</a>', 1000 'themes_page' => '<a href="' . admin_url('themes.php') . '" title="' . attr(__('Return to Themes page')) . '" target="_parent">' . __('Return to Themes page') . '</a>', 1001 1001 ); 1002 1002 if ( ( ! $this->result || is_wp_error($this->result) ) || $stylesheet == get_stylesheet() )
Note: See TracChangeset
for help on using the changeset viewer.