Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #57071


Ignore:
Timestamp:
11/11/2022 11:02:22 AM (3 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #57071

    • Property Keywords has-dev-note removed
    • Property Component changed from General to Build/Test Tools
  • Ticket #57071 – Description

    initial v1  
    2323- on this line the require_once will duplicate the forward slash.
    2424
    25 code line: require_once ABSPATH . '/wp-includes/class-wpdb.php';
    26 Translated line: require_once '/usr/src/wordpress//wp-includes/class-wpdb.php'
     25code line: `require_once ABSPATH . '/wp-includes/class-wpdb.php';`
     26Translated line: `require_once '/usr/src/wordpress//wp-includes/class-wpdb.php'`
    2727
    28282. Mock-mailer file - https://github.com/WordPress/wordpress-develop/blob/6.1/tests/phpunit/includes/mock-mailer.php#L2
     
    3030on this line we have a missing slash.
    3131
    32 code line: require_once ABSPATH . 'wp-includes/PHPMailer/PHPMailer.php';
    33 Translated line: require_once '/usr/src/wordpress/wp-includes/PHPMailer/PHPMailer.php';
     32code line: `require_once ABSPATH . 'wp-includes/PHPMailer/PHPMailer.php';`
     33Translated line: `require_once '/usr/src/wordpress/wp-includes/PHPMailer/PHPMailer.php';`
    3434
    3535
     
    4444
    4545
    46 Error ABSPATH with forward slash: /usr/src/wordpress/
     46Error ABSPATH with forward slash: `/usr/src/wordpress/`
    4747
    4848{{{#!php
     
    5656}}}
    5757
    58 Error ABSPATH without forward slash: /usr/src/wordpress
     58Error ABSPATH without forward slash: `/usr/src/wordpress`
    5959
    6060{{{#!php