Ticket #2782: 2782.patch
File 2782.patch, 1.1 KB (added by , 8 years ago) |
---|
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-plugin-directory.php
345 345 346 346 register_meta( 'post', 'downloads', array( 347 347 'type' => 'integer', 348 'description' => __( 'Number of downloads ', 'wporg-plugins' ),348 'description' => __( 'Number of downloads.', 'wporg-plugins' ), 349 349 'single' => true, 350 350 'sanitize_callback' => 'absint', 351 351 'show_in_rest' => true, … … 366 366 ) ); 367 367 368 368 register_meta( 'post', 'stable_tag', array( 369 'description' => __( 'Stable version of the plugin ', 'wporg-plugins' ),369 'description' => __( 'Stable version of the plugin.', 'wporg-plugins' ), 370 370 'single' => true, 371 371 // TODO 'sanitize_callback' => 'absint', 372 372 'show_in_rest' => true,