[wp-trac] [WordPress Trac] #47445: Unable to set rows attribute for textarea input in the Customizer

WordPress Trac noreply at wordpress.org
Mon Jul 14 13:24:37 UTC 2025


#47445: Unable to set rows attribute for textarea input in the Customizer
-------------------------------------+---------------------
 Reporter:  timhavinga               |       Owner:  (none)
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  6.9
Component:  Customize                |     Version:  5.2.1
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch has-test-info  |     Focuses:  ui
-------------------------------------+---------------------

Comment (by sainathpoojary):

 == Test Report

 === Description
 This report confirms that the patch in PR [https://github.com/WordPress
 /wordpress-develop/pull/9096 #9096] correctly allows the `rows` attribute
 to be set via `input_attrs` for textarea controls in the Customizer.
 Previously, this was hardcoded to 5 rows.

 === Environment
 - WordPress: 6.9-alpha-60093-src
 - PHP: 8.2.28
 - Server: nginx/1.29.0
 - Database: mysqli (Server: 8.4.5 / Client: mysqlnd 8.2.28)
 - Browser: Chrome 138.0.0.0
 - OS: macOS
 - Theme: Twenty Twelve 4.5
 - MU Plugins: None activated
 - Plugins:
   * Customizer Textarea Rows Test 1.0
   * Test Reports 1.2.0

 === Actual Results
 ✅ With the patch applied:
 - The **Simple Textarea** defaults to 5 rows.
 - The **Large Textarea** correctly displays 10 rows as defined in
 `input_attrs`.

 This confirms that the patch resolves the issue and behaves as expected.

 === Additional Notes
 Test plugin used to verify:
 https://gist.github.com/SainathPoojary/81a6a49d43dbe47e008e903de094e412

 === Supplemental Artifacts
 [[Image(https://rioudcpuyg.ufs.sh/f/PL8E4NiPUWyOv2qJMTQjZPNB0iLXhnA3WpCIRmudgwDkV1Uc)]]

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


More information about the wp-trac mailing list