Notice: Undefined index: csmt_taxonomies in /nfs/c09/h02/mnt/127390/domains/glad.is/html/wp-content/plugins/category-seo-meta-tags/category-seo-meta-tags.php on line 92

Notice: Use of undefined constant show_category_title - assumed 'show_category_title' in /nfs/c09/h02/mnt/127390/domains/glad.is/html/wp-content/plugins/category-seo-meta-tags/category-seo-meta-tags.php on line 510

Notice: Use of undefined constant show_tag_title - assumed 'show_tag_title' in /nfs/c09/h02/mnt/127390/domains/glad.is/html/wp-content/plugins/category-seo-meta-tags/category-seo-meta-tags.php on line 511

Notice: get_settings is deprecated since version 2.1! Use get_option() instead. in /nfs/c09/h02/mnt/127390/domains/glad.is/html/wp-includes/functions.php on line 2871

Notice: get_settings is deprecated since version 2.1! Use get_option() instead. in /nfs/c09/h02/mnt/127390/domains/glad.is/html/wp-includes/functions.php on line 2871
set_transient( 'pcsc-list-blog'. $blog_id . '-args' . md5( maybe_serialize( $args ) ), $p, apply_filters( 'pcsc-transient-timeout', 60 * 60 ) ); return $p; } /** * Output any comments on a post */ function do_comments( $newpost ) { global $post; if ( is_object( $post ) ) $tmpp = clone $post; $post = $newpost; ob_start(); comments_template(); $rt = ob_get_clean(); if ( isset( $tmpp ) ) $post = clone $tmpp; return $rt; } /** * Determine the shortlink to a post on a specific blog */ function get_shortlink_from_blog( $post_id=0, $blog_id=0 ) { if( empty( $post_id ) ) return; if( empty( $blog_id ) || $blog_id == $GLOBALS['blog_id'] || !is_numeric( $blog_id ) ) return apply_filters( 'the_permalink', get_permalink( $post_id ) ); global $wpdb; $blog_info = $wpdb->get_row( $wpdb->prepare( "SELECT domain, path FROM {$wpdb->blogs} WHERE blog_id=%d", $blog_id ), ARRAY_A ); return 'http://' . $blog_info['domain'] . $blog_info['path'] . '?p=' . $post_id; } /** * Determine whether a variable evaluates to boolean true */ function is_true( &$var ) { if( in_array( $var, array( 'false', false, 0, '0' ), true ) ) return $var = false; if( in_array( $var, array( 'true', true, 1, '1' ), true ) ) return $var = true; $var = false; } /** * Build the list of get_posts() args */ function get_args( $atts ) { unset( $atts['id'] ); if( $atts['exclude_current'] && $GLOBALS['blog_id'] != $atts['blog_id'] ) { if( !empty( $atts['exclude'] ) ) { if( !is_array( $atts['exclude'] ) ) $atts['exclude'] = array_map( 'trim', explode( ',', $atts['exclude'] ) ); $atts['exclude'][] = $GLOBALS['post']->ID; } else { $atts['exclude'] = array( $GLOBALS['post']->ID ); } } $atts['orderby'] = str_replace( 'post_', '', $atts['orderby'] ); unset( $atts['blog_id'], $atts['exclude_current'] ); /** * Output a little debug info if necessary */ if ( ( defined( 'WP_DEBUG' ) && WP_DEBUG ) || isset( $_REQUEST['pcs-debug'] ) ) error_log( '[PCS Debug]: Preparing to return filtered args: ' . print_r( $atts, true ) ); return array_filter( $atts ); } } } ?>
Notice: register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.) in /nfs/c09/h02/mnt/127390/domains/glad.is/html/wp-includes/functions.php on line 3012
hidden = ( $hidden_cols ) ? $hidden_cols : array(); $sortable = $this->get_sortable_columns(); /** * Build an array to be used by the class for column * headers. The $this->_column_headers property takes an array which contains * 3 other arrays. One for all columns, one for hidden columns, and one * for sortable columns. */ $this->_column_headers = array($columns, $hidden, $sortable); $columns = get_column_headers( $screen ); /** * Fetch the data for use in this table. */ $backup_tools = new Simple_Backup_FTP_Tools($this->opt); $this->items = $backup_tools->get_ftp_backup_files(); $data = $this->items; usort($data, array($this, 'usort_reorder') ); /** * Figure out what page the user is currently looking at. */ $current_page = $this->get_pagenum(); /** * REQUIRED for pagination. Let's check how many items are in our data array. * In real-world use, this would be the total number of items in your database, * without filtering. We'll need this later, so you should always include it * in your own package classes. */ $total_items = count($data); /** * manual pagination */ $data = array_slice($data,(($current_page-1)*$per_page),$per_page); /** * Add our *sorted* data to the items property */ $this->items = $data; /** * Register our pagination options & calculations. */ $this->set_pagination_args( array( 'total_items' => $total_items, //calculate the total number of items 'per_page' => $per_page, //determine how many items to show on a page 'total_pages' => ceil($total_items/$per_page) //calculate the total number of pages ) ); } /** * This checks for sorting input and sorts the data in our array accordingly. */ function usort_reorder($a,$b){ $orderby = (!empty($_REQUEST['orderby'])) ? $_REQUEST['orderby'] : 'date'; //If no sort, default to title $order = (!empty($_REQUEST['order'])) ? $_REQUEST['order'] : 'desc'; //If no order, default to asc $result = strcmp($a[$orderby], $b[$orderby]); //Determine sort order return ($order==='asc') ? $result : -$result; //Send final sort direction to usort } } ?>ate and Review this Plugin on WordPress.org'>Click Here to Rate and Review this Plugin on WordPress.org!"; $string .= "
  • Click Here to Subscribe to our YouTube Channel!
  • "; $string .= "
  • Click Here to Follow MyWebsiteAdvisor on Facebook!
  • "; $string .= "
  • Click Here to Follow MyWebsiteAdvisor on Twitter!
  • "; $string .= "
  • Click Here to Purchase Premium WordPress Plugins!
  • "; return $string; } public function display_social_media(){ $social = '
    Follow @MWebsiteAdvisor
    '; return $social; } } ?>
    Parse error: syntax error, unexpected '{' in /nfs/c09/h02/mnt/127390/domains/glad.is/html/wp-content/plugins/wysija-newsletters/core/module/module.php on line 248