Make WordPress Core

Ticket #62160: 62160.patch

File 62160.patch, 15.0 KB (added by viralsampat, 9 months ago)

I have checked above mentioned issue into the other themes and I found few files where we need to make this change. I have updated those files and added my patch for the same.

  • src/wp-content/themes/twentyfifteen/author-bio.php

    diff --git src/wp-content/themes/twentyfifteen/author-bio.php src/wp-content/themes/twentyfifteen/author-bio.php
    index 995ad1a4c7..87742c86ba 100644
     
    66 * @subpackage Twenty_Fifteen
    77 * @since Twenty Fifteen 1.0
    88 */
     9
    910?>
    1011
    1112<div class="author-info">
  • src/wp-content/themes/twentyfifteen/content-link.php

    diff --git src/wp-content/themes/twentyfifteen/content-link.php src/wp-content/themes/twentyfifteen/content-link.php
    index 60f3b76865..907fc6db70 100644
     
    88 * @subpackage Twenty_Fifteen
    99 * @since Twenty Fifteen 1.0
    1010 */
     11
    1112?>
    1213
    1314<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  • src/wp-content/themes/twentyfifteen/content-none.php

    diff --git src/wp-content/themes/twentyfifteen/content-none.php src/wp-content/themes/twentyfifteen/content-none.php
    index 055e50b24b..6d0f13e336 100644
     
    88 * @subpackage Twenty_Fifteen
    99 * @since Twenty Fifteen 1.0
    1010 */
     11
    1112?>
    1213
    1314<section class="no-results not-found">
  • src/wp-content/themes/twentyfifteen/content-page.php

    diff --git src/wp-content/themes/twentyfifteen/content-page.php src/wp-content/themes/twentyfifteen/content-page.php
    index 9651518e14..006b1fe81f 100644
     
    66 * @subpackage Twenty_Fifteen
    77 * @since Twenty Fifteen 1.0
    88 */
     9
    910?>
    1011
    1112<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  • src/wp-content/themes/twentyfifteen/content-search.php

    diff --git src/wp-content/themes/twentyfifteen/content-search.php src/wp-content/themes/twentyfifteen/content-search.php
    index 59d8b32721..dddb11f0f0 100644
     
    88 * @subpackage Twenty_Fifteen
    99 * @since Twenty Fifteen 1.0
    1010 */
     11
    1112?>
    1213
    1314<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  • src/wp-content/themes/twentyfifteen/content.php

    diff --git src/wp-content/themes/twentyfifteen/content.php src/wp-content/themes/twentyfifteen/content.php
    index 8be7cf8c24..d647bbf5c5 100644
     
    88 * @subpackage Twenty_Fifteen
    99 * @since Twenty Fifteen 1.0
    1010 */
     11
    1112?>
    1213
    1314<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  • src/wp-content/themes/twentyfifteen/footer.php

    diff --git src/wp-content/themes/twentyfifteen/footer.php src/wp-content/themes/twentyfifteen/footer.php
    index d66a915693..cfa7e6635f 100644
     
    88 * @subpackage Twenty_Fifteen
    99 * @since Twenty Fifteen 1.0
    1010 */
     11
    1112?>
    1213
    1314        </div><!-- .site-content -->
  • src/wp-content/themes/twentyfifteen/header.php

    diff --git src/wp-content/themes/twentyfifteen/header.php src/wp-content/themes/twentyfifteen/header.php
    index b6d7535216..0d43f4e684 100644
     
    88 * @subpackage Twenty_Fifteen
    99 * @since Twenty Fifteen 1.0
    1010 */
     11
    1112?><!DOCTYPE html>
    1213<html <?php language_attributes(); ?> class="no-js">
    1314<head>
  • src/wp-content/themes/twentyfourteen/content-aside.php

    diff --git src/wp-content/themes/twentyfourteen/content-aside.php src/wp-content/themes/twentyfourteen/content-aside.php
    index fd72b8623e..a86dabe1c1 100644
     
    66 * @subpackage Twenty_Fourteen
    77 * @since Twenty Fourteen 1.0
    88 */
     9
    910?>
    1011
    1112<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  • src/wp-content/themes/twentyfourteen/content-audio.php

    diff --git src/wp-content/themes/twentyfourteen/content-audio.php src/wp-content/themes/twentyfourteen/content-audio.php
    index ab69ba7c89..d6fa87ee59 100644
     
    66 * @subpackage Twenty_Fourteen
    77 * @since Twenty Fourteen 1.0
    88 */
     9
    910?>
    1011
    1112<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  • src/wp-content/themes/twentyfourteen/content-featured-post.php

    diff --git src/wp-content/themes/twentyfourteen/content-featured-post.php src/wp-content/themes/twentyfourteen/content-featured-post.php
    index 803451fc08..782e66472d 100644
     
    66 * @subpackage Twenty_Fourteen
    77 * @since Twenty Fourteen 1.0
    88 */
     9
    910?>
    1011
    1112<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  • src/wp-content/themes/twentyfourteen/content-gallery.php

    diff --git src/wp-content/themes/twentyfourteen/content-gallery.php src/wp-content/themes/twentyfourteen/content-gallery.php
    index 7e05359da1..6c9f22b42c 100644
     
    66 * @subpackage Twenty_Fourteen
    77 * @since Twenty Fourteen 1.0
    88 */
     9
    910?>
    1011
    1112<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  • src/wp-content/themes/twentyfourteen/content-image.php

    diff --git src/wp-content/themes/twentyfourteen/content-image.php src/wp-content/themes/twentyfourteen/content-image.php
    index aa85d8ea34..8bc031b3ea 100644
     
    66 * @subpackage Twenty_Fourteen
    77 * @since Twenty Fourteen 1.0
    88 */
     9
    910?>
    1011
    1112<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  • src/wp-content/themes/twentyfourteen/content-link.php

    diff --git src/wp-content/themes/twentyfourteen/content-link.php src/wp-content/themes/twentyfourteen/content-link.php
    index 7931656176..35220c16c3 100644
     
    66 * @subpackage Twenty_Fourteen
    77 * @since Twenty Fourteen 1.0
    88 */
     9
    910?>
    1011
    1112<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  • src/wp-content/themes/twentyfourteen/content-none.php

    diff --git src/wp-content/themes/twentyfourteen/content-none.php src/wp-content/themes/twentyfourteen/content-none.php
    index 7e35a72071..71cbac0db7 100644
     
    66 * @subpackage Twenty_Fourteen
    77 * @since Twenty Fourteen 1.0
    88 */
     9
    910?>
    1011
    1112<header class="page-header">
  • src/wp-content/themes/twentyfourteen/content-page.php

    diff --git src/wp-content/themes/twentyfourteen/content-page.php src/wp-content/themes/twentyfourteen/content-page.php
    index 5a42117ee0..25b393dd02 100644
     
    66 * @subpackage Twenty_Fourteen
    77 * @since Twenty Fourteen 1.0
    88 */
     9
    910?>
    1011
    1112<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  • src/wp-content/themes/twentyfourteen/content-quote.php

    diff --git src/wp-content/themes/twentyfourteen/content-quote.php src/wp-content/themes/twentyfourteen/content-quote.php
    index c991ad10cd..d28927ad26 100644
     
    66 * @subpackage Twenty_Fourteen
    77 * @since Twenty Fourteen 1.0
    88 */
     9
    910?>
    1011
    1112<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  • src/wp-content/themes/twentyfourteen/content-video.php

    diff --git src/wp-content/themes/twentyfourteen/content-video.php src/wp-content/themes/twentyfourteen/content-video.php
    index 4fba27fdb8..c4d46430ae 100644
     
    66 * @subpackage Twenty_Fourteen
    77 * @since Twenty Fourteen 1.0
    88 */
     9
    910?>
    1011
    1112<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  • src/wp-content/themes/twentyfourteen/content.php

    diff --git src/wp-content/themes/twentyfourteen/content.php src/wp-content/themes/twentyfourteen/content.php
    index 642b9d9448..1dec4932bf 100644
     
    88 * @subpackage Twenty_Fourteen
    99 * @since Twenty Fourteen 1.0
    1010 */
     11
    1112?>
    1213
    1314<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  • src/wp-content/themes/twentyfourteen/featured-content.php

    diff --git src/wp-content/themes/twentyfourteen/featured-content.php src/wp-content/themes/twentyfourteen/featured-content.php
    index f9f32dd33b..768f408d27 100644
     
    66 * @subpackage Twenty_Fourteen
    77 * @since Twenty Fourteen 1.0
    88 */
     9
    910?>
    1011
    1112<div id="featured-content" class="featured-content">
  • src/wp-content/themes/twentyfourteen/footer.php

    diff --git src/wp-content/themes/twentyfourteen/footer.php src/wp-content/themes/twentyfourteen/footer.php
    index cb08f682a1..01f94317c6 100644
     
    88 * @subpackage Twenty_Fourteen
    99 * @since Twenty Fourteen 1.0
    1010 */
     11
    1112?>
    1213
    1314                </div><!-- #main -->
  • src/wp-content/themes/twentyfourteen/header.php

    diff --git src/wp-content/themes/twentyfourteen/header.php src/wp-content/themes/twentyfourteen/header.php
    index 34cdf48a8e..a544a77989 100644
     
    88 * @subpackage Twenty_Fourteen
    99 * @since Twenty Fourteen 1.0
    1010 */
     11
    1112?><!DOCTYPE html>
    1213<!--[if IE 7]>
    1314<html class="ie ie7" <?php language_attributes(); ?>>
  • src/wp-content/themes/twentyfourteen/sidebar.php

    diff --git src/wp-content/themes/twentyfourteen/sidebar.php src/wp-content/themes/twentyfourteen/sidebar.php
    index 17edf85698..d49e039293 100644
     
    66 * @subpackage Twenty_Fourteen
    77 * @since Twenty Fourteen 1.0
    88 */
     9
    910?>
    1011<div id="secondary">
    1112        <?php
  • src/wp-content/themes/twentythirteen/author-bio.php

    diff --git src/wp-content/themes/twentythirteen/author-bio.php src/wp-content/themes/twentythirteen/author-bio.php
    index 04a8bcbb32..854975ac36 100644
     
    66 * @subpackage Twenty_Thirteen
    77 * @since Twenty Thirteen 1.0
    88 */
     9
    910?>
    1011
    1112<div class="author-info">
  • src/wp-content/themes/twentythirteen/content-aside.php

    diff --git src/wp-content/themes/twentythirteen/content-aside.php src/wp-content/themes/twentythirteen/content-aside.php
    index 650ae3acd2..c991a33692 100644
     
    66 * @subpackage Twenty_Thirteen
    77 * @since Twenty Thirteen 1.0
    88 */
     9
    910?>
    1011
    1112<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  • src/wp-content/themes/twentythirteen/content-audio.php

    diff --git src/wp-content/themes/twentythirteen/content-audio.php src/wp-content/themes/twentythirteen/content-audio.php
    index 471e747943..b4ddb955cd 100644
     
    66 * @subpackage Twenty_Thirteen
    77 * @since Twenty Thirteen 1.0
    88 */
     9
    910?>
    1011
    1112<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  • src/wp-content/themes/twentythirteen/content-chat.php

    diff --git src/wp-content/themes/twentythirteen/content-chat.php src/wp-content/themes/twentythirteen/content-chat.php
    index c8fee387dd..eafd169517 100644
     
    66 * @subpackage Twenty_Thirteen
    77 * @since Twenty Thirteen 1.0
    88 */
     9
    910?>
    1011
    1112<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  • src/wp-content/themes/twentythirteen/content-gallery.php

    diff --git src/wp-content/themes/twentythirteen/content-gallery.php src/wp-content/themes/twentythirteen/content-gallery.php
    index ab512d323c..6c2a13197e 100644
     
    66 * @subpackage Twenty_Thirteen
    77 * @since Twenty Thirteen 1.0
    88 */
     9
    910?>
    1011
    1112<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  • src/wp-content/themes/twentythirteen/content-image.php

    diff --git src/wp-content/themes/twentythirteen/content-image.php src/wp-content/themes/twentythirteen/content-image.php
    index 1052e670eb..8bbf3a2d2f 100644
     
    66 * @subpackage Twenty_Thirteen
    77 * @since Twenty Thirteen 1.0
    88 */
     9
    910?>
    1011
    1112<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  • src/wp-content/themes/twentythirteen/content-link.php

    diff --git src/wp-content/themes/twentythirteen/content-link.php src/wp-content/themes/twentythirteen/content-link.php
    index 16181deeab..4ab3c8265e 100644
     
    66 * @subpackage Twenty_Thirteen
    77 * @since Twenty Thirteen 1.0
    88 */
     9
    910?>
    1011
    1112<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  • src/wp-content/themes/twentythirteen/content-none.php

    diff --git src/wp-content/themes/twentythirteen/content-none.php src/wp-content/themes/twentythirteen/content-none.php
    index c82798ae84..0b480f1092 100644
     
    66 * @subpackage Twenty_Thirteen
    77 * @since Twenty Thirteen 1.0
    88 */
     9
    910?>
    1011
    1112<header class="page-header">
  • src/wp-content/themes/twentythirteen/content-quote.php

    diff --git src/wp-content/themes/twentythirteen/content-quote.php src/wp-content/themes/twentythirteen/content-quote.php
    index 1c25ca345c..e37ff0508c 100644
     
    66 * @subpackage Twenty_Thirteen
    77 * @since Twenty Thirteen 1.0
    88 */
     9
    910?>
    1011
    1112<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  • src/wp-content/themes/twentythirteen/content-status.php

    diff --git src/wp-content/themes/twentythirteen/content-status.php src/wp-content/themes/twentythirteen/content-status.php
    index d5b11055ca..c7f5b755a9 100644
     
    66 * @subpackage Twenty_Thirteen
    77 * @since Twenty Thirteen 1.0
    88 */
     9
    910?>
    1011
    1112<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  • src/wp-content/themes/twentythirteen/content-video.php

    diff --git src/wp-content/themes/twentythirteen/content-video.php src/wp-content/themes/twentythirteen/content-video.php
    index 86ec0d4fc8..4e9e24c863 100644
     
    66 * @subpackage Twenty_Thirteen
    77 * @since Twenty Thirteen 1.0
    88 */
     9
    910?>
    1011
    1112<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  • src/wp-content/themes/twentythirteen/content.php

    diff --git src/wp-content/themes/twentythirteen/content.php src/wp-content/themes/twentythirteen/content.php
    index fa10d1a9e5..7bed9a009e 100644
     
    88 * @subpackage Twenty_Thirteen
    99 * @since Twenty Thirteen 1.0
    1010 */
     11
    1112?>
    1213
    1314<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  • src/wp-content/themes/twentythirteen/footer.php

    diff --git src/wp-content/themes/twentythirteen/footer.php src/wp-content/themes/twentythirteen/footer.php
    index 5a24fcdf2f..72a37cccf0 100644
     
    88 * @subpackage Twenty_Thirteen
    99 * @since Twenty Thirteen 1.0
    1010 */
     11
    1112?>
    1213
    1314                </div><!-- #main -->
  • src/wp-content/themes/twentythirteen/header.php

    diff --git src/wp-content/themes/twentythirteen/header.php src/wp-content/themes/twentythirteen/header.php
    index 1ea956399a..4f5bfc599a 100644
     
    88 * @subpackage Twenty_Thirteen
    99 * @since Twenty Thirteen 1.0
    1010 */
     11
    1112?><!DOCTYPE html>
    1213<!--[if IE 7]>
    1314<html class="ie ie7" <?php language_attributes(); ?>>