plugins.trac.wordpress.org

Changeset 2456745 – WordPress Plugin Repository

  • ️Fri Jan 15 2021

Legend:

Unmodified
Added
Removed
  • wp-media-pro/assets/icon-128x128.jpg

    • Property svn:mime-type changed from application/octet-stream to image/jpeg
  • wp-media-pro/assets/icon-256x256.jpg

    • Property svn:mime-type changed from application/octet-stream to image/jpeg
  • wp-media-pro/tags/1.1/README.md

    r2338758 r2456745  
    33WP Media Pro is the must-have toolkit for all WordPress websites that seriously use media. Currently the plugin offers the following functionality:
    44
     5* Edit individual image sizes empowering editors can optimizes images shown to viewers at different screen sizes.
    56* Media folders - Organize your media files into folders in the media library.
    67* Media tags - Tag your media files.
     
    89* Single media views - Disable single post type view for media files improving SEO.
    910
     11
    1012## Issues
     13
    1114If you identify any errors or have an idea for improving the plugin, please [open an issue](https://github.com/tlovett1/wp-media-pro/issues?state=open).
    1215
  • wp-media-pro/tags/1.1/assets/css/folders/base.css

    r2338403 r2456745  
    77.media-frame-router {
    88    left: 280px;
     9}
     10
     11.upload-php .update-nag,
     12.upload-php .wrap > .notice {
     13    margin-left: 290px;
    914}
    1015
  • wp-media-pro/tags/1.1/assets/css/folders/library.css

    r2340643 r2456745  
    2727body.upload-php .media-menu {
    2828    border-right: 0;
     29    background-color: #f1f1f1;
    2930}
    3031
     
    3334}
    3435
     36body.upload-php .wpmp-folders-app-shell {
     37    position: fixed;
     38    width: 280px;
     39}
  • wp-media-pro/tags/1.1/inc/classes/Modules/Credits/Credits.php

    r2338403 r2456745  
    2525        add_filter( 'attachment_fields_to_edit', [ $this, 'attachment_fields' ], 10, 2 );
    2626        add_filter( 'attachment_fields_to_save', [ $this, 'save_fields' ], 10, 2 );
     27        add_action( 'enqueue_block_editor_assets', [ $this, 'register_block' ] );
     28    }
     29
     30    public function register_block() {
     31        wp_enqueue_script(
     32            'wpmp-credits-block',
     33            WPMP_URL . '/dist/js/credits.js',
     34            [
     35                'wp-blocks',
     36                'wp-i18n',
     37                'wp-element',
     38                'wp-editor',
     39            ],
     40            WPMP_VERSION,
     41            true
     42        );
    2743    }
    2844
     
    5470    public function attachment_fields( $form_fields, $post ) {
    5571        $form_fields['wpmp_credits'] = [
    56             'label' => esc_html__( 'Credits' ),
     72            'label' => esc_html__( 'Credits', 'wpmp' ),
    5773            'class' => 'widefat',
    5874            'value' => sanitize_text_field( get_post_meta( $post->ID, 'wpmp_credits', true ) ),
  • wp-media-pro/tags/1.1/plugin.php

    r2338758 r2456745  
    44 * Plugin URI: https://wordpress.org/plugins/wp-media-pro
    55 * Description: The must have media toolkit for WordPress. Organize media and images into folders, media tags, image credits, and much more.
    6  * Version:     1.0
     6 * Version:     1.1
    77 * Author:      Taylor Lovett
    88 * Author URI:  https://taylorlovett.com
     
    2020
    2121// Useful global constants.
    22 define( 'WPMP_VERSION', '1.0' );
     22define( 'WPMP_VERSION', '1.1' );
    2323define( 'WPMP_URL', plugin_dir_url( __FILE__ ) );
    2424define( 'WPMP_PATH', plugin_dir_path( __FILE__ ) );
     
    6969Modules\Credits\Credits::instance();
    7070Modules\SingleView\SingleView::instance();
     71Modules\Edit\Edit::instance();
    7172
    7273Core\setup();
  • wp-media-pro/tags/1.1/readme.txt

    r2338758 r2456745  
    33Author URI: https://taylorlovett.com
    44Plugin URI: https://github.com/tlovett1/wp-media-pro
    5 Tags: media, images, image tags, media categories, media folders, image folders, media organization
    6 Requires at least: 5.0
    7 Tested up to: 5.5
     5Tags: media, images, image tags, media categories, media folders, image folders, media organization, edit image sizes, srcset
     6Requires at least: 5.3
     7Tested up to: 5.7
    88Stable tag: trunk
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1111
    12 The must have media toolkit for WordPress. Organize media and images into folders, media tags, image credits, and much more.
     12The must have media toolkit for WordPress. Edit individual image for specific screen sizes, organize media and images into folders, media tags, image credits, and much more.
    1313
    1414== Description ==
    1515WP Media Pro is the must-have toolkit for all WordPress websites that seriously use media. Currently the plugin offers the following functionality:
    1616
     17* Edit individual image sizes empowering editors can optimizes images shown to viewers at different screen sizes.
    1718* Media folders - Organize your media files into folders in the media library.
    1819* Media tags - Tag your media files.
     
    2627== Changelog ==
    2728
     29= 1.1 =
     30
     31* Add edit image size functionality
     32* Bug fixes
     33
    2834= 1.0 =
    2935
  • wp-media-pro/trunk/README.md

    r2338758 r2456745  
    33WP Media Pro is the must-have toolkit for all WordPress websites that seriously use media. Currently the plugin offers the following functionality:
    44
     5* Edit individual image sizes empowering editors can optimizes images shown to viewers at different screen sizes.
    56* Media folders - Organize your media files into folders in the media library.
    67* Media tags - Tag your media files.
     
    89* Single media views - Disable single post type view for media files improving SEO.
    910
     11
    1012## Issues
     13
    1114If you identify any errors or have an idea for improving the plugin, please [open an issue](https://github.com/tlovett1/wp-media-pro/issues?state=open).
    1215
  • wp-media-pro/trunk/assets/css/folders/base.css

    r2338403 r2456745  
    77.media-frame-router {
    88    left: 280px;
     9}
     10
     11.upload-php .update-nag,
     12.upload-php .wrap > .notice {
     13    margin-left: 290px;
    914}
    1015
  • wp-media-pro/trunk/assets/css/folders/library.css

    r2340643 r2456745  
    2727body.upload-php .media-menu {
    2828    border-right: 0;
     29    background-color: #f1f1f1;
    2930}
    3031
     
    3334}
    3435
     36body.upload-php .wpmp-folders-app-shell {
     37    position: fixed;
     38    width: 280px;
     39}
  • wp-media-pro/trunk/inc/classes/Modules/Credits/Credits.php

    r2338403 r2456745  
    2525        add_filter( 'attachment_fields_to_edit', [ $this, 'attachment_fields' ], 10, 2 );
    2626        add_filter( 'attachment_fields_to_save', [ $this, 'save_fields' ], 10, 2 );
     27        add_action( 'enqueue_block_editor_assets', [ $this, 'register_block' ] );
     28    }
     29
     30    public function register_block() {
     31        wp_enqueue_script(
     32            'wpmp-credits-block',
     33            WPMP_URL . '/dist/js/credits.js',
     34            [
     35                'wp-blocks',
     36                'wp-i18n',
     37                'wp-element',
     38                'wp-editor',
     39            ],
     40            WPMP_VERSION,
     41            true
     42        );
    2743    }
    2844
     
    5470    public function attachment_fields( $form_fields, $post ) {
    5571        $form_fields['wpmp_credits'] = [
    56             'label' => esc_html__( 'Credits' ),
     72            'label' => esc_html__( 'Credits', 'wpmp' ),
    5773            'class' => 'widefat',
    5874            'value' => sanitize_text_field( get_post_meta( $post->ID, 'wpmp_credits', true ) ),
  • wp-media-pro/trunk/plugin.php

    r2338758 r2456745  
    44 * Plugin URI: https://wordpress.org/plugins/wp-media-pro
    55 * Description: The must have media toolkit for WordPress. Organize media and images into folders, media tags, image credits, and much more.
    6  * Version:     1.0
     6 * Version:     1.1
    77 * Author:      Taylor Lovett
    88 * Author URI:  https://taylorlovett.com
     
    2020
    2121// Useful global constants.
    22 define( 'WPMP_VERSION', '1.0' );
     22define( 'WPMP_VERSION', '1.1' );
    2323define( 'WPMP_URL', plugin_dir_url( __FILE__ ) );
    2424define( 'WPMP_PATH', plugin_dir_path( __FILE__ ) );
     
    6969Modules\Credits\Credits::instance();
    7070Modules\SingleView\SingleView::instance();
     71Modules\Edit\Edit::instance();
    7172
    7273Core\setup();
  • wp-media-pro/trunk/readme.txt

    r2338758 r2456745  
    33Author URI: https://taylorlovett.com
    44Plugin URI: https://github.com/tlovett1/wp-media-pro
    5 Tags: media, images, image tags, media categories, media folders, image folders, media organization
    6 Requires at least: 5.0
    7 Tested up to: 5.5
     5Tags: media, images, image tags, media categories, media folders, image folders, media organization, edit image sizes, srcset
     6Requires at least: 5.3
     7Tested up to: 5.7
    88Stable tag: trunk
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1111
    12 The must have media toolkit for WordPress. Organize media and images into folders, media tags, image credits, and much more.
     12The must have media toolkit for WordPress. Edit individual image for specific screen sizes, organize media and images into folders, media tags, image credits, and much more.
    1313
    1414== Description ==
    1515WP Media Pro is the must-have toolkit for all WordPress websites that seriously use media. Currently the plugin offers the following functionality:
    1616
     17* Edit individual image sizes empowering editors can optimizes images shown to viewers at different screen sizes.
    1718* Media folders - Organize your media files into folders in the media library.
    1819* Media tags - Tag your media files.
     
    2627== Changelog ==
    2728
     29= 1.1 =
     30
     31* Add edit image size functionality
     32* Bug fixes
     33
    2834= 1.0 =
    2935

Note: See TracChangeset for help on using the changeset viewer.