CaffGeek/MBACNationals

View on GitHub

Showing 5,566 of 7,504 total issues

Method wp_save_nav_menu_items has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function wp_save_nav_menu_items( $menu_id = 0, $menu_data = array() ) {
    $menu_id = (int) $menu_id;
    $items_saved = array();

    if ( 0 == $menu_id || is_nav_menu( $menu_id ) ) {
Severity: Minor
Found in Web.Admin/2014/wordpress/wp-admin/includes/nav-menu.php - About 1 hr to fix

    Method wp_get_revision_ui_diff has 43 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function wp_get_revision_ui_diff( $post, $compare_from, $compare_to ) {
        if ( ! $post = get_post( $post ) )
            return false;
    
        if ( $compare_from ) {
    Severity: Minor
    Found in Web.Admin/2014/wordpress/wp-admin/includes/revision.php - About 1 hr to fix

      Method compression_test has 43 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      function compression_test() {
      ?>
          <script type="text/javascript">
          /* <![CDATA[ */
          var testCompression = {
      Severity: Minor
      Found in Web.Admin/2014/wordpress/wp-admin/includes/template.php - About 1 hr to fix

        Method redirect_post has 43 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        function redirect_post($post_ID = '') {
            global $action;
        
            $referredby = '';
            if ( !empty($_POST['referredby']) ) {
        Severity: Minor
        Found in Web.Admin/2014/wordpress/wp-admin/post.php - About 1 hr to fix

          Method list_core_update has 43 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          function list_core_update( $update ) {
              global $wp_local_package;
              $version_string = ('en_US' == $update->locale && 'en_US' == get_locale() ) ?
                      $update->current : sprintf("%s&ndash;<strong>%s</strong>", $update->current, $update->locale);
              $current = false;
          Severity: Minor
          Found in Web.Admin/2014/wordpress/wp-admin/update-core.php - About 1 hr to fix

            Method links2wp has 43 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                function links2wp($links='')
                {
                    // General Housekeeping
                    global $wpdb;
                    $count = 0;
            Severity: Minor
            Found in Web.Admin/2014/wordpress/wp-admin/import/textpattern.php - About 1 hr to fix

              Method comments2wp has 43 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  function comments2wp($comments='')
                  {
                      // General Housekeeping
                      global $wpdb;
                      $count = 0;
              Severity: Minor
              Found in Web.Admin/2014/wordpress/wp-admin/import/textpattern.php - About 1 hr to fix

                Method show_blog_form has 43 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                function show_blog_form( $blogname = '', $blog_title = '', $errors = '' ) {
                    $current_site = get_current_site();
                    // Blog name
                    if ( !is_subdomain_install() )
                        echo '<label for="blogname">' . __('Site Name:') . '</label>';
                Severity: Minor
                Found in Web.Admin/2014/wordpress/wp-signup.php - About 1 hr to fix

                  Method wp_editComment has 43 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      function wp_editComment($args) {
                          $this->escape($args);
                  
                          $blog_id    = (int) $args[0];
                          $username    = $args[1];
                  Severity: Minor
                  Found in Web.Admin/2014/wordpress/wp-includes/class-wp-xmlrpc-server.php - About 1 hr to fix

                    Method ParseVorbisPageHeader has 43 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        public function ParseVorbisPageHeader(&$filedata, &$filedataoffset, &$oggpageinfo) {
                            $info = &$this->getid3->info;
                            $info['audio']['dataformat'] = 'vorbis';
                            $info['audio']['lossless']   = false;
                    
                    
                    Severity: Minor
                    Found in Web.Admin/2014/wordpress/wp-includes/ID3/module.audio.ogg.php - About 1 hr to fix

                      Method wp_kses_attr has 43 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                      function wp_kses_attr($element, $attr, $allowed_html, $allowed_protocols) {
                          # Is there a closing XHTML slash at the end of the attributes?
                      
                          $xhtml_slash = '';
                          if (preg_match('%\s/\s*$%', $attr))
                      Severity: Minor
                      Found in Web.Admin/2014/wordpress/wp-includes/kses.php - About 1 hr to fix

                        Method set_iri has 43 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            public function set_iri($iri)
                            {
                                static $cache;
                                if (!$cache)
                                {
                        Severity: Minor
                        Found in Web.Admin/2014/wordpress/wp-includes/SimplePie/IRI.php - About 1 hr to fix

                          Method get_id has 43 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              public function get_id($hash = false)
                              {
                                  if (!$hash)
                                  {
                                      if ($return = $this->get_item_tags(SIMPLEPIE_NAMESPACE_ATOM_10, 'id'))
                          Severity: Minor
                          Found in Web.Admin/2014/wordpress/wp-includes/SimplePie/Item.php - About 1 hr to fix

                            Method debug has 43 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                public static function debug(&$sp)
                                {
                                    $info = 'SimplePie ' . SIMPLEPIE_VERSION . ' Build ' . SIMPLEPIE_BUILD . "\n";
                                    $info .= 'PHP ' . PHP_VERSION . "\n";
                                    if ($sp->error() !== null)
                            Severity: Minor
                            Found in Web.Admin/2014/wordpress/wp-includes/SimplePie/Misc.php - About 1 hr to fix

                              Method request has 43 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  function request($url, $args = array()) {
                                      $defaults = array(
                                          'method' => 'GET', 'timeout' => 5,
                                          'redirection' => 5, 'httpversion' => '1.0',
                                          'blocking' => true,
                              Severity: Minor
                              Found in Web.Admin/2014/wordpress/wp-includes/http.php - About 1 hr to fix

                                Method checkIPv6 has 43 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    function checkIPv6($ip)
                                    {
                                        $ipPart = SimplePie_Net_IPv6::SplitV64($ip);
                                        $count = 0;
                                        if (!empty($ipPart[0]))
                                Severity: Minor
                                Found in Web.Admin/2014/wordpress/wp-includes/class-simplepie.php - About 1 hr to fix

                                  Method wp_initial_constants has 43 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                  function wp_initial_constants() {
                                      global $blog_id;
                                  
                                      // set memory limits
                                      if ( !defined('WP_MEMORY_LIMIT') ) {
                                  Severity: Minor
                                  Found in Web.Admin/2014/wordpress/wp-includes/default-constants.php - About 1 hr to fix

                                    Method walk has 43 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        function walk( $elements, $max_depth) {
                                    
                                            $args = array_slice(func_get_args(), 2);
                                            $output = '';
                                    
                                    
                                    Severity: Minor
                                    Found in Web.Admin/2014/wordpress/wp-includes/class-wp-walker.php - About 1 hr to fix

                                      Method walk has 43 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          function walk( $elements, $max_depth) {
                                      
                                              $args = array_slice(func_get_args(), 2);
                                              $output = '';
                                      
                                      
                                      Severity: Minor
                                      Found in Web.Admin/2014/wordpress/wp-includes/classes.php - About 1 hr to fix

                                        Method Authenticate has 43 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                          function Authenticate($username, $password) {
                                            // Start authentication
                                            fputs($this->smtp_conn,"AUTH LOGIN" . $this->CRLF);
                                        
                                            $rply = $this->get_lines();
                                        Severity: Minor
                                        Found in Web.Admin/2014/wordpress/wp-includes/class-smtp.php - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language