Making WordPress.org

Ticket #6646: 6646.2.patch

File 6646.2.patch, 1.9 KB (added by upadalavipul, 2 years ago)
  • jobs.wordpress.net/public_html/wp-content/plugins/jobswp/jobswp-template.php

     
    7979        if ( $category ) {
    8080                        $link .= '<a href="' . get_term_feed_link( $category->term_id, $category->taxonomy ) . '"';
    8181                        $title = ' title="' . $category->name . '"';
    82                         $alt = ' alt="' . $category->name . '"';
    8382                        $link .= $title;
    8483                        $link .= '>';
    8584                        $link .= '</a> ';
  • jobs.wordpress.net/public_html/wp-content/plugins/jobswp/jobswp.php

     
    158158         * Adds allowance for ol, ul, li
    159159         *
    160160         * @param array  $allowedtags The already allowed tags
    161          * @param string $content     The content
    162161         * @return array The amended list of allowed tags
    163162         */
    164         public function wp_kses_allowed_html( $allowedtags, $content ) {
     163        public function wp_kses_allowed_html( $allowedtags ) {
    165164                // Add permissable tags
    166165                $allowedtags['ol'] = array();
    167166                $allowedtags['ul'] = array();
  • jobs.wordpress.net/public_html/wp-content/themes/jobswp/content-home.php

     
    1818
    1919// Display the categories and their jobs.
    2020foreach ( $job_categories as $category ) {
    21         $posts = $job_category_jobs[ $category->slug ];
    22 
     21       
    2322        //Display the name of the category, whether there are jobs or not
    2423        echo '<div class="jobs-group">';
    2524