[wp-trac] [WordPress Trac] #45493: Square brackets in caption shortcode produce improper formatting

WordPress Trac noreply at wordpress.org
Wed Apr 5 09:21:46 UTC 2023


#45493: Square brackets in caption shortcode produce improper formatting
-------------------------------------+-------------------------
 Reporter:  Christian1012            |       Owner:  (none)
     Type:  defect (bug)             |      Status:  reopened
 Priority:  normal                   |   Milestone:  6.3
Component:  Editor                   |     Version:  4.9.8
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  javascript
-------------------------------------+-------------------------

Comment (by nataliat2004):

 == Test Report
 This report validates that the indicated patch addresses the issue.

 Patch tested: https://core.trac.wordpress.org/ticket/45493

 === Environment
 - OS: macOS 13.1
 - Web Server: Nginx
 - PHP: 8.0
 - WordPress: 6.3
 - Browser: Chrome 111.0.5563.146
 - Theme: Twenty Twenty-Three
 - Active Plugins:

 === Actual Results
 - The issue was not resolved with a patch. Also, the issue is not
 reproduced stably.
 - I tested it on Post and Page

 === Additional Notes
 - Steps to reproduce:
 - Paste the given text into the code editor
 - Switch to the visual editor
 - Back to the code editor.
 Also, I checked on Draft and Publish and on the frontend.

 === Supplemental Artifacts
 Add Inline:
 Actual result:
 [[Image(https://monosnap.com/file/quHHlaobFzSHl6sv8zBfp4DSNXD01y)]]
 Expected result:
 [[Image(https://monosnap.com/file/fmupxPZFkZ3PrbQoaFI5sDmNXN7GL3)]]

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45493#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list