Ticket #17610: typo_fix_seperator_to_separator.diff
File typo_fix_seperator_to_separator.diff, 3.0 KB (added by , 14 years ago) |
---|
-
wp-includes/class-simplepie.php
13105 13105 /** 13106 13106 * Parse a superset of W3C-DTF (allows hyphens and colons to be omitted, as 13107 13107 * well as allowing any of upper or lower case "T", horizontal tabs, or 13108 * spaces to be used as the time sep erator (including more than one))13108 * spaces to be used as the time separator (including more than one)) 13109 13109 * 13110 13110 * @access protected 13111 13111 * @return int Timestamp -
wp-admin/includes/plugin.php
702 702 703 703 $this_plugin_dir = trailingslashit( dirname($plugins_dir . $plugin_file) ); 704 704 // If plugin is in its own directory, recursively delete the directory. 705 if ( strpos($plugin_file, '/') && $this_plugin_dir != $plugins_dir ) //base check on if plugin includes directory sep erator AND that its not the root plugin folder705 if ( strpos($plugin_file, '/') && $this_plugin_dir != $plugins_dir ) //base check on if plugin includes directory separator AND that its not the root plugin folder 706 706 $deleted = $wp_filesystem->delete($this_plugin_dir, true); 707 707 else 708 708 $deleted = $wp_filesystem->delete($plugins_dir . $plugin_file); -
wp-admin/includes/menu.php
121 121 } 122 122 unset($id, $data, $subs, $first_sub); 123 123 124 // Remove any duplicated sep erators125 $sep erator_found = false;124 // Remove any duplicated separators 125 $separator_found = false; 126 126 foreach ( $menu as $id => $data ) { 127 127 if ( 0 == strcmp('wp-menu-separator', $data[4] ) ) { 128 if (false == $sep erator_found) {129 $sep erator_found = true;128 if (false == $separator_found) { 129 $separator_found = true; 130 130 } else { 131 131 unset($menu[$id]); 132 $sep erator_found = false;132 $separator_found = false; 133 133 } 134 134 } else { 135 $sep erator_found = false;135 $separator_found = false; 136 136 } 137 137 } 138 138 unset($id, $data); -
wp-admin/includes/class-wp-upgrader.php
580 580 return $removed; 581 581 582 582 // If plugin is in its own directory, recursively delete the directory. 583 if ( strpos($plugin, '/') && $this_plugin_dir != $plugins_dir ) //base check on if plugin includes directory sep erator AND that its not the root plugin folder583 if ( strpos($plugin, '/') && $this_plugin_dir != $plugins_dir ) //base check on if plugin includes directory separator AND that its not the root plugin folder 584 584 $deleted = $wp_filesystem->delete($this_plugin_dir, true); 585 585 else 586 586 $deleted = $wp_filesystem->delete($plugins_dir . $plugin);