Jetpack 4.2.5
r2918993 | r3168364 | |
---|---|---|
6 | 6 | * Description: Bring the power of the WordPress.com cloud to your self-hosted WordPress. Jetpack enables you to connect your blog to a WordPress.com account to use the powerful features normally only available to WordPress.com users. |
7 | 7 | * Author: Automattic |
8 | * Version: 4.2. | |
8 | * Version: 4.2.5 | |
9 | 9 | * Author URI: http://jetpack.com |
10 | 10 | * License: GPL2+ |
… | … | |
15 | 15 | define( 'JETPACK__MINIMUM_WP_VERSION', '4.5' ); |
16 | 16 | |
17 | define( 'JETPACK__VERSION', '4.2. | |
17 | define( 'JETPACK__VERSION', '4.2.5' ); | |
18 | 18 | define( 'JETPACK_MASTER_USER', true ); |
19 | 19 | define( 'JETPACK__API_VERSION', 1 ); |
r1471815 | r3168364 | |
---|---|---|
14 | 14 | define( 'GRUNION_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); |
15 | 15 | |
16 | if ( is_admin() ) | |
16 | if ( is_admin() ) { | |
17 | 17 | require_once GRUNION_PLUGIN_DIR . '/admin.php'; |
18 | } | |
19 | add_action( 'rest_api_init', 'grunion_contact_form_require_endpoint' ); | |
20 | function grunion_contact_form_require_endpoint() { | |
21 | require_once GRUNION_PLUGIN_DIR . '/class-grunion-contact-form-endpoint.php'; | |
22 | } | |
18 | 23 | |
19 | 24 | /** |
… | … | |
115 | 120 | // custom post type we'll use to keep copies of the feedback items |
116 | 121 | register_post_type( 'feedback', array( |
117 | 'labels' | |
122 | 'labels' => array( | |
118 | 123 | 'name' => __( 'Feedback', 'jetpack' ), |
119 | 124 | 'singular_name' => __( 'Feedback', 'jetpack' ), |
… | … | |
122 | 127 | 'not_found_in_trash' => __( 'No feedback found', 'jetpack' ) |
123 | 128 | ), |
124 | 'menu_icon' => 'dashicons-feedback', | |
125 | 'show_ui' => TRUE, | |
126 | 'show_in_admin_bar' => FALSE, | |
127 | 'public' => FALSE, | |
128 | 'rewrite' => FALSE, | |
129 | 'query_var' => FALSE, | |
130 | 'capability_type' => 'page', | |
131 | 'show_in_rest' => true, | |
132 | 'capabilities' => array( | |
129 | 'menu_icon' => 'dashicons-feedback', | |
130 | 'show_ui' => TRUE, | |
131 | 'show_in_admin_bar' => FALSE, | |
132 | 'public' => FALSE, | |
133 | 'rewrite' => FALSE, | |
134 | 'query_var' => FALSE, | |
135 | 'capability_type' => 'page', | |
136 | 'show_in_rest' => true, | |
137 | 'rest_controller_class' => 'Grunion_Contact_Form_Endpoint', | |
138 | 'capabilities' => array( | |
133 | 139 | 'create_posts' => false, |
134 | 140 | 'publish_posts' => 'publish_pages', |
… | … | |
142 | 148 | 'read_post' => 'read_page', |
143 | 149 | ), |
144 | 'map_meta_cap' | |
150 | 'map_meta_cap' => true, | |
145 | 151 | ) ); |
146 | 152 |
r2918993 | r3168364 | |
---|---|---|
2 | 2 | Contributors: automattic, adamkheckler, aduth, akirk, allendav, alternatekev, andy, annezazu, apeatling, azaozz, batmoo, barry, beaulebens, blobaugh, cainm, cena, cfinke, chaselivingston, chellycat, csonnek, danielbachhuber, davoraltman, daniloercoli, designsimply, dllh, drawmyface, dsmart, dzver, ebinnion, eliorivero, enej, eoigal, ethitter, gcorne, georgestephanis, gibrown, goldsounds, hew, hugobaeta, hypertextranch, iammattthomas, iandunn, jacobshere, jblz, jeherve, jenhooks, jenia, jgs, jkudish, jmdodd, Joen, johnjamesjacoby, jshreve, koke, kraftbj, lamdayap, lancewillett, lschuyler, macmanx, martinremy, matt, matveb, mattwiebe, maverick3x6, mcsf, mdawaffe, michael-arestad, migueluy, mikeyarce, mkaz, nancythanki, nickmomrik, obenland, pento, professor44, rachelsquirrel, rdcoll, ryancowles, richardmuscat, richardmtl, roccotripaldi, samhotchkiss, scarstocea, sdquirk, stefmattana, stephdau, tmoorewp, Viper007Bond, westi, yoavf, zinigor |
3 | 3 | Tags: WordPress.com, jet pack, comments, contact, gallery, performance, sharing, security, shortcodes, stats, subscriptions, widgets |
4 | Stable tag: 4.2. | |
4 | Stable tag: 4.2.5 | |
5 | 5 | Requires at least: 4.5 |
6 | 6 | Tested up to: 4.6 |
… | … | |
75 | 75 | |
76 | 76 | == Changelog == |
77 | ||
78 | = 4.2.5 = | |
79 | Release date: October 14, 2024 | |
80 | ||
81 | Security: | |
82 | ||
83 | * Contact Form: ensure that submitted forms can only be accessed by logged in users allowed to view form submissions. | |
77 | 84 | |
78 | 85 | = 4.2.4 = |