WordPress.org

Making WordPress.org

Changeset 5599


Ignore:
Timestamp:
06/27/2017 10:35:52 PM (11 months ago)
Author:
coffee2code
Message:

Plugin Directory: Mark hreflang_link_attributes() as static to avoid PHP warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-template.php

    r5584 r5599  
    585585     * @return string The Download URL.
    586586     */
    587     static function download_link( $post = null, $version = 'latest' ) {
     587    public static function download_link( $post = null, $version = 'latest' ) {
    588588        $post = get_post( $post );
    589589
     
    637637     * @link https://sites.google.com/site/webmasterhelpforum/en/faq-internationalisation FAQ: Internationalisation.
    638638     */
    639     public function hreflang_link_attributes() {
     639    public static function hreflang_link_attributes() {
    640640        global $wpdb;
    641641
Note: See TracChangeset for help on using the changeset viewer.